Installed-header hygiene (BZ#20366): obsolete BSD u_* types.
[glibc.git] / ChangeLog
blob81456f80d07cca8e88e7b1437cd1cdae9a4f313e
1 2016-09-23  Zack Weinberg  <zackw@panix.com>
3         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
4         * inet/protocols/routed.h, inet/protocols/talkd.h
5         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7         * sysdeps/generic/netinet/if_ether.h
8         * sysdeps/generic/netinet/in_systm.h
9         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12         * sysdeps/mach/hurd/net/if_arp.h
13         * sysdeps/mach/hurd/net/if_ppp.h
14         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15         * sysdeps/unix/sysv/linux/bits/in.h
16         * sysdeps/unix/sysv/linux/net/ethernet.h
17         * sysdeps/unix/sysv/linux/net/if_arp.h
18         * sysdeps/unix/sysv/linux/net/if_ppp.h
19         * sysdeps/unix/sysv/linux/net/if_shaper.h
20         * sysdeps/unix/sysv/linux/net/route.h
21         * sysdeps/unix/sysv/linux/netinet/if_ether.h
22         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
23         * sysdeps/unix/sysv/linux/netinet/if_tr.h
24         * sysdeps/unix/sysv/linux/netipx/ipx.h
25         * sysdeps/unix/sysv/linux/sys/acct.h
26         * include/arpa/nameser.h, include/resolv.h:
27         Change all uses of u_char to unsigned char,
28         u_short and ushort to unsigned short, u_int and uint to unsigned int,
29         u_long and ulong to unsigned long, u_int8_t to uint8_t,
30         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
31         and u_int64_t and u_quad_t to uint64_t.
33         * mach/sys/reboot.h: Remove two casts of integer literals
34         to the types they already have.
36         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
37         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
38         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
39         from referring to 'unsigned char' to 'uint8_t' for consistency with
40         the macro definition below.
42         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
43         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
44         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
45         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
46         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
47         * sysdeps/unix/sysv/linux/sys/acct.h
48         * include/arpa/nameser.h, include/resolv.h:
49         Fix indentation disrupted by mechanical edits.
51         * inet/protocols/talkd.h, resolv/arpa/nameser.h
52         * sysdeps/generic/netinet/in_systm.h
53         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
54         * sysdeps/gnu/netinet/udp.h
55         * sysdeps/unix/sysv/linux/net/ethernet.h
56         * sysdeps/unix/sysv/linux/net/if_arp.h
57         * sysdeps/unix/sysv/linux/net/if_ppp.h
58         * sysdeps/unix/sysv/linux/net/if_shaper.h
59         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
60         * sysdeps/unix/sysv/linux/netinet/if_tr.h
61         * sysdeps/unix/sysv/linux/netipx/ipx.h
62         * sysdeps/unix/sysv/linux/sys/acct.h
63         Include stdint.h for uintNN_t definitions.
64         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
66 2016-09-23  Zack Weinberg  <zackw@panix.com>
68         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
69         * sysdeps/unix/sysv/linux/netrose/rose.h:
70         Include sys/socket.h and netax25/ax25.h.
72         * inet/netinet/icmp6.h, inet/netinet/ip6.h
73         * resolv/arpa/nameser_compat.h:
74         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
76         * sysdeps/unix/sysv/linux/sys/quota.h:
77         Use __caddr_t instead of caddr_t.
78         * sysdeps/unix/sysv/linux/sys/timerfd.h:
79         Use __clockid_t instead of clockid_t.
81         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
83         * argp/argp.h: Check whether _LIBC is defined before expanding it.
84         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
85         expanding it.
87         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
88         Define __glibc_c99_flexarr_available to 1 when the compiler
89         supports C99-compatible flexible array members, 0 otherwise.
90         * sysdeps/unix/sysv/linux/bits/socket.h
91         * sysdeps/mach/hurd/bits/socket.h
92         * bits/socket.h: Use __glibc_c99_flexarr_available in
93         definitions of struct cmsghdr and CMSG_DATA.
95 2016-09-23  Florian Weimer  <fweimer@redhat.com>
97         * manual/nss.texi (NSS Modules Interface): Adjust function return
98         type to enum nss_status.  Document errnop argument.  Clarify
99         h_errnop semantics.  Fix cross-reference formatting.
100         (NSS Module Function Internals): Mention that *errnop needs to be
101         set on failure, but not to zero.
103 2016-09-23  Florian Weimer  <fweimer@redhat.com>
105         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
106         (get_random_name): New functions.
107         (check_wrapper_flags_mode): Use linkat to give the new file a name
108         determined by get_random_name.
109         (do_test): Add calls to test open64 and openat64.
111 2016-09-23  Florian Weimer  <fweimer@redhat.com>
113         * test-skeleton.c: Remove #include <stdarg.h>.
115 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
117         [BZ #19826]
118         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
119         initialization of static TLS entries.
120         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
121         * nptl/allocatestack.c (init_one_static_tls): Likewise.
123 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
125         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
126         _hurd_malloc_fork_prepare.
127         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
128         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
129         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
130         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
131         (_hurd_fork_child_hook): Drop malloc_fork_child.
132         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
133         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
134         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
135         after locking locks (notably hurd_dtable_lock). Call
136         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
137         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
138         __malloc_fork_unlock_child.
139         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
141 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
143         * soft-fp/extendhftf2.c: New.
144         * soft-fp/fixhfti.c: Likewise.
145         * soft-fp/fixunshfti.c: Likewise.
146         * soft-fp/floattihf.c: Likewise.
147         * soft-fp/floatuntihf.c: Likewise.
148         * soft-fp/half.h: Likewise.
149         * soft-fp/trunctfhf2.c: Likewise.
151 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
153         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
154         macro.
155         * math/libm-test.inc (issubnormal_test_data): New array.
156         (issubnormal_test): New function.
157         * manual/arith.texi (Floating Point Classes): Document
158         issubnormal.
159         * manual/libm-err-tab.pl: Update comment on interfaces without
160         ulps tabulated.
162         * sysdeps/generic/stdint.h: Define
163         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
164         <bits/libc-header-start.h> instead of including <features.h>.
165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
198         * manual/arith.texi (Integers): Document these macros for types
199         specified by width properties.
200         * manual/lang.texi (Width of Type): Document these macros for
201         other standard typedefs.
202         * stdlib/tst-width-stdint.c: New file.
203         * stdlib/Makefile (tests): Add tst-width-stdint.
205 2016-09-21  Florian Weimer  <fweimer@redhat.com>
207         [BZ #20016]
208         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
209         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
210         Move ...
211         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
212         ... here, as compatibility symbols in a new file.
213         * resolv/Makefile (libresolv-routines): Add compat-hooks.
214         * resolv/res_init.c (__res_vinit): Adjust member names.
215         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
216         * resolv/resolv.h (res_sendhookact, res_send_qhook)
217         (res_send_rhook): Remove.
218         (struct __res_state): Rename qhook, rhook members.
220 2016-09-21  Florian Weimer  <fweimer@redhat.com>
222         malloc: Use __libc_lock wrappers.
223         * malloc/arena.c (list_lock, free_list_lock): Define using
224         __libc_lock_define_initialized.
225         (arena_lock): Adjust formatting.
226         * malloc/malloc.c (struct malloc_state): Define mutex using
227         __libc_lock_define.
228         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
229         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
230         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
231         (mutex_unlock, mutex_trylock): Remove.
232         (__pthread_initialize): Remove unused macro.
233         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
234         (mutex_unlock, mutex_trylock): Remove.
236 2016-09-21  Florian Weimer  <fweimer@redhat.com>
238         [BZ #20592]
239         Remove RR type classification macros.
240         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
241         (ns_t_udp_p, ns_t_xfr_p): Remove.
243 2016-09-21  Florian Weimer  <fweimer@redhat.com>
245         Remove misleading version information.
246         * resolv/arpa/nameser.h (__NAMESER): Remove.
247         * resolv/arpa/nameser_compat.h (__BIND): Remove.
249 2016-09-21  Florian Weimer  <fweimer@redhat.com>
251         Remove the always-defined BIND_4_COMPAT macro.
252         * resolv/arpa/nameser.h: Unconditionally include
253         <arpa/nameser_compat.h>.
254         (BIND_4_COMPAT): Remove.
255         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
257 2016-09-21  Florian Weimer  <fweimer@redhat.com>
259         [BZ #20591]
260         Remove obsolete DNSSEC support.
261         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
262         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
263         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
264         (ns_verify_tcp, ns_verify_tcp_init): Remove.
265         (ns_cert_types): Add comment.
266         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
267         separately.
268         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
269         (dst_s_dns_key_id): Remove.
270         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
271         variables.
273 2016-09-21  Florian Weimer  <fweimer@redhat.com>
275         [BZ #20524]
276         * manual/string.texi (String/Array Comparison): Clarify the
277         strverscmp behavior.
279 2016-09-21  Florian Weimer  <fweimer@redhat.com>
281         * test-skeleton.c (xasprintf): Add function.
282         * io/tst-open-tmpfile.c: New test.
283         * io/Makefile (tests): Add it.
285 2016-09-21  Florian Weimer  <fweimer@redhat.com>
287         Avoid running $(CXX) during build to obtain header file paths.
288         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
289         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
290         * Makerules (cstdlib, cmath): Remove variables.  Use
291         $(c++-cstdlib-header), $(c++-cmath-header) instead.
292         * configure: Regenerate.
294 2016-09-21  Florian Weimer  <fweimer@redhat.com>
296         * Makeconfig (all-object-suffixes): Include .op only if
297         $(build-profile).
299 2016-09-21  Florian Weimer  <fweimer@redhat.com>
301         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
302         conditionals.  Do not define PATH_MAX.
304 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
306         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
307         all signals when executing the clone vfork child.
308         (SIGALL_SET): Remove macro.
310         * nptl/Makefile (tests): Add tst-exec5.
311         * nptl/tst-exec5.c: New file.
312         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
313         asynchronous cancellation.
315 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
317         * hurd/exc2signal.c: #include <hurd/signal.h>
318         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
319         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
320         accordingly.
321         * mach/mach_error.c (mach_error): Fix old-style function definition.
322         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
324 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
326         * math/Makefile (libm-calls): Remove s_nanF.
327         (gen-libm-calls): Add s_nanF.
329         * math/s_nan.c: Refactor into ...
330         * math/s_nan_template.c: New file.
332         * math/s_nanf.c: Removed.
333         * math/s_nanl.c: Removed.
334         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
335         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
337         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
338         (LDOUBLE_nanl_libm_version): New macro.
340         * sysdeps/generic/math-type-macros-double.h:
341         (M_STRTO_NAN): New macro.
342         * sysdeps/generic/math-type-macros-float.h: Likewise.
343         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
345         * sysdeps/generic/math-type-macros.h: Document
346         M_STRTO_NAN.
348 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
350         * math/s_nanf.c: Remove __nanf undef.
351         * math/s_nan.c: Remove __nan undef.
352         * math/s_nanl.c: Remove __nanl undef.
354         * sysdeps/generic/math_private.h (__nan): Remove macro
355         override.
356         (__nanf): Likewise.
357         (__nanl): Likewise.
359 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
361         * math/Makefile (gen-all-calls): New variable.
362         (generated): Replace gen-libm-calls with gen-all-calls.
363         (gen-libm-templates.stmp): Likewise.  Also, ensure
364         the output directory exists or is created and add
365         dependency on the Makefile.
366         (calls): Move s_ldexpF into gen-calls.
367         (gen-calls): New variable.
369         * math/s_ldexpf.c: Removed.
370         * math/s_ldexpl.c: Removed.
371         * math/s_ldexp.c: Refactored into ...
372         * math/s_ldexp_template.c: New file.
374         * sysdeps/generic/math-type-macros-double.h: Remove
375         redundant fall-through definition of declare_mgen_alias.
376         (declare_mgen_alias_2): New macro.
378         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
379         New macro for function aliased to two exported symbols.
381         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
382         new template file.
383         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
385 2016-09-20  Florian Weimer  <fweimer@redhat.com>
387         * Makeconfig (all-object-suffixes): Remove .og.
388         * Makerules (elide-routines.og): Remove.
389         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
390         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
391         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
393 2016-09-20  Florian Weimer  <fweimer@redhat.com>
395         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
396         .os objects.
398 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
400         [BZ #20615]
401         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
402         fpu directory by non-fpu.
403         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
404         on non-fpu directory from a fpu directory.
406 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
408         * include/limits.h: Define
409         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
410         <bits/libc-header-start.h> instead of including <features.h>.
411         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
422         * manual/lang.texi (Width of Type): Document these macros.
423         * stdlib/tst-width.c: New file.
424         * stdlib/Makefile (tests): Add tst-width.
426 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
428         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
429         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
431 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
433         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
434         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
435         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
437 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
439         [BZ #18243]
440         * rt/Makefile (test): Add tst-shm-cancel.
441         * rt/tst-shm-cancel.c: New file.
442         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
444         [BZ #18243]
445         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
446         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
447         definition.
448         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
449         uncontended case.
450         * nptl/sem_wait.c (__new_sem_wait): Likewise.
451         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
452         (tf): Fix check for uncontended case.
453         (do_test): Likewise.
454         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
455         (tf): Fix check for uncontended case.
456         (do_test): Likewise.
457         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
458         (tf): Fix check for uncontended case.
459         (do_test): Likewise.
460         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
461         (tf): Fix check for uncontended case.
462         (do_test): Likewise.
464         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
465         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
467         [BZ #15765]
468         * nptl/Makefile (tests): Add tst-sem16.
469         * nptl/tst-sem16.c: New file.
470         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
472         * nptl/sem_open.c (sem_open): Init pad value to 0.
473         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
474         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
476 2016-09-15  Florian Weimer  <fweimer@redhat.com>
478         [BZ #20611]
479         * inet/Makefile (routines): Add inet6_scopeid_pton.
480         (tests): Add tst-inet6_scopeid_pton.
481         * inet/inet6_scopeid_pton.c: New file.
482         * inet/net-internal.h: Likewise.
483         * inet/tst-inet6_scopeid_pton.c: New test.
484         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
485         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
486         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
488 2016-09-14  Florian Weimer  <fweimer@redhat.com>
490         Remove support for compiling wrappers with PTW.
491         * sysdeps/nptl/Makeconfig: Drop ptw- support.
492         * nptl/Makefile (pthread-compat-wrappers): Define.
493         (libpthread-routines): Use pthread-compat-wrappers.
494         * sysdeps/unix/sysv/linux/alpha/Makefile
495         (libpthread-routines, libpthread-shared-only-routines): Remove
496         ptw- prefix.
497         * sysdeps/s390/nptl/Makefile
498         (libpthread-routines, libpthread-shared-only-routines): Likewise.
499         * sysdeps/ia64/nptl/Makefile
500         (libpthread-routines, libpthread-shared-only-routines): Likewise.
501         * sysdeps/nacl/Makefile (libpthread-routines): Use
502         pthread-compat-wrappers to filter the routines list instead of the
503         ptw- prefix.
505 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
507         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
508         with L() and remove explicit suffix, convert real literals
509         which can be equivalentally substituted with integers, and
510         transform -L(x) to L(-x).
512         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
513         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
514         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
515         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
516         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
517         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
518         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
519         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
520         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
521         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
522         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
523         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
524         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
525         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
526         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
527         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
528         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
529         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
530         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
531         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
532         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
533         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
534         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
535         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
536         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
537         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
538         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
539         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
540         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
541         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
542         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
543         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
544         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
545         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
546         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
547         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
548         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
549         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
550         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
551         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
552         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
553         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
554         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
555         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
556         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
557         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
558         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
559         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
560         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
561         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
563 2016-09-13  Florian Weimer  <fweimer@redhat.com>
565         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
567 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
569         * malloc/Makefile (tests): Remove individual static test names
570         and just add all of tests-static.
572         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
574 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
576         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
577         file.
579         * sysdeps/sparc/fpu/fegetmode.c: New file.
580         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
582         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
583         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
585         * sysdeps/s390/fpu/fegetmode.c: New file.
586         * sysdeps/s390/fpu/fesetmode.c: Likewise.
588         * sysdeps/powerpc/fpu/fegetmode.c: New file.
589         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
590         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
591         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
592         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
593         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
595         * sysdeps/mips/fpu/fegetmode.c: New file.
596         * sysdeps/mips/fpu/fesetmode.c: Likewise.
598         * sysdeps/m68k/fpu/fegetmode.c: New file.
599         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
601         * sysdeps/ia64/fpu/fegetmode.c: New file.
602         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
604         * sysdeps/hppa/fpu/fegetmode.c: New file.
605         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
607         * sysdeps/arm/fegetmode.c: New file.
608         * sysdeps/arm/fesetmode.c: Likewise.
610         * sysdeps/alpha/fpu/fegetmode.c: New file.
611         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
613         * sysdeps/aarch64/fpu/fegetmode.c: New file.
614         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
616         * math/fegetmode.c: New file.
617         * math/fesetmode.c: Likewise.
618         * sysdeps/i386/fpu/fegetmode.c: Likewise.
619         * sysdeps/i386/fpu/fesetmode.c: Likewise.
620         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
621         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
622         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
624         declaration.
625         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
626         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
627         typedef.
628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
629         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
630         (femode_t): New typedef.
631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
632         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
633         (femode_t): New typedef.
634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
635         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
636         (femode_t): New typedef.
637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
638         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
639         (femode_t): New typedef.
640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
641         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
642         (femode_t): New typedef.
643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
644         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
645         (femode_t): New typedef.
646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
647         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
648         (femode_t): New typedef.
649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
650         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
651         (femode_t): New typedef.
652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
653         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
654         (femode_t): New typedef.
655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
656         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
657         (femode_t): New typedef.
658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
659         declaration.
660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
661         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
662         (femode_t): New typedef.
663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
664         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
665         (femode_t): New typedef.
666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
667         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
668         (femode_t): New typedef.
669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
670         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
671         (femode_t): New typedef.
672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
673         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
674         (femode_t): New typedef.
675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
676         * manual/arith.texi (FE_DFL_MODE): Document macro.
677         (fegetmode): Document function.
678         (fesetmode): Likewise.
679         * math/Versions (fegetmode): New libm symbol at version
680         GLIBC_2.25.
681         (fesetmode): Likewise.
682         * math/Makefile (libm-support): Add fegetmode and fesetmode.
683         (tests): Add test-femode and test-femode-traps.
684         * math/test-femode-traps.c: New file.
685         * math/test-femode.c: Likewise.
686         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
687         alias for __fe_dfl_env.
688         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
689         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
690         (__fe_dfl_mode): Likewise.
691         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
692         version GLIBC_2.25.
693         * sysdeps/nacl/libm.abilist: Update.
694         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
695         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
696         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
697         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
698         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
699         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
700         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
707         Likewise.
708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
709         Likewise.
710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
711         Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
713         Likewise.
714         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
715         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
716         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
717         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
718         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
720         Likewise.
721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
722         Likewise.
723         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
724         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
725         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
727 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
729         [BZ #20495]
730         [BZ #20508]
731         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
732         processors, set Use_dl_runtime_resolve_slow and set
733         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
734         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
735         New.
736         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
737         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
738         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
739         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
740         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
741         if Use_dl_runtime_resolve_opt is set.  Use
742         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
743         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
744         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
745         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
746         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
747         New.
748         (_dl_runtime_resolve_opt): Likewise.
749         (_dl_runtime_profile): Define only if _dl_runtime_profile is
750         defined.
752 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
754         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
755         __libc_memalign with "+ RELA R_390_GLOB_DAT".
757 2016-09-06  Florian Weimer  <fweimer@redhat.com>
759         Convert malloc to __libc_lock.  Automated part, using this Perl
760         s/// command:
761           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
762             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
763         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
764         conversion.
766 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
768         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
769         (linknamespace-symlists-tests): Likewise.
770         (linknamespace-header-tests): Likewise.
772 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
774         [BZ #19810]
775         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
776         * elf/tst-noload.c: New test case.
777         * elf/Makefile (tests): Add tst-noload.
779 2016-09-02  Roland McGrath  <roland@hack.frob.com>
781         * sysdeps/nacl/dup.c: Add libc_hidden_def.
783         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
784         not any more.
786         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
788 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
790         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
791         (do_cos_slow): Likewise.
792         (do_sin): Likewise.
793         (do_sin_slow): Likewise.
794         (slow): Likewise.
795         (slow1): Likewise.
796         (slow2): Likewise.
797         (sloww): Likewise.
798         (sloww1): Likewise.
799         (sloww2): Likewise.
800         (bsloww): Likewise.
801         (bsloww1): Likewise.
802         (bsloww2): Likewise.
803         (cslow2): Likewise.
805         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
807         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
808         arguments.  Consolidate input partitioning from callers here.
809         (do_cos_slow): Likewise.
810         (do_sin): Likewise.
811         (do_sin_slow): Likewise.
812         (do_sincos_1): Remove the no longer necessary input partitioning.
813         (do_sincos_2): Likewise.
814         (__sin): Likewise.
815         (__cos): Likewise.
816         (slow1): Likewise.
817         (slow2): Likewise.
818         (sloww1): Likewise.
819         (sloww2): Likewise.
820         (bsloww1): Likewise.
821         (bsloww2): Likewise.
822         (cslow2): Likewise.
824 2016-09-02  Florian Weimer  <fweimer@redhat.com>
826         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
827         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
828         outside of allocated array.
830 2016-09-02  Florian Weimer  <fweimer@redhat.com>
832         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
833         instead of MB_CUR_MAX to avoid variable-length array.
835 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
837         * math/Makefile (libm-calls): Remove k_rem_pio2F.
838         (type-double-routines): Add k_rem_pio2.
839         (type-float-routines): Add k_rem_pio2f.
841         * sysdeps/generic/math_private.h:
842         (__kernel_rem_pio2l): Removed.
844         * math/k_rem_pio2l.c: Removed.
845         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
846         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
847         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
848         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
850 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
852         * math/Makefile (gen-libm-calls): Add s_fmin
853         (libm-calls): Remove above.
855         * math/s_fmin.c: Refactor into ...
856         * math/s_fmin_template.c: New file.
858         * math/s_fminf.c: Removed.
859         * math/s_fminl.c: Removed.
860         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
861         (LDOUBLE_fmin_libm_version): New macro.
863         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
864         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
866 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
868         * math/Makefile: (gen-libm-calls): Add s_fmax.
869         (libm-calls): Remove above.
871         * math/s_fmax.c: Refactor into ...
872         * math/s_fmax_template.c: New file.
873         * math/s_fmaxf.c: Removed.
874         * math/s_fmaxl.c: Removed.
876         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
877         (LDOUBLE_fmaxl_libm_version): New macro.
879         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
880         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
882         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
883         s_fmin.c to pick the aarch64 version of the file.
884         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
885         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
887 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
889         * math/Makefile: (gen-libm-calls): Add s_nextdown.
890         (libm-calls): Remove above.
892         * math/s_nextdown.c: Refactor into ...
893         * math/s_nextdown_template.c: New file.
894         * math/s_nextdownf.c: Removed.
895         * math/s_nextdownl.c: Removed.
897         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
899 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
901         * math/Makefile (gen-libm-calls): Add s_fdim.
902         (libm-calls): Move to above.
904         * math/s_fdim.c: Renamed and refactored into to ...
905         * math/s_fdim_template.c: New file.
906         * math/s_fdiml.c: Removed.
907         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
908         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
910         * sysdeps/generic/math-type-macros-double.h:
911         (declare_mgen_alias): Don't declare if already declared.
912         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
913         Likewise.
915         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
916         (declare_mgen_alias): Don't declare if already declared.
917         (M_LIBM_NEED_COMPAT): Likewise.
918         (declare_mgen_libm_compat): Likewise.
919         (LDOUBLE_fdiml_libm_version): New macro.
921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
922         Include math/s_fdim.c now that ldbl-opt version is not needed.
923         (declare_mgen_alias): New macro to disable aliasing.
925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
926         (declare_mgen_alias): Likewise.
927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
928         (declare_mgen_alias): Likewise.
929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
930         (declare_mgen_alias): Likewise.
931         (M_LIBM_NEED_COMPAT): Likewise.
933 2016-09-01  Florian Weimer  <fweimer@redhat.com>
935         [BZ #20525]
936         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
937         Include <linux/quota.h>.
938         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
939         and btodb.
940         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
941         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
942         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
943         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
944         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
945         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
946         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
947         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
948         types.
949         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
950         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
952 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
954         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
955         (gammal_positive): Fix spacing.
956         (__ieee754_gammal_r): Likewise.
958 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
960         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
961         (_Float128): Define as long double, always.
962         (L): Apply long double type suffix, always.
964         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
965         _Float128, excepting comments.
967         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
968         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
969         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
970         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
971         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
972         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
973         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
974         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
975         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
976         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
977         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
978         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
979         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
980         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
981         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
982         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
983         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
984         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
985         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
986         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
987         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
988         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
989         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
990         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
991         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
992         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
993         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
994         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
995         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
996         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
997         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
998         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
999         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1000         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1001         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1002         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1003         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1004         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1005         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1006         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1007         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1008         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1009         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1010         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1011         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1012         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1013         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1014         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1015         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1016         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1017         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1018         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1019         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1020         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1021         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1022         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1023         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1024         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1025         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1026         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1027         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1028         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1029         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1030         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1031         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1032         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1033         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1034         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1036         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1037         _Float128, and include math_private.h.
1038         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1040         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1041         long double semantics.
1042         (_Float128): Likewise.
1043         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1044         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1045         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1046         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1048 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1050         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1051         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1052         * sysdeps/s390/configure: Regenerated.
1053         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1054         instruction for raising over-/underflow if z196 zarch is supported
1055         by default.
1056         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1058 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1060         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1061         it point to a dumb buffer for RPC to fill it.
1063 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1065         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1066         instead of if/else.
1067         (do_sin_slow): Likewise.
1068         (do_sincos_1): Use fabs instead of if/else.
1069         (do_sincos_2): Likewise.
1070         (__sin): Likewise.
1071         (__cos): Likewise.
1072         (slow2): Likewise.
1073         (sloww): Likewise.
1074         (sloww1): Likewise.  Drop argument M.
1075         (sloww2): Use fabs instead of if/else.
1076         (bsloww): Likewise.
1077         (bsloww1): Likewise.
1078         (bsloww2): Likewise.
1080         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1081         fall through comment.
1082         (do_sincos_1): Likewise.
1084         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1085         Consolidate switch cases 0 and 2.
1087 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1089         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1090         (libm-calls): Remove the above.
1092         * math/s_cexp_template.c: Update using type-generic macros.
1093         * math/s_clog10_template.c: Likewise.
1094         * math/s_cpow_template.c: Likewise.
1095         * math/s_clog_template.c: Likewise.
1096         * math/s_cproj_template.c: Likewise.
1097         * math/s_csqrt_template.c: Likewise.
1099         * math/s_cexp.c: Removed.
1100         * math/s_cexpf.c: Removed.
1101         * math/s_cexpl.c: Removed.
1102         * math/s_clog10.c: Removed.
1103         * math/s_clog10f.c: Removed.
1104         * math/s_clog10l.c: Removed.
1105         * math/s_cpow.c: Removed.
1106         * math/s_cpowf.c: Removed.
1107         * math/s_cpowl.c: Removed.
1108         * math/s_clog.c: Removed.
1109         * math/s_clogf.c: Removed.
1110         * math/s_clogl.c: Removed.
1111         * math/s_cproj.c: Removed.
1112         * math/s_cprojf.c: Removed.
1113         * math/s_cprojl.c: Removed.
1114         * math/s_csqrt.c: Removed.
1115         * math/s_csqrtf.c: Removed.
1116         * math/s_csqrtl.c: Removed.
1118         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1119         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1120         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1121         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1122         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1123         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1125         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1126         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1127         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1128         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1129         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1130         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1131         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1132         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1133         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1134         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1135         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1137         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1138         version.
1140         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1141         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1142         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1143         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1145 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1147         * s_cexp_template.c: Copy of s_cexp.c.
1148         * s_clog_template.c: Copy of s_clog.c.
1149         * s_clog10_template.c: Copy of s_clog10.c.
1150         * s_cpow_template.c: Copy of s_cpow.c.
1151         * s_cproj_template.c: Copy of s_cproj.c.
1152         * s_csqrt_template.c: Copy of s_csqrt.c.
1154 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1156         [BZ #20517]
1157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1158         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1159         exported.
1161 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1163         * math/fetestexceptflag.c: New file.
1164         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1165         Stefan Liebler.
1166         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1167         (fetestexceptflag): New function declaration.
1168         * manual/arith.texi (fetestexceptflag): Document function.
1169         * math/Versions (fetestexceptflag): New libm symbol at version
1170         GLIBC_2.25.
1171         * math/Makefile (libm-support): Add fetestexceptflag.
1172         (tests): Add test-fetestexceptflag.
1173         * math/test-fetestexceptflag.c: New file.
1174         * sysdeps/nacl/libm.abilist: Update.
1175         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1176         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1177         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1178         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1179         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1180         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1181         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1182         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1183         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1184         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1185         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1186         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1188         Likewise.
1189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1190         Likewise.
1191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1192         Likewise.
1193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1194         Likewise.
1195         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1196         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1197         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1198         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1199         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1201         Likewise.
1202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1203         Likewise.
1204         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1205         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1206         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1208 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1210         [BZ #20432]
1211         Avoid strong references to malloc-internal symbols when linking
1212         statically, to support statically interposed mallocs.
1213         * include/libc-symbols.h (call_function_static_weak): New macro.
1214         * malloc/Makefile (tests): Add tst-interpose-nothread,
1215         tst-interpose-thread, tst-interpose-static-nothread,
1216         tst-interpose-static-thread.
1217         (tests-static): Add tst-interpose-static-nothread,
1218         tst-interpose-static-thread.
1219         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1220         tst-interpose-aux-thread.o.
1221         (test-extras): Add tst-interpose-aux-nothread,
1222         tst-interpose-aux-thread.
1223         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1224         tst-interpose-aux-nothread.o.
1225         (tst-interpose-thread, tst-interpose-static-thread): Link with
1226         tst-interpose-aux-thread.o and libthread.
1227         * malloc/tst-interpose-aux-nothread.c: New file.
1228         * malloc/tst-interpose-aux-thread.c: Likewise.
1229         * malloc/tst-interpose-aux.c: Likewise.
1230         * malloc/tst-interpose-aux.h: Likewise.
1231         * malloc/tst-interpose-nothread.c: Likewise.
1232         * malloc/tst-interpose-skeleton.c: Likewise.
1233         * malloc/tst-interpose-static-nothread.c: Likewise.
1234         * malloc/tst-interpose-static-thread.c: Likewise.
1235         * malloc/tst-interpose-thread.c: Likewise.
1236         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1237         * sysdeps/mach/hurd/fork.c (__fork): Only call
1238         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1239         __malloc_fork_unlock_child if defined.
1240         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1242 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1244         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1245         timespec C99 designated initialization.
1247 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1249         [BZ #19946]
1250         Avoid expected SIGALRM signals.
1251         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1252         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1253         (xpthread_create, xpthread_detach, xpthread_join)
1254         (delayed_exit_thread, delayed_exit): New functions.
1255         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1256         (tf): Use xpthread_cond_wait.
1257         (do_test): Likewise.  Replace alarm with delayed_exit.
1258         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1259         (do_test): Call delayed_exit.  Report failure.
1260         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1261         (do_test): Call delayed_exit.
1262         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1263         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1264         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1265         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1266         error.
1267         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1268         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1269         error.
1270         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1271         (do_test): Call delayed_exit.
1272         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1273         (do_test): Call delayed_exit.
1274         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1275         (do_test): Call delayed_exit instead of alarm.  Use
1276         xpthread_mutex_lock.
1277         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1278         (do_test): Call delayed_exit instead of alarm.  Use
1279         xpthread_mutex_lock.
1280         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1281         (do_test): Call delayed_exit instead of alarm.
1282         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1283         (do_test): Call delayed_exit instead of alarm.  Use
1284         xpthread_spin_lock.
1285         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1286         (do_test): Call delayed_exit instead of alarm.  Use
1287         xpthread_join.
1289 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1291         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1292         adjust CFA when allocating register save area on re-aligned
1293         stack.
1295 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1297         * string/tst-cmp.c: New test.
1298         * string/Makefile (tests): Add it.
1300 2016-08-25  Mark Wielaard  <mark@klomp.org>
1302         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1303         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1304         (check_tree_recurse): Use newly defined accessors.
1305         (check_tree): Likewise.
1306         (maybe_split_for_insert): Likewise.
1307         (__tfind): Likewise.
1308         (__tdelete): Likewise.
1309         (trecurse): Likewise.
1310         (tdestroy_recurse): Likewise.
1311         (__tsearch): Likewise. And add asserts for malloc alignment.
1312         (__twalk): Cast root to node in case CHECK_TREE is defined.
1314 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1316         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1318 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1320         * math/Makefile (libm-gen-calls): Add
1321         catan, catanh, ctan, ctanh.
1322         (libm-calls): Remove the above.
1324         * math/s_catan_template.c: Update using type-generic macros.
1325         * math/s_catanh_template.c: Likewise.
1326         * math/s_ctan_template.c: Likewise.
1327         * math/s_ctanh_template.c: Likewise.
1329         * math/s_catanf.c: Removed.
1330         * math/s_catan.c: Removed.
1331         * math/s_catanl.c: Removed.
1332         * math/s_catanhf.c: Removed.
1333         * math/s_catanh.c: Removed.
1334         * math/s_catanhl.c: Removed.
1335         * math/s_ctanf.c: Removed.
1336         * math/s_ctan.c: Removed.
1337         * math/s_ctanl.c: Removed.
1338         * math/s_ctanhf.c: Removed.
1339         * math/s_ctanh.c: Removed.
1340         * math/s_ctanhl.c: Removed.
1342         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1343         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1344         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1345         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1346         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1347         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1349         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1350         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1351         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1352         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1354 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1356         * s_catan_template.c: Copy of s_catan.c.
1357         * s_catanh_template.c: Copy of s_catanh.c.
1358         * s_ctan_template.c: Copy of s_ctan.c.
1359         * s_ctanh_template.c: Copy of s_ctanh.c.
1361 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1363         * math/Makefile (gen-libm-calls): Move
1364         casin, casinh, csin, csinh here.
1365         (libm-calls): Remove the above.
1367         * math/s_casin_template.c: Update using type-generic macros.
1368         * math/s_casinh_template.c: Likewise.
1369         * math/s_csin_template.c: Likewise.
1370         * math/s_csinh_template.c: Likewise.
1371         * math/k_casinh_template.c: Likewise.
1373         * math/s_casinf.c: Removed.
1374         * math/s_casin.c: Removed.
1375         * math/s_casinl.c: Removed.
1376         * math/s_casinh.c: Removed.
1377         * math/s_casinhf.c: Removed.
1378         * math/s_casinhl.c: Removed.
1379         * math/s_csin.c: Removed.
1380         * math/s_csinf.c: Removed.
1381         * math/s_csinl.c: Removed.
1382         * math/s_csinh.c: Removed.
1383         * math/s_csinhf.c: Removed.
1384         * math/s_csinhl.c: Removed.
1385         * math/k_casinh.c: Removed.
1386         * math/k_casinhf.c: Removed.
1387         * math/k_casinhl.c: Removed.
1389         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1390         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1391         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1392         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1394         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1395         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1396         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1397         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1398         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1399         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1400         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1401         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1403         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1404         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1405         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1406         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1408         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1409         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1410         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1411         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1413 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1415         * s_casin_template.c: Copy of s_casin.c.
1416         * s_casinh_template.c: Copy of s_casinh.c.
1417         * s_csin_template.c: Copy of s_csin.c.
1418         * s_csinh_template.c: Copy of s_csinh.c.
1419         * k_casinh_template.c: Copy of k_casinh.c.
1421 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1423         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1425 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1427         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1428         (mul_split) Remove, rename as mul_splitl, remove
1429         redundant float.h include, and include via mul_splitl.h
1431         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1432         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1433         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1434         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1435         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1437         * math/mul_splitl.h: New file.
1439         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1440         Move into mul_split.h, and remove redundant float.h include.
1442         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1443         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1444         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1445         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1447         * math/mul_split.h: New file.
1449 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1451         * math/Makefile (libm-gen-calls): Move
1452         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1453         (libm-calls): Remove above.
1455         * math/s_cacos_template.c: Update using type-generic macros.
1456         * math/s_cacosh_template.c: Likewise.
1457         * math/s_ccos_template.c: Likewise.
1458         * math/s_ccosh_template.c: Likwise.
1460         * math/s_cacosf.c: Removed.
1461         * math/s_cacos.c: Removed.
1462         * math/s_cacosl.c: Removed.
1463         * math/s_cacoshf.c: Removed.
1464         * math/s_cacosh.c: Removed.
1465         * math/s_cacoshl.c: Removed.
1466         * math/s_ccosf.c: Removed.
1467         * math/s_ccos.c: Removed.
1468         * math/s_ccosl.c: Removed.
1469         * math/s_ccoshf.c: Removed.
1470         * math/s_ccosh.c: Removed.
1471         * math/s_ccoshl.c: Removed.
1473         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1474         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1475         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1476         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1477         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1478         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1480         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1481         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1482         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1483         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1485         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1486         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1487         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1488         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1490 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1492         * s_cacos_template.c: Copy of s_cacos.c.
1493         * s_cacosh_template.c: Copy of s_cacosh.c.
1494         * s_ccos_template.c: Copy of s_ccos.c.
1495         * s_ccosh_template.c: Copy of s_ccosh.c.
1497 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1499         * stdlib/tst-strtod-round-skeleton.c:
1500         Refactored from tst-strtod-round.c.
1502         (L_): New macro to apply literal modifier.
1503         (FNPFX): New macro to select str or wcs prefix.
1504         (CHAR): New macro to choose wchar_t or char.
1505         (STRM): New macro to choose printf for tested character type.
1507         (STRTO): New macro to choose appropriate string -> real function.
1508         (FNPFXS): Stringitized version of FNPFX.
1509         (STR): Support for above macro.
1510         (STRX): Likewise.
1512         (TEST): Update with above macros.
1513         (test): Likewise.
1514         (GEN_ONE_TEST): Likewise.
1515         (test_in_one_mode): Likewise.
1517         * stdlib/tst-strtod-round.c: New file.
1518         * wcsmbs/tst-wcstod-round.c: New file.
1520         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1521         (tst-wcstod-round): Add libm depencency for fesetround.
1523 2016-08-19  Zack Weinberg  <zackw@panix.com>
1525         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1527 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1529         [BZ #20477]
1530         * resolv/res_hconf.c (do_init): Use atomic access.
1531         * resolv/res_hconf.h: Add comments.
1532         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1533         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1534         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1536 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1538         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1539         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1540         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1541         Likewise.
1543 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1545         [BZ #16907]
1546         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1547         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1548         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1549         (__attribute__): Remove definition.
1551 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1553         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1554         Remove unused sqrtl declaration.
1556 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1558         * math/Makefile: (gen-libm-templates.stmp): New rule.
1559         (libm-calls): Move carg conj cimag and cabs into ...
1560         (gen-libm-calls): New variable.
1561         (generated): Inform Make objects from gen-libm-calls
1562         may be generated.
1564         * sysdeps/generic/math-type-macros.h: New file.
1565         * sysdeps/generic/math-type-macros-float.h: Likewise.
1566         * sysdeps/generic/math-type-macros-double.h: Likewise.
1567         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1568         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1569         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1571         * math/cabs.c: Refactor into
1572         * math/cabs_template.c: new file.
1573         * math/cabsf.c: Removed.
1574         * math/cabsl.c: Removed.
1575         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1576         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1578         * math/carg.c: Refactor into
1579         * math/carg_template.c: new file.
1580         * math/cargf.c: Removed.
1581         * math/cargl.c: Removed.
1582         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1583         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1585         * math/conj.c: Refactor into
1586         * math/conj_template.c: new file.
1587         * math/conjf.c: Removed.
1588         * math/conjl.c: Removed.
1589         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1590         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1592         * math/cimag.c: Refactor into
1593         * math/cimag_template.c: new file.
1594         * math/cimagf.c: Removed.
1595         * math/cimagl.c: Removed.
1596         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1597         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1599         * math/cimag.c: Refactor into
1600         * math/cimag_template.c: new file.
1601         * math/cimagf.c: Removed.
1602         * math/cimagl.c: Removed.
1603         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1604         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1606 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1608         Reduce time to expected nptl/tst-once5 failure.
1609         * nptl/tst-once5.cc (TIMEOUT): Define.
1611 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1613         [BZ #20452]
1614         Avoid additional copies of objects in libc.a in static libraries.
1615         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1616         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1617         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1618         rt-sysdep.
1619         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1620         Add nptl-sysdep.
1621         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1622         Add ptw-sysdep.
1623         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1624         rt-sysdep.
1625         * sysdeps/unix/sysv/linux/alpha/Makefile
1626         (libpthread-shared-only-routines): Add ptw-sysdep,
1627         ptw-sigprocmask, ptw-rt_sigaction.
1628         * sysdeps/unix/sysv/linux/ia64/Makefile
1629         (librt-shared-only-routines): Add rt-sysdep.
1630         * sysdeps/unix/sysv/linux/i386/Makefile
1631         (libpthread-shared-only-routines): Add libc-do-syscall.
1632         * sysdeps/unix/sysv/linux/microblaze/Makefile
1633         (libpthread-shared-only-routines): Add sysdep.
1634         * sysdeps/unix/sysv/linux/powerpc/Makefile
1635         (librt-shared-only-routines): Add rt-sysdep.
1636         (libpthread-shared-only-routines): Add sysdep.
1637         * sysdeps/unix/sysv/linux/s390/Makefile
1638         (librt-shared-only-routines): Add rt-sysdep.
1639         * sysdeps/unix/sysv/linux/sparc/Makefile
1640         (librt-shared-only-routines): Add rt-sysdep.
1641         (libpthread-shared-only-routines): Add sysdep.
1642         * sysdeps/unix/sysv/linux/tile/Makefile
1643         (libpthread-shared-only-routines): Likewise.
1645 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1647         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1648         Mask implicit bit out of unpacked value.
1649         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1653         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1655         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1657         * sysdeps/s390/fpu/fesetexcept.c: New file.
1659         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1660         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1661         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1663         * sysdeps/mips/fpu/fesetexcept.c: New file.
1665         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1667         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1669         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1671         * sysdeps/arm/fesetexcept.c: New file.
1673         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1675         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1677         * math/fesetexcept.c: New file.
1678         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1679         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1680         * math/fenv.h: Define
1681         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1682         <bits/libc-header-start.h> instead of including <features.h>.
1683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1684         declaration.
1685         * manual/arith.texi (fesetexcept): Document function.
1686         * math/Versions (fesetexcept): New libm symbol at version
1687         GLIBC_2.25.
1688         * math/Makefile (libm-support): Add fesetexcept.
1689         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1690         * math/test-fesetexcept.c: New file.
1691         * math/test-fesetexcept-traps.c: Likewise.
1692         * sysdeps/nacl/libm.abilist: Update.
1693         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1694         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1695         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1696         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1697         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1698         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1699         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1700         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1701         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1702         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1703         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1704         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1706         Likewise.
1707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1708         Likewise.
1709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1710         Likewise.
1711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1712         Likewise.
1713         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1714         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1715         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1716         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1717         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1719         Likewise.
1720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1721         Likewise.
1722         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1723         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1724         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1726 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1728         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1729         New.
1730         (do_test): Apply default_stack_size_in_mb if not set.
1731         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1733 2016-08-15  Andreas Schwab  <schwab@suse.de>
1735         [BZ #20435]
1736         CVE-2016-6323
1737         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1738         as .cantunwind.
1740 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1742         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1743         comment from fraiseexcpt.c.
1745         * math/test-fexcept.c (feraiseexcept_exact): New function.
1746         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1747         (test_except): Likewise.
1749 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1751         [BZ #20455]
1752         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1753         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1754         to be restored.
1756         * math/test-fexcept-traps.c: New file.
1757         * math/test-fexcept.c: Likewise.
1758         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1759         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1760         macro.
1761         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1762         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1764 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1766         * include/atomic.h (atomic_fetch_and_relaxed,
1767         atomic_fetch_and_release, atomic_fetch_or_release,
1768         atomic_fetch_xor_release): New.
1770 2016-08-06  Christian Seiler  <christian@iwakd.de>
1772         [BZ #20444]
1773         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1774         MACH_PORT_NULL.
1776 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1778         * math/s_fdim.c: Avoid alias renamed.
1779         * math/s_fdimf.c: Likewise.
1780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1781         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1782         Add s_fdimf-vis3, s_fdim-vis3.
1783         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1784         (CFLAGS-s_fdim-vis3.c): Likewise.
1785         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1786         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1788 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1791         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1792         Remove s_fdimf-vis3, s_fdim-vis3.
1793         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1794         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1801         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1802         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1804 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1806         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1807         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1808         -Wa,-Av9a -mvis.
1810 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1812         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1813         LIT() to individual constants in simple expressions
1814         after splitting on spaces.
1815         (_apply_lit): Rename replaced version, and use it to
1816         apply to what appears to be a token.
1818         * math/libm-test.inc: Fix many, many issues with
1819         spacing.
1821 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1823         * math/math.h: Move comment about <bits/mathdef.h> definitions
1824         above inclusion of <bits/mathdef.h>.  Do not mention
1825         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1827 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1829         * include/atomic.h (atomic_exchange_relaxed): New.
1831 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1833         * math/e_scalb.c: Do not include <fenv.h>.
1834         (invalid_fn): Do calculation resulting in NaN instead of raising
1835         FE_INVALID and returning a NaN explicitly.
1836         * math/e_scalbf.c: Do not include <fenv.h>.
1837         (invalid_fn): Do calculation resulting in NaN instead of raising
1838         FE_INVALID and returning a NaN explicitly.
1839         * math/e_scalbl.c: Do not include <fenv.h>.
1840         (invalid_fn): Do calculation resulting in NaN instead of raising
1841         FE_INVALID and returning a NaN explicitly.
1843 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1845         * po/de.po: Updated from Translation Project.
1846         * po/fi.po: Likewise.
1847         * po/sv.po: Likewise.
1849 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1851         [BZ #20452]
1852         Use sysdep.o from libc.a in static libraries.
1853         * sysdeps/unix/sysv/linux/i386/Makefile
1854         (libpthread-shared-only-routines): Add sysdep.
1855         (librt-shared-only-routines): Likewise.
1857 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1859         * math/tgmath.h (nextdown): Define if
1860         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1861         (nextup): Likewise.
1863         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1864         macro.
1865         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1866         Document.
1867         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1868         Document macro.
1869         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1870         (exp10f): Likewise.
1871         (exp10l): Likewise.
1872         * math/bits/mathcalls.h (exp10): Declare if
1873         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1875         * manual/arith.texi (nextup): Fix typo in last change.
1877 2016-08-03  Zack Weinberg  <zackw@panix.com>
1879         [BZ #19239]
1880         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1881         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1882         define major, minor, and makedev to issue deprecation warnings on use.
1883         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1884         previously-activated deprecation warnings for these macros and prevent
1885         subsequent inclusions of this header from having any effect.
1886         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1887         including <sys/sysmacros.h>, and undefine it again afterward.
1889 2016-08-03  Zack Weinberg  <zackw@panix.com>
1891         * sysdeps/generic/sys/sysmacros.h: Delete file.
1892         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1893         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1894         * bits/sysmacros.h: ... here; this encoding is now the generic
1895         encoding.  Now defines only the following macros:
1896         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1897         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1898         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1900         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1901         bits/sysmacros.h and the above new macros to generate the
1902         public implementations of major, minor, and makedev.
1903         * misc/tst-makedev.c: New test.
1904         * include/sys/sysmacros.h: New wrapper.
1906         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1907         (routines): Add makedev.
1908         (tests): Add tst-makedev.
1909         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1910         gnu_dev_makedev.
1911         * posix/Makefile (headers): Remove sys/sysmacros.h.
1912         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1914         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1915         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1916         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1917         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1918         * sysdeps/unix/sysv/linux/arm/libc.abilist
1919         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1920         * sysdeps/unix/sysv/linux/i386/libc.abilist
1921         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1922         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1923         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1924         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1925         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1926         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1927         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1928         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1929         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1934         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1935         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1936         * sysdeps/unix/sysv/linux/sh/libc.abilist
1937         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1938         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1941         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1942         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1943         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1944         Add GLIBC_2.25.
1946         * include/features.h (__glibc_clang_prereq): New macro.
1947         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1948         (__attribute_deprecated_msg__): New macros.
1950 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1952         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1953         macro.
1954         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1955         * manual/arith.texi (issignaling): Document as ISO from TS
1956         18661-1:2014.
1957         (nextup): Likewise.
1958         (nextupf): Likewise.
1959         (nextupl): Likewise.
1960         (nextdown): Likewise.
1961         (nextdownf): Likewise.
1962         (nextdownl): Likewise.
1963         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1964         macro.
1965         * math/math.h: Define
1966         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1967         <bits/libc-header-start.h> instead of including <features.h>.
1968         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1969         [__USE_GNU].
1970         * math/bits/mathcalls.h (nextdown): Declare if
1971         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1972         (nextup): Likewise.
1973         (__issignaling): Likewise.
1975 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1977         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1978         check, and remove __glibc_likely hint
1979         from FP_INFINITE check.
1980         * s_csinhf.c (__csinhf): Likewise.
1982         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1983         hint from FP_INFINITE check.
1984         * s_csinhl.c (__csinhl): Likewise.
1986 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1988         * math/Makefile (libm-calls): Insert F placeholder into
1989         object names.  Move w_lgamma_compat* routines into
1990         (libm-compat-calls): New variable.
1991         (libm-compat-calls-ldouble-yes): New variable.
1992         (calls): Insert F placeholder.
1993         (generated): Redefine using new type-foreach macro call.
1994         (routines): Likewise.
1996         (types): New variable to hold a list of symbolic names
1997         for each type supported by the target machine.
1998         (libm-routines): Redefine using new types variable.
1999         (type-foreach): macro to replace fooF with the
2000         appropriately suffixed foo for each types.
2002         (type-ldouble-suffix): New variable.
2003         (type-ldouble-routines): Likewise.
2004         (type-ldouble-yes): Likewise.
2005         (type-double-suffix): Likewise.
2006         (type-double-routines): Likewise.
2007         (type-float-suffix): Likewise.
2008         (type-float-routines): Likewise.
2010         (dbl-only-routines): Remove.
2011         (long-c-yes): Likewise.
2012         (long-m-routines): Likewise.
2013         (long-m-support): Likewise.
2014         (long-m-yes): Likewise.
2015         (test-longdouble-yes): Likewise.
2017         (test-float.o): Simplify by increasing the scope of the
2018         recipe which adds libm-test.stmp to the vector types.
2019         (test-ifloat.o): Likewise.
2020         (test-float-finite.o): Likewise.
2021         (test-double.o): Likewise
2022         (test-idouble.o): Likewise.
2023         (test-double-finite.o): Likewise.
2024         (test-ldouble.o): Likewise
2025         (test-ildoubl.o): Likewise.
2026         (test-ldouble-finite.o): Likewise.
2028         (libm-tests): Redefine type tests using foreach and the
2029         list of types in types.
2031         (CPPFLAGS-test-ildoubl.c): Rename to
2032         (CPPFLAGS-test-ildouble.c): New variable
2034         * math/test-ildoubl.c: Rename to
2035         * math/test-ildouble.c: New file.
2037 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2039         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2040         Use fabsl instead of fabs.
2041         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2042         Likewise.
2043         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2044         Add long double suffix to constant to ensure proper
2045         promotion to long double.
2047 2016-08-03  Tom Tromey  <tom@tromey.com>
2049         [BZ #20311]
2050         * nptl_db/Makefile (headers): Add proc_service.h.
2051         * nptl_db/proc_service.h: Add include guard.  Use
2052         __BEGIN/__END_DECLS.
2053         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2054         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2055         arguments.
2058 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2060         [BZ #17730]
2061         Avoid using memalign for TCB allocations.
2062         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2063         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2064         Avoid alignment gap in the TLS_DTV_AT_TP case.
2065         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2066         determine the pointer to free.
2067         * nptl/tst-tls3-malloc.c: New test.
2068         * nptl/Makefile (tests): Add it.
2069         (tst-tls3-malloc): Link with libdl, libpthread.
2070         (LDFLAGS-tst-tls3-malloc): Set.
2071         (tst-tls3-malloc.out): Depend on DSO used in test.
2073 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2075         [BZ #17730]
2076         Avoid using memalign for TLS allocations.
2077         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2078         is_static member with to_free member.
2079         (union dtv): Use struct dtv_pointer.
2080         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2081         dtv_pointer instead of is_static.
2082         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2083         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2084         instead of val.
2085         (allocate_dtv_entry): New function.
2086         (allocate_and_init): Return struct dtv_pointer.  Call
2087         allocate_dtv_entry instead of __libc_memalign.
2088         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2089         instead of val.
2090         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2091         instead of is_static.  Adjust call to allocate_and_init.
2092         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2093         struct dtv_pointer instead of val.
2095 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2097         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2098         (MALLOC_ALIGN_MASK): Move ...
2099         * malloc/malloc-internal.h: ... to here.
2100         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2102 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2104         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2105         (UDP_ENCAP_GTP1U): Likewise.
2107         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2108         (PF_MAX): Update value.
2109         (AF_QIPCRTR): New macro.
2111 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2113         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2114         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2115         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2116         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2117         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2118         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2119         s_truncf-vis3, s_trunc-vis3.
2120         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2121         (CFLAGS-s_ceil-vis3.c): Likewise.
2122         (CFLAGS-s_floorf-vis3.c): Likewise.
2123         (CFLAGS-s_floor-vis3.c): Likewise.
2124         (CFLAGS-s_truncf-vis3.c): Likewise.
2125         (CFLAGS-s_trunc-vis3.c): Likewise.
2126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2134         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2135         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2136         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2137         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2139 2016-08-02  David S. Miller  <davem@davemloft.net>
2141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2142         (__nearbyint_vis3): Don't check for sNaN before float register is
2143         loaded with the incoming argument.
2144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2145         (__nearbyintf_vis3): Likewise.
2146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2147         Likewise.
2148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2149         Likewise.
2151         * string/test-strncmp.c (do_test_limit): Make sure the test data
2152         stream is aligned as required for the type "CHAR".
2153         (do_test): Likewise.
2155 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2157         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2158         by beq instructions jumping to the end of the function.
2159         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2160         clobber list. Use "i" constraint instead of "X".
2161         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2162         of "X".
2164 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2166         * bits/libc-header-start.h: New file.
2167         * Makefile (headers): Add bits/libc-header-start.h.
2168         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2169         (__GLIBC_USE): New macro.
2170         * libio/stdio.h: Define
2171         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2172         <bits/libc-header-start.h> instead of including <features.h>.
2173         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2174         (open_memstream): Likewise.
2175         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2176         (__asprintf): Likewise.
2177         (asprintf): Likewise.
2178         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2179         (getdelim): Likewise.
2180         (getline): Likewise.
2181         * string/string.h: Define
2182         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2183         <bits/libc-header-start.h> instead of including <features.h>.
2184         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2185         (strndup): Likewise.
2186         * wcsmbs/wchar.h: Define
2187         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2188         <bits/libc-header-start.h> instead of including <features.h>.
2189         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2190         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2192 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2194         Support linking against compatibility symbols, for use in tests.
2195         * include/libc-symbols.h (symbol_version_reference): New macro.
2196         (symbol_version): Use it.
2197         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2198         (compat_symbol): Use compat_symbol_reference.
2199         (compat_symbol_1, compat_symbol_2): Remove.
2200         (compat_symbol_reference, compat_symbol_reference_1)
2201         (compat_symbol_reference_2): New macro.  Use
2202         symbol_version_reference.
2204 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2206         [BZ #19469]
2207         * malloc/Makefile (CPPFLAGS): Compile tests with
2208         -DTEST_NO_MALLOPT.
2209         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2211 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2213         [BZ #20033]
2214         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2215         finite version.
2216         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2217         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2218         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2219         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2220         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2221         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2222         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2223         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2224         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2225         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2226         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2227         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2228         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2229         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2230         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2231         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2232         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2233         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2234         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2235         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2236         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2237         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2238         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2239         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2240         in zero power.
2242 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2244         [BZ #20370]
2245         * malloc/arena.c (get_free_list): Update comment.  Assert that
2246         arenas on the free list have no attached threads.
2247         (remove_from_free_list): New function.
2248         (reused_arena): Call it.
2250 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2252         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2253         when it is a NaN.
2254         [_IEEE_FP_INEXACT] Remove.
2255         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2256         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2257         when it is a NaN.
2258         [_IEEE_FP_INEXACT] Remove.
2259         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2260         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2261         when it is a NaN.
2262         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2263         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2264         when its absolute value is greater than 0x1.0p52.
2265         [_IEEE_FP_INEXACT] Remove.
2266         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2267         when its absolute value is greater than 0x1.0p23.
2268         [_IEEE_FP_INEXACT] Remove.
2270 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2272         * version.h (RELEASE): Set to "development"
2273         (VERSION): Set to 2.24.90.
2274         * NEWS: Add 2.25 section.
2276         * version.h (RELEASE): Set to "stable"
2277         (VERSION): Set to 2.24.
2278         * include/features.h (__GLIBC_MINOR__): Set to 24.
2280         * NEWS: Add 2.24 fixed bugs.
2281         * po/libc.pot: Regenerate.
2283 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2286         [$(subdir) = math] (libm-sysdep_routines): Remove.
2287         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2288         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2289         s_truncf-vis3, s_trunc-vis3.
2290         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2292         file.
2293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2326         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2327         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2328         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2329         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2330         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2331         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2332         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2333         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2334         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2335         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2337 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2339         [BZ #20384]
2340         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2341         test-double-libmvec-sincos-avx-main.o,
2342         test-double-libmvec-sincos-avx2-main.o,
2343         test-double-libmvec-sincos-main.o,
2344         test-float-libmvec-sincosf-avx-main.o,
2345         test-float-libmvec-sincosf-avx2-main.o and
2346         test-float-libmvec-sincosf-main.o.
2347         test-float-libmvec-sincosf-avx512-main.o.
2348         ($(objpfx)test-double-libmvec-sincos): Also link with
2349         $(objpfx)test-double-libmvec-sincos-main.o.
2350         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2351         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2352         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2353         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2354         ($(objpfx)test-float-libmvec-sincosf): Also link with
2355         $(objpfx)test-float-libmvec-sincosf-main.o.
2356         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2357         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2358         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2359         test-double-libmvec-sincos-avx512-main.o and
2360         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2361         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2362         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2363         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2364         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2365         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2366         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2367         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2368         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2369         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2370         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2371         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2372         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2373         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2374         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2375         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2376         -DREQUIRE_AVX2.
2377         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2378         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2379         -DREQUIRE_AVX512F.
2380         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2381         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2382         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2383         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2384         file.
2385         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2386         Likewise.
2387         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2388         Likewise.
2389         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2390         Likewise.
2391         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2392         Likewise.
2393         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2394         Likewise.
2395         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2396         Likewise.
2397         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2398         Likewise.
2400 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2402         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2404 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2406         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2407         and typo in a comment about AT_HWCAP entry.
2409 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2411         * sysdeps/aarch64/libm-test-ulps: Updated.
2413 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2415         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2416         of r13 as it is not restored in mvcle case.
2418 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2420         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2421         Rename "ret" to "__ret".
2422         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2423         inline_syscall5, inline_syscall6): Likewise.
2425 2016-07-19   Will Newton  <will.newton@gmail.com>
2427         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2428         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2429         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2430         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2431         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2433 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2435         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2436         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2437         -mfpmath=387 with $(rtld-CFLAGS).
2438         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2439         $(rtld-CFLAGS).
2441 2016-07-18   Ross Burton  <ross.burton@intel.com>
2442              Khem Raj  <raj.khem@gmail.com>
2444         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2445         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2446         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2447         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2448         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2449         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2450         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2451         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2452         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2453         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2454         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2455         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2456         R_METAG_TLS_DTPOFF): New.
2458 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2459             Matt Clay  <mclay@lycos.com>
2461         [BZ #20357]
2462         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2463         to call __mpsin/__mpcos and to negate values.
2464         * math/auto-libm-test-in: Add test.
2465         * math/auto-libm-test-out: Regenerate.
2467 2016-07-18  Zack Weinberg  <zackw@panix.com>
2469         * grp/Makefile: Don't install the internal header grp-merge.h.
2471 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2473         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2475 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2477         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2479 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2481         [BZ #15368]
2482         * sysdeps/unix/sysv/linux/nptl-signals.h
2483         (__nptl_clear_internal_signals): New function.
2484         (__libc_signal_block_all): Likewise.
2485         (__libc_signal_block_app): Likewise.
2486         (__libc_signal_restore_set): Likewise.
2487         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2488         implementation.
2489         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2490         the cached pid/tid value in pthread structure.
2492 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2494         [BZ #20347]
2495         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2497 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2499         [BZ #20348]
2500         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2501         preadv64, pwrite64 and pwritev64.
2503 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2505         [BZ #20350]
2506         * posix/tst-preadwrite.c: Renamed to ...
2507         * posix/tst-preadwrite-common.c: This.
2508         (PREAD): Removed.
2509         (PWRITE): Likewise.
2510         (STRINGIFY): Likewise.
2511         (STRINGIFY2): Likewise.
2512         (do_prepare): Make it static and remove function arguments.
2513         (do_test): Likewise.
2514         (PREPARE): Updated.
2515         (TEST_FUNCTION): New.
2516         (name): Make it static.
2517         (fd): Likewise.
2518         (do_prepare): Use create_temp_file.
2519         (do_test): Renamed to ...
2520         (do_test_with_offset): This.  Make it static and accept offset.
2521         Properly check return value of PWRITE and PREAD.  Return bytes
2522         read.  Don't close fd nor unlink name.
2523         * posix/tst-preadwrite.c: Rewrite.
2524         * posix/tst-preadwrite64.c: Likewise.
2526 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2528         [BZ #20309]
2529         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2530         -mtls-dialect=gnu2 works.
2531         * configure: Regenerated.
2532         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2533         (tests): Add tst-gnu2-tls1.
2534         (modules-names): Add tst-gnu2-tls1mod.
2535         ($(objpfx)tst-gnu2-tls1): New.
2536         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2537         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2538         * elf/tst-gnu2-tls1.c: New file.
2539         * elf/tst-gnu2-tls1mod.c: Likewise.
2540         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2541         bytes for push in the PLT entry to align the stack.
2543 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2545         [BZ #20349]
2546         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2548 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2550         [BZ #18707]
2551         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2552         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2554 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2556         * sysdeps/unix/sysv/linux/sysdep.h
2557         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2558         guards.
2559         * misc/tst-preadvwritev-common.c: New file.
2560         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2561         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2562         a check for files larger than 2GB.
2564         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2565         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2566         * sysdeps/unix/sysv/linux/pread.c
2567         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2568         __OFF_T_MATCHES_OFF64_T.
2569         * sysdeps/unix/sysv/linux/pread64.c
2570         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2571         * sysdeps/unix/sysv/linux/preadv.c
2572         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2573         * sysdeps/unix/sysv/linux/preadv64.c
2574         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2575         * sysdeps/unix/sysv/linux/pwrite.c
2576         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2577         * sysdeps/unix/sysv/linux/pwrite64.c
2578         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2579         * sysdeps/unix/sysv/linux/pwritev.c
2580         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2581         * sysdeps/unix/sysv/linux/pwritev64.c
2582         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2584 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2586         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2587         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2589 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2591         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2593 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2595         [BZ #20240]
2596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2597         (CFLAGS-s_modf-ppc32.c): New variable.
2598         (CFLAGS-s_modff-ppc32.c): Likewise.
2599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2600         (CFLAGS-s_modf-ppc64.c): Likewise.
2601         (CFLAGS-s_modff-ppc64.c): Likewise.
2603 2016-07-07  Andreas Schwab  <schwab@suse.de>
2605         [BZ #20263]
2606         * nptl/tst-robust10.c: New test.
2607         * nptl/Makefile (tests): Add tst-robust10.
2609 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2611         [BZ #20263]
2612         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2614 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2616         * sysdeps/s390/linkmap.h (struct link_map_machine):
2617         Remove member gotplt and add member jmprel.
2618         * sysdeps/s390/s390-32/dl-machine.h
2619         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2620         instead of gotplt with &got[3].
2621         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2622         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2624 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2626         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2628 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2630         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2631         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2632         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2633         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2634         * libio/vtables.c (_IO_vtable_check)
2635         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2636         * libio/libioP.h (IO_set_accept_foreign_vtables)
2637         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2639 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2641         [BZ #20314]
2642         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2643         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2644         $(common-objpfx)cmath.
2645         ($(common-objpfx)cstdlib): New target.
2646         ($(common-objpfx)cmath): Likewise.
2648 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2650         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2652 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2654         [BZ #20327]
2655         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2656         are not part of the string.
2658 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2660         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2661         * nptl/tst-cancel4-common.h (fifoname): New variable.
2662         (fifofd): Likewise.
2663         (cl_fifo): New function.
2664         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2665         SIGINT.
2666         (tf_open): Add early cancel test.
2668 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2670         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2672 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2674         * sysdeps/generic/ldsodefs.h
2675         (dl_symbol_visibility_binds_local_p): New inline function.
2676         * elf/dl-addr.c (determine_info): Treat hidden and internal
2677         symbols as local.
2678         * elf/dl-lookup.c (do_lookup_x): Likewise.
2679         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2681 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2683         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2684         invalid exception for a sNaN input.
2685         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2686         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2687         (__nearbyint_vis3): Likewise
2688         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2689         (__nearbyintf_vis3): Likewise
2690         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2691         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2692         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2693         Likewise.
2694         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2695         Likewise.
2697 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2699         [BZ #20139]
2700         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2701         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2702         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2703         2.24 or above.
2704         (HAVE_AVX512_ASM_SUPPORT): Removed.
2705         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2706         * sysdeps/x86_64/configure: Regenerated.
2707         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2708         check unconditional.
2709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2710         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2711         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2712         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2713         Likewise.
2714         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2715         Likewise.
2716         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2717         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2718         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2719         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2720         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2721         Likewise.
2722         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2723         Likewise.
2724         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2725         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2726         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2727         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2728         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2729         Likewise.
2730         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2731         Likewise.
2732         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2733         Likewise.
2734         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2735         Likewise.
2736         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2737         Likewise.
2738         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2739         Likewise.
2740         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2741         Likewise.
2742         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2743         Likewise.
2744         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2745         Likewise.
2746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2747         Likewise.
2748         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2749         Likewise.
2751 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2753         [BZ #20024]
2754         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2755         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2756         of this implementation of vector function.
2757         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2758         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2759         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2760         Likewise.
2761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2762         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2763         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2764         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2765         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2766         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2767         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2768         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2769         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2770         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2771         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2772         for testing vector sincos with fixed ABI.
2773         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2774         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2775         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2776         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2777         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2778         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2779         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2780         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2781         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2782         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2783         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2784         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2785         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2786         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2787         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2788         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2790 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2792         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2794 2016-06-30  Anton Blanchard  <anton@samba.org>
2796         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2797         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2798         s_sinf-ppc64.
2799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2802         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2804 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2808         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2809         e_expf-ppc64.
2810         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2811         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2812         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2813         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2815 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2817         [BZ #20277]
2818         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2819         when SHARED is defined.
2821 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2823         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2824         (index_arch_Prefer_ERMS): Likewise.
2825         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2826         __memcpy_erms for Prefer_ERMS.
2827         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2828         (__memmove_erms): Enabled for libc.a.
2829         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2830         __memmove_erms or Prefer_ERMS.
2831         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2832         __mempcpy_erms for Prefer_ERMS.
2833         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2834         __memset_erms for Prefer_ERMS.
2836 2016-06-30  Andreas Schwab  <schwab@suse.de>
2838         [BZ #20262]
2839         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2840         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2841         of memory.
2843 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2845         [BZ #18645]
2846         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2847         (test-extras): Add tst-cleanupx4aux.
2848         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2849         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2850         tst-cleanupx4aux.o.
2851         * nptl/tst-cleanupx4aux.c: New file.
2853 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2855         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2857 2016-06-29  Andreas Schwab  <schwab@suse.de>
2859         [BZ #20260]
2860         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2861         address before the beginning of the string as an integer to avoid
2862         array-bounds warning.
2864 2016-06-28  Richard Henderson  <rth@redhat.com>
2866         * elf/elf.h (EM_BPF): New.
2867         (EM_NUM): Update.
2868         (R_BPF_NONE, R_BPF_MAP_FD): New.
2870         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2871         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2872         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2873         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2874         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2875         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2876         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2877         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2878         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2879         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2880         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2881         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2882         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2883         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2884         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2885         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2886         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2887         (EM_NUM): Update.
2889 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2891         [BZ #18960]
2892         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2893         Set _nl_current_LC_CATEGORY_used to two instead of one.
2895 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2897         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2898         (do_test): ... this.
2899         (TEST_FUNCTION): New macro.
2900          Include test-skeleton.c.
2901         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2902         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2904 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2906         [BZ #15479]
2907         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2908         floating-point environment rather than just control word.
2909         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2910         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2911         floating-point environment, with "invalid" exceptions merged in,
2912         rather than just control word.
2913         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2914         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2915         "inexact" exceptions.
2917         [BZ #15479]
2918         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2919         floating-point environment rather than just control word.
2920         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2921         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2922         floating-point environment, with "invalid" exceptions merged in,
2923         rather than just control word.
2924         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2925         * math/libm-test.inc (floor_test_data): Do not allow spurious
2926         "inexact" exceptions.
2928         [BZ #15479]
2929         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2930         floating-point environment rather than just control word.
2931         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2932         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2933         floating-point environment, with "invalid" exceptions merged in,
2934         rather than just control word.
2935         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2936         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2937         "inexact" exceptions.
2939 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2941         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2942         __libc_vfork.
2943         (__vfork) [IS_IN (libc)]: Remove alias.
2944         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2945         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2946         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2948 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2950         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2951         of atomic_compare_and_exchange_bool_rel.
2952         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2953         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2954         catomic_compare_and_exchange_bool_rel): Remove.
2955         * sysdeps/aarch64/atomic-machine.h
2956         (atomic_compare_and_exchange_bool_rel): Likewise.
2957         * sysdeps/alpha/atomic-machine.h
2958         (atomic_compare_and_exchange_bool_rel): Likewise.
2959         * sysdeps/arm/atomic-machine.h
2960         (atomic_compare_and_exchange_bool_rel): Likewise.
2961         * sysdeps/mips/atomic-machine.h
2962         (atomic_compare_and_exchange_bool_rel): Likewise.
2963         * sysdeps/microblaze/atomic-machine.h
2964         ( __arch_compare_and_exchange_bool_8_rel,
2965         __arch_compare_and_exchange_bool_16_rel): Likewise.
2966         * sysdeps/powerpc/atomic-machine.h
2967         ( __arch_compare_and_exchange_bool_8_rel,
2968         __arch_compare_and_exchange_bool_16_rel): Likewise.
2969         * sysdeps/powerpc/powerpc32/atomic-machine.h
2970         ( __arch_compare_and_exchange_bool_32_rel,
2971         __arch_compare_and_exchange_bool_64_rel): Likewise.
2972         * sysdeps/powerpc/powerpc64/atomic-machine.h
2973         ( __arch_compare_and_exchange_bool_32_rel,
2974         __arch_compare_and_exchange_bool_64_rel): Likewise.
2975         * sysdeps/tile/atomic-machine.h
2976         (atomic_compare_and_exchange_bool_rel): Likewise.
2978 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2980         [BZ #20296]
2981         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2982         when either argument is a NaN.
2983         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2984         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2986         * math/libm-test.inc (snan_value_ld): New macro.
2987         (isgreater_test_data): Add sNaN tests.
2988         (isgreaterequal_test_data): Likewise.
2989         (isless_test_data): Likewise.
2990         (islessequal_test_data): Likewise.
2991         (islessgreater_test_data): Likewise.
2992         (isunordered_test_data): Likewise.
2993         (nextafter_test_data): Likewise.
2994         (nexttoward_test_data): Likewise.
2995         (remainder_test_data): Likewise.
2996         (remquo_test_data): Likewise.
2997         (significand_test_data): Likewise.
2998         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3000 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3002         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3003         environment macros are defined.
3004         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3006 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3008         [BZ #20191]
3009         Implement vtable verification in libio.
3010         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3011         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3012         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3013         _IO_new_file_init_internal instead of _IO_file_init.
3014         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3015         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3016         * libio/Makefile (routines): Add vtables.
3017         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3018         (_IO_init): Remove, not for internal use.
3019         (_IO_init_internal): Declare, internal replacement for _IO_init.
3020         (_IO_file_init): Remove, not for internal use.
3021         (_IO_new_file_init): Remove, not for internal use.
3022         (_IO_new_file_init_internal): Declare, internal replacement for
3023         _IO_new_file_init.
3024         (_IO_old_file_init): Remove, not for internal use.
3025         (_IO_old_file_init_internal): Declare, internal replacement for
3026         _IO_old_file_init.
3027         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3028         internal use.
3029         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3030         Declare.
3031         (libio_vtable): New macro.
3032         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3033         functions.
3034         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3035         _IO_new_file_init.
3036         (_IO_new_file_init): New externally visible wrapper which disables
3037         vtable verification.
3038         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3039         Define as vtables.
3040         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3041         (_IO_init): New externally visible wrapper which disables
3042         vtable verification.
3043         * libio/iofdopen.c (_IO_new_fdopen): Call
3044         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3045         comment.
3046         * libio/iofopen.c (__fopen_internal): Call
3047         _IO_new_file_init_internal instead of _IO_file_init.
3048         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3049         Define as vtables.
3050         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3051         _IO_new_file_init_internal instead of _IO_file_init.
3052         * libio/iopopen.c (_IO_new_popen): Likewise.
3053         (_IO_proc_jumps): Define as vtable.
3054         * libio/iovdprintf.c (_IO_vdprintf): Call
3055         _IO_new_file_init_internal instead of _IO_file_init.
3056         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3057         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3058         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3059         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3060         _IO_old_file_init.
3061         (_IO_old_file_init): New externally visible wrapper which disables
3062         vtable verification.
3063         (_IO_old_file_jumps): Define as vtable.
3064         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3065         _IO_old_file_init_internal instead of _IO_old_file_init.
3066         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3067         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3068         (_IO_old_proc_jumps): Define as vtable.
3069         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3070         Define as vtables.
3071         * libio/vtables.c: New file.
3072         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3073         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3074         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3075         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3076         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3077         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3078         instead of _IO_init.
3080 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3082         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3084 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3086         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3087         potentially unused.
3089 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3091         * test-skeleton.c (write_message): New function.
3092         * malloc/tst-mallocfork2.c (write_message): Remove.
3093         * debug/tst-longjmp_chk2.c (write_indented): New function.
3094         (write_message): Remove.
3095         (stackoverflow_handler): Call write_indented.
3097 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3099         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3100         "inexact" exceptions after fnstenv.
3101         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3102         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3103         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3105 2015-06-22  Zack Weinberg  <zackw@panix.com>
3107         * sysdeps/generic/bits/hwcap.h: Moved to ...
3108         * bits/hwcap.h: Here.
3110 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3112         * sysdeps/aarch64/memcpy.S (memcpy):
3113         Further tuning for performance.
3115 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3117         [BZ #20284]
3118         * malloc/arena.c (reused_arena): Do not return NULL if we start
3119         out with a non-corrupted arena.
3121 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3123         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3124         * misc/tst-preadvwritev.c: New file.
3125         * misc/tst-preadvwritev64.c: Likewise.
3126         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3127         usage.
3128         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3129         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3130         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3131         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3133 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3135         [BZ #19654]
3136         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3137         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3138         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3139         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3140         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3141         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3142         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3143         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3144         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3145         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3146         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3147         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3148         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3149         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3150         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3151         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3152         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3153         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3154         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3155         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3156         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3157         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3158         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3159         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3160         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3161         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3163 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3165         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3166         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3168 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3170         * sysdeps/aarch64/memcpy.S (memcpy):
3171         Rewrite of optimized memcpy and memmove.
3172         * sysdeps/aarch64/memmove.S (memmove): Remove
3173         memmove code (merged into memcpy.S).
3175 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3177         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3178         * sysdeps/generic/dl-dtv.h: New file.
3179         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3180         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3181         (dtv_t): Remove.
3182         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3183         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3184         (dtv_t): Remove.
3185         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3186         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3187         (dtv_t): Remove.
3188         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3189         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3190         (dtv_t): Remove.
3191         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3192         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3193         (dtv_t): Remove.
3194         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3195         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3196         (dtv_t): Remove.
3197         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3198         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3199         (dtv_t): Remove.
3200         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3201         (dtv_t): Remove.
3202         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3203         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3204         (dtv_t): Remove.
3205         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3206         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3207         (dtv_t): Remove.
3208         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3209         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3210         (dtv_t): Remove.
3211         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3212         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3213         (dtv_t): Remove.
3214         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3215         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3216         (dtv_t): Remove.
3217         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3218         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3219         (dtv_t): Remove.
3220         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3221         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3222         (dtv_t): Remove.
3223         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3224         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3225         (dtv_t): Remove.
3227 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3229         Revert symbol poisoning of  __malloc_initialize_hook.
3230         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3231         poisoning.
3232         * malloc/Makefile: Remove un-poisoning.
3233         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3234         instead of old__malloc_initialize_hook.
3235         * malloc/malloc-hooks.h: Likewise.
3236         * malloc/malloc.c: Likewise.
3237         * malloc/mcheck-init.c: Likewise.
3239 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3241         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3243 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3245         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3246         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3247         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3248         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3250 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3252         * NEWS: Mention addition of nextup and nextdown.
3253         * manual/arith.texi: Document nextup and nextdown.
3254         * manual/libm-err-tab.pl: Add nextup and nextdown.
3255         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3256         * math/Versions (libm): Add GLIBC_2.24.
3257         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3258         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3259         Add new test.
3260         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3261         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3262         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3263         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3264         (nextup_test_data): Likewise.
3265         (nextdown_test_data): Likewise.
3266         * math/s_nextdown.c: New file.
3267         * math/s_nextdownf.c: Likewise.
3268         * math/s_nextdownl.c: Likewise.
3269         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3270         F(nextup): New function.
3271         F(nextdown): Likewise.
3272         * math/tgmath.h: Add nextup and nextdown.
3273         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3274         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3275         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3276         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3277         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3278         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3279         Add nextup and nextdown.
3280         (CFLAGS-nldbl-nextup.c): New variable.
3281         (CFLAGS-nldbl-nextdown.c): Likewise.
3282         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3283         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3284         * sysdeps/nacl/libm.abilist: Update.
3285         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3286         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3287         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3288         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3289         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3290         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3291         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3292         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3293         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3294         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3295         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3296         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3299         Likewise.
3300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3302         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3303         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3304         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3305         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3306         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3309         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3310         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3311         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3312         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3314 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3316         * manual/pattern.texi: Fix typos & grammar errors.
3318 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3320         * manual/search.texi: Fix typos & grammar errors.
3322 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3324         * manual/message.texi: Fix typos & grammar errors.
3326 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3328         * manual/contrib.texi: Fix spelling typos.
3329         * manual/crypt.texi: Likewise.
3330         * manual/filesys.texi: Likewise.
3331         * manual/locale.texi: Likewise.
3332         * manual/message.texi: Likewise.
3333         * manual/nss.texi: Likewise.
3334         * manual/string.texi: Likewise.
3336 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3338         * manual/locale.texi: Fix typos & grammar errors.
3340 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3342         * manual/charset.texi: Fix typos & grammar errors.
3344 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3346         * manual/string.texi: Fix typos.
3348 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3350         * manual/ctype.texi: Fix typos.
3352 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3354         * manual/memory.texi: Fix various typos & grammar errors.
3356 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3358         [BZ #20255]
3359         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3360         * math/libm-test.inc (fdim_test_data): Add another test.
3362         [BZ #6796]
3363         [BZ #20255]
3364         [BZ #20256]
3365         * math/s_fdim.c: Include <math_private.h>.
3366         (__fdim): Use math_narrow_eval on result.
3367         * math/s_fdimf.c: Include <math_private.h>.
3368         (__fdimf): Use math_narrow_eval on result.
3369         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3370         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3371         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3372         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3373         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3374         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3375         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3376         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3377         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3378         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3379         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3380         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3381         overflow.  Add sNaN tests.
3383         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3384         fpclassify.
3385         * math/s_fdimf.c (__fdimf): Likewise.
3386         * math/s_fdiml.c (__fdiml): Likewise.
3388 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3390         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3391         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3393         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3394         ifunc'ed strcasecmp/strncasecmp.
3395         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3396         [EALIGN]: Removed.
3397         [END]: Likewise.
3398         [__strcasecmp]: Define instead of the above to control symbol name.
3399         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3400         for __strcasecmp_power8.
3401         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3402         for __strncasecmp_power8.
3403         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3404         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3405         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3406         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3407         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3408         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3410 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3412         [BZ #20252]
3413         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3414         arguments when second argument is a NaN.
3415         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3416         qNaN tests.
3418         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3419         (conj_test_data): Likewise.
3420         (copysign_test_data): Likewise.
3421         (creal_test_data): Likewise.
3422         (fma_test_data): Likewise.
3423         (fmod_test_data): Likewise.
3425         [BZ #20250]
3426         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3427         itself.
3428         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3429         zero input to itself.
3430         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3431         Likewise.
3432         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3433         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3434         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3435         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3436         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3438 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3440         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3441         * nptl/tst-cancel4-common.c: New file.
3442         * nptl/tst-cancel4-common.h: Likewise.
3443         * nptl/tst-cancel4.c: Move common definitions to
3444         tst-cancel4-common.{c,h} file.
3445         * nptl/tst-cancel4_1.c: New test.
3446         * nptl/tst-cancel4_2.c: New test.
3448 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3450         [BZ #20248]
3451         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3452         (write_message): New function.
3453         (stackoverflow_handler): Call it instead of printf, to avoid
3454         excessive stack usage by printf.
3455         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3457 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3459         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3460         (prio_inherit_missing): Remove define.
3461         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3462         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3463         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3464         Likewise.
3465         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3466         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3467         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3468         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3469         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3470         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3472 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3474         [BZ #19670]
3475         [BZ #19672]
3477         * io/test-lfs.c (do_prepare): Use xmalloc.
3478         * io/tst-fcntl.c (do_prepare): Likewise.
3479         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3480         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3481         * login/tst-utmp.c (do_prepare): Likewise.
3482         * posix/tst-exec.c (do_prepare): Likewise.
3483         * posix/tst-pathconf.c (prepare): Likewise.
3484         * posix/tst-spawn.c (do_prepare): Likewise.
3485         * posix/tst-truncate.c (do_prepare): Likewise.
3486         * rt/tst-aio.c (do_prepare): Likewise.
3487         * rt/tst-aio64.c (do_prepare): Likewise.
3489 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3491         [BZ #20237]
3492         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3493         (get*ent): Set entidx to NULL during initialization.  If entidx is
3494         NULL, start iteration from the beginning.
3496 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3498         * malloc/malloc.c (musable): Return correct size for dumped fake
3499         mmapped chunk.
3501 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3503         [BZ #20222]
3504         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3505         (_IO_cookie_write): Likewise.
3506         (_IO_cookie_seek): Likewise.
3507         (_IO_cookie_close): Likewise.
3508         (_IO_old_cookie_seek): Likewise.
3509         (set_callbacks): New function.
3510         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3512 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3514         * locale/programs/localedef.c (oldstyle_tables): Remove.
3515         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3517 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3519         [BZ #20240]
3520         * math/Makefile (CFLAGS-s_modf.c): New variable.
3521         (CFLAGS-s_modff.c): Likewise.
3522         (CFLAGS-s_modfl.c): Likewise.
3523         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3525 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3527         [BZ #20215]
3528         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3529         [!__GNUC_PREREQ (3,2)]: Likewise.
3531 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3533         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3534         (msghdr.msg_controllen): Likewise.
3535         (cmsghdr.cmsg_len): Likewise.
3536         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3537         ptw-oldsendmsg.
3538         (CFLAGS-oldrecvmsg.c): Remove rule.
3539         (CFLAGS-oldsendmsg.c): Likewise.
3540         (CFLAGS-recvmsg.c): Add rule.
3541         (CFLAGS-sendmsg.c): Likewise.
3542         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3543         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3544         (CFLAGS-recvmsg.c): Remove rule.
3545         (CFLAGS-sendmsg.c): Likewise.
3546         (CFLAGS-oldrecvmsg.c): Likewise.
3547         (CFLAGS-oldsendmsg.c): Likewise.
3548         (CFLAGS-recvmmsg.c): Likewise.
3549         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3550         to kernel defined interfaces.
3551         (msghdr.msg_controllen): Likewise.
3552         (cmsghdr.cmsg_len): Likewise.
3553         (msghdr.__glibc_reserved1): Remove member.
3554         (msghdr.__glibc_reserved2): Likewise.
3555         (cmsghdr.__glibc_reserved1): Likewise.
3556         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3557         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3558         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3559         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3560         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3561         version.
3562         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3563         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3564         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3565         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3566         Remove recvmsg and sendmsg.
3567         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3568         Likewise.
3569         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3570         Likewise.
3571         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3572         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3573         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3574         Likewise.
3575         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3576         Likewise.
3577         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3578         [libc] (GLIBC_2.24): Likewise.
3579         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3580         Likewise.
3581         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3582         Likewise.
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3584         [libc] (GLIBC_2.24): Likewise.
3585         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3586         Likewise.
3587         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3588         Likewise.
3589         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3590         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3591         Likewise.
3592         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3593         Likewise.
3594         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3595         Likewise.
3596         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3597         Likewise.
3598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3599         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3600         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3601         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3602         version for {recv,send,recm,sendm}msg.
3603         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3604         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3605         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3606         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3607         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3608         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3609         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3610         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3611         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3612         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3613         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3614         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3616         Likewise.
3617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3618         Likewise.
3619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3621         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3622         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3623         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3624         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3625         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3626         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3629         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3630         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3631         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3633 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3635         [BZ #19564]
3636         Remove __malloc_initialize_hook from the API.
3637         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3638         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3639         #pragma GCC poison.
3640         * malloc/malloc-hooks.h: New file.
3641         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3642         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3643         (old__malloc_initialize_hook): Rename from
3644         __malloc_initialize_hook to evade poisoning.  Turn into compat
3645         symbol.
3646         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3647         __malloc_initialize_hook.
3648         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3649         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3650         * manual/memory.texi (Hooks for Malloc): Remove
3651         __malloc_initialize_hook.  Adjust hook example.
3653 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3655         [BZ #20235]
3656         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3657         itself.
3658         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3659         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3661         [BZ #20234]
3662         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3663         infinity or NaN input to itself.
3665         [BZ #20233]
3666         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3667         to itself.
3669         [BZ #20232]
3670         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3671         itself.
3673 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3675         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3676         __libc_start_main via GOT.
3678 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3680         * sysdeps/x86_64/memcopy.h: New file.
3681         * sysdeps/x86_64/wordcopy.c: Likewise.
3683 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3685         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3686         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3687         <cstdlib>.
3688         (optimization_barrier): New.
3689         (do_test): Use it.  Call quick_exit in the global namespace.
3690         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3691         instead of <cstdlib>, <thread>.
3692         (optimization_barrier): New.
3693         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3694         Call quick_exit in the global namespace.
3695         (do_test): Call optimization_barrier.  Use pthread_create,
3696         pthread_join instead of std::thread.
3698 2016-06-09  Andreas Schwab  <schwab@suse.de>
3700         [BZ #19755]
3701         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3702         new entries in auto-propagate mode.
3703         * nscd/grpcache.c (cache_addgr): Likewise.
3705 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3707         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3708         New functions.
3709         (add_temp_file): Use them.
3711 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3713         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3715 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3717         [BZ #20229]
3718         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3719         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3720         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3722         [BZ #20228]
3723         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3724         itself.
3725         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3726         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3728         [BZ #20227]
3729         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3730         itself.
3731         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3732         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3733         * math/libm-test.inc (log_test_data): Add sNaN tests.
3735         [BZ #20226]
3736         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3737         itself.
3738         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3739         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3740         (exp10_test_data): Likewise.
3741         (expm1_test_data): Likewise.
3743         [BZ #20225]
3744         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3745         itself.
3746         * math/s_ldexpf.c (__ldexpf): Likewise.
3747         * math/s_ldexpl.c (__ldexpl): Likewise.
3748         * math/w_scalbln.c (__w_scalbln): Likewise.
3749         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3750         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3751         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3752         (scalbln_test_data): Likewise.
3754         [BZ #20224]
3755         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3756         argument to itself.
3757         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3759 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3761         [BZ #19776]
3762         * sysdeps/x86_64/memcpy.S: Make it dummy.
3763         * sysdeps/x86_64/mempcpy.S: Likewise.
3764         * sysdeps/x86_64/memmove.S: New file.
3765         * sysdeps/x86_64/memmove_chk.S: Likewise.
3766         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3767         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3768         * sysdeps/x86_64/memmove.c: Removed.
3769         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3770         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3771         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3772         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3773         Likewise.
3774         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3775         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3777         memcpy-sse2-unaligned, memmove-avx-unaligned,
3778         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3780         (__libc_ifunc_impl_list): Replace
3781         __memmove_chk_avx512_unaligned_2 with
3782         __memmove_chk_avx512_unaligned.  Remove
3783         __memmove_chk_avx_unaligned_2.  Replace
3784         __memmove_chk_sse2_unaligned_2 with
3785         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3786         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3787         with __memmove_avx512_unaligned.  Replace
3788         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3789         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3790         with __memcpy_chk_avx512_unaligned.  Remove
3791         __memcpy_chk_avx_unaligned_2.  Replace
3792         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3793         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3794         Replace __memcpy_avx512_unaligned_2 with
3795         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3796         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3797         with __mempcpy_chk_avx512_unaligned.  Remove
3798         __mempcpy_chk_avx_unaligned_2.  Replace
3799         __mempcpy_chk_sse2_unaligned_2 with
3800         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3801         Replace __mempcpy_avx512_unaligned_2 with
3802         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3803         Replace __mempcpy_sse2_unaligned_2 with
3804         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3805         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3806         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3807         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3808         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3809         (ENTRY): Removed.
3810         (END): Likewise.
3811         (ENTRY_CHK): Likewise.
3812         (libc_hidden_builtin_def): Likewise.
3813         Don't include ../memcpy.S.
3814         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3815         __memcpy_chk_avx512_unaligned_erms and
3816         __memcpy_chk_avx512_unaligned.  Use
3817         __memcpy_chk_avx_unaligned_erms and
3818         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3819         Default to __memcpy_chk_sse2_unaligned.
3820         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3821         Change function suffix from unaligned_2 to unaligned.
3822         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3823         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3824         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3825         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3826         (ENTRY): Removed.
3827         (END): Likewise.
3828         (ENTRY_CHK): Likewise.
3829         (libc_hidden_builtin_def): Likewise.
3830         Don't include ../mempcpy.S.
3831         (mempcpy): New.  Add a weak alias.
3832         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3833         __mempcpy_chk_avx512_unaligned_erms and
3834         __mempcpy_chk_avx512_unaligned.  Use
3835         __mempcpy_chk_avx_unaligned_erms and
3836         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3837         Default to __mempcpy_chk_sse2_unaligned.
3839 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3841         [BZ #19881]
3842         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3843         into ...
3844         * sysdeps/x86_64/memset.S: This.
3845         (__bzero): Removed.
3846         (__memset_tail): Likewise.
3847         (__memset_chk): Likewise.
3848         (memset): Likewise.
3849         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3850         defined.
3851         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3852         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3853         (__memset_zero_constant_len_parameter): Check SHARED instead of
3854         PIC.
3855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3856         memset-avx2 and memset-sse2-unaligned-erms.
3857         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3858         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3859         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3860         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3861         (__bzero): Enabled.
3862         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3863         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3864         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3865         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3866         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3867         (memset): Removed.
3868         (__memset_chk): Likewise.
3869         (MEMSET_SYMBOL): New.
3870         (libc_hidden_builtin_def): Replace __memset_sse2 with
3871         __memset_sse2_unaligned.
3872         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3873         __memset_chk_sse2 and __memset_chk_avx2 with
3874         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3875         Use __memset_chk_sse2_unaligned_erms or
3876         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3877         __memset_chk_avx512_unaligned_erms and
3878         __memset_chk_avx512_unaligned.
3880 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3882         * math/gen-auto-libm-test.c (fp_format_desc): remove
3883         suffix member.
3884         (output_generic_value): Remove usage of suffix member,
3885         and the resulting unuse of the fp_format argument.
3886         (output_for_one_input_case): Remove unused fp_format
3887         parameter.
3889         * math/auto-libm-test-out: Regenerate.
3891         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3892         usage with TEST_COND_ibm128.
3893         (TEST_COND_flt_32): Remove.
3894         (TEST_COND_dbl_64): Remove.
3895         (TEST_COND_ldbl_96_intel): Remove.
3896         (TEST_COND_ldbl_96_m68k): Remove.
3897         (TEST_COND_ldbl_128): Remove.
3899 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3901         * auto-libm-test-in:
3902         Replace flt-32 usage with binary32.
3903         Replace dbl-64 usage with binary64.
3904         Replace ldbl-intel-96 usage with intel96.
3905         Replace ldbl-m68k-96 usage with m68k96.
3906         Replace ldbl-128ibm usage with ibm128.
3907         Replace ldbl-128 usage with binary128.
3909         * auto-libm-test-out: Regenerate.
3911 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3913         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3914         (parse_ulps): Dynamically generate type name matching
3915         string from all_floats.
3916         (get_ulps): Generate the ulps as an array instead.
3917         (output_ulps): Dynamically compose the type based
3918         on the number of supported formats, and print
3919         the indices as type specific helper macros.
3921         * math/libm-test.inc: Remove comment about CHOOSE.
3922         (ulp_data): Generate the type in libm-test-ulps.h.
3923         (ULP_IDX): New macro.
3924         (find_ulps): Update usage of max_ulp.
3926         * math/test-double-vlen2.h (CHOOSE): Remove.
3927         * math/test-double-vlen4.h (CHOOSE): Likewise.
3928         * math/test-double-vlen8.h (CHOOSE): Likewise.
3929         * math/test-float.c (CHOOSE): Likewise.
3930         * math/test-float-finite.c (CHOOSE): Likewise.
3931         * math/test-double.c (CHOOSE): Likewise.
3932         * math/test-double-finite.c (CHOOSE): Likewise.
3933         * math/test-idouble.c (CHOOSE): Likewise.
3934         * math/test-ifloat.c (CHOOSE): Likewise.
3935         * math/test-ildoubl.c (CHOOSE): Likewise.
3936         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3937         * math/test-ldouble.c (CHOOSE): Likewise.
3939         * math/test-float.h (TEST_FLOAT): Remove.
3940         * math/test-double.h (TEST_DOUBLE): Likewise.
3941         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3943 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3945         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3946         (parse_args): Strip C suffix from floating point literals
3947         typed with 'f' and wrap them with LIT().
3949         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3950         (test_ff_f_data_nexttoward): Rename to
3951         (test_fj_f_data): New struct.
3952         (nexttoward_test_data): Relabel tests as
3953         TEST_fj_f instead of TEST_ff_f.
3955 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3957         Emacs bug 23726.
3958         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3959         (__libc_realloc): Correct size computation for dumped fake mmapped
3960         chunks.
3962 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3964         [BZ #20219]
3965         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3966         to itself.
3967         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3969         [BZ #20218]
3970         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3971         to itself.
3972         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3974 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3976         [BZ #20195]
3977         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3978         check to ...
3979         (init_cpu_features): Here.
3981 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3983         [BZ #20214]
3984         * sysdeps/unix/sysv/linux/bits/in.h
3985         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3986          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3987         Define to 1.
3988         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3989          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3990         Define to 0.
3991         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3992         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3994 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3996         [BZ #20198]
3997         * stdlib/Makefile (tests): Add tst-quick_exit, and
3998         tst-thread-quick_exit.
3999         [ifeq ($(have-cxx-thread_local),yes)]
4000         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4001         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4002         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4003         (LDLIBS-tst-thread-quick_exit): Likewise.
4004         [ifneq ($(have-cxx-thread_local),yes)]
4005         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4006         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4007         If run_dtors is true call __call_tls_dtors.
4008         (exit): Call __run_exit_handlers with run_dtors set to true.
4009         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4010         definition.
4011         * stdlib/quick_exit.c (quick_exit): Remove function.
4012         (__new_quick_exit): New function.
4013         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4014         function.
4015         * stdlib/tst-quick_exit.cc: New file.
4016         * stdlib/tst-thread-quick_exit.cc: New file.
4017         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4018         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4019         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4020         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4021         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4022         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4023         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4024         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4025         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4026         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4027         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4028         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4029         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4030         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4031         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4032         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4037         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4038         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4039         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4040         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4041         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4044         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4045         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4046         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4048 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4050         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4051         a typo in comments.
4053 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4055         [BZ #20213]
4056         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4057         argument to itself.
4058         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4060 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4062         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4063         required flags.
4064         (CFLAGS-pwritev64.c): Likewise.
4065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4067         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4068         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4069         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4070         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4071         syscall from auto-generation.
4072         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4073         [WORDSIZE == 64] (pwritev64): Remove macro.
4074         [!PWRITEV] (PWRITEV): Likewise.
4075         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4076         [!PWRITEV] (PWRITE): Likewise.
4077         [!PWRITEV] (OFF_T): Likewise.
4078         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4079         (LO_HI_LONG): Remove macro.
4080         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4081         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4082         (PWRITEV): Remove macro.
4083         (PWRITEV_REPLACEMENTE): Likewise.
4084         (PWRITE): Likewise.
4085         (OFF_T): Likewise.
4086         (pwritev64): New function.
4087         * nptl/tst-cancel4.c (tf_writev): Add test.
4089         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4090         required flags.
4091         (CFLAGS-preadv64.c): Likewise.
4092         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4093         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4094         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4095         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4096         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4097         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4098         syscall from auto-generation.
4099         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4100         [WORDSIZE == 64] (preadv64): Remove macro.
4101         [!PREADV] (PREADV): Likewise.
4102         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4103         [!PREADV] (PREAD): Likewise.
4104         [!PREADV] (OFF_T): Likewise.
4105         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4106         (LO_HI_LONG): Remove macro.
4107         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4108         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4109         (PREADV): Remove macro.
4110         (PREADV_REPLACEMENTE): Likewise.
4111         (PREAD): Likewise.
4112         (OFF_T): Likewise.
4113         (preadv64): New function.
4114         * nptl/tst-cancel4.c (tf_preadv): Add test.
4116 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4118         [BZ #20212]
4119         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4120         argument to itself.
4121         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4123 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4125         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4126         New symbol defined as libc_hidden_def.
4127         (strcasestr): Became a weak alias to __strcasestr.
4128         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4129         according to multi-arch support.  Move __stpncpy hidden
4130         definition from here to...
4131         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4132         symbol stpncpy.
4133         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4134         libc_hidden_builtin_def.
4135         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4136         memset symbol to use when multi-arch support is available.
4138 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4140         * dlfcn/tst-rec-dlopen.c: Include string.h.
4142 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4144         * manual/install.texi: Remove mention of --without-tls
4145         * INSTALL: Regenerate.
4147 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4149         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4150         Remove.
4151         (call_function, interposed_malloc_called): New variables.
4152         (malloc): New function.
4153         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4154         and clear call_function as needed.
4156 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4158         * include/wchar.h (__wmemset): Use __typeof.
4160 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4162         * include/wchar.h (__wmemset): Declare function without typeof.
4164 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4166         [BZ #20205]
4167         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4168         exponent when incrementing negative subnormal with low mantissa
4169         word zero.
4170         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4171         Add another test.
4173 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4175         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4176         __wmemset instead of wmemset.
4178 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4180         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4181         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4182         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4183         __USE_KERNEL_IPV6_DEFS to 0.
4184         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4185         Update comment.
4187 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4189         [BZ #19861]
4190         Do not use IFUNC resolver with potentially unrelocated symbol.
4191         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4192         (DEFINE_FORK): Remove macro and inline definition.
4193         (fork_alias): Renamed from fork_ifunc.
4194         (__fork_alias): Renamed from __fork_ifunc.
4196 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4198         [BZ 19653]
4199         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4200         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4202 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4204         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4205         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4206         i386-linux-gnu).
4207         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4208         Set to no.
4209         * sysdeps/mach/hurd/configure: Refresh.
4211 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4213         [BZ #20178]
4214         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4215         on failure instead of exit.
4217 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4219         [BZ #3629]
4220         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4221         of POSIX.1-2008.
4223 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4225         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4226           Use PLT entry for calling _hurd_self_sigstate.
4228 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4230         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4231         available logical processors with SMT level type sharing L2
4232         cache for Intel processors.
4234 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4236         [BZ #20160]
4237         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4238         argument to itself before returning the result.
4239         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4240         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4241         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4242         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4243         Likewise.
4244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4245         Likewise.
4246         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4247         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4248         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4249         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4250         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4251         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4253         [BZ #20160]
4254         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4255         argument to itself before returning the result.
4256         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4257         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4258         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4259         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4260         Likewise.
4261         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4262         Likewise.
4263         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4264         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4265         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4266         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4267         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4268         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4270 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4272         * libm-test.inc: Replace usage of M_El with
4273         (lit_e): New macro.
4275 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4277         * libm-test.inc: Replace usage of M_PI_4l with
4278         (lit_pi_4_d): New macro.
4280 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4282         * libm-test.inc: Replace usage of M_PIl with
4283         (lit_pi): New macro.
4285 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4287         * libm-test.inc: Replace usage of M_PI2l with
4288         (lit_pi_2_d): New macro.
4290         * math/test-double.h (LITM): New macro.
4291         * math/test-float.h (LITM): Likewise.
4292         * math/test-ldouble.h (LITM): Likewise.
4294 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4296         * libm-test.inc (M_PI_34l): Rename to
4297         (lit_pi_3_m_4_d): New Macro.
4298         (M_PI_34_LOG10El): Rename to
4299         (lit_pi_3_m_4_ln10_m_d): New Macro.
4300         (M_PI2_LOG10El): Rename to
4301         (lit_pi_2_ln10_m_d):  New Macro.
4302         (M_PI4_LOG10El): Rename to
4303         (lit_pi_4_ln10_m_d):  New Macro.
4304         (M_PI_LOG10El): Rename to
4305         (lit_pi_ln10_d):  New Macro.
4307 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4309         [BZ #20157]
4310         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4311         determine whether to negate low half if [_ARCH_PPCGR], and integer
4312         comparison otherwise.
4313         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4314         determine whether to negate low half.
4316         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4317         (NO_TEST_INLINE_DOUBLE): Likewise.
4318         (TEST_COND_x86_64): Likewise.
4319         (TEST_COND_x86): Likewise.
4320         (M_PI_6l): Likewise.
4322 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4324         * math/libm-test.inc:
4325         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4326         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4327         (TEST_LDOUBLE): Update usage to evaluate as true if
4328         the guarded tests match the property being tested.
4329         (LDBL_MAX_EXP): Change to MAX_EXP.
4330         (LDBL_MIN_EXP): Change to MIN_EXP.
4331         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4332         nexttoward tests.
4334 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4336         * math/libm-test.inc:
4337         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4338         (TYPE_MIN): Likewise.
4339         (TYPE_TRUE_MIN): Likewise.
4340         (TYPE_MAX): Likewise.
4341         (MIN_EXP): Likewise.
4342         (MAX_EXP): Likewise.
4343         (MANT_DIG): Likewise.
4345         (FSTR_MAX): New macro.
4346         (__CONCATX): Likewise.
4347         (QTYPE_STR): Likewise.
4348         (TEST_COND_binary32): Likewise.
4349         (TEST_COND_binary64): Likewise.
4350         (TEST_COND_binary128): Likewise.
4351         (TEST_COND_ibm128): Likewise.
4352         (TEST_COND_intel96): Likewise.
4353         (TEST_COND_m68k96): Likewise.
4355         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4356         (TEST_COND_dbl_64): Likewise.
4357         (TEST_COND_ldbl_96_intel): Likewise.
4358         (TEST_COND_ldbl_96_m68k): Likewise.
4359         (TEST_COND_ldbl_128): Likewise.
4360         (TEST_COND_ldbl_128ibm): Likewise.
4362         (plus_zero): Redefine using LIT macro.
4363         (minus_zero): Likewise.
4364         (plus_infty): Redefine as (INF).
4365         (minux_infty): Redefine as (-INF).
4366         (max_value): Redefine as TYPE_MAX.
4367         (min_value): Redefine as TYPE_MIN.
4368         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4370         (print_float): Refactor to use snprintf to convert FLOAT values
4371         to string. This brings it closer to dropin replacement of strtof
4372         for the TS 18661 defined types.
4373         (update_stats): Likewise.
4374         (print_complex_function_ulps): Likewise.
4375         (print_max_error): Likewise.
4376         (print_complex_max_error): Likewise.
4377         (check_float_internal): Likewise.
4379         * math/test-float.h (PREFIX): New macro.
4380         (LIT): Likewise.
4381         (TYPE_STR): Likewise.
4382         (FTOSTR): Likewise.
4384         * math/test-double.h (PREFIX): New macro.
4385         (LIT): Likewise.
4386         (TYPE_STR): Likewise.
4387         (FTOSTR): Likewise.
4389         * math/test-ldouble.h (PREFIX): New macro.
4390         (LIT): Likewise.
4391         (TYPE_STR): Likewise.
4392         (FTOSTR): Likewise.
4394 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4396         [BZ #20156]
4397         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4398         to itself when zero or not finite.
4399         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4400         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4401         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4402         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4404 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4406         [BZ #20153]
4407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4408         x * x + x for infinities and NaNs.
4410         [BZ #20151]
4411         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4412         argument to itself before returning result.
4413         (__ieee754_y0l): Likewise.
4414         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4415         (__ieee754_y1l).
4417         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4418         (atan_test_data): Likewise.
4419         (ceil_test_data): Likewise.
4420         (cos_test_data): Likewise.
4421         (cosh_test_data): Likewise.
4422         (erf_test_data): Likewise.
4423         (exp2_test_data): Likewise.
4424         (fabs_test_data): Likewise.
4425         (floor_test_data): Likewise.
4426         (ilogb_test_data): Likewise.
4427         (j0_test_data): Likewise.
4428         (j1_test_data): Likewise.
4429         (jn_test_data): Likewise.
4430         (lgamma_test_data): Likewise.
4431         (lrint_test_data): Likewise.
4432         (llrint_test_data): Likewise.
4433         (logb_test_data): Likewise.
4434         (lround_test_data): Likewise.
4435         (llround_test_data): Likewise.
4436         (nearbyint_test_data): Likewise.
4437         (rint_test_data): Likewise.
4438         (round_test_data): Likewise.
4439         (sin_test_data): Likewise.
4440         (sincos_test_data): Likewise.
4441         (sinh_test_data): Likewise.
4442         (sqrt_test_data): Likewise.
4443         (tan_test_data): Likewise.
4444         (tanh_test_data): Likewise.
4445         (tgamma_test_data): Likewise.
4446         (trunc_test_data): Likewise.
4447         (y0_test_data): Likewise.
4448         (y1_test_data): Likewise.
4449         (yn_test_data): Likewise.
4451         * math/libm-test.inc: Update comment about NaN testing.
4452         (TEST_SNAN): New macro.
4453         (snan_value): Likewise.
4454         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4455         (fpclassify_test_data): Add sNaN tests.
4456         (isfinite_test_data): Likewise.
4457         (isinf_test_data): Likewise.
4458         (isnan_test_data): Likewise.
4459         (isnormal_test_data): Likewise.
4460         (issignaling_test_data): Likewise.
4461         (signbit_test_data): Likewise.
4462         * math/gen-libm-test.pl (%beautify): Add snan_value.
4463         (show_exceptions): Add argument $test_snan.
4464         (parse_args): Handle snan_value as non-finite.  Update call to
4465         show_exceptions.
4466         * math/Makefile (libm-test-no-inline-cflags): Add
4467         -fsignaling-nans.
4469 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4471         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4472         (CFLAGS-oldsendmsg.c): Add rule.
4473         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4474         Correct recvmsg symbol name.
4475         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4476         Likewise.
4478 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4480         * sysdeps/unix/sysv/linux/Makefile
4481         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4482         oldsendmmsg.
4483         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4484         sendmmsg.
4485         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4486         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4487         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4488         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4490         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4491         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4493         Likewise.
4494         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4495         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4496         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4497         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4498         iovlen and controllen fields to adjust to POSIX specification.
4499         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4501         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4502         and change to correct expected type.
4503         (msghdr.msg_controllen): Likewise.
4504         (cmsghdr.cmsg_len): Likewise.
4505         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4506         expected POSIX assumption about the size.
4507         (msghdr.msg_controllen): Likewise.
4508         (msghdr.__glibc_reserved1): Likewise.
4509         (msghdr.__glibc_reserved2): Likewise.
4510         (cmsghdr.cmsg_len): Likewise.
4511         (cmsghdr.__glibc_reserved1): Likewise.
4512         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4513         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4514         (CFLAGS-sendmsg.c): Remove rule.
4515         (CFLAGS-recvmsg.c): Likewise.
4516         (CFLAGS-oldsendmsg.c): Add rule.
4517         (CFLAGS-oldrecvmsg.c): Likewise.
4518         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4519         recvmsg and sendmsg.
4520         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4521         Likewise.
4522         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4523         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4524         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4525         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4526         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4527         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4528         Likewise.
4529         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4530         Likewise.
4531         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4532         Likewise.
4533         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4534         Likewise.
4535         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4536         Likewise.
4537         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4538         Likewise.
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4540         (GLIBC_2.24): Likewise.
4541         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4542         Likewise.
4543         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4544         Likewise.
4545         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4546         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4547         Likewise.
4548         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4549         Likewise.
4550         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4551         Likewise.
4552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4553         (GLIBC_2.24): Likewise.
4554         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4555         Likewise.
4556         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4557         Likewise.
4558         * sysdeps/unix/sysv/linux/Makefile
4559         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4560         (CFLAGS-sendmsg.c): Add rule.
4561         (CFLAGS-recvmsg.c): Likewise.
4562         (CFLAGS-oldsendmsg.c): Likewise.
4563         (CFLAGS-oldrecvmsg.c): Likewise.
4564         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4565         initialization.
4566         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4567         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4568         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4569         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4570         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4571         iovlen and controllen fields to adjust to POSIX specification.
4572         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4573         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4574         added recvmsg and sendmsg.
4575         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4576         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4577         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4578         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4579         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4580         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4581         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4582         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4583         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4584         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4585         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4586         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4588         Likewise.
4589         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4591         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4592         Likewise.
4593         Likewise.
4594         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4595         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4596         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4597         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4598         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4599         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4601         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4603         Likewise.
4604         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4605         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4607         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4608         from auto-generation.
4609         (sendmsg): Likewise.
4610         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4611         (sendmsg): Likewise.
4612         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4613         (sendmsg): Likewise.
4614         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4615         (sendmsg): Likewise.
4616         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4617         (sendmsg): Likewise.
4618         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4619         (sendmsg): Likewise.
4620         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4621         Likewise.
4622         (sendmsg): Likewise.
4623         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4624         (sendmsg): Likewise.
4625         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4626         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4627         Remove.
4628         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4629         Likewise.
4630         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4631         Undefine.
4632         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4633         Likewise.
4634         * sysdeps/unix/sysv/linux/kernel-features.h
4635         (__ASSUME_SENDMSG_SYSCALL): Define.
4636         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4637         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4639         Remove.
4640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4641         Likewise.
4642         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4643         Undefine.
4644         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4645         Likewise.
4646         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4647         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4648         Remove.
4649         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4650         Likewise.
4651         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4652         Undefine.
4653         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4654         Likewise.
4655         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4656         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4657         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4658         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4659         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4660         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4661         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4662         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4663         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4665 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4667         * stdlib/gen-tst-strtod-round.c: Add backslash to
4668         compile command in comment.
4669         (printfp): Remove the literal suffix, and define an infinite
4670         value as INF to avoid expansion clash with INFINITY.
4671         (round_str): Remove the literal suffix.
4672         (round_for_all): Likewise, remove the now duplicate ldbl-64
4673         entry, and remove some magic constants.
4675         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4676         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4677         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4678         (_CONCAT): New macro.
4679         (CONCAT): Likewise.
4680         (CHOOSE_ld): Likewise.
4681         (CHOOSE_f): Likewise.
4682         (CHOOSE_d): Likewise.
4683         (FTYPE_MEMBER): Likewise.
4684         (BOOL_MEMBER): Likewise.
4685         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4686         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4687         (_XNTRY): Likewise.
4688         (XNTRY): Likewise.
4689         (_ENTRY): Likewise.
4690         (ENTRY): Likewise.
4691         (test_exactness): Generate members via macro.
4692         (test_results): Likewise.
4693         (test): Update members.
4694         (TEST): Redefine using new macros.
4695         (INF): New macro.
4696         (fetestmodes): New structure.
4697         (do_test): Refactor to be type generic.
4698         (test_in_one_mode): Refactor duplicate code into
4699         (GEN_ONE_TEST): New macro.
4701         * stdlib/tst-strtod-round-data.h: Regenerate.
4703         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4704         Extend to pass additional arbitrary parameters to
4705         generators.
4707 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4709         [BZ #15479]
4710         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4711         floating-point state after first floating-point operation on
4712         input.  Restore full floating-point state instead of just rounding
4713         mode.
4714         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4715         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4716         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4717         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4718         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4720         [BZ #15479]
4721         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4722         floating-point state after first floating-point operation on
4723         input.  Restore full floating-point state instead of just rounding
4724         mode.
4725         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4726         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4727         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4728         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4729         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4731 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4733         [BZ #19727]
4734         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4735         valid high surrogate.
4736         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4737         of an utf16 surrogate.
4738         * iconv/gconv_simple.c (BODY): Likewise.
4739         * iconvdata/bug-iconv12.c: New file.
4740         * iconvdata/Makefile (tests): Add bug-iconv12.
4742 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4744         [BZ #19726]
4745         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4746         outptrp in case of an illegal input.
4747         * iconv/tst-iconv6.c: New file.
4748         * iconv/Makefile (tests): Add tst-iconv6.
4750 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4752         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4753         an error in case of a value in range of an utf16 low surrogate.
4755 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4757         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4758         an error in case of a value in range of an utf16 low surrogate.
4760 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4762         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4763         Move to ...
4764         * sysdeps/s390/Makefile: ... here.
4765         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4766         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4767         (BRANCH_ON_COUNT): New define.
4768         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4769         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4770         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4771         run on s390-32, too.
4772         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4773         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4774         run on s390-32, too.
4775         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4776         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4777         run on s390-32, too.
4779 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4781         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4782         etf3eh or new vector loop-variant.
4784 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4786         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4787         etf3eh or new vector loop-variant.
4789 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4791         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4792         or new vector loop-variant.
4794 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4796         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4797         Rename to TR_LOOP and usage of tr instead of troo instruction.
4799 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4801         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4802         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4804 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4806         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4807         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4808         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4809         New override define.
4810         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4812 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4814         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4815         * sysdeps/s390/configure.ac: Add test for S390 vector register
4816         support in gcc.
4817         * sysdeps/s390/configure: Regenerated.
4819 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4821         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4822         Install file from $(objpfx)gconv-modules.
4823         ($(objpfx)gconv-modules): Concatenate architecture specific file
4824         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4825         * sysdeps/s390/gconv-modules: New file.
4826         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4827         Deleted.
4828         ($(objpfx)gconv-modules-s390): Deleted.
4829         (sysdeps-gconv-modules): New variable.
4831 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4833         [BZ #15479]
4834         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4835         of immediate operand to rounding instruction.
4836         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4837         Likewise.
4838         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4839         Likewise.
4840         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4841         Likewise.
4843 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4845         * math/libm-test.inc (MIN_EXP): Directly define as
4846         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4848 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4850         * math/libm-test.inc (MANT_DIG): Directly define as
4851         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4853 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4855         * stdlib/gen-tst-strtod-round.c (main):
4856           Change usage to more closely match the generated
4857           output.  Add usage and compilation instructions.
4858           (string_to_fp): Add and use FILE* parameter as
4859           output target.
4860           (print_fp): Likewise.
4861           (round_str): Likewise.
4862           (round_for_all): Likewise.
4863         * stdlib/tst-strtod-round.c (tests): Move into
4864         * stdlib/tst-strtod-round-data.h: New file.
4866 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4868         [BZ #15479]
4869         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4870         (__round): Do not force "inexact" exception.
4871         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4872         variable.
4873         (__round): Do not force "inexact" exception.
4874         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4875         (__roundf): Do not force "inexact" exception.
4876         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4877         (__roundl): Do not force "inexact" exception.
4878         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4879         (__roundl): Do not force "inexact" exception.
4880         * math/libm-test.inc (round_test_data): Do not allow spurious
4881         "inexact" exceptions.
4883         [BZ #15479]
4884         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4885         exception in comment.
4886         (huge): Remove variable.
4887         (__floor): Do not force "inexact" exception.
4888         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4889         "inexact" exception in comment.
4890         (huge): Remove variable.
4891         (__floor): Do not force "inexact" exception.
4892         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4893         exception in comment.
4894         (huge): Remove variable.
4895         (__floorf): Do not force "inexact" exception.
4896         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4897         exception in comment.
4898         (huge): Remove variable.
4899         (__floorl): Do not force "inexact" exception.
4901         [BZ #15479]
4902         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4903         exception in comment.
4904         (huge): Remove variable.
4905         (__ceil): Do not force "inexact" exception.
4906         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4907         "inexact" exception in comment.
4908         (huge): Remove variable.
4909         (__ceil): Do not force "inexact" exception.
4910         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4911         (__ceilf): Do not force "inexact" exception.
4912         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4913         exception in comment.
4914         (huge): Remove variable.
4915         (__ceill): Do not force "inexact" exception.
4917 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4919         * config.h.in (BIND_NOW): New.
4920         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4921         * configure: Regenerated.
4922         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4923         indirect branch via the GOT slot.
4925 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4927         [BZ #19765]
4928         * sysdeps/s390/mempcpy.S: New File.
4929         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4930         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4931         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4932         Add mempcpy variants.
4933         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4934         (memcpy): Adjust to be usable from mempcpy entry point.
4935         (__memcpy_mvcle): Likewise.
4936         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4937         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4938         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4939         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4940         (__memcpy_z10): Likewise.
4941         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4943 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4945         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4946         Remove __GI_ symbol.
4947         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4948         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4949         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4950         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4951         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4952         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4954 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4956         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4957         Use cghi instead of chi to compare 64bit value.
4959 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4961         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4962         Jump to 1MB check before executing mvc-loop.
4964 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4966         [BZ #6527]
4967         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4968         unconditionally.
4969         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4971 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4973         * stdlib/tst-strtod6.c (do_test): Use new type generic
4974         invocation of the test function.
4975         (test): Refactor into ...
4976         (TEST_STRTOD): New macro base function.
4978 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4980         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4981         (TEST_STRTOD): New macro.
4982         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4984 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4986         * stdlib/tst-strtod6.c (do_test): Use new type generic
4987         invocation of the test function.
4988         (test): Refactor into ...
4989         (TEST_STRTOD): New macro base function.
4991 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4993         CVE-2016-4429
4994         [BZ #20112]
4995         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4996         payload.
4998 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5000         [BZ #20111]
5001         * bits/sockaddr.h (_SS_SIZE): Define.
5002         * bits/socket.h (_SS_SIZE): Remove.
5003         (_SS_PADSIZE): Adjust to account for all padding.
5004         (struct sockaddr_storage): Update comment.  Avoid implicit
5005         padding.
5006         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5007         (_SS_PADSIZE): Adjust to account for all padding.
5008         (struct sockaddr_storage): Update comment.  Avoid implicit
5009         padding.
5010         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5011         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5012         (_SS_PADSIZE): Adjust to account for all padding.
5013         (struct sockaddr_storage): Update comment.  Avoid implicit
5014         padding.
5015         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5016         __SS_SIZE is 126 in this version.
5017         * inet/tst-sockaddr.c: New file.
5018         * inet/Makefile (tests): Add tst-sockaddr.c
5019         (tst-sockaddr.c): Compile with non-strict aliasing.
5021 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5023         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5024         [XPG3 || XPG4].
5025         (NL_ARGMAX): Also expect for [XPG3].
5026         (NL_LANGMAX): Likewise.
5027         (NL_MSGMAX): Likewise.
5028         (NL_NMAX): Likewise.
5029         (NL_SETMAX): Likewise.
5030         (NL_TEXTMAX): Likewise.
5031         (NZERO): Likewise.
5032         (TMP_MAX): Likewise.
5033         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5034         variable.
5036         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5037         (PF_MAX): Update value.
5038         (AF_KCM): New macro.
5039         (SOL_NETBEUI): Likewise.
5040         (SOL_LLC): Likewise.
5041         (SOL_DCCP): Likewise.
5042         (SOL_NETLINK): Likewise.
5043         (SOL_TIPC): Likewise.
5044         (SOL_RXRPC): Likewise.
5045         (SOL_PPPOL2TP): Likewise.
5046         (SOL_BLUETOOTH): Likewise.
5047         (SOL_PNPIPE): Likewise.
5048         (SOL_RDS): Likewise.
5049         (SOL_IUCV): Likewise.
5050         (SOL_CAIF): Likewise.
5051         (SOL_ALG): Likewise.
5052         (SOL_NFC): Likewise.
5053         (SOL_KCM): Likewise.
5054         (MSG_BATCH): New enum value and macro.
5056 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5058         [BZ #18185]
5059         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5060         sharing L2 cache to 2 for Knights Landing.
5062 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5064         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5065         (FTW_DP): Do not expect for [XPG3 || XPG4].
5066         (FTW_SL): Do not expect for [XPG3].
5067         (FTW_SLN): Likewise.
5068         (FTW_PHYS): Likewise.
5069         (FTW_MOUNT): Likewise.
5070         (FTW_DEPTH): Likewise.
5071         (FTW_CHDIR): Likewise.
5072         (nftw): Likewise.
5073         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5074         variable.
5076 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5078         * manual/errno.texi: Fix various typos & grammar errors.
5080 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5082         * manual/intro.texi: Fix duplicated typo.
5084 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5086         [BZ #13304]
5087         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5088         <float.h>, <math_private.h> and <stdlib.h>.
5089         (add_split): New function.
5090         (mul_split): Likewise.
5091         (ext_val): New typedef.
5092         (store_ext_val): New function.
5093         (mul_ext_val): New function.
5094         (compare): New function.
5095         (add_split_ext): New function.
5096         (__fmal): After checking for Inf, NaN and zero, compute result as
5097         an exact sum of scaled double values in round-to-nearest before
5098         adding those up and adjusting for other rounding modes.
5099         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5100         tests of fma.
5101         * math/auto-libm-test-out: Regenerated.
5103 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5105         [BZ #20119]
5106         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5107         processor level type mask for CPUID with EAX == 11.
5109 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5111         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5112         logical threads if the HTT bit is 0.
5113         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5114         (index_cpu_HTT): Likewise.
5115         (reg_HTT): Likewise.
5117 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5119         [BZ #20115]
5120         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5121         Remove alignments on jump targets.
5123 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5125         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5126         (getpwent): Likewise.
5127         (setpwent): Likewise.
5128         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5129         variable.
5131         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5132         (remque): Likewise.
5133         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5134         variable.
5136 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5138         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5139         not being tested.
5141 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5143         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5144         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5145         call.
5146         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5147         (__condvar_cleanup1): Likewise.
5149 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5151         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5152         New
5153         (__pthread_unwind): Renamed to ...
5154         (PTHREAD_UNWIND): This.
5155         (__pthread_enable_asynccancel): Replace
5156         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5158 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5160         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5161         (CLONE_NEWCGROUP): New macro.
5163         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5164         (Q_GETNEXTQUOTA): New macro.
5166 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5168         [BZ #19907]
5169         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5170         buffer updated by the previous run.
5171         * string/test-memcpy.c (do_one_test): Likewise.
5172         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5173         * string/test-memmove.c (do_one_test): Likewise.
5175 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5177         [BZ #20094]
5178         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5179         not [__USE_XOPEN].
5180         (unlockpt): Likewise.
5181         (ptsname): Likewise.
5182         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5183         variable.
5185         [BZ #20076]
5186         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5187         instead of [__USE_UNIX98].
5188         (S_ISSOCK): Likewise.
5189         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5190         variable.
5192         [BZ #20074]
5193         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5194         [__USE_POSIX].
5195         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5196         variable.
5198         [BZ #20051]
5199         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5200         (ttyslot): Do not declare.
5201         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5202         (ttyslot): New prototype.
5203         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5204         variable.
5205         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5207 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5209         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5211 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5213         Fix race condition in tst-mallocfork2, use fewer resources.
5214         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5215         to current process group.
5216         (signal_sender): Yield in the non-sleeping case.
5218 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5220         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5221         (ecvt): Likewise.
5222         (fcvt): Likewise.
5223         (gcvt): Likewise.
5224         (getsubopt): Likewise.
5225         (grantpt): Likewise.
5226         (initstate): Likewise.
5227         (l64a): Likewise.
5228         (mktemp): Likewise.
5229         (mkstemp): Likewise.
5230         (ptsname): Likewise.
5231         (random): Likewise.
5232         (realpath): Likewise.
5233         (setstate): Likewise.
5234         (srandom): Likewise.
5235         (ttyslot): Likewise.
5236         (unlockpt): Likewise.
5237         (valloc): Likewise.
5239         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5240         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5241         variable.
5243 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5245         [BZ #20072]
5246         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5247         init_cpu_features only if SHARED is defined.
5248         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5250 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5252         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5253         non-inclusive caches on Intel processors.
5255 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5257         * malloc/malloc.c (dumped_main_arena_start)
5258         (dumped_main_arena_end): New variables.
5259         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5260         (do_check_chunk): Skip dumped fake mmapped chunks.
5261         (munmap_chunk): Likewise.
5262         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5263         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5264         mmapped chunks.
5265         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5266         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5267         and dumped_main_arena_end to cover the dumped heap.
5269 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5271         * conform/data/time.h-data (getdate_err): Do not expect for
5272         [XPG3].
5273         (getdate): Likewise.
5274         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5275         variable.
5277         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5278         (F_ULOCK): Likewise.
5279         (F_TEST): Likewise.
5280         (F_TLOCK): Likewise.
5281         (useconds_t): Likewise.
5282         (intptr_t): Do not expect for [XPG3] or [XPG4].
5283         (brk): Do not expect for [XPG3]
5284         (fchown): Likewise.
5285         (fchdir): Likewise.
5286         (ftruncate): Likewise.
5287         (getdtablesize): Likewise.
5288         (gethostid): Likewise.
5289         (getpagesize): Likewise.
5290         (getpgid): Likewise.
5291         (getsid): Likewise.
5292         (getwd): Likewise.
5293         (lchown): Likewise.
5294         (lockf): Likewise.
5295         (readlink): Likewise.
5296         (sbrk): Likewise.
5297         (setpgrp): Likewise.
5298         (setregid): Likewise.
5299         (setreuid): Likewise.
5300         (symlink): Likewise.
5301         (sync): Likewise.
5302         (truncate): Likewise.
5303         (ualarm): Likewise.
5304         (usleep): Likewise.
5305         (vfork): Likewise.
5306         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5307         variable.
5309         [BZ #20054]
5310         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5311         not [__USE_UNIX98].
5312         * conform/data/unistd.h-data (gethostname): Do not expect for
5313         [XPG3].
5315         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5316         [!POSIX] (S_IFBLK): Likewise.
5317         [!POSIX] (S_IFCHR): Likewise.
5318         [!POSIX] (S_IFIFO): Likewise.
5319         [!POSIX] (S_IFREG): Likewise.
5320         [!POSIX] (S_IFDIR): Likewise.
5321         [!POSIX] (S_IFLNK): Likewise.
5322         [!POSIX] (S_IFSOCK): Likewise.
5323         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5324         variable.
5325         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5327 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5329         * sysdeps/aarch64/memset.S (__memset):
5330         Rewrite of optimized memset.
5332 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5334         [BZ #19703]
5335         Partially async-signal-safe fork for single-threaded processes.
5336         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5337         variable.  Do not acquire and reset/release malloc and libio locks
5338         in single-threaded processes.
5339         * malloc/tst-mallocfork2.c: New file.
5340         * malloc/Makefile (tests): Add it.
5342 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5344         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5345         argument.  Use scratch buffer instead of extend_alloca.
5346         (gethosts): Use scratch buffer instead of extend_alloca.
5347         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5348         extend_alloca.
5349         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5351 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5353         [BZ #20055]
5354         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5355         instead of [__USE_UNIX98].
5356         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5357         [__USE_UNIX98].
5358         * conform/data/termios.h-data (tcgetsid): Do not expect for
5359         [XPG3].
5360         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5361         variable.
5362         (test-xfail-XPG4/termios.h/conform): Likewise.
5364 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5366         Do not use mcheck in localedef.
5367         * locale/programs/localedef.c (turn_on_mcheck)
5368         (__malloc_initialize_hook): Remove.
5370 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5372         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5373         * sysdeps/s390/s390-64/Makefile: Likewise.
5375 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5377         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5378         Remove ifunc-defines.sym.
5379         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5380         Likewise.
5381         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5382         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5383         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5384         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5385         rtld-global-offsets.sym.
5386         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5387         * sysdeps/x86/cpu-features-offsets.sym: This.
5388         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5389         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5391 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5393         [BZ #20073]
5394         * io/sys/stat.h (fchmod): Declare for
5395         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5396         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5397         variable.
5399         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5400         [XPG3] (S_IFSOCK): Likewise.
5401         [XPG3] (S_ISVTX): Likewise.
5402         [XPG3] (S_ISLNK): Likewise.
5403         [XPG3] (S_ISSOCK): Likewise.
5404         [XPG3] (fchmod): Likewise.
5405         [XPG3] (lstat): Likewise.
5406         [XPG3] (mknod): Likewise.
5408         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5409         [XPG3].  Expect type long and XFAIL for [XPG4].
5410         (st_blocks): Likewise.
5412         [BZ #20044]
5413         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5414         (pthread_atfork): New prototype.
5415         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5416         variable.
5418         [BZ #20043]
5419         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5420         prototype.
5422 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5424         [BZ #20017]
5425         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5426         gmtime.
5428 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5430         [BZ #19994]
5431         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5432         flag in _res.options.
5434 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5436         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5437         [XPG3 || XPG4].
5438         (blksize_t): Likewise.
5439         (clockid_t): Likewise.
5440         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5441         variable.
5442         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5444 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5446         * sysdeps/unix/sysv/linux/s390/init-first.c:
5447         Add VDSO_SYMBOL(getcpu).
5448         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5449         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5450         Add VDSO_SYMBOL(getcpu).
5451         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5452         New define HAVE_GETCPU_VSYSCALL.
5453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5455 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5457         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5458         instead of <sysdeps/x86_64/cacheinfo.c>.
5459         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5460         * sysdeps/x86/cacheinfo.c: Here.
5462 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5464         * malloc/malloc-internal.h: Adjust header file guard.
5466 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5468         [BZ #19787]
5469         * inet/getnameinfo.c (check_sprintf_result): New function.
5470         (CHECKED_SNPRINTF): New macro.
5471         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5472         to the host buffer.
5473         (gni_host_local): Use checked_copy to copy the host name.
5474         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5475         (gni_serv_local): Use checked_copy to copy the service name.
5476         (getnameinfo): Remove unnecessary truncation of result buffers.
5478 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5480         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5481         in case of inet_ntop failure.
5483 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5485         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5486         avoid long lines.
5487         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5488         variables.
5489         (gni_host_inet, gni_host_local): Add comment.
5490         (gni_host): Add comment.  Use temporary to avoid long lines.
5492 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5494         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5495         registers specifiers where general purpose registers specifiers should
5496         have been used.
5498 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5500         [BZ #19779]
5501         CVE-2016-1234
5502         Avoid copying names of directory entries.
5503         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5504         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5505         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5506         (struct readdir_result): New type.
5507         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5508         (GL_READDIR): New macros.
5509         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5510         (convert_dirent, convert_dirent64): New functions.
5511         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5512         convert_dirent64.  Adjust references to the readdir result.
5513         * sysdeps/unix/sysv/linux/i386/glob64.c:
5514         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5515         * posix/bug-glob2.c (LONG_NAME): Define.
5516         (filesystem): Add LONG_NAME.
5517         (my_DIR): Increase the size of room_for_dirent.
5519 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5521         [BZ #20041]
5522         * misc/sys/select.h (__need_timespec): Only define if
5523         [__USE_XOPEN2K].
5524         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5525         variable.
5526         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5527         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5528         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5530 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5531             Segher Boessenkool  <segher@gcc.gnu.org>
5533         [BZ #20004]
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5535         (__novec_swapcontext): Add missing load.
5537 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5539         [BZ #20023]
5540         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5541         <time.h>.
5542         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5543         variable.
5544         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5546 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5549         flags CLONE_VM compare.
5551 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5553         [BZ #20031]
5554         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5555         completely empty.
5557 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5559         [BZ #19573]
5560         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5561         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5562         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5563         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5564         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5565         (hesiod_free_list): Mark as hidden.
5566         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5567         res_set, res_get.
5568         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5569         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5570         (hesiod_init): Remove obsolete res_ninit call.
5571         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5572         (hesiod_bind): Do not call init.
5573         (get_txt_records): Use res_mkquery, res_send instead of
5574         res_nmkquery, res_nsend.
5575         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5576         instead of _nss_hesiod_init.
5577         (_nss_hesiod_initgroups_dyn): Likewise.
5578         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5579         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5580         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5582 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5584         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5585         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5587 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5589         * hesiod/hesiod.h: Remove RCS keyword.
5590         * hesiod/hesiod_p.h: Likewise.
5592         * hesiod/hesiod.c: Likewise.
5594 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5596         [BZ #12450]
5597         * locale/iso-639.def: Add Samogitian/sgs.
5599 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5601         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5603         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5605 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5606             Carlos O'Donell  <carlos@redhat.com>
5608         [BZ #19072]
5609         * grp/Makefile (headers): Add grp-merge.h
5610         (routines): Add grp-merge.
5611         * grp/getgrgid_r.c: Include grp-merge.h.
5612         (DEEPCOPY_FN): Define.
5613         (MERGE_FN): Define.
5614         * grp/getgrname_r.c: Include grp-merge.h.
5615         (DEEPCOPY_FN): Define.
5616         (MERGE_FN): Define.
5617         * grp/grp-merge.c: New file.
5618         * grp/grp-merge.h: New file.
5619         * include/grp-merge.h: New file.
5620         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5621         __copy_grp@GLIBC_PRIVATE.
5622         * manual/nss.texi (Actions in the NSS configuration): Describe
5623         return, continue, and merge.
5624         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5625         (DEEPCOPY_FN): Define.
5626         (MERGE_FN): Define.
5627         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5628         (DEEPCOPY_FN): Define.
5629         (MERGE_FN): Define.
5630         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5631         [!MERGE_FN]: Define __merge_einval.
5632         (CHECK_MERGE): Define.
5633         (REENTRANT_NAME): Process merge if do_merge is true.
5634         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5635         (__nss_getent_r): Likewise.
5636         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5637         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5639 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5641         [BZ #20012]
5642         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5643         length to calculate the buffer to read.
5644         (fmemopen_write): Set the buffer position based on bytes written.
5645         (fmemopen_seek): Return EINVAL for invalid whence modes.
5647         [BZ #19957]
5648         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5649         tst-getpid2.
5650         (test): Add tst-clone2.
5651         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5652         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5653         pid/tid fields for CLONE_VM.
5654         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5655         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5656         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5657         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5658         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5659         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5660         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5661         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5663         Likewise.
5664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5665         Likewise.
5666         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5667         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5668         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5669         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5670         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5671         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5672         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5673         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5675 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5677         [BZ #19642]
5678         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5679         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5680         (gni_serv_local, gni_serv): New functions extracted from
5681         getnameinfo.
5682         (getnameinfo): Call gni_host and gni_serv to perform the
5683         processing.  Always free scratch buffer.
5685 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5687         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5688         remaining bytes in the dest string, with zeros.
5690 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5692         [BZ #20010]
5693         CVE-2016-3706
5694         * sysdeps/posix/getaddrinfo.c
5695         (convert_hostent_to_gaih_addrtuple): New function.
5696         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5697         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5698         AF_INET data.
5700 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5702         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5703         callback function gl_readdir.
5704         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5705         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5706         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5707         memcpy to copy the name.
5708         * manual/pattern.texi (Calling Glob): Document requirements for
5709         implementations of the gl_readdir callback function.
5710         * manual/examples/mkdirent.c: New example.
5711         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5712         per the manual guidance.
5713         * posix/tst-gnuglob.c (my_readdir): Likewise.
5715 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5717         [BZ #20014]
5718         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5719         not [__USE_POSIX].
5720         (getchar_unlocked): Likewise.
5721         (putc_unlocked): Likewise.
5722         (putchar_unlocked): Likewise.
5723         (flockfile): Likewise.
5724         (ftrylockfile): Likewise.
5725         (funlockfile): Likewise.
5726         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5727         variable.
5728         (test-xfail-XPG4/stdio.h/conform): Likewise.
5730         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5731         Expect constant.
5732         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5733         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5734         variable.
5735         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5736         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5738         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5739         [__USE_LARGEFILE64] (off64_t): Likewise.
5740         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5741         variable.
5743 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5745         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5747 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5749         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5750         * resolv/res_init.c: Likewise.
5751         * resolv/res_mkquery.c: Likewise.
5753 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5755         * resolv/res_init.c (isascii): Do not define.  Use definition in
5756         <ctype.h>.
5757         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5758         (LOG_AUTH): Remove.
5759         (SPRINTF): Remove, adjust caller.
5760         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5762 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5764         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5765         SUNSECURITY conditional.
5766         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5768 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5770         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5771         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5772         Remove BSD-related preprocessor conditionals.
5773         * conf/portability.h: Remove.
5775 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5777         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5778         * resolv/res_data.c: Likewise.
5780 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5782         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5783         * resolv/res_data.c: Remove code conditional on ultrix.
5785 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5787         * resolv/res_init.c (RFC1535): Do not define.  Remove
5788         RFC1535 preprocessor conditionals.
5789         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5790         because there configuration options which make the resolver
5791         behavior different.
5793 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5795         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5796         RESOLVSORT preprocessor conditionals.
5797         * resolv/nss_dns/dns-host.c: Likewise.
5798         * resolv/res_init.c: Likewise.
5800 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5802         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5803         is never defined.
5805 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5807         * inet/inet_lnaof.c: Remove SCSS keyword.
5808         * inet/inet_mkadr.c: Likewise.
5809         * inet/inet_net.c: Likewise.
5810         * inet/inet_netof.c: Likewise.
5811         * inet/rcmd.c: Likewise.
5812         * inet/rexec.c: Likewise.
5813         * inet/ruserpass.c: Likewise.
5815 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5817         * resolv/inet_addr.c: Remove _LIBC conditionals.
5818         * resolv/res_data.c: Likewise.
5819         * resolv/res_init.c: Likewise.
5820         * resolv/res_mkquery.c: Likewise.
5821         * resolv/res_libc.c: Update comment.
5822         * resolv/README: Update.
5824 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5826         * resolv/gethnamaddr.c: Remove SCSS keyword.
5827         * resolv/herror.c: Likewise.
5828         * resolv/inet_addr.c: Likewise.
5829         * resolv/inet_net_ntop.c: Likewise.
5830         * resolv/inet_net_pton.c: Likewise.
5831         * resolv/inet_neta.c: Likewise.
5832         * resolv/inet_ntop.c: Likewise.
5833         * resolv/inet_pton.c: Likewise.
5834         * resolv/ns_date.c: Remove RCS keyword.
5835         * resolv/ns_name.c: Likewise.
5836         * resolv/ns_netint.c: Likewise.
5837         * resolv/ns_parse.c: Likewise.
5838         * resolv/ns_print.c: Likewise.
5839         * resolv/ns_samedomain.c: Likewise.
5840         * resolv/ns_ttl.c: Likewise.
5841         * resolv/nsap_addr.c: Likewise.
5842         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5843         * resolv/res_data.c: Remove RCS keyword.
5844         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5845         * resolv/res_init.c: Likewise.
5846         * resolv/res_mkquery.c: Likewise.
5847         * resolv/res_query.c: Likewise.
5848         * resolv/res_send.c: Likewise.
5850 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5852         * conform/data/stdio.h-data (fdopen): Expect also for
5853         [XPG3 || XPG4].
5855         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5856         (fseeko): Likewise.
5857         (ftello): Likewise.
5858         (ftrylockfile): Likewise.
5859         (funlockfile): Likewise.
5860         (getc_unlocked): Likewise.
5861         (getchar_unlocked): Likewise.
5862         (putc_unlocked): Likewise.
5863         (putchar_unlocked): Likewise.
5865 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5867         [BZ #19868]
5868         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5869         DNS packet syntax checks (which were not needed before).  Skip
5870         over non-PTR records.
5872 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5874         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5875         definition.  Include <stddef.h> instead.
5877 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5879         [BZ #19831]
5880         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5881         function.
5882         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5883         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5885 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5887         [BZ #19862]
5888         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5889         (getanswer_r): Do not call syslog.
5890         (gaih_getanswer_slice): Likewise.
5891         * resolv/gethnamaddr.c (AskedForGot): Remove.
5892         (getanswer): Do not call syslog.
5893         (gethostbyaddr): Likewise.
5895 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5897         * conform/data/signal.h-data (union sigval): Expect also if
5898         [XOPEN2K].
5899         (struct sigevent): Likewise.
5900         (SIGEV_NONE): Likewise.
5901         (SIGEV_SIGNAL): Likewise.
5902         (SIGEV_THREAD): Likewise.
5903         (SIGRTMIN): Likewise.
5904         (SIGRTMAX): Likewise.
5905         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5906         variable.
5907         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5909 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5911         [BZ #19830]
5912         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5913         (gaih_getanswer_slice): Likewise.
5914         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5915         Also check for availability of RR metadata.
5917 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5919         [BZ #19825]
5920         * resolv/res_send.c (send_vc): Remove early *resplen2
5921         initialization.  Set *resplen2 on socket error.  Call
5922         close_and_return_error for other errors.
5924 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5926         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5927         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5928         (SCM_IUCV_TRGCLS): New define.
5930 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5932         [BZ #20005]
5933         * libio/fmemopen.c (fmemopen_write): Update internal position after
5934         write.
5935         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5936         * stdio-common/tst-fmemopen4.c: New file..
5938 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5940         [BZ #19996]
5941         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5942         not [__USE_XOPEN2K].
5943         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5944         variable.
5946         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5947         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5948         variable.
5950         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5951         [__USE_XOPEN2K8].
5952         [__USE_LARGEFILE64] (off64_t): Likewise.
5953         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5954         variable.
5956 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5958         [BZ #19989]
5959         * libio/stdio.h (cuserid): Do not declare if
5960         [__USE_XOPEN2K && !__USE_GNU].
5961         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5962         variable.
5964 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5966         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5967         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5969         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5970         ifunc'ed strcspn.
5971         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5972         [EALIGN]: Removed.
5973         [END]: Likewise
5974         [STRSPN]: Define instead of the above to control symbol name.
5975         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5976         New file.
5977         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5978         Likewise.
5979         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5980         Likewise.
5981         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5982         Likewise.
5983         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5984         [INITIAL_MASK]: New macro.
5985         [STRCSPN]: Likewise.
5986         [UPDATE_MASK]: Likewise.
5987         [USE_AS_STRCSPN]: Lisewise.
5989 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5991         [BZ #19931]
5992         * stdio-common/tst-vfprintf-width-prec.c: New file.
5993         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5994         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5995         (generated): Add mtrace-related files.
5996         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5997         (tst-%-mem.out): New pattern rule, replaces
5998         tst-printf-bz18872-mem.out.
5999         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6000         specifier, deallocate any previously allocated work buffer.
6002 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6004         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6005         Add nop before __startcontext, add explaining comments.
6007 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6009         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6010         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6011         completely different API.
6013         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6014         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6015         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6016         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6017         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6018         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6019         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6020         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6021         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6022         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6024 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6026         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6028 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6030         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6031         when it is the default of 0.
6033 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6035         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6036         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6037         (sysdep_routines): Add new strcasestr targets.
6038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6039         (__libc_ifunc_impl_list): Likewise.
6040         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6041         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6042         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6043         * sysdeps/powerpc/powerpc64/power8/Makefile:
6044         New file to add strcasestr-ppc64 to sysdep_routines.
6045         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6046         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6048 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6050         * benchtests/Makefile (wcsmbs-benchset): Include only for
6051         native builds and runs.
6052         (LOCALES): Likewise.
6053         (bench-build): Build timing-type here instead of the bench
6054         target.  Generate locale only for native builds.
6055         * benchtests/README: Add note for cross-building.
6057         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6059         * benchtests/README: Update README to include instructions on
6060         using bench-build.
6062         * Makefile.in (bench-build): New target.
6063         * Rules (PHONY): Add bench-build target.
6064         * benchtests/Makefile (bench): Depend on bench-build.
6065         (bench-build): New target.
6067 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6069         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6070         profil_reply_port.
6071         (profile_waiter): Do not initialize profil_reply_port.
6072         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6073         frequency instead of tick length in us.
6075 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6077         [BZ #18712]
6078         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6079         (__old_mempcpy_small): Likewise.
6080         (__old_strcpy_small): Likewise.
6081         (__old_stpcpy_small): Likewise.
6082         (__old_strpbrk_c2): Fix compat symbol name.
6083         (__old_strpbrk_c3): Likewise.
6084         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6085         (__mempcpy_small): Remove.
6086         (__strcpy_small): Remove.
6087         (__stpcpy_small): Remove.
6089 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6091         [BZ #19400]
6092         * locale/iso-639.def: Add the Talossan/tzl language.
6094 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6096         [BZ #16983]
6097         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6098         comment.  Add "ln" to strchr check on postal_fmt.
6100 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6102         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6103         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6104         tel_dom_fmt.
6106 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6108         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6109         (sysdep_routines): Added __strlen_power8.
6110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6111         __strlen_power8 entry.
6112         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6113         Implementation for POWER8.
6114         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6115         for __strlen_power8.
6116         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6117         Implementation for POWER8.
6119 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6121         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6123 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6125         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6126         Goldmont and Airmont processors.
6128 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6130         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6131         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6132         (__STRING2_SMALL_GET32): Remove.
6133         (memset): Remove.
6134         (__memset_1): Remove.
6135         (__memset_gc): Remove.
6136         (__mempcpy): Remove.
6137         (mempcpy): Remove.
6138         (__mempcpy_args): Remove.
6139         (strchr): Remove.
6140         (strcpy): Remove.
6141         (strcpy_args): Remove.
6142         (__stpcpy_args): Remove.
6143         (__strcmp_cc): Remove.
6144         (__strcmp_gc): Remove.
6145         (strstr): Remove.
6147 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6149         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6150         * nis/nis_call.c (nis_server_cache_add): Likewise.
6152 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6154         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6156 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6158         * malloc/arena.c (__malloc_fork_lock_parent)
6159         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6160         internal_function attribute.
6162 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6164         * stdio-common/printf_fp.c (__printf_fp_l):
6165         Rename ___printf_fp_l to __printf_fp_l and
6166         remove strong alias. Use libc_hidden_def instead
6167         of ldbl_hidden_def macro.
6169 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6171         Remove malloc hooks from fork handler.  They are no longer needed
6172         because malloc runs right before fork, and no malloc calls from
6173         other fork handlers are not possible anymore.
6174         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6175         declarations.
6176         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6177         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6178         (atfork_recursive_cntr): Remove.
6179         (__malloc_fork_lock_parent): Do not override malloc hooks and
6180         thread_arena.
6181         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6182         thread_arena.
6183         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6184         thread_arena instead of save_arena.
6186 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6188         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6189         (thread_atfork, thread_atfork_static): Remove.
6190         * sysdeps/mach/hurd/malloc-machine.h:
6191         (thread_atfork, thread_atfork_static): Remove.
6193 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6195         [BZ #19431]
6196         Run the malloc fork handler as late as possible to avoid deadlocks.
6197         * malloc/malloc-internal.h: New file.
6198         * malloc/malloc.c: Include it.
6199         * malloc/arena.c (ATFORK_MEM): Remove.
6200         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6201         Update comment.
6202         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6203         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6204         Remove outdated comment.
6205         (ptmalloc_init): Do not call thread_atfork.  Remove
6206         thread_atfork_static.
6207         * malloc/tst-malloc-fork-deadlock.c: New file.
6208         * Makefile (tests): Add tst-malloc-fork-deadlock.
6209         (tst-malloc-fork-deadlock): Link against libpthread.
6210         * manual/memory.texi (Aligned Memory Blocks): Update safety
6211         annotation comments.
6212         * sysdeps/nptl/fork.c (__libc_fork): Call
6213         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6214         __malloc_fork_unlock_child.
6215         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6217 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6219         [BZ #19613]
6220         Remove union wait.
6221         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6222         (w_stopsig, w_stopval): Remove.
6223         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6224         stat_loc argument.
6225         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6226         (__WAIT_STATUS_DEFN): Remove.
6227         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6228         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6229         (wait, wait3, wait4): Use int * for the stat_loc argument.
6230         * posix/wait.c (__wait): Likewise.
6231         * posix/wait3.c (__wait3): Likewise.
6232         * posix/wait4.c (__wait4): Likewise.
6233         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6234         (__WAIT_STATUS_DEFN): Remove.
6235         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6236         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6237         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6238         argument.
6239         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6240         * sysdeps/posix/wait3.c (__wait3): Likewise.
6241         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6242         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6243         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6244         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6245         stat_loc argument.
6246         * manual/process.texi (BSD Wait Functions): Remove union wait.
6248 2016-04-13  Andreas Schwab  <schwab@suse.de>
6250         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6251         (test-extras): Add tst-tlsalign-vars.
6252         * math/Makefile: Wrap long lines.
6253         (libm-vec-test-wrappers): Define.
6254         (test-extras): Add $(libm-vec-test-wrappers).
6255         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6256         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6257         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6258         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6259         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6260         (extra-test-objs): Add corresponding objects.
6262 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6264         [BZ #19928]
6265         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6266         New.
6267         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6268         times of shared cache size.
6269         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6270         (VMOVNT): New.
6271         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6272         (VMOVNT): Likewise.
6273         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6274         (VMOVNT): Likewise.
6275         (VMOVU): Changed to movups for smaller code sizes.
6276         (VMOVA): Changed to movaps for smaller code sizes.
6277         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6278         comments.
6279         (PREFETCH): New.
6280         (PREFETCH_SIZE): Likewise.
6281         (PREFETCHED_LOAD_SIZE): Likewise.
6282         (PREFETCH_ONE_SET): Likewise.
6283         Rewrite to use forward and backward loops, which move 4 vector
6284         registers at a time, to support overlapping addresses and use
6285         non temporal store if size is above the threshold and there is
6286         no overlap between destination and source.
6288 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6290         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6291         Include dl-vdso.
6292         * sysdeps/unix/sysv/linux/mips/Versions: Add
6293         __vdso_clock_gettime.
6294         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6295         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6296         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6297         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6298         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6299         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6300         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6301         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6302         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6304 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6306         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6307         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6309         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6310         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6311         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6314         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6316         syscalls generation.
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6318         [__NR_pwrite64] (__NR_write): Remove define.
6319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6320         [__NR_pwrite64] (__NR_write): Remove define.
6321         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6322         Remove define.
6323         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6324         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6325         Remove define.
6326         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6327         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6328         Linux implementation as base.
6329         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6331         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6332         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6333         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6337         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6338         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6339         syscall generation.
6340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6341         [__NR_pread64] (__NR_pread): Remove define.
6342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6343         [__NR_pread64] (__NR_pread): Likewise.
6344         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6345         define.
6346         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6347         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6348         Remove define.
6349         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6350         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6351         Linux implementation as base.
6352         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6353         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6354         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6356         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6357         definition.
6358         (__ALIGNMENT_COUNT): Likewise.
6359         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6360         (__ALIGNMENT_COUNT): Likewise.
6361         (SYSCALL_LL): New define.
6362         (SYSCALL_LL64): Likewise.
6363         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6364         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6365         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6366         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6368         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6369         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6370         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6371         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6372         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6373         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6375 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6377         [BZ #19865]
6378         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6379         original buffer before retry.
6381 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6383         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6384         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6385         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6386         GLRO(dl_auxv) list.
6387         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6388         including <ldsodefs.h>.
6389         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6391 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6393         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6394         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6395         $(CPPFLAGS).
6397 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6399         [BZ #17950]
6400         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6401         Add -mfpmath=387.
6403 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6405         * sysdeps/i386/configure.ac: Change == to = when calling test.
6406         * sysdeps/x86_64/configure.ac: Likewise.
6407         * sysdeps/i386/configure: Regenerated.
6408         * sysdeps/x86_64/configure: Likewise.
6410 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6412         [BZ #16137]
6413         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6414         * benchtests/bench-strcoll.c (input_files): Likewise.
6415         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6416         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6417         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6419 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6421         [BZ #19929]
6422         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6423         [__USE_XOPEN2K8 && !__USE_GNU].
6424         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6425         variable.
6427         [BZ #19925]
6428         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6429         define if [!__USE_MISC && __USE_XOPEN2K].
6430         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6431         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6432         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6433         Likewise.
6434         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6435         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6436         variable.
6437         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6439 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6441         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6442         (sysdep_routines): Add new strspn targets.
6443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6444         (__libc_ifunc_impl_list): Add strspn.
6445         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6446         New file.
6447         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6448         Likewise.
6449         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6450         Likewise.
6451         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6452         Likewise.
6454 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6456         * misc/hsearch_r.c: Include <limits.h>.
6458 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6460         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6462 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6464         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6465         (MEMCPY_SYMBOL): New.
6466         (MEMPCPY_SYMBOL): Likewise.
6467         (MEMMOVE_CHK_SYMBOL): Likewise.
6468         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6469         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6470         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6471         Provide alias for memcpy in libc.a and ld.so.
6473 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6475         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6476         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6477         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6478         Disabled fro now.
6479         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6480         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6482 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6484         * benchtests/Makefile (string-benchset): Add memcpy-large,
6485         memmove-large and memset-large.
6486         * benchtests/bench-memcpy-large.c: New file.
6487         * benchtests/bench-memmove-large.c: Likewise.
6488         * benchtests/bench-memmove-large.c: Likewise.
6489         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6491 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6493         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6494         32-bit displacement to avoid long nop between instructions.
6496 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6498         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6499         a comment on VMOVU and VMOVA.
6501 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6503         [BZ #19633]
6504         Use specified locale for number formatting in strfmon_l.
6505         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6506         (__nl_lookup_word): New inline functions.
6507         * include/printf.h (__print_fp_l): Declare.
6508         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6509         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6510         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6511         (___printf_fp): New function.
6512         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6513         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6514         * stdlib/tst-strfmon_l.c (do_test): New test.
6515         * stdlib/Makefile (tests): Add kt.
6516         (LOCALES): Build additional locales.
6517         (tst-strfmon_l.out): Require locales.
6519 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6521         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6522         if not in libc.
6523         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6524         Likewise.
6525         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6526         Likewise.
6527         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6528         Likewise.
6530 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6532         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6533         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6534         with unaligned_erms.
6535         (__memmove_erms): Skip if source == destination.
6536         (__memmove_unaligned_erms): Don't check source == destination
6537         first.
6539 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6541         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6542         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6544 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6546         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6547         * string/strspn.c (strspn): Likewise.
6549 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6551         * benchtests/bench-memset.c (do_test): Support 64-byte
6552         alignment.
6553         (test_main): Test 64-byte alignment.
6555 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6557         * benchtests/bench-memmove.c (test_main): Test 64-byte
6558         alignment.
6560 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6562         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6564 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6566         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6567         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6568         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6570         * string/strpbrk.c (strpbrk): Rewrite function.
6571         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6572         (__strpbrk_c2): Likewise.
6573         (__strpbrk_c3): Likewise.
6574         * string/string-inlines.c
6575         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6576         Likewise.
6577         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6578         Likewise.
6580         * string/strspn.c (strcspn): Rewrite function.
6581         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6582         (__strspn_c1): Remove inline function.
6583         (__strspn_c2): Likewise.
6584         (__strspn_c3): Likewise.
6585         * string/string-inlines.c
6586         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6587         compatibility symbol.
6588         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6589         Likewise.
6590         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6591         Likewise.
6592         * string/string-inlines.c: Include generic version.
6594 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6595             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6597         * string/Version (libc): Add GLIBC_2.24.
6598         * string/strcspn.c (strcspn): Rewrite function.
6599         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6600         (__strcspn_c1): Remove inline function.
6601         (__strcspn_c2): Likewise.
6602         (__strcspn_c3): Likewise.
6603         * string/string-inline.c
6604         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6605         compatibility symbol.
6606         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6607         Likewise.
6608         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6609         Likewise.
6610         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6612 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6614         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6615         Use ahi instead of aghi to adjust stack pointer.
6617 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6619         [BZ #19853]
6620         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6621         TEST to take significant digits as second parameter.
6622         [TEST]: Redefine in terms of TEST_N taking 30
6623         significant digits.
6624         (do_test): Add test case to demonstrate precision
6625         failure in the ldbl-128ibm printf.
6626         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6627         (__mpn_extract_long_double): Carry 7 extra intermediate
6628         bits of precision to aide computing difference when
6629         signs differ.
6631 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6633         [BZ #19881]
6634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6635         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6636         memset-avx512-unaligned-erms.
6637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6638         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6639         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6640         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6641         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6642         __memset_sse2_unaligned_erms, __memset_erms,
6643         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6644         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6645         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6646         file.
6647         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6648         Likewise.
6649         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6650         Likewise.
6651         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6652         Likewise.
6654 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6656         [BZ #19776]
6657         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6658         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6659         memmove-avx512-unaligned-erms.
6660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6661         (__libc_ifunc_impl_list): Test
6662         __memmove_chk_avx512_unaligned_2,
6663         __memmove_chk_avx512_unaligned_erms,
6664         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6665         __memmove_chk_sse2_unaligned_2,
6666         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6667         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6668         __memmove_avx512_unaligned_erms, __memmove_erms,
6669         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6670         __memcpy_chk_avx512_unaligned_2,
6671         __memcpy_chk_avx512_unaligned_erms,
6672         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6673         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6674         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6675         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6676         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6677         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6678         __mempcpy_chk_avx512_unaligned_erms,
6679         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6680         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6681         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6682         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6683         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6684         __mempcpy_erms.
6685         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6686         file.
6687         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6688         Likwise.
6689         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6690         Likwise.
6691         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6692         Likwise.
6694 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6696         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6697         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6698         (La_s390_64_regs): Likewise.
6699         (La_s390_32_retval): Append vector register lrv_v24.
6700         (La_s390_64_retval): Likeweise.
6701         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6702         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6703         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6704         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6706 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6708         [BZ #19916]
6709         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6710         to create a non-vector/vector version for _dl_runtime_resolve and
6711         _dl_runtime_profile. Move implementation to ...
6712         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6713         (_dl_runtime_resolve) Save and restore fpr/vrs.
6714         (_dl_runtime_profile) Save and restore vrs and fix some issues
6715         if _dl_call_pltexit is called.
6716         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6717         Choose the correct resolver function if running on a machine with vx.
6718         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6719         to create a non-vector/vector version for _dl_runtime_resolve and
6720         _dl_runtime_profile. Move implementation to ...
6721         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6722         (_dl_runtime_resolve) Save and restore fpr/vrs.
6723         (_dl_runtime_profile) Save and restore vrs and fix some issues
6724         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6725         Choose the correct resolver function if running on a machine with vx.
6727 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6729         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6731 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6733         [BZ #19509]
6734         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6735         skip_map != NULL.
6736         * elf/tst-dlsym-error.c: New file.
6737         * elf/Makefile (tests): Add tst-dlsym-error.
6738         (tst-dlsym-error): Link against libdl.
6740 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6742         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6743         (__ASSUME_FUTIMESAT): Remove macro.
6744         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6746 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6748         [BZ #19879]
6749         CVE-2016-3075
6750         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6751         copy name.
6753 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6755         [BZ #19837]
6756         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6757         error if parse_line fails.
6759 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6761         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6762         (index_cpu_ERMS): Likewise.
6763         (reg_ERMS): Likewise.
6765 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6767         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6768         PER_LINUX_FDPIC): Add.
6770 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6773         memcpy-avx512-no-vzeroupper.
6774         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6775         to ...
6776         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6777         (MEMCPY): Don't define.
6778         (MEMCPY_CHK): Likewise.
6779         (MEMPCPY): Likewise.
6780         (MEMPCPY_CHK): Likewise.
6781         (MEMPCPY_CHK): Renamed to ...
6782         (__mempcpy_chk_avx512_no_vzeroupper): This.
6783         (MEMPCPY_CHK): Renamed to ...
6784         (__mempcpy_chk_avx512_no_vzeroupper): This.
6785         (MEMCPY_CHK): Renamed to ...
6786         (__memmove_chk_avx512_no_vzeroupper): This.
6787         (MEMCPY): Renamed to ...
6788         (__memmove_avx512_no_vzeroupper): This.
6789         (__memcpy_avx512_no_vzeroupper): New alias.
6790         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6792 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6794         [BZ #18858]
6795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6796         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6797         and mempcpy-avx512-no-vzeroupper.
6798         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6799         New.
6800         (MEMPCPY): Likewise.
6801         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6802         (MEMPCPY_CHK): New.
6803         (MEMPCPY): Likewise.
6804         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6805         (MEMPCPY): Likewise.
6806         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6807         (MEMPCPY): Likewise.
6808         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6809         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6810         Likewise.
6811         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6812         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6814 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6815              Amit Pawar  <Amit.Pawar@amd.com>
6817         [BZ #19583]
6818         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6819         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6820         processors.  Set Fast_Copy_Backward for AMD Excavator
6821         processors.
6822         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6823         New.
6824         (index_arch_Fast_Unaligned_Copy): Likewise.
6825         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6826         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6828 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6830         [BZ #19791]
6831         * resolv/res_send.c (close_and_return_error): New function.
6832         (send_dg): Initialize *resplen2 after reopen failure.  Call
6833         close_and_return_error for error returns.  On error paths without
6834         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6835         successful return.
6837 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6839         [BZ# 19860]
6840         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6841         zero if the compiler does not provide the AVX512F bit.
6843 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6845         [BZ #19848]
6846         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6847         from 8 to 4.
6848         (__ieee754_powl): Compare integer exponent against 4 not 8.
6849         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6850         from 8 to 4.
6851         (__ieee754_powl): Compare integer exponent against 4 not 8.
6852         * math/auto-libm-test-in: Add more tests of pow.
6853         * math/auto-libm-test-out: Regenerated.
6854         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6857 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6859         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6860         Make code unconditional.
6861         [!__NR_utimensat]: Remove conditional code.
6862         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6863         Make code unconditional.
6864         [!__NR_utimensat]: Remove conditional code.
6865         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6866         Make code unconditional.
6867         [!__NR_utimensat]: Remove conditional code.
6869 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6871         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6872         Make code unconditional.
6874 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6876         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6877         call-clobbered %eax on retry path.
6878         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6880 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6882         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6883         Don't set %rcx twice before "rep movsb".
6885 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6887         [BZ #19583]
6888         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6889         inline.  Check family before setting family, model and
6890         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6891         bits here.
6892         (init_cpu_features): Replace HAS_CPU_FEATURE and
6893         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6894         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6895         for Intel processors with usable AVX2.  Call get_common_indeces
6896         for other processors with family == NULL.
6897         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6898         (CPU_FEATURES_ARCH_P): Likewise.
6899         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6900         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6902 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6904         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6905         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6906         $(shared-thread-library) instead of hardcoding the path to libpthread.
6908 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6910         * sysdeps/unix/sysv/linux/kernel-features.h
6911         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6912         * sysdeps/unix/sysv/linux/getdents.c
6913         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6914         [!have_no_getdents64_defined]: Likewise.
6915         (__GETDENTS): Remove __have_no_getdents64 conditional.
6917 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6919         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6920         Remove macro.
6921         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6922         <kernel-features.h>.
6923         (signalfd) [__NR_signalfd4]: Make code unconditional.
6924         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6926 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6928         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6929         style.
6931 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6933         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6934         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6935         __pthread_unwind.
6936         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6937         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6938         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6939         (__condvar_cleanup1): Likewise.
6941 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6943         [BZ #19822]
6944         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6945         move it to the final $@ location.
6947 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6949         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6950         access where posix_spawn success and pid argument is null.
6951         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6952         success case.
6954 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6956         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6958         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6960         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6961         and __fcntl.
6962         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6963         __fcntl only.
6964         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6965         adding attribute_hidden to __open and __fcntl.
6967         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6968         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6969         depend on libc-modules.h,
6970         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6972 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6974         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6975         Remove macro.
6976         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6977         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6978         entry.
6980         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6981         Remove macro.
6982         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6983         include <kernel-features.h>.
6984         [!__ASSUME_FALLOCATE]: Remove conditional code.
6985         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6987 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6989         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6990         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6992         (_ZGVdN4v_cos_avx2): Likewise.
6993         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6994         (_ZGVdN4v_cos): Likewise.
6995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6996         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6997         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6998         (_ZGVdN4v_exp_avx2): Likewise.
6999         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7000         (_ZGVdN4v_exp): Likewise.
7001         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7002         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7003         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7004         (_ZGVdN4v_log_avx2): Likewise.
7005         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7006         (_ZGVdN4v_log): Likewise.
7007         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7008         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7009         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7010         (_ZGVdN4vv_pow_avx2): Likewise.
7011         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7012         (_ZGVdN4vv_pow): Likewise.
7013         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7014         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7015         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7016         (_ZGVdN4v_sin_avx2): Likewise.
7017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7018         (_ZGVdN4v_sin): Likewise.
7019         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7020         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7022         (_ZGVdN4vvv_sincos_avx2): Likewise.
7023         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7024         (_ZGVdN4vvv_sincos): Likewise.
7025         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7026         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7027         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7028         (_ZGVbN4v_cosf_sse4): Likewise.
7029         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7030         (_ZGVdN8v_cosf_avx2): Likewise.
7031         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7032         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7033         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7034         (_ZGVbN4v_expf_sse4): Likewise.
7035         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7036         (_ZGVdN8v_expf_avx2): Likewise.
7037         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7038         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7039         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7040         (_ZGVbN4v_logf_sse4): Likewise.
7041         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7042         (_ZGVdN8v_logf_avx2): Likewise.
7043         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7044         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7045         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7046         (_ZGVbN4vv_powf_sse4): Likewise.
7047         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7048         (_ZGVdN8vv_powf_avx2): Likewise.
7049         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7050         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7051         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7052         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7053         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7054         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7055         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7056         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7058         (_ZGVbN4v_sinf_sse4): Likewise.
7059         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7060         (_ZGVdN8v_sinf_avx2): Likewise.
7061         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7062         Use JUMPTARGET to call callee.
7063         (WRAPPER_IMPL_SSE2_ff): Likewise.
7064         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7065         (WRAPPER_IMPL_AVX): Likewise.
7066         (WRAPPER_IMPL_AVX_ff): Likewise.
7067         (WRAPPER_IMPL_AVX_fFF): Likewise.
7068         (WRAPPER_IMPL_AVX512): Likewise.
7069         (WRAPPER_IMPL_AVX512_ff): Likewise.
7070         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7071         Likewise.
7072         (WRAPPER_IMPL_SSE2_ff): Likewise.
7073         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7074         (WRAPPER_IMPL_AVX): Likewise.
7075         (WRAPPER_IMPL_AVX_ff): Likewise.
7076         (WRAPPER_IMPL_AVX_fFF): Likewise.
7077         (WRAPPER_IMPL_AVX512): Likewise.
7078         (WRAPPER_IMPL_AVX512_ff): Likewise.
7079         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7081 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7083         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7084         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7085         qualifier.
7086         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7087         internal_function qualifiers.
7089 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7091         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7092         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7093         * math/atest-exp.c (exp_mpn): Mark chk unused.
7094         * math/atest-exp2.c (exp_mpn): Likwise.
7095         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7096         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7098 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7101         Remove macro.
7102         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7103         <kernel-features.h>.
7104         [__NR_ppoll]: Make code unconditional.
7105         [!__ASSUME_PPOLL]: Remove conditional code.
7107         * sysdeps/unix/sysv/linux/kernel-features.h
7108         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7109         (__ASSUME_ACCEPT4): Likewise.
7110         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7111         Define.
7112         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7113         Likewise.
7114         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7115         Likewise.
7116         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7117         Likewise.
7118         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7119         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7120         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7121         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7122         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7123         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7124         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7125         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7126         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7127         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7128         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7129         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7130         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7131         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7132         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7133         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7134         Likewise.
7135         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7136         Likewise.
7137         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7138         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7139         0x040300].
7140         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7141         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7142         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7143         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7144         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7145         0x030300].
7146         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7147         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7148         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7149         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7150         0x040300].
7151         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7152         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7154         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7155         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7156         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7157         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7158         0x030300].
7159         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7160         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7161         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7162         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7163         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7164         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7165         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7166         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7167         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7168         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7169         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7170         0x040300].
7171         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7172         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7173         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7174         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7175         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7176         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7177         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7178         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7179         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7180         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7181         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7182         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7183         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7184         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7185         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7186         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7187         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7188         Likewise.
7189         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7190         Likewise.
7192 2016-03-15  Andreas Schwab  <schwab@suse.de>
7194         [BZ #19257]
7195         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7196         statp->_u._ext.nscount as loop count.
7198 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7200         * math/test-signgam-finite-c99.c: Also #undef
7201         __LIBC_INTERNAL_MATH_INLINES.
7202         * math/test-signgam-main.c: Likewise.
7204 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7206         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7207         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7208         (MADV_FREE): Likewise.
7209         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7210         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7211         EPOLLEXCLUSIVE.
7213 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7215         * timezone/README: Remove mention of checktab.awk. Mention wiki
7216         SharedSourceFiles.
7218 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7220         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7221         WUNTRACED.
7223 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7225         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7226         order to match the type of p when calling atomic_exchange_acq().
7228 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7230         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7231         cfi_offset calls.
7232         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7233         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7234         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7235         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7236         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7238 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7240         * timezone/checktab.awk: Removed.
7242 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7244         * manual/math.texi (Errors in Math Functions): Document relaxed
7245         accuracy goals for IBM long double.
7246         * math/libm-test.inc (test_exceptions): Always allow spurious
7247         "underflow" and "inexact" exceptions for IBM long double.
7249 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7251         [BZ #19762]
7252         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7253         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7254         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7255         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7256         (bit_arch_*): This for feature array.
7257         (bit_*): Renamed to ...
7258         (bit_cpu_*): This for cpu array.
7259         (index_*): Renamed to ...
7260         (index_arch_*): This for feature array.
7261         (index_*): Renamed to ...
7262         (index_cpu_*): This for cpu array.
7263         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7264         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7265         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7266         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7267         bit_##name with index_cpu_##name and bit_cpu_##name.
7268         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7269         bit_##name with index_arch_##name and bit_arch_##name.
7271 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7273         [BZ #19792]
7274         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7275         Terminate FDE before return label.
7277 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7279         [BZ #19790]
7280         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7281         (rintl): Define as macro.
7282         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7283         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7284         of fesetround.  Ensure results are evaluated before end of scope.
7285         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7286         USE_AS_NEARBYINTL and include s_rintl.c.
7287         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7288         Disable exception traps in new environment.
7289         (libc_feholdsetround_ppc_ctx): Likewise.
7291 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7293         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7294         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7295         (tst_audit10_aux) [__AVX512F__]: ... here.
7297 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7299         * include/sys/auxv.h: New file.
7301 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7303         [BZ #19759]
7304         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7306 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7308         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7309         operand modifier.
7310         (feclearexcept): Likewise.
7312 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7314         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7315         to reflect the entire 32-bit HWCAP.
7316         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7317         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7319 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7321         [BZ #19783]
7322         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7323         $(test-via-rtld-prefix).
7324         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7326 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7328         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7329         union wait.  Report any non-zero exit status as error.
7331 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7333         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7334         configured with --enable-hardcoded-path-in-tests.
7336 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7338         [BZ #19677]
7339         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7340         (__ieee754_remainderl): Put zero low parts in canonical form.
7341         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7342         file.  Based on
7343         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7344         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7345         with wrapper round test-fmodrem-ldbl-128ibm.c.
7346         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7347         file.
7348         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7349         Likewise.
7350         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7351         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7353 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7355         [BZ #19610]
7356         * elf/ldconfig.c (opt_link): Update comment.
7357         (options): Update help string for option -X.
7358         (search_dir): Unlink stale symbolic link only if updating symbolic
7359         links.
7360         * elf/tst-ldconfig-X.sh: New file.
7361         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7362         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7364 2016-03-07  Andreas Schwab  <schwab@suse.de>
7366         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7367         needed arguments.
7369 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7371         [BZ #15333]
7372         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7373         to lstat64.
7375 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7377         * libio/filedoalloc.c (isatty): Remove.
7378         (local_isatty): Add comment.  Call __isatty directly.
7379         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7380         * libio/wfiledoalloc.c (isatty): Remove.
7381         (_IO_wfile_doallocate): Update comment.
7383 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7385         [BZ #19269]
7386         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7387         tst-audit4-aux.o.
7388         (tst-audit10): Depend on tst-audit10-aux.o.
7389         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7390         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7391         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7392         instead of inline AVX code.
7393         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7394         instead of inline AVX512 code.
7395         * sysdeps/x86_64/tst-audit4-aux.c: New file
7396         * sysdeps/x86_64/tst-audit10-aux.c: New file
7398         [BZ #19648]
7399         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7401 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7403         [BZ #14750]
7404         [BZ #10354]
7405         [BZ #18433]
7406         * include/sched.h (__clone): Add hidden prototype.
7407         (__clone2): Likewise.
7408         * include/unistd.h (__dup): Likewise.
7409         * posix/Makefile (tests): Add tst-spawn2.
7410         * posix/tst-spawn2.c: New file.
7411         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7412         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7413         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7414         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7415         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7416         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7417         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7418         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7419         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7420         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7421         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7423         Likewise.
7424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7425         Likewise.
7426         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7427         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7428         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7429         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7430         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7431         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7432         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7433         * sysdeps/unix/sysv/linux/nptl-signals.h
7434         (____nptl_is_internal_signal): New function.
7435         * sysdeps/unix/sysv/linux/spawni.c: New file.
7437         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7438         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7439         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7440         * posix/tst-execvp2.c (do_test): Likewise.
7441         * posix/tst-execvp3.c (do_test): Likewise.
7442         * posix/tst-execvp4.c (do_test): Likewise.
7443         * posix/tst-execvpe1.c: New file.
7444         * posix/tst-execvpe2.c: Likewise.
7445         * posix/tst-execvpe3.c: Likewise.
7446         * posix/tst-execvpe4.c: Likewise.
7447         * posix/tst-execvpe5.c: Likewise.
7448         * posix/tst-execvpe6.c: Likewise.
7450         [BZ #19534]
7451         * posix/execl.c (execl): Remove dynamic memory allocation.
7452         * posix/execle.c (execle): Likewise.
7453         * posix/execlp.c (execlp): Likewise.
7455 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7457         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7458         Replace .text with .text.avx512.
7459         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7460         Likewise.
7462 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7464         * sysdeps/generic/libnsl.abilist: New file.
7465         * sysdeps/generic/libutil.abilist: New file.
7467 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7469         [BZ #19762]
7470         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7471         HAS_ARCH_FEATURE with Fast_Rep_String.
7472         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7473         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7474         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7475         Likewise.
7476         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7477         Likewise.
7478         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7479         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7480         Likewise.
7481         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7482         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7483         Likewise.
7485 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7487         [BZ #19745]
7488         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7489         with *%rax in call.
7491 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7493         [BZ #19745]
7494         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7495         with *__libc_start_main@GOTPCREL(%rip) in call.
7497 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7499         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7500         inside conditional for nonempty $(CXX).
7502         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7503         nonempty.
7505         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7506         to test for empty $(CXX) rather than $(CXX) of "no".
7508 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7510         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7512 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7513             H.J. Lu  <hongjiu.lu@intel.com>
7515         [BZ #18880]
7516         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7517         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7518         enable __memcpy_ssse3_back.
7520 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7522         [BZ #19758]
7523         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7524         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7526 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7528         [BZ #19490]
7529         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7530         (__fentry__): Likewise.
7532 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7534         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7535         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7537 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7539         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7540         __mcount_internal directly.
7541         (C_LABEL(__fentry__)): Likewise.
7542         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7543         directly.
7545 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7547         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7548         (__start_context): Call __setcontext directly.
7550 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7552         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7553         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7554         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7555         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7556         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7557         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7558         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7559         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7560         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7561         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7562         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7563         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7564         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7565         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7566         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7567         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7568         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7569         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7570         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7571         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7572         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7573         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7574         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7575         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7576         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7577         Remove conditional code.
7578         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7579         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7580         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7581         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7582         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7583         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7584         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7585         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7586         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7587         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7588         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7589         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7591 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7593         * NEWS (2.23): Fix typo in bug 19048 text.
7595 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7597         [BZ #14259]
7598         * Makeconfig: Rename msgcatdir to localedir.
7599         Rename inst_msgcatdir to inst_localedir.
7600         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7601         * config.make.in: Add localedir.
7602         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7603         (ldd-rewrite): Likewise.
7604         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7605         (install-others): Use inst_localedir.
7606         (CPPFLAGS): Use localedir.
7607         * locale/Makefile (locale-CPPFLAGS): Likewise.
7608         * po/Makefile (mo-installed): Use inst_localedir.
7610         [BZ #19575]
7611         * localedata/charmaps/GB18030: Update comments regarding PAU to
7612         non-PUA mappings.
7614 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7616         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7617         test for header.
7618         * sysdeps/unix/sysv/linux/configure: Regenerated.
7619         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7620         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7621         Remove conditional code.
7622         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7624         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7625         Define to 3.2.0.
7626         (arch_minimum_kernel): Likewise.
7627         * sysdeps/unix/sysv/linux/configure: Regenerated.
7628         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7629         Define to 2.6.32.
7630         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7631         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7632         (arch_minimum_kernel): Define to 2.6.32.
7633         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7634         * README: Document Linux 3.2 requirement.
7635         * manual/install.texi (Linux): Document Linux 3.2 headers
7636         requirement.
7637         * INSTALL: Regenerated.
7639 2016-02-24  Andreas Schwab  <schwab@suse.de>
7641         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7642         if !NO_LONG_DOUBLE.
7644 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7646         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7647         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7649 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7651         [BZ #19512]
7652         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7654 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7656         * posix/tst-dir.c: Include libc-internal.h.
7658 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7660         [BZ #19056]
7661         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7662         * manual/filesys.texi (Reading/Closing Directory): Mention
7663         deprecaion.
7664         * posix/tst-dir.c (main): Disable deprecation warning in test.
7666 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7668         [BZ #19679]
7669         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7670         Renamed to ...
7671         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7672         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7673         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7674         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7675         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7676         * sysdeps/x86_64/dl-trampoline.h
7677         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7678         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7680 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7682         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7684 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7686         * elf/elf.h (R_386_GOT32X): New.
7687         (R_386_NUM): Update.
7688         (R_X86_64_GOTPCRELX: New.
7689         (R_X86_64_REX_GOTPCRELX): New.
7690         (R_X86_64_NUM): Update.
7692 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7694         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7696 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7698         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7699         assign attr->stackaddr to it, and adjust it down when
7700         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7701         [_STACK_GROWS_UP]: Delete assert.
7702         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7703         Implement stack grows up logic.
7704         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7705         stack grows up logic.
7707 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7709         * NEWS: Update with 2.24 template.
7711 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7713         [BZ #19678]
7714         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7715         Ensure +0.0 is returned when taking the next value below the least
7716         positive value.
7718 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7720         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7721         available.  Do not define NO_THREADS.
7722         * malloc/malloc.c: Do not check NO_THREADS.
7723         * malloc/arena.c: Likewise.
7725 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7727         * malloc/malloc.c (__libc_mallinfo): Update comment.
7728         (struct malloc_par): Remove max_total_mem member, it was always 0.
7729         (int_mallinfo): Store 0 into usmblks (no functional change).
7730         * malloc/hooks.c (struct malloc_state): Document that
7731         max_total_mem is always 0.
7732         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7733         always 0.
7734         * manual/memory.texi (Statistics of Malloc): Likewise.
7736 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7738         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7739         * malloc/arena.c (arena_max): Remove.
7740         (heap_trim, _int_new_arena): Do not update arena_max.
7742 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7744         * resolv/res_init.c (res_ninit): Update comment.
7746 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7748         [BZ #19505]
7749         * posix/spawn_int.h: Add headers and include guard.
7750         (__spawn_valid_fd): New function.
7751         * posix/spawn_faction_addopen.c
7752         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7753         * posix/spawn_faction_addclose.c
7754         (posix_spawn_file_actions_addclose): Likewise.
7755         * posix/spawn_faction_adddup2.c
7756         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7757         second file descriptor.
7758         * posix/spawn_valid_fd.c: New file.
7759         * posix/tst-posix_spawn-fd.c: New file.
7760         * posix/Makefile (routines): Add spawn_valid_fd.
7761         (tests): Add tst-posix_spawn-fd.
7763 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7765         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7766         (do_test): Limit the number of arenas, so that we can use fewer
7767         outer threads.  Limit timeout to 3 seconds, in preparation for a
7768         larger TIMEOUT value.
7770 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7772         [BZ #19674]
7773         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7774         sign in overflowing and underflowing results when overflow or
7775         underflow is detected early.  Include sign in result before rather
7776         than after scaling.
7778         [BZ #19603]
7779         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7780         (__ieee754_remainderl): Adjust sign of integer version of low part
7781         when taking absolute value of high part.
7782         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7783         * math/libm-test.inc (remainder_test_data): Add another test.
7784         (remquo_test_data): Likewise.
7786 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7788         [BZ #19602]
7789         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7790         equal high parts and both low parts zero specially.
7791         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7792         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7793         Add test-fmodl-ldbl-128ibm.
7795         [BZ #19595]
7796         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7797         common logic for all cases of shifting subnormal results.  Do not
7798         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7799         exponent to ldbl_insert_mantissa in subnormal case.
7801         [BZ #19594]
7802         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7803         on high and low parts then adjust result and use
7804         ldbl_canonicalize_int if needed.
7806         [BZ #19593]
7807         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7808         on high part and __floor or __ceil on low part then use
7809         ldbl_canonicalize_int if needed.
7811         [BZ #19592]
7812         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7813         high and low parts then use ldbl_canonicalize_int if needed.
7815         [BZ #17899]
7816         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7817         New function.
7818         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7819         on high and low parts then use ldbl_canonicalize_int if needed.
7821 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7823         * configure: Regenerated.
7825         * po/libc.pot: Regenerated.
7827         * po/be.po: Updated translation.
7828         * po/bg.po: Likewise.
7829         * po/ca.po: Likewise.
7830         * po/cs.po: Likewise.
7831         * po/da.po: Likewise.
7832         * po/el.po: Likewise.
7833         * po/eo.po: Likewise.
7834         * po/es.po: Likewise.
7835         * po/fi.po: Likewise.
7836         * po/fr.po: Likewise.
7837         * po/gl.po: Likewise.
7838         * po/hr.po: Likewise.
7839         * po/hu.po: Likewise.
7840         * po/ia.po: Likewise.
7841         * po/id.po: Likewise.
7842         * po/it.po: Likewise.
7843         * po/ja.po: Likewise.
7844         * po/lt.po: Likewise.
7845         * po/nb.po: Likewise.
7846         * po/nl.po: Likewise.
7847         * po/pt_BR.po: Likewise.
7848         * po/rw.po: Likewise.
7849         * po/sk.po: Likewise.
7850         * po/sl.po: Likewise.
7851         * po/sv.po: Likewise.
7852         * po/tr.po: Likewise.
7853         * po/zh_CN.po: Likewise.
7854         * po/zh_TW.po: Likewise.
7856         * version.h (RELEAES): Set to "development".
7857         (VERSION): Set to 2.23.90.
7859         * version.h (RELEASE): Set to "stable".
7860         (VERSION): Set to 2.23.
7861         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7863         * NEWS: Updated fixed bugs.
7865 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7866             Wilco Dijkstra  <wdijkstr@arm.com>
7868         [BZ #19462]
7869         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7870         (_STRING_INLINE_unaligned): This.
7871         * include/string.h: Include <string_private.h>.
7872         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7873         _STRING_INLINE_unaligned.
7874         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7875         (_STRING_INLINE_unaligned): New.
7876         * sysdeps/aarch64/string_private.h: New file.
7877         * sysdeps/generic/string_private.h: Likewise.
7878         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7879         * sysdeps/s390/string_private.h: Likewise.
7880         * sysdeps/x86/string_private.h: Likewise.
7881         * sysdeps/m68k/m680x0/m68020/bits/string.h
7882         (_STRING_ARCH_unaligned): Renamed to ...
7883         (_STRING_INLINE_unaligned): This.
7884         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7885         to ...
7886         (_STRING_INLINE_unaligned): This.
7887         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7888         to ...
7889         (_STRING_INLINE_unaligned): This.
7890         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7891         to ...
7892         (_STRING_INLINE_unaligned): This.
7894 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7895             H.J. Lu  <hongjiu.lu@intel.com>
7897         [BZ #19590]
7898         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7899         relocation.
7901 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7903         [BZ #18665]
7904         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7905         *herrno_p.
7906         (gaih_getanswer): Document functional behviour. Return tryagain
7907         if any result is tryagain.
7908         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7909         when freed.
7910         * resolv/res_send.c: Add copyright text.
7911         (__libc_res_nsend): Document that MAXPACKET is expected.
7912         (send_vc): Document. Remove buffer reuse.
7913         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7914         size of the buffer. Add Dprint for truncated UDP buffer.
7916 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7918         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7919         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7920         * INSTALL: Regenerate.
7922 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7923             Jonathan Wakely  <jwakely@redhat.com>
7924             Carlos O'Donell  <carlos@redhat.com>
7926         [BZ 19439]
7927         * math/Makefile (tests): Add test-math-isinff.
7928         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7929         * math/bits/mathcalls.h [__USE_MISC]: Use
7930         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7931         functions not in C++11 and which don't conflict e.g. isinff,
7932         isinfl etc.
7933         * math/test-math-isinff.cc: New file.
7935 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7937         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7939 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7941         [BZ #19529]
7942         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7944 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7946         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7948 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7950         [BZ #19550]
7951         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7952         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7953         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7954         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7955         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7956         New syscall entry.
7957         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7958         New syscall entry.
7959         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7960         syscall entry.
7962 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7964         [BZ #18240]
7965         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7966         unsigned int wraparound.
7968 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7970         [BZ #18240]
7971         * misc/bug18240.c: New test.
7972         * misc/Makefile (tests): Add it.
7974 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7975             Joseph Myers  <joseph@codesourcery.com>
7977         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7978         load in branch delay slot when less than a word of input left.
7980 2016-01-27  Andreas Schwab  <schwab@suse.de>
7982         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7983         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7984         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7985         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7987 2016-01-26  David S. Miller  <davem@davemloft.net>
7989         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7991 2016-01-25  David S. Miller  <davem@davemloft.net>
7993         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7994         __sqrtl_finite.
7995         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7996         instead using versioned_symbol.
7997         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7998         of entries.
8000         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8001         __sqrtl_finite to GLIBC_2.23
8003 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8005         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8007 2016-01-25  Andreas Schwab  <schwab@suse.de>
8009         [BZ #17514]
8010         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8011         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8012         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8013         * nptl/tst-mutex-errorcheck.c: New file.
8015 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8017         [BZ #18560]
8018         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8019         (IPCOP_semop): Likewise.
8020         (IPCOP_semget): Likewise.
8021         (IPCOP_semctl): Likewise.
8022         (IPCOP_msgsnd): Likewise.
8023         (IPCOP_msgrcv): Likewise.
8024         (IPCOP_msgget): Likewise.
8025         (IPCOP_msgctl): Likewise.
8026         (IPCOP_shmat): Likewise.
8027         (IPCOP_shmdt): Likewise.
8028         (IPCOP_shmget): Likewise.
8029         (IPCOP_shmctl): Likewise.
8031 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8033         * string/tst-endian.c: Include <libc-internal.h>.
8034         (do_test): Ignore tautological-compare warnings around
8035         "htobeXX (beXXtoh (i)) != i" and
8036         "htoleXX (leXXtoh (i)) != i" if-statements.
8038 2016-01-24  David S. Miller  <davem@davemloft.net>
8040         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8041         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8042         alias.
8043         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8044         __sqrtl_finite.
8046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8048 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8050         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8051         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8052         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8054 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8056         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8057         (thread_func): Use new function to simplify barrier check.
8058         (do_test): Use new function to simplify checking barrier exit
8059         code, and actually join the child thread.
8061 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8063         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8064         semicolon.
8065         (__libc_tend): Likewise.
8066         (__libc_tabort): Likewise.
8068 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8070         * sysdeps/nios2/libm-test-ulps: Update.
8071         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8072         (__gtsf2): Likewise.
8073         (__unorddf2): Likewise.
8074         (__unordsf2): Likewise.
8075         (__ledf2): Likewise.
8077 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8079         * nis/nis_table.c (__follow_path): Disable diagnostic for
8080         uninitialized variable that is a false positive for gcc 4.7.
8081         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8083 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8085         * sysdeps/nacl/lowlevellock-futex.h
8086         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8087         Always evaluate PRIVATE argument.
8089 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8091         [BZ #19490]
8092         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8093         (pthread_cond_broadcast): Use ENTRY/END
8094         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8095         (pthread_cond_signal): Likewise.
8096         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8097         Likewise.
8098         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8099         Likewise.
8100         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8101         Likewise.
8103 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8105         * sysdeps/ieee754/dbl-64/s_finite.c
8106         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8107         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8108         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8109         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8110         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8113         (__gtsf2): Add as optional for libc.so.
8114         (__unordsf2): Likewise.
8115         (__signbit): Remove for libc.so.
8116         (__signbitl): Likewise.
8118 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8120         * iconvdata/bug-iconv11.c (test_ibm93x):
8121         Use %zu printf format specifier for size_t argument.
8123 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8125         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8126         already-recorded ulps.
8127         * sysdeps/arm/libm-test-ulps: Regenerated.
8128         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8129         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8130         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8132 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8133             Paul Pluzhnikov  <ppluzhnikov@google.com>
8135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8136         assembler not supporting AVX-512.
8138 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8140         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8142 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8144         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8145         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8147         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8149         * sysdeps/arm/libm-test-ulps: Regenerated.
8151 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8153         [BZ #19451]
8154         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8156 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8158         [BZ #19486]
8159         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8160         * sysdeps/generic/fix-fp-int-convert-overflow.h
8161         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8162         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8163         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8164         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8165         Likewise.
8166         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8167         Avoid conversions to long int where inexact exceptions
8168         could be raised.
8169         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8170         Likewise.
8171         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8172         Avoid conversions to long long int where inexact exceptions
8173         could be raised.
8174         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8175         Likewise.
8177 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8179         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8180         * configure: Regenerated.
8182 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8184         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8186 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8189         outside of comment.
8191 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8193         * nptl/tst-barrier1.c: Add description on first line.
8194         * nptl/tst-barrier2.c: Likewise.
8195         * nptl/tst-barrier3.c: Likewise.
8196         * nptl/tst-barrier4.c: Likewise.
8197         * nptl/tst-barrier5.c: Likewise.
8199 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8201         [BZ #18868]
8202         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8204 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8208         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8209         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8210         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8211         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8212         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8213         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8214         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8215         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8216         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8218 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8220         [BZ #13065]
8221         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8222         new implementation.
8223         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8224         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8225         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8226         (BARRIER_IN_THRESHOLD): New macro.
8227         * nptl/pthread_barrierattr_setpshared.c
8228         (pthread_barrierattr_setpshared): Clean up.
8229         * nptl/tst-barrier4.c: Correct comment.
8230         * nptl/tst-barrier5.c: New file.
8231         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8232         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8233         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8234         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8235         * nptl/lowlevelbarrier.sym: Remove.
8236         * nptl/DESIGN-barrier.txt: Remove.
8237         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8238         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8239         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8240         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8241         error.
8242         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8243         implementation.
8245 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8247         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8248         (do_child): Mask SIGRTMIN while thr is running.
8250 2016-01-15  Martin Sebor  <msebor@redhat.com>
8252         [BZ #19432]
8253         * iconvdata/Makefile: Add bug-iconv11.
8254         * iconvdata/bug-iconv11.c: New test.
8255         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8256         * iconvdata/ibm933.c: Same.
8257         * iconvdata/ibm935.c: Same.
8258         * iconvdata/ibm937.c: Same.
8259         * iconvdata/ibm939.c: Same.
8261 2016-01-15  Martin Sebor  <msebor@redhat.com>
8263         [BZ #19443]
8264         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8265         [DEBUG] (_ufc_set_bits): Declare used.
8266         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8267         [DEBUG] (print_all): Declare used.
8268         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8269         operands of the ternary ?: expression to target type.
8270         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8271         calling the undeclared abort.
8272         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8274 2016-01-15  Martin Sebor  <msebor@redhat.com>
8276         [BZ #18755]
8277         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8278         warnings.
8279         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8280         (__gai_create_helper_thread): Same.
8281         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8282         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8283         to suppress -Wmaybe-uninitialized warnings.
8285 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8287         [BZ #19465]
8288         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8289         inside if.
8290         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8291         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8292         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8294 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8296         [BZ #19466]
8297         * time/tst-mktime2.c (time_t_max): Removed.
8298         (time_t_min): Likewise.
8299         (TYPE_SIGNED): New.
8300         (TYPE_MINIMUM): Likewise.
8301         (TYPE_MAXIMUM): Likewise.
8302         (TIME_T_MIN): Likewise.
8303         (TIME_T_MAX): Likewise.
8304         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8305         and TIME_T_MIN.
8306         (do_test): Likewise.
8308 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8310         [BZ #19467]
8311         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8312         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8314 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8316         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8318 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8320         * benchtests/Makefile (PYTHON): Define.
8321         (bench-func): Use $(PYTHON) to run python scripts.
8322         ($(objpfx)bench-%.c): Likewise.
8324 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8326         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8327         leading slash when `file_name' is "/".
8329 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8331         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8332         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8333         Likewise.
8334         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8335         Likewise.
8336         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8337         Likewise.
8338         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8339         enum constant and macro.
8340         (PTRACE_SETSIGMASK): Likewise.
8341         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8342         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8343         (PTRACE_GETSIGMASK): Likewise.
8344         (PTRACE_SETSIGMASK): Likewise.
8345         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8346         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8347         Likewise.
8348         (PTRACE_SETSIGMASK): Likewise.
8349         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8350         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8351         (PTRACE_GETSIGMASK): Likewise.
8352         (PTRACE_SETSIGMASK): Likewise.
8353         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8354         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8355         Likewise.
8356         (PTRACE_SETSIGMASK): Likewise.
8357         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8358         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8359         Likewise.
8360         (PTRACE_SETSIGMASK): Likewise.
8361         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8362         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8363         Likewise.
8364         (PTRACE_SETSIGMASK): Likewise.
8365         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8367 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8368             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8370         [BZ #19439]
8371         * math/bits/mathcalls.h
8372         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8373         prototype.
8374         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8376 2016-01-11  Andreas Schwab  <schwab@suse.de>
8378         [BZ #19253]
8379         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8380         cache when TZDEFRULES was used.
8381         * time/tst-tzname.c: New file.
8382         * time/Makefile (test): Add tst-tzname.
8383         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8384         * timezone/Makefile (test-zones): Add $(posixrules-file).
8385         ($(testdata)/$(posixrules-file)): New rule.
8387 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8389         Fix doc quoting problems with Texinfo 5
8390         Without this change, in the info file output, Texinfo 5 quotes code
8391         in text with undirected single quotes 'like this' and generates
8392         code examples that with many PDF readers cannot be cut out of PDFs
8393         and pasted into code.
8394         * manual/libc.texinfo: Configure the libc manual like the GNU
8395         Emacs manual, by using @documentencoding and setting
8396         txicodequoteundirected and txicodequotebacktick.  This way,
8397         Texinfo 5 quotes code in text with directed single quotes ‘like
8398         this’ and produces examples that can be cut out of PDFs.  This
8399         change causes Texinfo 5 to generate info files that contain UTF-8
8400         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8401         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8403 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8405         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8406         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8407         barriers to their respective compiler built-ins.
8408         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8409         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8410         * sysdeps/powerpc/sysdep.h: Likewise.
8411         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8412         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8413         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8415 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8417         * scripts/config.guess: Revert previous shebang change.
8418         * scripts/config.sub: Likewise.
8419         * scripts/mkinstalldirs: Likewise.
8421 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8423         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8424         PPC_FEATURE2_HAS_IEEE128.
8425         * sysdeps/powerpc/dl-procinfo.c:
8426         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8428 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8430         [BZ #19415]
8431         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8432         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8433         (_dl_lookup_address): Rewrite using function resolver trampoline.
8434         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8435         two bits in address.
8437 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8439         * longlong.h: Change !__SHMEDIA__ to
8440         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8441         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8443 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8444             Joseph Myers  <joseph@codesourcery.com>
8445             Mark Shinwell  <shinwell@codesourcery.com>
8446             Andrew Stubbs  <ams@codesourcery.com>
8447             Rich Felker <dalias@libc.org>
8449         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8451 2016-01-07  Richard Henderson  <rth@redhat.com>
8453         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8455 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8457         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8458         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8459         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8460         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8461         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8463 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8464             Joseph Myers  <joseph@codesourcery.com>
8466         * timezone/private.h: Update from tzcode 2015g.
8467         * timezone/tzfile.h: Likewise.
8468         * timezone/tzselect.ksh: Likewise.
8469         * timezone/zdump.c: Likewise.
8470         * timezone/zic.c: Likewise.
8471         * timezone/ialloc.c: Remove file.
8472         * timezone/scheck.c: Likewise.
8473         * timezone/Makefile (extra-objs): Remove variable.
8474         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8475         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8476         -Wno-maybe-uninitialized.
8477         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8478         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8479         (CFLAGS-ialloc.c): Remove variable.
8480         (CFLAGS-scheck.c): Likewise.
8481         * timezone/README: Update list of files from tzcode.
8483 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8485         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8486         instead of __fxprintf when _LIBC is undefined.
8488 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8490         * catgets/test-gencat.sh: Remove space after shebang.
8491         * conform/GlibcConform.pm: Likewise.
8492         * conform/check-header-lists.sh: Likewise.
8493         * conform/conformtest.pl: Likewise.
8494         * conform/linknamespace.pl: Likewise.
8495         * conform/list-header-symbols.pl: Likewise.
8496         * debug/catchsegv.sh: Likewise.
8497         * elf/genrtldtbl.awk: Likewise.
8498         * elf/tst-pathopt.sh: Likewise.
8499         * elf/tst-rtld-load-self.sh: Likewise.
8500         * grp/tst_fgetgrent.sh: Likewise.
8501         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8502         * iconvdata/gen-8bit-gap.sh: Likewise.
8503         * iconvdata/gen-8bit.sh: Likewise.
8504         * iconvdata/run-iconv-test.sh: Likewise.
8505         * intl/tst-gettext.sh: Likewise.
8506         * intl/tst-gettext2.sh: Likewise.
8507         * intl/tst-gettext4.sh: Likewise.
8508         * intl/tst-gettext6.sh: Likewise.
8509         * intl/tst-translit.sh: Likewise.
8510         * io/ftwtest-sh: Likewise.
8511         * libio/test-freopen.sh: Likewise.
8512         * locale/gen-translit.pl: Likewise.
8513         * malloc/tst-mtrace.sh: Likewise.
8514         * manual/check-safety.sh: Likewise.
8515         * manual/libc-texinfo.sh: Likewise.
8516         * manual/tsort.awk: Likewise.
8517         * manual/xtract-typefun.awk: Likewise.
8518         * nptl/tst-cancel-wrappers.sh: Likewise.
8519         * nptl/tst-tls6.sh: Likewise.
8520         * posix/globtest.sh: Likewise.
8521         * posix/tst-getconf.sh: Likewise.
8522         * posix/wordexp-tst.sh: Likewise.
8523         * scripts/check-c++-types.sh: Likewise.
8524         * scripts/check-local-headers.sh: Likewise.
8525         * scripts/config.guess: Likewise.
8526         * scripts/config.sub: Likewise.
8527         * scripts/cpp: Likewise.
8528         * scripts/cross-test-ssh.sh: Likewise.
8529         * scripts/documented.sh: Likewise.
8530         * scripts/evaluate-test.sh: Likewise.
8531         * scripts/gen-libc-abis: Likewise.
8532         * scripts/gen-sorted.awk: Likewise.
8533         * scripts/list-fixed-bugs.py: Likewise.
8534         * scripts/merge-test-results.sh: Likewise.
8535         * scripts/mkinstalldirs: Likewise.
8536         * scripts/rellns-sh: Likewise.
8537         * scripts/test-installation.pl: Likewise.
8538         * scripts/update-copyrights: Likewise.
8539         * stdio-common/tst-printf.sh: Likewise.
8540         * stdio-common/tst-unbputc.sh: Likewise.
8541         * stdlib/tst-fmtmsg.sh: Likewise.
8542         * stdlib/tst-setcontext3.sh: Likewise.
8543         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8544         * sysdeps/unix/make-syscalls.sh: Likewise.
8546 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8548         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8549         asm stw with atomic_exchange_rel.  Add explanatory comment.
8550         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8551         Likewise.
8553 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8555         [BZ #19122]
8556         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8557         * sysdeps/generic/dl-unistd.h: New file.
8558         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8560 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8562          [BZ #19122]
8563          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8564          * sysdeps/generic/dl-mman.h: New file.
8565          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8567 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8569         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8570         trailing whitespace removed.
8571         * scripts/config.guess: Update to version 2016-01-01.
8572         * scripts/config.sub: Update to version 2016-01-01.
8573         * scripts/move-if-change: Update from gnulib.
8575 2016-01-04  Anton Blanchard  <anton@samba.org>
8577         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8578         for array indices.
8579         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8581 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8583         * NEWS: Update copyright dates.
8584         * catgets/gencat.c (print_version): Likewise.
8585         * csu/version.c (banner): Likewise.
8586         * debug/catchsegv.sh: Likewise.
8587         * debug/pcprofiledump.c (print_version): Likewise.
8588         * debug/xtrace.sh (do_version): Likewise.
8589         * elf/ldconfig.c (print_version): Likewise.
8590         * elf/ldd.bash.in: Likewise.
8591         * elf/pldd.c (print_version): Likewise.
8592         * elf/sotruss.sh: Likewise.
8593         * elf/sprof.c (print_version): Likewise.
8594         * iconv/iconv_prog.c (print_version): Likewise.
8595         * iconv/iconvconfig.c (print_version): Likewise.
8596         * locale/programs/locale.c (print_version): Likewise.
8597         * locale/programs/localedef.c (print_version): Likewise.
8598         * login/programs/pt_chown.c (print_version): Likewise.
8599         * malloc/memusage.sh (do_version): Likewise.
8600         * malloc/memusagestat.c (print_version): Likewise.
8601         * malloc/mtrace.pl: Likewise.
8602         * manual/libc.texinfo: Likewise.
8603         * nptl/version.c (banner): Likewise.
8604         * nscd/nscd.c (print_version): Likewise.
8605         * nss/getent.c (print_version): Likewise.
8606         * nss/makedb.c (print_version): Likewise.
8607         * posix/getconf.c (main): Likewise.
8608         * scripts/test-installation.pl: Likewise.
8609         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8611         * All files with FSF copyright notices: Update copyright dates
8612         using scripts/update-copyrights.
8613         * intl/plural.c: Regenerated.
8614         * locale/programs/charmap-kw.h: Likewise.
8615         * locale/programs/locfile-kw.h: Likewise.
8617 2016-01-02  Helge Deller  <deller@gmx.de>
8619         [BZ #19285]
8620         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8621         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8622         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8623         (MADV_xxK_PAGES): Remove.
8625 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8627         [BZ #15421]
8628         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8629         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8630         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8631         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8633 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8635         [BZ #19408]
8636         * sysdeps/unix/sysv/linux/personality.c: New file.
8637         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8638         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8639         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8640         (sysdep_routines): Add personality.
8641         (tests): Add tst-personality.
8642         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8644         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8645         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8646         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8647         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8648         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8649         Likewise.
8650         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8653         Likewise.
8654         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8655         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8656         Likewise.
8658 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8660         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8661         (PATH_ARM_SYSTYPE): Remove.
8662         (PATH_CPUINFO): Likewise.
8663         (IO_BASE_FOOTBRIDGE): Likewise.
8664         (IO_SHIFT_FOOTBRIDGE): Likewise.
8665         (struct platform): Likewise.
8666         (init_iosys): Remove compatibility code for 2.4 kernels.
8667         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8669 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8671         * malloc/tst-malloc-thread-fail.c: New file.
8672         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8673         (tst-malloc-thread-fail): Link against libpthread.
8675 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8677         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8678         (get_parser): New function.
8679         (main): New function.
8681 2015-12-29  Rob Wu  <rob@robwu.nl>
8683         [BZ #19369]
8684         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8686 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8688         [BZ #19270]
8689         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8691 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8693         [BZ #15421]
8694         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8696 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8698         [BZ #13690]
8699         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8700         after releasing it.
8701         (__lll_robust_unlock): Likewise.
8702         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8703         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8704         (lll_robust_unlock): Likewise.
8705         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8706         Prevent warnings in callers.
8708 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8710         * malloc/arena.c (list_lock): Update comment.
8712 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8714         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8715         __parse_hwcap_and_convert_at_platform to libc.a.
8717 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8719         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8720         platform and feature support for POWER9.
8721         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8722         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8723         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8724         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8725         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8726         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8727         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8728         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8730 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8732         Harmonize generic stdio-lock support with nptl
8734         This fixes build when _IO_funlockfile is a macro, fixes build where
8735         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8736         stack unwind.
8738         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8739         _IO_release_lock ): Use cleanup attribute on new
8740         _IO_acquire_lock_file variable instead of assuming that
8741         _IO_release_lock will be called.
8742         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8743         _IO_acquire_lock_needs_exceptions_enabled.
8744         (_IO_acquire_lock_clear_flags2): New macro.
8746 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8748         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8750 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8752         [BZ #19182]
8753         * malloc/arena.c (list_lock): Document lock ordering requirements.
8754         (free_list_lock): New lock.
8755         (ptmalloc_lock_all): Comment on free_list_lock.
8756         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8757         (detach_arena): Update comment.  free_list_lock is now needed.
8758         (_int_new_arena): Use free_list_lock around detach_arena call.
8759         Acquire arena lock after list_lock.  Add comment, including FIXME
8760         about incorrect synchronization.
8761         (get_free_list): Switch to free_list_lock.
8762         (reused_arena): Acquire free_list_lock around detach_arena call
8763         and attached threads counter update.  Add two FIXMEs about
8764         incorrect synchronization.
8765         (arena_thread_freeres): Switch to free_list_lock.
8766         * malloc/malloc.c (struct malloc_state): Update comments to
8767         mention free_list_lock.
8769 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8771         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8772         Remove functions.
8773         (sloww, sloww1): Accept argument to offset quadrant.
8774         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8775         quadrant.
8776         (__sin, __cos): Consolidate common code into new functions.
8777         (reduce_sincos_1, do_sincos_1): New functions.
8778         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8780         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8781         code to new functions.
8782         (reduce_sincos_2, do_sincos_2): New functions.
8783         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8785         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8786         common code for sincos.
8787         (__cos) [!IN_SINCOS]: Likewise.
8788         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8789         New function.
8790         (__sincos): Use it.
8792 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8794         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8795         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8796         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8798 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8800         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8803         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8804         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8805         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8806         index_Prefer_No_VZEROUPPER): New feature.
8807         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8808         Prefer_No_VZEROUPPER for Knights Landing.
8810 015-12-18  Torvald Riegel  <triegel@redhat.com>
8812         * math/atest-exp2.c (mp_exp_m1): Remove.
8814 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8816         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8817         syscalls.
8818         (__SYSCALL0): New macro.
8819         (__SYSCALL1): Likewise.
8820         (__SYSCALL2): Likewise.
8821         (__SYSCALL3): Likewise.
8822         (__SYSCALL4): Likewise.
8823         (__SYSCALL5): Likewise.
8824         (__SYSCALL6): Likewise.
8825         (__SYSCALL_CONCAT_X): Likewise.
8826         (__SYSCALL_CONCAT): Likewise.
8827         (__SYSCALL_DIST): Likewise.
8828         (__SYSCALL_CALL): Likewise.
8830 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8832         [BZ #19363]
8833         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8835 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8837         [BZ #19375]
8838         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8839         negative subnormals.
8841 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8843         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8844         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8845         (INTERNAL_SYSCALL_NCS): Use it.
8846         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8848 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8850         [BZ #19243]
8851         * malloc/arena.c (get_free_list): Remove assert and adjust
8852         reference count handling.  Add comment about reused_arena
8853         interaction.
8854         (reused_arena): Add comments abount get_free_list interaction.
8855         * malloc/tst-malloc-thread-exit.c: New file.
8856         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8857         (tst-malloc-thread-exit): Link against libpthread.
8859 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8861         [BZ #19367]
8862         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8863         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8864         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8865         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8866         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8868 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8870         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8871         Silvermont optimizations for Knights Landing.
8873 2015-12-15  Andreas Schwab  <schwab@suse.de>
8875         [BZ #17197]
8876         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8877         immediately after emitting SI.
8878         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8879         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8880         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8881         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8882         * iconvdata/bug-iconv10.c: New file.
8883         * iconvdata/Makefile (tests): Add bug-iconv10.
8884         ($(objpfx)bug-iconv10.out): New rule.
8886 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8888         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8889         aliasing violation.
8891 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8893         [BZ #18472]
8894         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8895         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8896         conditionals for them.
8897         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8898         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8900         sys/kdaemon.h.
8901         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8902         compat-only syscall, obsoleted in glibc 2.23.
8903         (create_module): Likewise.
8904         (get_kernel_syms): Likewise.
8905         (query_module): Likewise.
8906         (uselib): Likewise.
8907         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8909 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8911         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8912         <linux/version.h>.
8913         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8914         conditional code.
8915         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8916         and ioshift_name initialization.
8918 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8920         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8921         Fix indentation.
8923 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8925         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8927 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8929         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8931 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8932             Jakub Wilk  <jwilk@debian.org>
8934         [BZ #19347]
8935         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8936         to change the group of the device to the tty group.
8938 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8940         Split large string section; add truncation advice
8941         * manual/examples/strncat.c: Remove.
8942         This example was misleading, as the code would have undefined
8943         behavior if "hello" was longer than SIZE.  Anyway, the manual
8944         shouldn't encourage strncpy+strncat for this sort of thing.
8945         * manual/string.texi (Copying Strings and Arrays): Split into
8946         three sections Copying Strings and Arrays, Concatenating Strings,
8947         and Truncating Strings, as this section was way too long.  All
8948         cross-referenced changed.  Add advice about string-truncation
8949         functions.  Remove misleading strncat example.
8951 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8953         * manual/nss.texi (NSS Modules Interface): Document
8954         NSS_STATUS_NOTFOUND and SUCCESS.
8956 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8958         [BZ 18568]
8959         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8960         201505L, for Unicode 8.
8962 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8964         * locale/C-translit.h: Regenerate.
8966 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8968         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8969         and U+0153.
8971 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8973         [BZ #19351]
8974         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8975         expanding log(1+z), compare z rather than its square with epsilon
8976         to determine when to avoid evaluating the expansion.
8978         [BZ #19350]
8979         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8980         Increase overflow threshold.
8982         [BZ #19349]
8983         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8984         when small.
8986         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8987         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8988         New macro.
8989         [__LINUX_KERNEL_VERSION >= 0x040300]
8990         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8991         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8992         Likewise.
8993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8994         Likewise.
8995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8996         Likewise.
8997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8998         Likewise.
8999         [__LINUX_KERNEL_VERSION >= 0x040300]
9000         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9001         [__LINUX_KERNEL_VERSION >= 0x040300]
9002         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9003         [__LINUX_KERNEL_VERSION >= 0x040300]
9004         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9005         [__LINUX_KERNEL_VERSION >= 0x040300]
9006         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9007         [__LINUX_KERNEL_VERSION >= 0x040300]
9008         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9009         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9010         Likewise.
9011         [__LINUX_KERNEL_VERSION >= 0x040300]
9012         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9013         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9014         Likewise.
9015         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9016         Likewise.
9017         [__LINUX_KERNEL_VERSION >= 0x040300]
9018         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9019         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9020         Likewise.
9021         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9022         Likewise.
9023         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9024         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9025         Likewise.
9026         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9027         Likewise.
9028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9029         Likewise.
9030         [__LINUX_KERNEL_VERSION >= 0x040300]
9031         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9032         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9033         Likewise.
9034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9035         Likewise.
9036         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9037         Likewise.
9038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9039         Likewise.
9040         [__LINUX_KERNEL_VERSION >= 0x040300]
9041         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9042         [__LINUX_KERNEL_VERSION >= 0x040300]
9043         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9044         [__LINUX_KERNEL_VERSION >= 0x040300]
9045         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9046         [__LINUX_KERNEL_VERSION >= 0x040300]
9047         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9048         [__LINUX_KERNEL_VERSION >= 0x040300]
9049         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9050         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9051         Likewise.
9052         [__LINUX_KERNEL_VERSION >= 0x040300]
9053         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9054         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9055         Likewise.
9056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9057         Likewise.
9058         [__LINUX_KERNEL_VERSION >= 0x040300]
9059         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9060         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9061         Likewise.
9062         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9063         Likewise.
9064         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9065         (__ASSUME_SOCKET_SYSCALL): Likewise.
9066         (__ASSUME_BIND_SYSCALL): Likewise.
9067         (__ASSUME_CONNECT_SYSCALL): Likewise.
9068         (__ASSUME_LISTEN_SYSCALL): Likewise.
9069         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9070         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9071         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9072         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9073         (__ASSUME_SEND_SYSCALL): Likewise.
9074         (__ASSUME_SENDTO_SYSCALL): Likewise.
9075         (__ASSUME_RECV_SYSCALL): Likewise.
9076         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9077         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9078         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9079         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9080         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9081         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9082         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9083         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9084         Likewise.
9085         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9086         Likewise.
9087         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9088         Likewise.
9089         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9090         Likewise.
9091         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9092         Likewise.
9093         [__LINUX_KERNEL_VERSION >= 0x020625]
9094         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9095         [__LINUX_KERNEL_VERSION >= 0x020625]
9096         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9097         [__LINUX_KERNEL_VERSION >= 0x020625]
9098         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9099         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9100         Likewise.
9101         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9102         Likewise.
9103         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9104         Likewise.
9105         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9106         Likewise.
9107         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9108         Likewise.
9109         [__LINUX_KERNEL_VERSION >= 0x020625]
9110         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9111         [__LINUX_KERNEL_VERSION >= 0x020625]
9112         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9113         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9114         Likewise.
9115         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9116         Likewise.
9118 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9120         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9121         record the current if the current ABI and CPU support the FP64
9122         extension.
9123         (has-modd-spreg): Define to record the current if the current ABI and
9124         CPU support 32-bit floating point values in odd FPU registers.
9125         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9126         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9127         $(has-modd-spreg) equals yes.
9128         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9129         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9130         $(has-modd-spreg) equal yes.
9132 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9134         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9135         basename.
9137 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9139         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9140         (bench-string): ... here.
9141         (bench): Add bench-string.
9142         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9143         to *-benchset to reflect what they are.
9144         (benchset): Adjust.
9146         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9147         cos-inputs.
9149 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9151         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9152         __attribute__ ((__simd__)) for vector math function declarations.
9154 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9156         Fix typo in strncat, wcsncat manual entries
9157         * manual/string.texi (Copying and Concatenation): Fix typos in
9158         sample implementations of strncat and wcsncat, by having them use
9159         the old value of the destination length, not the new one.
9161 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9163         [BZ #16961]
9164         [BZ #16962]
9165         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9166         string on the stack for strtod.
9167         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9168         a string on the stack for strtof.
9169         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9170         constructing a string on the stack for strtold.
9171         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9172         __strtold_nan to GLIBC_PRIVATE.
9173         * math/test-nan-overflow.c: New file.
9174         * math/test-nan-payload.c: Likewise.
9175         * math/Makefile (tests): Add test-nan-overflow and
9176         test-nan-payload.
9178 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9180         Consistency about byte vs character in string.texi
9181         * manual/string.texi (String and Array Utilities):
9182         Distinguish more carefully among bytes, multibyte characters,
9183         and wide characters.  Use "byte" when talking about C 'char',
9184         to distinguish it more clearly from multibyte characters.
9185         Say "wide character" or "multibyte character" instead of
9186         "character", when a wide or multibyte character is intended.
9187         Similarly for "multibyte string" versus "string".
9188         Define these terms more carefully.
9190 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9192         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9193         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9194         Likewise.
9195         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9196         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9197         * sysdeps/sh/math_private.h: New file.
9198         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9199         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9200         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9201         long double function name.
9202         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9203         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9204         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9205         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9208         Remove __finitel, __isinfl, and __isnanl.
9209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9210         Likewise.
9211         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9213         Remove __finitel.
9214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9215         Likewise.
9216         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9218 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9220         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9221         installed libmvec_nonshared.a.
9223 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9225         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9226         (sysdep_routines): Likewise.
9227         (sysdep-rtld-routines): Likewise.
9228         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9229         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9230         * sysdeps/powerpc/Versions: Added new
9231         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9232         * sysdeps/powerpc/hwcapinfo.c: New file.
9233         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9234         and parse hwcap, hwcap2 and platform number information.
9235         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9236         to store HWCAP+HWCAP2 and platform number.
9237         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9238         for HWCAP+HWCAP2 and platform number in the TCB.
9239         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9240         the HWCAP, HWCAP2 and platform number in the TCB.
9241         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9242         (TLS_INIT_TP): Included calls to add the hwcap and
9243         at_platform values in the TCB in TP initialization.
9244         (TLS_DEFINE_INIT_TP): Likewise.
9245         (THREAD_GET_HWCAP): New macro.
9246         (THREAD_SET_HWCAP): Likewise.
9247         (THREAD_GET_AT_PLATFORM): Likewise.
9248         (THREAD_SET_AT_PLATFORM): Likewise.
9249         * sysdeps/powerpc/powerpc32/dl-machine.h:
9250         (dl_platform_init): New function that calls
9251         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9252         powerpc32.
9253         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9254         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9255         this functionality, static linking case.
9256         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9257         linking case.
9258         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9259         __parse_hwcap_and_convert_at_platform for the static linking case.
9260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9261         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9262         ABI list for GLIBC 2.23.
9263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9264         Likewise.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9266         Likewise.
9268 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9270         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9271         * configure: Regenerate.
9272         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9273         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9275 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9277         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9278         * iconvdata/ibm933.c: Likewise.
9279         * iconvdata/ibm935.c: Likewise.
9280         * iconvdata/ibm937.c: Likewise.
9281         * iconvdata/ibm939.c: Likewise.
9283 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9285         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9286         pthread_join.
9287         * nptl/tst-cancel21.c (tf): Likewise.
9289 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9291         [BZ #19313]
9292         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9293         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9294         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9295         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9296         Likewise.
9297         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9298         Likewise.
9299         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9300         Likewise.
9301         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9302         Likewise.
9303         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9304         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9305         unsigned long int with __CPU_MASK_TYPE.
9307 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9309         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9311 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9313         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9314         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9315         t512.x.
9316         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9318 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9320         [BZ #19214]
9321         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9322         argument to return extended model.  Update family and model
9323         with extended family and model when family == 0x0f.
9324         (init_cpu_features): Updated.
9326 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9328         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9329         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9331         * sysdeps/mach/hurd/mmap64.c: New file.
9333 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9335         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9336         rights for its main user thread in NEWTASK.
9338 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9340         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9341         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9343 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9345         [BZ #14259]
9346         * Makeconfig: Rename localedir to complocaledir.
9347         Rename inst_localedir to inst_complocaledir.
9348         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9349         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9350         * configure.ac: Use libc_cv_complocaledir.
9351         * configure: Regenerate.
9352         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9353         -DCOMPLOCALEDIR.
9354         * locale/findlocale.c: Use COMPLOCALEDIR.
9355         * locale/loadarchive.c: Likewise.
9356         * locale/programs/locale.c: Likewise.
9357         * locale/programs/localedef.c: Likewise.
9358         * locale/programs/locarchive.c: Likewise.
9359         * localedata/Makefile: Use inst_complocaledir.
9360         * sysdeps/gnu/configure: Regenerate.
9361         * sysdeps/hppa/configure: Regenerate.
9362         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9363         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9365         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9366         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9367         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9368         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9370 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9372         [BZ #19058]
9373         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9374         AS_NEEDED.
9375         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9376         workaround.
9377         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9378         libmvec-static-only-routines): Added new file.
9379         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9381 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9383         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9384         of interrupted RPC instead of restoring it.
9386         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9387         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9388         libc_hidden_def.
9389         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9390         into initialized data instead of common. Define rtld_hidden_data_def.
9391         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9392         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9393         libc_hidden_def.
9394         (if_freenameindex): Add libc_hidden_weak.
9395         (if_nameindex): Add libc_hidden_weak.
9396         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9397         __open64.
9398         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9399         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9400         * sysdeps/mach/nanosleep.c: Include <time.h>
9401         (__nanosleep): Rename to __libc_nanosleep.
9402         (__nanosleep): Add weak_alias.
9403         (nanosleep): Update alias.
9405 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9407         * stdlib/strtod_nan.c: New file.
9408         * stdlib/strtod_nan_double.h: Likewise.
9409         * stdlib/strtod_nan_float.h: Likewise.
9410         * stdlib/strtod_nan_main.c: Likewise.
9411         * stdlib/strtod_nan_narrow.h: Likewise.
9412         * stdlib/strtod_nan_wide.h: Likewise.
9413         * stdlib/strtof_nan.c: Likewise.
9414         * stdlib/strtold_nan.c: Likewise.
9415         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9416         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9417         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9418         * wcsmbs/wcstod_nan.c: Likewise.
9419         * wcsmbs/wcstof_nan.c: Likewise.
9420         * wcsmbs/wcstold_nan.c: Likewise.
9421         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9422         strtold_nan.
9423         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9424         wcstof_nan.
9425         * include/stdlib.h (__strtof_nan): Declare and use
9426         libc_hidden_proto.
9427         (__strtod_nan): Likewise.
9428         (__strtold_nan): Likewise.
9429         (__wcstof_nan): Likewise.
9430         (__wcstod_nan): Likewise.
9431         (__wcstold_nan): Likewise.
9432         * include/wchar.h (____wcstoull_l_internal): Declare.
9433         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9434         (____strtoull_l_internal): Remove declaration.
9435         (STRTOF_NAN): Define macro.
9436         (SET_MANTISSA): Remove macro.
9437         (STRTOULL): Likewise.
9438         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9439         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9440         (STRTOF_NAN): Define macro.
9441         (SET_MANTISSA): Remove macro.
9442         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9443         (SET_MANTISSA): Remove macro.
9444         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9445         macro.
9446         (SET_MANTISSA): Remove macro.
9447         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9448         macro.
9449         (SET_MANTISSA): Remove macro.
9450         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9451         (SET_MANTISSA): Remove macro.
9452         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9453         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9454         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9456         [BZ #19266]
9457         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9458         upper case and lower case letters inside NAN(), not using TOLOWER.
9459         * stdlib/tst-strtod-nan-locale-main.c: New file.
9460         * stdlib/tst-strtod-nan-locale.c: Likewise.
9461         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9462         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9463         Depend on $(gen-locales).
9464         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9465         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9466         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9467         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9468         Depend on $(gen-locales).
9469         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9471 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9473         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9475         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9477         __finitel, __isinfl, and __isnanl.
9478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9479         Likewise.
9480         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9482         __finitel.
9483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9484         Likewise.
9485         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9487 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9489         * malloc/memusage.c (me): Remove redundant getenv call.
9491 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9493         [BZ #19143]
9494         [BZ #19164]
9495         * nptl/check-cpuset.h: Remove.
9496         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9497         Remove CPU set size check.
9498         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9499         Likewise.
9500         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9501         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9502         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9503         (__pthread_setaffinity_new): Remove CPU set size check.
9504         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9505         (__kernel_cpumask_size): Remove.
9506         (__sched_setaffinity_new): Remove CPU set size check.
9507         * manual/threads.texi (Default Thread Attributes): Remove stale
9508         reference to check_cpuset_attr, determine_cpumask_size in comment.
9509         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9510         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9511         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9512         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9513         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9514         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9515         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9516         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9517         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9518         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9519         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9520         skeleton test file.
9521         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9522         tst-affinity-pid.
9524 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9526         * scripts/update-abilist.sh: New file.
9527         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9528         * Makerules (update-all-abi-%, update-all-abi)
9529         (subdir_update-all-abi): New targets.
9530         * elf/Makefile (update-all-abi): New target.
9532 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9534         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9535         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9536         (__libc_lock_define_initialized): Use it.
9537         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9538         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9539         * malloc/malloc.c (main_arena): Likewise.
9540         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9541         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9543 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9545         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9546         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9547         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9548         (PTRACE_O_MASK): Update value.
9549         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9550         New value in enum __ptrace_setoptions.
9551         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9552         (PTRACE_O_MASK): Update value.
9553         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9554         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9555         (PTRACE_O_MASK): Update value.
9556         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9557         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9558         (PTRACE_O_MASK): Update value.
9559         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9560         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9561         (PTRACE_O_MASK): Update value.
9562         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9563         New value in enum __ptrace_setoptions.
9564         (PTRACE_O_MASK): Update value.
9565         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9566         New value in enum __ptrace_setoptions.
9567         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9568         (PTRACE_O_MASK): Update value.
9570         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9571         New macro.
9572         (PACKET_AUXDATA): Likewise.
9573         (PACKET_ORIGDEV): Likewise.
9574         (PACKET_VERSION): Likewise.
9575         (PACKET_HDRLEN): Likewise.
9576         (PACKET_RESERVE): Likewise.
9577         (PACKET_TX_RING): Likewise.
9578         (PACKET_LOSS): Likewise.
9579         (PACKET_VNET_HDR): Likewise.
9580         (PACKET_TX_TIMESTAMP): Likewise.
9581         (PACKET_TIMESTAMP): Likewise.
9582         (PACKET_FANOUT): Likewise.
9583         (PACKET_TX_HAS_OFF): Likewise.
9584         (PACKET_QDISC_BYPASS): Likewise.
9585         (PACKET_ROLLOVER_STATS): Likewise.
9586         (PACKET_FANOUT_DATA): Likewise.
9587         (PACKET_MR_UNICAST): Likewise.
9589         [BZ #19242]
9590         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9591         (TOUPPER): Likewise.
9592         * stdlib/tst-strtol-locale-main.c: New file.
9593         * stdlib/tst-strtol-locale.c: Likewise.
9594         * stdlib/Makefile (tests): Add tst-strtol-locale.
9595         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9596         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9597         Depend on $(gen-locales).
9598         * wcsmbs/tst-wcstol-locale.c: New file.
9599         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9600         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9601         tr_TR.ISO-8859-9.
9602         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9603         Depend on $(gen-locales).
9605 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9607         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9608         __glibc_likely instead of __builtin_expect.  After falling back to
9609         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9610         system interface to register the code pages as occupied.
9612 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9614         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9615         [!ARM_MATH_PRIVATE_H].
9616         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9617         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9618         [!HPPA_MATH_PRIVATE_H].
9619         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9620         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9621         to [!I386_MATH_PRIVATE_H].
9622         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9623         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9624         Change guard to [!M68K_MATH_PRIVATE_H].
9625         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9626         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9627         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9628         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9629         macro.
9630         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9631         [!MIPS_MATH_PRIVATE_H].
9632         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9633         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9634         [!NIO2_MATH_PRIVATE_H].
9635         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9636         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9637         [!TILE_MATH_PRIVATE_H].
9638         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9640         [BZ #15421]
9641         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9642         initialize with 0 and define as weak alias of __signgam.
9643         * include/math.h [!_ISOMAC] (__signgam): Declare.
9644         * math/Makefile (libm-calls): Add w_lgamma_compat.
9645         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9646         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9647         test-signgam-ullong-init.
9648         (tests-static): Add test-signgam-uchar-static,
9649         test-signgam-uchar-init-static, test-signgam-uint-static,
9650         test-signgam-uint-init-static, test-signgam-ullong-static and
9651         test-signgam-ullong-init-static.
9652         (CFLAGS-test-signgam-uchar.c): New variable.
9653         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9654         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9655         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9656         (CFLAGS-test-signgam-uint.c): Likewise.
9657         (CFLAGS-test-signgam-uint-init.c): Likewise.
9658         (CFLAGS-test-signgam-uint-static.c): Likewise.
9659         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9660         (CFLAGS-test-signgam-ullong.c): Likewise.
9661         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9662         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9663         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9664         * math/Versions (libm): Add GLIBC_2.23.
9665         * math/lgamma-compat.h: New file.
9666         * math/test-signgam-main.c: Likewise.
9667         * math/test-signgam-uchar-init-static.c: Likewise.
9668         * math/test-signgam-uchar-init.c: Likewise.
9669         * math/test-signgam-uchar-static.c: Likewise.
9670         * math/test-signgam-uchar.c: Likewise.
9671         * math/test-signgam-uint-init-static.c: Likewise.
9672         * math/test-signgam-uint-init.c: Likewise.
9673         * math/test-signgam-uint-static.c: Likewise.
9674         * math/test-signgam-uint.c: Likewise.
9675         * math/test-signgam-ullong-init-static.c: Likewise.
9676         * math/test-signgam-ullong-init.c: Likewise.
9677         * math/test-signgam-ullong-static.c: Likewise.
9678         * math/test-signgam-ullong.c: Likewise.
9679         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9680         wrapper of w_lgamma_main.c.
9681         * math/w_lgamma_compat.c: New file.
9682         * math/w_lgamma_compatf.c: Likewise.
9683         * math/w_lgamma_compatl.c: Likewise.
9684         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9685         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9686         defining compatibility symbols.
9687         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9688         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9689         wrapper of w_lgammaf_main.c.
9690         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9691         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9692         defining compatibility symbols.
9693         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9694         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9695         wrapper of w_lgammal_main.c.
9696         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9697         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9698         defining compatibility symbols.
9699         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9700         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9701         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9702         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9703         <lgamma-compat.h>.
9704         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9705         (__ieee754_gamma): Define as alias.
9706         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9707         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9708         <lgamma-compat.h>.
9709         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9710         (__ieee754_gammaf): Define as alias.
9711         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9712         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9713         <lgamma-compat.h>.
9714         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9715         (__ieee754_gammal): Define as alias.
9716         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9717         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9718         <math/w_lgamma_compat.c>.
9719         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9720         Define as alias of __lgamma_compat and use in defining lgammal.
9721         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9722         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9723         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9724         (USE_AS_COMPAT): New macro.
9725         (LGAMMA_OLD_VER): Undefine and redefine.
9726         (lgammal): Do not define here.
9727         (gammal): Only define here if [GAMMA_ALIAS].
9728         * conform/linknamespace.pl (@whitelist): Remove signgam.
9729         * sysdeps/nacl/libm.abilist: Update.
9730         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9731         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9732         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9733         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9734         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9735         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9736         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9737         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9738         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9739         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9740         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9741         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9743         Likewise.
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9747         Likewise.
9748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9749         Likewise.
9750         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9751         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9752         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9753         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9754         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9756         Likewise.
9757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9758         Likewise.
9759         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9760         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9761         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9763 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9765         [BZ #16364]
9766         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9767         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9769 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9771         * sysdeps/s390/fpu/bits/mathinline.h:
9772         Use __asm__ [__volatile__] instead of asm [volatile].
9773         * sysdeps/s390/abort-instr.h: Likewise.
9774         * sysdeps/s390/atomic-machine.h: Likewise.
9775         * sysdeps/s390/bits/string.h: Likewise.
9776         * sysdeps/s390/dl-tls.h: Likewise.
9777         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9778         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9779         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9780         * sysdeps/s390/fpu/fesetround.c: Likewise.
9781         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9782         * sysdeps/s390/fpu/s_fma.c: Likewise.
9783         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9784         * sysdeps/s390/memusage.h: Likewise.
9785         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9786         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9787         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9788         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9789         * sysdeps/s390/nptl/tls.h: Likewise.
9790         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9791         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9792         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9793         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9794         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9795         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9796         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9797         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9798         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9799         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9800         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9801         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9802         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9803         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9804         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9805         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9806         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9807         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9808         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9810         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9812         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9814 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9815             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9817         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9818         Add lwarx hint, and use macro for acquire instruction.
9819         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9820         Likewise.
9821         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9822         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9823         update to use new atomic macros.
9825 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9827         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9828         (__lll_trylock_elision): Fix setting of adapt_count.
9829         * sysdeps/unix/sysv/linux/powerpc/htm.h
9830         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9831         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9832         (_ABORT_SYSCALL): Renumber, and clarify definition.
9833         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9835 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9837         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9838         after system headers to prevent MIN/MAX redefinition.  Define
9839         HAVE_ALLOCA to preserve builtin alloca usage.
9841 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9843         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9844         static and don't set or restore rounding.
9845         (__cos)[IN_SINCOS]: Likewise.
9846         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9847         (__sincos): Set and restore rounding mode.  Remove check for infinite
9848         or NaN input.
9850         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9852         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9853         as used.
9855 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9857         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9859 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9861         * config.make.in (have-glob-dat-reloc): New.
9862         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9863         target supports GLOB_DAT relocaton. AC_SUBST.
9864         * configure: Regenerated.
9865         * elf/Makefile (tests): Add tst-prelink.
9866         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9867         (tst-prelink-ENV): New.
9868         ($(objpfx)tst-prelink-conflict.out): Likewise.
9869         ($(objpfx)tst-prelink-cmp.out): Likewise.
9870         * sysdeps/x86/tst-prelink.c: Moved to ...
9871         * elf/tst-prelink.c: Here.
9872         * sysdeps/x86/tst-prelink.exp: Moved to ...
9873         * elf/tst-prelink.exp: Here.
9874         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9875         (tst-prelink-ENV): Removed.
9876         ($(objpfx)tst-prelink-conflict.out): Likewise.
9877         ($(objpfx)tst-prelink-cmp.out): Likewise.
9878         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9880 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9882         [BZ #14551]
9883         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9884         (__mpn_construct_long_double): If high part overflows to infinity,
9885         set errno and recompute overflowed result of the correct sign.
9886         * sysdeps/ieee754/ldbl-128ibm/Makefile
9887         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9888         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9889         $(libm).
9890         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9892 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9894         [BZ #15479]
9895         [BZ #19238]
9896         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9897         floating-point state after first operation on input.  Restore full
9898         state rather than just rounding mode.
9899         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9900         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9901         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9903         [BZ #19235]
9904         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9905         add 0.5 to integer arguments.
9906         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9907         Likewise.
9908         (.LC2): New object.
9910 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9912         * scripts/pylintrc (reports): Set to no.
9914 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9916         * elf/dl-load.c (open_verify): Take new argument FD.
9917         Skip __open call if passed FD is not -1.
9918         (_dl_map_object, open_path): Update callers.
9919         * elf/dl-sysdep-open.h: New file.
9920         * elf/dl-load.c: Include it.
9921         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9922         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9923         * sysdeps/nacl/dl-sysdep-open.h: New file.
9924         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9925         from libc to rtld.
9927 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9929         [BZ #19228]
9930         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9931         and restore full floating-point state.
9932         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9933         Likewise.
9934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9935         Likewise.
9936         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9937         Likewise.
9938         * math/test-nearbyint-except-2.c: New file.
9939         * math/Makefile (tests): Add test-nearbyint-except-2.
9941 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9943         [BZ #19178]
9944         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9945         (tst-prelink-ENV): New.
9946         ($(objpfx)tst-prelink-conflict.out): Likewise.
9947         ($(objpfx)tst-prelink-cmp.out): Likewise.
9948         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9949         * sysdeps/x86/tst-prelink.c: New file.
9950         * sysdeps/x86/tst-prelink.exp: Likewise.
9952 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9954         * math/auto-libm-test-in: Add another test of pow.
9955         * math/auto-libm-test-out: Regenerated.
9956         * math/libm-test.inc (pow_test_data): Add another test.
9958 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9960         [BZ #19219]
9961         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9962         weak_alias to nearbyintl.
9964 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9966         * sysdeps/aarch64/bits/string.h: New file.
9967         (_STRING_ARCH_unaligned): Define.
9969 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9971         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9972         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9973         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9974         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9977 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9979         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9980         for original name of the DSO.  Add it to the name list of the DSO
9981         if it is actually given.
9982         (_dl_map_object): Keep track of whether an audit module rewrote
9983         the file name.  If yes, pass the original name to
9984         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9985         debugging is enabled, log the change of the file name.
9986         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9987         _dl_map_object_from_fd.
9988         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9989         * elf/tst-audit11.c: New file
9990         * elf/tst-auditmod11.c: New file.
9991         * elf/tst-audit11mod1.c: New file.
9992         * elf/tst-audit11mod2.c: New file.
9993         * elf/tst-audit11mod2.map: New file.
9994         * elf/tst-audit12.c: New file
9995         * elf/tst-auditmod12.c: New file.
9996         * elf/tst-audit12mod1.c: New file.
9997         * elf/tst-audit12mod2.c: New file.
9998         * elf/tst-audit12mod2.map: New file.
9999         * elf/tst-audit12mod3.c: New file.
10001 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10003         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10004         Don't create weak aliases,
10005         because versioned symbols are created later.
10006         * sysdeps/s390/s390-32/setjmp.S
10007         (setjmp, _setjmp): Remove weak and rename to an unique name
10008         in SHARED case due to existing versioned symbols.
10009         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10010         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10011         (getcontext): Create weak alias only in non SHARED case.
10012         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10014 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10016         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10017         (__ASSUME_*_SYSCALL) Define new macros.
10018         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10019         Remove socketcall syscalls.
10020         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10021         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10022         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10023         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10024         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10025         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10027 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10029         [BZ #12926]
10030         Terminate process on invalid netlink response.
10031         * sysdeps/unix/sysv/linux/netlinkaccess.h
10032         (__netlink_assert_response): Declare.
10033         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10034         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10035         (sysdep_routines): Add netlink_assert_response.
10036         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10037         __netlink_assert_response.
10038         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10039         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10040         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10041         __netlink_assert_response.
10043 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10045         [BZ #19178]
10046         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10047         (RTYPE_CLASS_PLT): Likewise.
10048         (RTYPE_CLASS_COPY): Likewise.
10049         (RTYPE_CLASS_TLS): Likewise.
10050         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10051         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10052         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10053         DL_DEBUG_PRELINK.
10055 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10057         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10058         calls with argument -0.5.
10059         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10061         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10062         (libc_cv_z_nodlopen): Likewise.
10063         (libc_cv_z_initfirst): Likewise.
10064         * configure: Regenerated.
10066 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10068         Simplify abilist format to be line-based.
10069         * scripts/abilist.awk: Collect descriptors in the descs variable.
10070         (emit): Write descs variable and sort it
10071         externally, with sort.
10072         * sysdeps/**/*.abilist: Convert to new format.
10074 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10076         [BZ #11460]
10077         * io/Makefile (routines): Add fts64.
10078         (tests): Add tst-fts and tst-fts-lfs.
10079         (CFLAGS-fts64.c): New.
10080         * io/Versions (GLIBC_2.23): New.
10081         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10082         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10083         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10084         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10085         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10086         (FTSENT64): Likewise.
10087         (fts64_children): Likewise.
10088         (fts64_close): Likewise.
10089         (fts64_open): Likewise.
10090         (fts64_read): Likewise.
10091         (fts64_set): Likewise.
10092         * io/fts64.c: New file.
10093         * io/tst-fts.c: New test.
10094         * io/tst-fts-lfs.c: Likewise.
10095         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10096         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10097         fts64_set.
10098         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10099         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10100         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10101         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10102         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10103         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10104         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10106         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10107         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10108         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10109         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10110         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10112         Likewise.
10113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10114         Likewise.
10115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10117         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10118         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10119         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10120         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10121         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10124         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10125         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10126         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10127         * sysdeps/wordsize-64/fts.c: New file.
10128         * sysdeps/wordsize-64/fts64.c: Likewise.
10129         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10130         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10131         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10132         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10134 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10136         * math/libm-test.inc (NON_FINITE): New macro.
10137         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10138         * math/gen-libm-test.pl (show_exceptions): Add argument
10139         $non_finite.
10140         (parse_args): Update call to show_exceptions.
10141         * math/test-math-finite.h: New file.
10142         * math/test-math-no-finite.h: Likewise.
10143         * math/test-double-finite.c: Likewise.
10144         * math/test-float-finite.c: Likewise.
10145         * math/test-ldouble-finite.c: Likewise.
10146         * math/test-double.c: Include "test-math-no-finite.h".
10147         * math/test-float.c: Include "test-math-no-finite.h".
10148         * math/test-ldouble.c: Include "test-math-no-finite.h".
10149         * math/test-math-inline.h (TEST_FINITE): New macro.
10150         * math/test-math-vector.h (TEST_FINITE): Likewise.
10151         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10152         (libm-tests): Add test-float-finite and test-double-finite.
10153         ($(objpfx)test-float-finite.o): New dependency on
10154         $(objpfx)libm-test.stmp.
10155         ($(objpfx)test-double-finite.o): Likewise.
10156         ($(objpfx)test-ldouble-finite.o): Likewise.
10157         (libm-test-no-inline-cflags): New variable.
10158         (libm-test-finite-cflags): Likewise.
10159         (CFLAGS-test-float-finite.c): Likewise.
10160         (CFLAGS-test-double-finite.c): Likewise.
10161         (CFLAGS-test-ldouble-finite.c): Likewise.
10162         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10163         (CFLAGS-test-double.c): Likewise.
10164         (CFLAGS-test-ldouble.c): Likewise.
10166 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10168         * io/fcntl.c (__fcntl): Add ... to prototype.
10169         * misc/ioctl.c (__ioctl): Likewise.
10170         * misc/syscall.c (syscall): Likewise.
10172 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10174         * scripts/list-fixed-bugs.py: New file.
10176         [BZ #19213]
10177         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10178         returned for argument 1.
10179         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10180         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10181         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10182         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10183         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10184         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10186         [BZ #19211]
10187         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10188         __USE_XOPEN], not if [!__USE_ISOC99].
10189         (lgammaf): Likewise.
10190         (lgammal): Likewise.
10191         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10192         (gammaf): Likewise.
10193         (gammal): Likewise.
10194         * math/test-signgam-finite-c11.c: New file.
10195         * math/test-signgam-finite-c99.c: Likewise.
10196         * math/test-signgam-finite.c: Likewise.
10197         * math/Makefile (tests): Add test-signgam-finite,
10198         test-signgam-finite-c99 and test-signgam-finite-c11.
10199         (CFLAGS-test-signgam-finite.c): New variable.
10200         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10201         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10203         [BZ #19212]
10204         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10205         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10206         500].
10207         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10208         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10209         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10210         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10211         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10212         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10213         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10214         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10215         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10216         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10218         [BZ #19209]
10219         * math/bits/math-finite.h (ldexp): Remove declaration.
10220         (ldexpf): Likewise.
10221         (ldexpl): Likewise.
10223         [BZ #19205]
10224         * math/bits/math-finite.h (acosf): Condition declaration on
10225         [__USE_ISOC99].
10226         (acosl): Likewise.
10227         (acoshf): Likewise.
10228         (acoshl): Likewise.
10229         (asinf): Likewise.
10230         (asinl): Likewise.
10231         (atan2f): Likewise.
10232         (atan2l): Likewise.
10233         (atanhf): Likewise.
10234         (atanhl): Likewise.
10235         (coshf): Likewise.
10236         (coshl): Likewise.
10237         (expf): Likewise.
10238         (expl): Likewise.
10239         (fmodf): Likewise.
10240         (fmodl): Likewise.
10241         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10242         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10243         (j0l): Likewise.
10244         (y0f): Likewise.
10245         (y0l): Likewise.
10246         (j1f): Likewise.
10247         (j1l): Likewise.
10248         (y1f): Likewise.
10249         (y1l): Likewise.
10250         (jnf): Likewise.
10251         (jnl): Likewise.
10252         (ynf): Likewise.
10253         (ynl): Likewise.
10254         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10255         (lgammal_r): Likewise.
10256         (__lgamma_r_finite): New declaration.
10257         (__lgammaf_r_finite): Likewise.
10258         (__lgammal_r_finite): Likewise.
10259         (lgamma): Use __lgamma_r_finite.
10260         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10261         __lgammaf_r_finite.
10262         (lgammal): Condition definition on [__USE_ISOC99].  Use
10263         __lgammal_r_finite.
10264         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10265         __lgamma_r_finite.
10266         (gammaf): Condition definition on [__USE_ISOC99].  Use
10267         __lgammaf_r_finite.
10268         (gammal): Condition definition on [__USE_ISOC99].  Use
10269         __lgammal_r_finite.
10270         (logf): Condition declaration on [__USE_ISOC99].
10271         (logl): Likewise.
10272         (log10f): Likewise.
10273         (log10l): Likewise.
10274         (ldexpf): Likewise.
10275         (ldexpl): Likewise.
10276         (powf): Likewise.
10277         (powl): Likewise.
10278         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10279         __USE_ISOC99].
10280         (remainderf): Condition declaration on [__USE_ISOC99].
10281         (remainderl): Likewise.
10282         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10283         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10284         (scalbl): Likewise.
10285         (sinhf): Condition declaration on [__USE_ISOC99].
10286         (sinhl): Likewise.
10287         (sqrtf): Likewise.
10288         (sqrtl): Likewise.
10290 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10292         * sysdeps/arm/atomic-machine.h
10293         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10294         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10295         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10296         Remove conditional code.
10297         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10298         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10299         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10300         Change conditional to [__ASSEMBLER__].
10301         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10302         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10303         [!__ASSEMBLER__].
10304         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10305         code.
10306         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10307         conditional macro definitions.
10308         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10309         (__arch_compare_and_exchange_val_16_acq): Likewise.
10310         (__arch_compare_and_exchange_val_32_acq): Likewise.
10311         (atomic_exchange_and_add): Likewise.
10312         (atomic_add): Likewise.
10313         (atomic_add_negative): Likewise.
10314         (atomic_add_zero): Likewise.
10315         (atomic_bit_set): Likewise.
10316         (atomic_bit_test_set): Likewise.
10317         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10318         code unconditional.
10319         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10321         * math/test-math-errno.h: New file.
10322         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10323         empty.
10324         (TEST_ERRNO): New macro.
10325         (TEST_EXCEPTIONS): Likewise.
10326         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10327         (TEST_EXCEPTIONS): Likewise.
10328         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10329         * math/test-double.c: Include "test-math-errno.h".
10330         * math/test-float.c: Likewise.
10331         * math/test-ldouble.c: Likewise.
10332         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10333         code unconditional.
10334         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10335         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10336         unconditional.
10337         (test_errno): Only run code if TEST_ERRNO.
10338         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10340 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10342         * nptl/tst-once5.cc: Remove attribution.
10344 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10346         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10347         sqrt, tan, tanh, y0, y1 and yn.
10348         * math/auto-libm-test-out: Regenerated.
10349         * math/libm-test.inc (scalb_test_data): Add more tests.
10350         (scalbn_test_data): Likewise.
10351         (scalbln_test_data): Likewise.
10352         (signbit_test_data): Likewise.
10353         (sin_test_data): Likewise.
10354         (sincos_test_data): Likewise.
10355         (sinh_test_data): Likewise.
10356         (sqrt_test_data): Likewise.
10357         (tan_test_data): Likewise.
10358         (tanh_test_data): Likewise.
10359         (tgamma_test_data): Likewise.
10360         (y0_test_data): Likewise.
10361         (y1_test_data): Likewise.
10362         (yn_test_data): Likewise.
10363         (significand_test_data): Likewise.
10364         * sysdeps/i386/fpu/libm-test-ulps: Update.
10366 2015-11-03  David Kastrup  <dak@gnu.org>
10368         [BZ #18604]
10369         * assert/assert.h (assert): Don't macro-expand failed assertion
10370         expression in error message.
10371         * malloc/malloc.c (assert): Likewise.
10373 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10375         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10376         test.
10377         * configure: Regenerated.
10379 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10381         * math/libm-test.inc (modf_test_data): Add more tests.
10382         (nearbyint_test_data): Likewise.
10383         (nextafter_test_data): Likewise.
10384         (nexttoward_test_data): Likewise.
10385         (pow_test_data): Likewise.
10386         (remainder_test_data): Likewise.
10387         (remquo_test_data): Likewise.
10388         (rint_test_data): Likewise.
10390         [BZ #19201]
10391         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10392         Check for zero remainder in case of large exponents and ensure
10393         correct sign of result in that case.
10394         * math/libm-test.inc (remainder_test_data): Add more tests.
10396         [BZ #6799]
10397         * math/s_nextafter.c: Include <errno.h>.
10398         (__nextafter): Set errno on overflow and underflow.
10399         * math/s_nexttowardf.c: Include <errno.h>.
10400         (__nexttowardf): Set errno on overflow and underflow.
10401         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10402         (__nextafterl): Set errno on overflow and underflow.
10403         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10404         (__nexttoward): Set errno on overflow and underflow.
10405         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10406         (__nexttowardf): Set errno on overflow and underflow.
10407         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10408         (__nextafterf): Set errno on overflow and underflow.
10409         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10410         (__nextafterl): Set errno on overflow and underflow.
10411         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10412         (__nexttoward): Set errno on overflow and underflow.
10413         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10414         (__nexttowardf): Set errno on overflow and underflow.
10415         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10416         (__nextafterl): Set errno on overflow and underflow.
10417         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10418         (__nexttoward): Set errno on overflow and underflow.
10419         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10420         (__nexttowardf): Set errno on overflow and underflow.
10421         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10422         (__nexttoward): Set errno on overflow and underflow.
10423         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10424         (__nexttowardf): Set errno on overflow and underflow.
10425         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10426         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10427         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10428         (__nextafterl): Set errno on overflow and underflow.
10429         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10430         setting to be missing on overflow.  Add more tests.
10431         (nexttoward_test_data): Likewise.
10433         * configure.ac (libc_cv_initfini_array): Remove configure test.
10434         * configure: Regenerated.
10436 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10438         [BZ #19189]
10439         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10440         non-finite argument handle arguments with negative sign.
10442         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10443         result from infinite argument.
10444         (j1_test_data): Likewise.
10445         (jn_test_data): Likewise.
10446         (y0_test_data): Likewise.
10447         (y1_test_data): Likewise.
10448         (yn_test_data): Likewise.
10450         [BZ #16171]
10451         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10452         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10453         * math/w_remainderf.c (dremf): Define as weak alias of
10454         __remainderf.
10455         * math/w_remainderl.c (dreml): Define as weak alias of
10456         __remainderl.
10457         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10458         __remainder.
10459         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10460         __remainderf.
10461         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10462         __remainderl.
10463         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10464         weak alias of remainderl.
10465         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10466         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10467         alias of __remainder.
10468         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10469         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10470         strong alias of __remainderl.
10471         (dreml): Use long_double_symbol.
10472         * math/Makefile (libm-calls): Remove w_drem.
10473         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10474         (CFLAGS-nldbl-drem.c): Remove variable.
10475         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10476         * math/w_drem.c: Remove file.
10477         * math/w_dremf.c: Likewise.
10478         * math/w_dreml.c: Likewise.
10479         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10480         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10481         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10483         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10484         * sysdeps/i386/configure: Regenerated.
10485         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10486         * sysdeps/x86_64/configure: Regenerated.
10488         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10489         test.
10490         (libc_cv_visibility_attribute): Likewise.
10491         (libc_cv_protected_data): Test unconditionally.
10492         (libc_cv_broken_visibility_attribute): Remove configure test.
10493         (libc_cv_have_sdata_section): Test unconditionally.
10494         * configure: Regenerated.
10496         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10497         * include/scratch_buffer.h: Include <stddef.h> instead of
10498         <libc-internal.h>.
10499         (struct scratch_buffer): Use max_align_t instead of
10500         libc_max_align_t.
10502 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10504         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10505         instead of extend_alloca.  Change control flow to avoid a goto.
10506         Remove assert which is trivially always true.
10508 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10510         [BZ #16068]
10511         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10512         (FE_ALL_EXCEPT_X86): New macro.
10513         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10514         FE_ALL_EXCEPT.  Ensure precision control is included in
10515         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10516         handle "denormal operand exception" and clear FZ and DAZ bits.
10517         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10518         (FE_ALL_EXCEPT_X86): New macro.
10519         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10520         FE_ALL_EXCEPT.  Ensure precision control is included in
10521         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10522         handle "denormal operand exception" and clear FZ and DAZ bits.
10523         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10524         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10525         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10526         test-fenv-x87 and test-fenv-sse-2.
10527         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10529         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10530         * math/test-double.h (BUILD_COMPLEX): New macro.
10531         * math/test-float.h (BUILD_COMPLEX): Likewise.
10532         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10534         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10535         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10536         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10538         instead of DBL_DENORM_MIN in comment.
10539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10540         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10541         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10542         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10543         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10544         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10546 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10548         [BZ# 19048]
10549         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10550         attached_threads member.
10551         (main_arena): Initialize attached_threads.
10552         * malloc/arena.c (list_lock): Update comment.
10553         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10554         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10555         (deattach_arena): New function.
10556         (_int_new_arena): Initialize arena reference count and deattach
10557         replaced arena.
10558         (get_free_list, reused_arena): Update reference count and deattach
10559         replaced arena.
10560         (arena_thread_freeres): Update arena reference count and only put
10561         unreferenced arenas on the free list.
10563 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10565         [BZ #19181]
10566         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10567         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10568         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10569         * math/test-fenv-clear-main.c: New file.
10570         * math/test-fenv-clear.c: Likewise.
10571         * math/Makefile (tests): Add test-fenv-clear.
10572         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10573         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10574         test-fenv-clear-sse.
10575         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10577         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10578         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10579         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10581 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10583         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10584         static libc.
10586 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10588         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10589         test.
10590         * sysdeps/i386/configure: Regenerated.
10591         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10592         test.
10593         * sysdeps/x86_64/configure: Regenerated.
10594         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10596         memset-avx2 unconditionally instead of conditionally on
10597         [$(config-cflags-avx2) = yes].
10598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10599         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10600         unconditional.
10601         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10602         * sysdeps/x86_64/multiarch/memset_chk.S
10603         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10604         to [IS_IN (libc) && SHARED].
10606 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10608         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10609         configure test.
10610         * sysdeps/arm/configure: Regenerated.
10611         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10612         Define variable if not already defined.
10614         [BZ #17404]
10615         * sysdeps/mips/atomic-machine.h
10616         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10617         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10618         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10620         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10621         unconditional.
10622         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10623         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10624         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10625         unconditional.
10626         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10627         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10628         unconditional.
10629         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10630         * stdlib/setenv.c
10631         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10632         code unconditional.
10633         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10634         Remove conditional code.
10635         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10636         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10637         unconditional.
10638         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10639         code.
10640         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10641         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10642         unconditional.
10643         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10644         code.
10645         * sysdeps/ieee754/ldbl-128/k_tanl.c
10646         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10647         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10648         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10649         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10650         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10651         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10652         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10653         unconditional.
10654         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10655         code.
10656         * sysdeps/ieee754/ldbl-96/k_tanl.c
10657         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10658         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10660         * nptl/tst-initializers1-c11.c: New file.
10661         * nptl/tst-initializers1-gnu11.c: Likewise.
10662         * nptl/Makefile (tests): Add these new tests.
10663         (CFLAGS-tst-initializers1-c11.c): New variable.
10664         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10666         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10667         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10668         instead of -std=gnu99.
10669         * configure.ac (systemtap): Test with -std=gnu11 instead of
10670         -std=gnu99.
10671         * configure: Regenerated.
10672         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10673         in compilation command in comment.
10675         * sysdeps/nptl/configure.ac: Remove file.
10676         * sysdeps/nptl/configure: Remove generated file.
10677         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10678         * configure: Regenerated.
10679         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10680         * config.make.in (have-forced-unwind): Remove variable.
10681         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10682         unconditional.
10683         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10684         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10685         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10686         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10687         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10688         unconditional.
10690 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10692         [BZ #19174]
10693         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10694         .skip_lock_out_of_tbegin_retries.
10695         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10696         (__lll_lock_elision): Likewise, and respect a value of
10697         try_tbegin <= 0.
10699 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10701         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10702         statement.
10704 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10706         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10707         variable.
10708         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10709         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10711         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10712         of -std=c1x -D_ISOC11_SOURCE.
10714         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10715         * configure: Regenerated.
10716         * manual/install.texi (Tools for Compilation): Document
10717         requirement for GCC 4.7 or later.
10718         * INSTALL: Regenerated.
10720 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10722         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10723         on CNT to a conditional jump to 'puntdata'.
10725 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10727         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10728         (libc_cv_gcc_tls_model_attr): Likewise.
10729         * configure: Regenerated.
10731         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10732         * configure: Regenerated.
10733         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10735 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10737         * configure.ac (old_glibc_headers): Remove configure test.
10738         * configure: Regenerated.
10739         * config.make.in (old-glibc-headers): Remove variable.
10740         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10741         (install): Remove dependency on remove-old-headers.
10742         (headers2_0): Remove variable.
10743         (remove-old-headers): Remove rule.
10745         * configure.ac (libc_cv_dot_text): Remove configure test.
10746         (libc_cv_asm_set_directive): Use .text instead of
10747         ${libc_cv_dot_text} in configure test.
10748         * configure: Regenerated.
10750 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10752         [BZ #19168]
10753         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10755 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10757         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10758         not support static linking.
10759         * configure: Regenerate.
10761 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10763         * math/libm-test.inc (check_float_internal): Do not special-case
10764         errors up to 0.5 ulp.
10766         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10767         log2.
10768         * math/auto-libm-test-out: Regenerated.
10769         * math/libm-test.inc (MAX_EXP): New macro.
10770         (ilogb_test_data): Add more tests.
10771         (isfinite_test_data): Likewise.
10772         (isgreater_test_data): Likewise.
10773         (isgreaterequal_test_data): Likewise.
10774         (isinf_test_data): Likewise.
10775         (isless_test_data): Likewise.
10776         (islessequal_test_data): Likewise.
10777         (islessgreater_test_data): Likewise.
10778         (isnan_test_data): Likewise.
10779         (isnormal_test_data): Likewise.
10780         (issignaling_test_data): Likewise.
10781         (isunordered_test_data): Likewise.
10782         (j0_test_data): Likewise.
10783         (j1_test_data): Likewise.
10784         (jn_test_data): Likewise.
10785         (lgamma_test_data): Likewise.
10786         (log_test_data): Likewise.
10787         (log10_test_data): Likewise.
10788         (log1p_test_data): Likewise.
10789         (log2_test_data): Likewise.
10790         (logb_test_data): Likewise.
10791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10793         [BZ #18611]
10794         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10795         avoid excess range and precision on underflow.
10796         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10797         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10798         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10799         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10800         underflow.
10801         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10803         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10804         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10805         * math/auto-libm-test-in: Do not allow missing errno setting for
10806         tests of j1 and jn.
10807         * math/auto-libm-test-out: Regenerated.
10809 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10811         [BZ #15491]
10812         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10813         floating-point environment instead of clearing all exceptions.
10814         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10815         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10816         merging in "invalid" exceptions from frndint.
10817         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10818         * math/test-nearbyint-except.c: New file.
10819         * math/Makefile (tests): Add test-nearbyint-except.
10821 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10823         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10825         * sysdeps/tile/libm-test-ulps: Regenerated.
10827 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10830         (__NR_sync_file_range2): Assume it is always defined.
10831         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10832         (__NR_sync_file_range): Assume it is always defined.
10834 2015-10-22  Andreas Schwab  <schwab@suse.de>
10836         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10837         INTERNAL_SYSCALL_ERRNO.
10838         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10839         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10840         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10841         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10842         Likewise.
10843         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10845 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10847         * io/tst-fcntl.c (fd): New static variable.
10848         (do_prepare): Open temporary file here....
10849         (do_test): ...not here.
10851         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10853 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10855         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10856         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10857         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10858         Moved before "#ifdef __ASSEMBLER__".
10860 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10862         [BZ #19156]
10863         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10864         arguments very close to 0.
10866 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10868         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10869         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10871 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10873         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10874         New.  Defined for GCC 5 and above when not compiling for
10875         profiling.
10876         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10878         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10879         Renamed to ...
10880         (CFLAGS-epoll_pwait.o): This.
10881         (CFLAGS-mmap.c): Renamed to ...
10882         (CFLAGS-mmap.o): This.
10883         (CFLAGS-mmap64.c): Renamed to ...
10884         (CFLAGS-mmap64.o): This.
10885         (CFLAGS-epoll_pwait.os): New.
10886         (CFLAGS-mmap.os): Likewise.
10887         (CFLAGS-mmap64.os): Likewise.
10888         (CFLAGS-semtimedop.os): Likewise.
10889         (CFLAGS-semtimedop.c): Renamed to ...
10890         (CFLAGS-semtimedop.o): This.
10892 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10894         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10895         warning message.
10897 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10899         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10900         * Makefile ($(objpfx)c++-types-check.out): Filter out
10901         $(+gccwarn-c) instead of -Wstrict-prototypes.
10903         * io/fts.c (fts_open): Convert to prototype-style function
10904         definition.
10905         * malloc/mcheck.c (mcheck): Likewise.
10906         (mcheck_pedantic): Likewise.
10907         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10908         internal_function.
10909         (re_search_internal): Likewise.
10910         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10911         prototype-style function definition.
10912         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10913         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10914         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10915         (xdr_utmpptr): Likewise.
10916         (xdr_utmparr): Likewise.
10917         (xdr_utmpidle): Likewise.
10918         (xdr_utmpidleptr): Likewise.
10919         (xdr_utmpidlearr): Likewise.
10921         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10922         log, log10 and log2.
10923         * math/auto-libm-test-out: Regenerated.
10924         * math/libm-test.inc (fmod_test_data): Add more tests.
10925         (fpclassify_test_data): Likewise.
10926         (frexp_test_data): Likewise.
10927         (hypot_test_data): Likewise.
10928         (ilogb_test_data): Likewise.
10930 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10932         * debug/fortify_fail.c (__fortify_fail): Convert to
10933         prototype-style function definition.  Use internal_function.
10934         * libio/genops.c (save_for_backup): Convert to prototype-style
10935         function definition.
10936         * libio/wgenops.c (save_for_wbackup): Likewise.
10937         * login/grantpt.c (grantpt): Likewise.
10938         * login/ptsname.c (ptsname): Likewise.
10939         (__ptsname_r): Likewise.
10940         * login/unlockpt.c (unlockpt): Likewise.
10941         * mach/msgserver.c (__mach_msg_server): Likewise.
10942         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10943         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10944         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10945         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10946         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10947         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10948         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10949         Likewise.
10950         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10951         internal_function.
10952         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10953         prototype-style function definition.
10954         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10955         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10956         (__pthread_create_2_0): Likewise.
10957         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10958         * nptl/register-atfork.c (__register_atfork): Likewise.
10959         * posix/glob.c (glob): Likewise.
10960         * posix/regcomp.c (re_comp): Likewise.
10961         * posix/regexec.c (re_exec): Likewise.
10962         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10963         [!__STDC__]: Remove conditional code.
10964         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10965         [!__STDC__]: Remove conditional code.
10966         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10967         [!__STDC__]: Remove conditional code.
10968         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10969         [!__STDC__]: Remove conditional code.
10970         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10971         [!__STDC__]: Remove conditional code.
10972         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10973         [!__STDC__]: Remove conditional code.
10974         * stdlib/mul.c [__STDC__]: Make code unconditional.
10975         [!__STDC__]: Remove conditional code.
10976         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10977         [!__STDC__]: Remove conditional code.
10978         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10979         [!__STDC__]: Remove conditional code.
10980         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10981         function definition.
10982         (STRTOF): Likewise.
10983         * stdlib/strtod_l.c (__STRTOF): Likewise.
10984         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10985         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10986         (__strtol_l): Likewise.
10987         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10988         [!__STDC__]: Remove conditional code.
10989         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10990         definition.
10991         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10992         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10993         type.
10994         (__strcasecmp): Convert to prototype-style function definition.
10995         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10996         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10997         type.
10998         (__strncasecmp): Convert to prototype-style function definition.
10999         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11000         * sunrpc/xdr.c (xdr_union): Likewise.
11001         * sunrpc/xdr_array.c (xdr_array): Likewise.
11002         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11003         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11004         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11005         Likewise.
11006         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11007         Likewise.
11008         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11009         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11010         Likewise.
11011         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11012         (LOCALE_PARAM_PROTO): Likewise.
11013         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11014         argument type.
11015         (ut_argument_spec): Remove macro.
11016         (ut_argument_spec_iso): Rename to ut_argument_spec.
11017         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11018         prototype-style function definition.
11019         (memcpy_uppcase): Likewise.
11020         (__strftime_internal): Likewise.
11021         (my_strftime): Likewise.
11022         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11023         (LOCALE_PARAM_DECL): Likewise.
11024         [_LIBC] (LOCALE_PARAM): Include argument type.
11025         (__strptime_internal): Convert to prototype-style function
11026         definition.
11027         (strptime): Likewise.
11028         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11029         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11030         type.
11031         (__wcscasecmp): Convert to prototype-style function definition.
11032         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11033         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11034         type.
11035         (__wcsncasecmp): Convert to prototype-style function definition.
11037         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11038         function definition.
11039         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11040         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11041         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11042         * elf/dl-minimal.c (_itoa): Likewise.
11043         * hurd/hurdmalloc.c (malloc): Likewise.
11044         (free): Likewise.
11045         (realloc): Likewise.
11046         * inet/inet6_option.c (inet6_option_space): Likewise.
11047         (inet6_option_init): Likewise.
11048         (inet6_option_append): Likewise.
11049         (inet6_option_alloc): Likewise.
11050         (inet6_option_next): Likewise.
11051         (inet6_option_find): Likewise.
11052         * io/ftw.c (FTW_NAME): Likewise.
11053         (NFTW_NAME): Likewise.
11054         (NFTW_NEW_NAME): Likewise.
11055         (NFTW_OLD_NAME): Likewise.
11056         * libio/iofwide.c (_IO_fwide): Likewise.
11057         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11058         (_IO_str_init_static): Likewise.
11059         (_IO_str_init_readonly): Likewise.
11060         (_IO_str_overflow): Likewise.
11061         (_IO_str_underflow): Likewise.
11062         (_IO_str_count): Likewise.
11063         (_IO_str_seekoff): Likewise.
11064         (_IO_str_pbackfail): Likewise.
11065         (_IO_str_finish): Likewise.
11066         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11067         (_IO_wstr_overflow): Likewise.
11068         (_IO_wstr_underflow): Likewise.
11069         (_IO_wstr_count): Likewise.
11070         (_IO_wstr_seekoff): Likewise.
11071         (_IO_wstr_pbackfail): Likewise.
11072         (_IO_wstr_finish): Likewise.
11073         * locale/programs/localedef.c (normalize_codeset): Likewise.
11074         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11075         (add_locales_to_archive): Likewise.
11076         (delete_locales_from_archive): Likewise.
11077         * malloc/malloc.c (__libc_mallinfo): Likewise.
11078         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11079         * misc/tsearch.c (__tfind): Likewise.
11080         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11081         * nptl/pthread_attr_getdetachstate.c
11082         (__pthread_attr_getdetachstate): Likewise.
11083         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11084         Likewise.
11085         * nptl/pthread_attr_getinheritsched.c
11086         (__pthread_attr_getinheritsched): Likewise.
11087         * nptl/pthread_attr_getschedparam.c
11088         (__pthread_attr_getschedparam): Likewise.
11089         * nptl/pthread_attr_getschedpolicy.c
11090         (__pthread_attr_getschedpolicy): Likewise.
11091         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11092         Likewise.
11093         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11094         Likewise.
11095         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11096         Likewise.
11097         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11098         Likewise.
11099         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11100         (__pthread_attr_init_2_0): Likewise.
11101         * nptl/pthread_attr_setdetachstate.c
11102         (__pthread_attr_setdetachstate): Likewise.
11103         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11104         Likewise.
11105         * nptl/pthread_attr_setinheritsched.c
11106         (__pthread_attr_setinheritsched): Likewise.
11107         * nptl/pthread_attr_setschedparam.c
11108         (__pthread_attr_setschedparam): Likewise.
11109         * nptl/pthread_attr_setschedpolicy.c
11110         (__pthread_attr_setschedpolicy): Likewise.
11111         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11112         Likewise.
11113         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11114         Likewise.
11115         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11116         Likewise.
11117         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11118         Likewise.
11119         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11120         Likewise.
11121         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11122         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11123         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11124         use internal_function.
11125         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11126         prototype-style function definition.
11127         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11128         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11129         internal_function.
11130         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11131         Convert to prototype-style function definition.
11132         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11133         Likewise.
11134         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11135         Likewise.
11136         (__pthread_mutex_unlock): Likewise.
11137         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11138         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11139         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11140         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11141         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11142         * nss/makedb.c (process_input): Likewise.
11143         * posix/fnmatch.c (__strchrnul): Likewise.
11144         (__wcschrnul): Likewise.
11145         (fnmatch): Likewise.
11146         * posix/fnmatch_loop.c (FCT): Likewise.
11147         * posix/glob.c (globfree): Likewise.
11148         (__glob_pattern_type): Likewise.
11149         (__glob_pattern_p): Likewise.
11150         * posix/regcomp.c (re_compile_pattern): Likewise.
11151         (re_set_syntax): Likewise.
11152         (re_compile_fastmap): Likewise.
11153         (regcomp): Likewise.
11154         (regerror): Likewise.
11155         (regfree): Likewise.
11156         * posix/regexec.c (regexec): Likewise.
11157         (re_match): Likewise.
11158         (re_search): Likewise.
11159         (re_match_2): Likewise.
11160         (re_search_2): Likewise.
11161         (re_search_stub): Likewise.  Use internal_function
11162         (re_copy_regs): Likewise.
11163         (re_set_registers): Convert to prototype-style function
11164         definition.
11165         (prune_impossible_nodes): Likewise.  Use internal_function.
11166         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11167         prototype-style function definition.
11168         (inet_net_pton_ipv4): Likewise.
11169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11170         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11171         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11172         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11173         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11174         Make variadic.
11175         * time/strptime_l.c (localtime_r): Convert to prototype-style
11176         function definition.
11177         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11178         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11179         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11180         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11182         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11183         definition.
11184         (_ufc_doit_r): Likewise.
11185         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11186         (_ufc_output_conversion_r): Likewise.
11187         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11188         * inet/rcmd.c (rcmd_af): Likewise.
11189         (rcmd): Likewise.
11190         (ruserok_af): Likewise.
11191         (ruserok): Likewise.
11192         (ruserok2_sa): Likewise.
11193         (ruserok_sa): Likewise.
11194         (iruserok_af): Likewise.
11195         (iruserok): Likewise.
11196         (__ivaliduser): Likewise.
11197         (__validuser2_sa): Likewise.
11198         * inet/rexec.c (rexec_af): Likewise.
11199         (rexec): Likewise.
11200         * inet/ruserpass.c (ruserpass): Likewise.
11201         * locale/programs/xmalloc.c (xcalloc): Likewise.
11202         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11203         * math/w_drem.c (__drem): Likewise.
11204         * math/w_dremf.c (__dremf): Likewise.
11205         * math/w_dreml.c (__dreml): Likewise.
11206         * misc/daemon.c (daemon): Likewise.
11207         * resolv/res_debug.c (p_fqnname): Likewise.
11208         * stdlib/div.c (div): Likewise.
11209         * string/memcmp.c (memcmp_bytes): Likewise.
11210         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11211         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11213         * crypt/cert.c (main): Convert to prototype-style function
11214         definition.
11215         * io/pipe.c (__pipe): Likewise.
11216         * io/pipe2.c (__pipe2): Likewise.
11217         * misc/futimesat.c (futimesat): Likewise.
11218         * misc/utimes.c (__utimes): Likewise.
11219         * posix/execve.c (__execve): Likewise.
11220         * posix/execvp.c (execvp): Likewise.
11221         * posix/execvpe.c (__execvpe): Likewise.
11222         * posix/fexecve.c (fexecve): Likewise.
11223         * socket/socketpair.c (socketpair): Likewise.
11224         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11225         * stdlib/erand48.c (erand48): Likewise.
11226         * stdlib/erand48_r.c (__erand48_r): Likewise.
11227         * stdlib/jrand48.c (jrand48): Likewise.
11228         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11229         * stdlib/lcong48.c (lcong48): Likewise.
11230         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11231         * stdlib/nrand48.c (nrand48): Likewise.
11232         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11233         * stdlib/seed48.c (seed48): Likewise.
11234         * stdlib/seed48_r.c (__seed48_r): Likewise.
11235         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11236         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11237         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11239 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11241         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11242         * configure: Regenerated.
11243         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11244         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11245         unconditional.
11246         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11247         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11248         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11249         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11250         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11251         unconditional.
11252         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11254         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11255         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11257         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11258         function definition.
11259         * crypt/crypt_util.c (__encrypt_r): Likewise.
11260         * libio/genops.c (_IO_no_init): Likewise.
11261         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11262         (_IO_old_fopencookie): Likewise.
11263         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11264         * libio/iogetline.c (_IO_getline): Likewise.
11265         (_IO_getline_info): Likewise.
11266         * libio/iogetwline.c (_IO_getwline): Likewise.
11267         (_IO_getwline_info): Likewise.
11268         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11269         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11270         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11271         (find_entry): Likewise.
11272         (iterate_table): Likewise.
11273         (lookup): Likewise.
11274         * login/forkpty.c (forkpty): Likewise.
11275         * misc/hsearch_r.c (__hsearch_r): Likewise.
11276         * misc/select.c (__select): Likewise.
11277         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11278         Likewise.
11279         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11280         Likewise.
11281         * nptl/old_pthread_cond_timedwait.c
11282         (__pthread_cond_timedwait_2_0): Likewise.
11283         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11284         * nptl/pthread_barrierattr_getpshared.c
11285         (pthread_barrierattr_getpshared): Likewise.
11286         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11287         Likewise.
11288         * nptl/pthread_mutex_setprioceiling.c
11289         (pthread_mutex_setprioceiling): Likewise.
11290         * nptl/pthread_mutexattr_getprioceiling.c
11291         (pthread_mutexattr_getprioceiling): Likewise.
11292         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11293         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11294         Likewise.
11295         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11296         Likewise.
11297         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11298         Likewise.
11299         * socket/recvfrom.c (__recvfrom): Likewise.
11300         * socket/sendto.c (__sendto): Likewise.
11301         * socket/setsockopt.c (__setsockopt): Likewise.
11302         * stdio-common/_itoa.c (_itoa): Likewise.
11303         * stdio-common/_itowa.c (_itowa): Likewise.
11304         * stdio-common/reg-printf.c (__register_printf_specifier):
11305         Likewise.
11306         (__register_printf_function): Likewise.
11307         * stdio-common/tempname.c (__path_search): Likewise.
11308         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11309         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11310         * stdlib/random_r.c (__initstate_r): Likewise.
11311         * stdlib/setenv.c (__add_to_environ): Likewise.
11312         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11313         * streams/getpmsg.c (getpmsg): Likewise.
11314         * streams/putmsg.c (putmsg): Likewise.
11315         * streams/putpmsg.c (putpmsg): Likewise.
11316         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11317         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11318         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11319         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11320         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11321         * sunrpc/svc_udp.c (cache_get): Likewise.
11322         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11323         * sysdeps/mach/hurd/getcwd.c
11324         (__canonicalize_directory_name_internal): Likewise.
11325         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11326         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11327         * sysdeps/mach/hurd/select.c (__select): Likewise.
11328         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11329         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11330         * sysdeps/sparc/nptl/pthread_barrier_init.c
11331         (__pthread_barrier_init): Likewise.
11332         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11333         (__pthread_cond_timedwait): Likewise.
11334         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11335         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11336         Likewise.
11337         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11338         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11339         Likewise.
11340         * sysvipc/semtimedop.c (semtimedop): Likewise.
11341         * time/setitimer.c (__setitimer): Likewise.
11342         * time/strftime_l.c (emacs_strftime): Likewise.
11344 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11346         * config.make.in (have-ssp): Delete.
11347         (stack-protector): New variable.
11348         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11349         cache test for -fstack-protector-strong.  Export stack_protector to
11350         the best ssp flag.
11351         * configure: Regenerated.
11352         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11353         * nscd/Makefile (CFLAGS-nscd): Likewise.
11354         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11356 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11358         [BZ #19122]
11359         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11360         attribute_hidden.
11362 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11364         [BZ #18743]
11365         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11366         code to...
11367         (ELIDE_LOCK): ...here.
11368         (__get_new_count): New function with part of the code from
11369         __elide_lock that updates the value of adapt_count after a
11370         transaction abort.
11371         (__elided_trylock): Moved this code to...
11372         (ELIDE_TRYLOCK): ...here.
11374 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11376         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11377         * configure: Regenerate.
11378         * INSTALL: Regenerate.
11379         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11380         and tweak grammar.
11382 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11384         * login/programs/pt_chown.c: Include signal.h
11385         (main): Clear any signal mask from the parent process.
11387 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11389         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11390         * configure: Regenerated.
11391         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11392         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11393         $(gnu89-inline-CFLAGS).
11395         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11396         test.
11397         (libc_cv_asm_weakext_directive): Likewise.
11398         * configure: Regenerated.
11399         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11400         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11401         * include/libc-symbols.h
11402         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11403         #error.
11404         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11405         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11407         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11408         prototype-style function definition.
11409         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11410         * sysdeps/i386/ffs.c (__ffs): Likewise.
11411         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11412         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11413         Likewise.
11414         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11415         Likewise.
11416         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11417         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11418         Likewise.
11419         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11420         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11421         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11422         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11423         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11424         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11425         * sysdeps/mach/hurd/access.c (__access): Likewise.
11426         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11427         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11428         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11429         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11430         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11431         (cthread_getspecific): Likewise.
11432         (cthread_setspecific): Likewise.
11433         (__libc_getspecific): Likewise.
11434         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11435         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11436         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11437         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11438         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11439         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11440         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11441         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11442         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11443         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11444         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11445         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11446         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11447         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11448         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11449         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11450         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11451         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11452         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11453         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11454         * sysdeps/mach/hurd/link.c (__link): Likewise.
11455         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11456         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11457         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11458         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11459         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11460         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11461         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11462         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11463         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11464         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11465         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11466         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11467         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11468         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11469         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11470         * sysdeps/mach/hurd/send.c (__send): Likewise.
11471         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11472         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11473         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11474         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11475         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11476         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11477         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11478         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11479         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11480         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11481         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11482         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11483         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11484         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11485         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11486         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11487         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11488         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11489         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11490         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11491         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11492         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11493         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11494         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11495         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11496         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11497         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11498         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11499         * sysdeps/posix/alarm.c (alarm): Likewise.
11500         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11501         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11502         * sysdeps/posix/dup.c (__dup): Likewise.
11503         * sysdeps/posix/dup2.c (__dup2): Likewise.
11504         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11505         (main): Likewise.
11506         * sysdeps/posix/flock.c (__flock): Likewise.
11507         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11508         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11509         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11510         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11511         * sysdeps/posix/isatty.c (__isatty): Likewise.
11512         * sysdeps/posix/killpg.c (killpg): Likewise.
11513         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11514         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11515         * sysdeps/posix/raise.c (raise): Likewise.
11516         * sysdeps/posix/remove.c (remove): Likewise.
11517         * sysdeps/posix/rename.c (rename): Likewise.
11518         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11519         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11520         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11521         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11522         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11523         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11524         * sysdeps/posix/sigset.c (sigset): Likewise.
11525         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11526         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11527         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11528         * sysdeps/posix/time.c (time): Likewise.
11529         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11530         (ttyname): Likewise.
11531         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11532         * sysdeps/posix/utime.c (utime): Likewise.
11533         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11534         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11535         Likewise.
11536         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11537         (pthread_spin_trylock): Likewise.
11538         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11539         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11540         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11541         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11542         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11543         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11544         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11545         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11546         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11547         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11548         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11549         * sysdeps/s390/ffs.c (__ffs): Likewise.
11550         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11551         Likewise.
11552         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11553         Likewise.
11554         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11555         Likewise.
11556         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11557         (pthread_barrier_destroy): Likewise.
11558         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11559         (__pthread_barrier_wait): Likewise.
11560         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11561         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11562         (__pthread_barrier_wait): Likewise.
11563         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11564         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11565         (memcmp_not_common_alignment): Likewise.
11566         (MEMCMP): Likewise.
11567         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11568         (_wordcopy_fwd_dest_aligned): Likewise.
11569         (_wordcopy_bwd_aligned): Likewise.
11570         (_wordcopy_bwd_dest_aligned): Likewise.
11571         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11572         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11573         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11574         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11575         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11576         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11577         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11578         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11579         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11580         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11581         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11582         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11583         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11584         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11585         * sysdeps/unix/stime.c (stime): Likewise.
11586         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11587         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11588         Likewise.  Use internal_function.
11589         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11590         Convert to prototype-style function definition.
11591         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11592         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11593         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11594         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11595         Likewise.  Use internal_function.
11596         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11597         prototype-style function definition
11598         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11599         Likewise.
11600         (__getlogin_r): Likewise.
11601         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11602         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11603         (__pthread_cond_broadcast): Likewise.
11604         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11605         (__pthread_cond_destroy): Likewise.
11606         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11607         (__pthread_cond_init): Likewise.
11608         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11609         (__pthread_cond_signal): Likewise.
11610         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11611         (__pthread_cond_wait): Likewise.
11612         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11613         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11614         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11615         Likewise.
11616         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11617         Likewise.
11618         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11619         Likewise.
11620         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11621         Likewise.
11622         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11624         (__ftruncate64): Likewise.
11625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11626         (truncate64): Likewise.
11627         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11628         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11629         (pthread_getcpuclockid): Likewise.
11630         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11631         Likewise.
11632         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11633         Likewise.
11634         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11635         Likewise.
11636         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11637         Likewise.
11638         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11639         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11640         (__libc_sigaction): Likewise.
11641         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11642         Likewise.
11643         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11644         (__sigprocmask): Likewise.
11645         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11646         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11647         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11648         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11649         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11650         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11651         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11652         Likewise.
11653         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11654         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11655         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11656         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11657         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11658         Likewise.
11659         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11660         (__sigprocmask): Likewise.
11661         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11662         (cfgetispeed): Likewise.
11663         (cfsetospeed): Likewise.
11664         (cfsetispeed): Likewise.
11665         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11666         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11667         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11668         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11669         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11670         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11671         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11672         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11673         Likewise.
11674         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11675         Likewise.
11676         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11677         Likewise.
11678         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11679         Likewise.
11680         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11682 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11684         sunrpc: Rewrite with explicit TLS access using __thread.
11685         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11686         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11687         directly.
11688         (__rpc_thread_variables): Access thread_rpc_vars directly.
11689         Eliminate redundant assignment of the tvp variable.
11691 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11693         malloc: Rewrite with explicit TLS access using __thread.
11694         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11695         (tsd_setspecific, tsd_getspecific): Remove.
11696         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11697         (tsd_setspecific, tsd_getspecific): Likewise.
11698         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11699         (tsd_setspecific, tsd_getspecific): Likewise.
11700         * malloc/arena.c (thread_arena): New TLS variable.
11701         (arena_key): Remove variable.
11702         (arena_get): Use thread_arena.
11703         (arena_lookup): Remove macro.
11704         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11705         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11706         (_int_new_arena, get_free_list, reused_arena)
11707         (arena_thread_freeres): Use thread_arena.
11708         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11709         tsd_getspecific, tsd_setspecific from safety annotations.
11710         (Allocating Cleared Space): Remove arena_lookup from safety
11711         annotations.
11713 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11715         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11716         struct scratch_buffer instead of extend_alloca.
11718 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11720         * sysdeps/unix/sysv/linux/kernel-features.h
11721         (__ASSUME_SOCK_CLOEXEC): Remove.
11722         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11723         (__have_paccept): Remove unused macro.
11724         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11725         * misc/syslog.c (openlog_internal): Remove fallback code for
11726         !__ASSUME_SOCK_CLOEXEC.
11727         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11728         missing SOCK_CLOEXEC.
11729         * nscd/connections.c (have_sock_cloexec): Remove definition.
11730         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11731         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11732         !__ASSUME_SOCK_CLOEXEC.
11733         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11734         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11735         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11736         definition.
11737         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11738         code for !__ASSUME_SOCK_CLOEXEC.
11740 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11742         [BZ #18982]
11743         * manual/stdio.texi (Variable Arguments Output): Add portability
11744         note, explaining that vfprintf clobbers the va_list pointer.
11746 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11748         * math/libm-test.inc (fabs_test_data): Add more tests.
11749         (fdim_test_data): Likewise.
11750         (fma_test_data): Likewise.
11751         (fmax_test_data): Likewise.
11752         (fmin_test_data): Likewise.
11753         (fmod_test_data): Likewise.
11755 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11757         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11758         data.
11760 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11762         * math/libm-test.inc (ceil_test_data): Add more tests and more
11763         expectations for "inexact".
11764         (floor_test_data): Add more tests.
11765         (round_test_data): Likewise.
11766         (trunc_test_data): Likewise.
11768         * crypt/cert.c (good_bye): Convert to prototype-style function
11769         definition.
11770         (get8): Likewise.
11771         (put8): Likewise.
11772         * crypt/crypt-entry.c (crypt): Likewise.
11773         (__fcrypt): Likewise.
11774         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11775         (_ufc_set_bits): Likewise.
11776         (_ufc_clearmem): Likewise.
11777         (__init_des_r): Likewise.
11778         (shuffle_sb): Likewise.
11779         (shuffle_sb): Likewise.
11780         (_ufc_setup_salt_r): Likewise.
11781         (_ufc_mk_keytab_r): Likewise.
11782         (_ufc_dofinalperm_r): Likewise.
11783         (encrypt): Likewise.
11784         (__setkey_r): Likewise.
11785         (setkey): Likewise.
11786         * crypt/md5.c (md5_init_ctx): Likewise.
11787         (md5_read_ctx): Likewise.
11788         (md5_finish_ctx): Likewise.
11789         (md5_stream): Likewise.
11790         (md5_buffer): Likewise.
11791         (md5_process_bytes): Likewise.
11792         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11793         (__sha256_finish_ctx): Likewise.
11794         (__sha256_process_bytes): Likewise.
11795         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11796         (__sha512_finish_ctx): Likewise.
11797         (__sha512_process_bytes): Likewise.
11798         * ctype/isctype.c (__isctype): Likewise.
11799         * debug/backtrace.c (__backtrace): Likewise.
11800         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11801         * debug/fgets_chk.c (__fgets_chk): Likewise.
11802         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11803         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11804         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11805         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11806         * debug/memset_chk.c (__memset_chk): Likewise.
11807         * debug/strcat_chk.c (__strcat_chk): Likewise.
11808         * debug/strncat_chk.c (__strncat_chk): Likewise.
11809         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11810         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11811         * dirent/dirfd.c (dirfd): Likewise.
11812         * dirent/getdents.c (__getdirentries): Likewise.
11813         * dirent/getdents64.c (getdirentries64): Likewise.
11814         * dirent/rewinddir.c (__rewinddir): Likewise.
11815         * dirent/seekdir.c (seekdir): Likewise.
11816         * dirent/telldir.c (telldir): Likewise.
11817         * elf/sln.c (makesymlinks): Likewise.
11818         (makesymlink): Likewise.
11819         * gmon/gmon.c (__moncontrol): Likewise.
11820         (__monstartup): Likewise.
11821         (write_hist): Likewise.
11822         (write_call_graph): Likewise.
11823         (write_bb_counts): Likewise.
11824         * grp/setgroups.c (setgroups): Likewise.
11825         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11826         * inet/inet_net.c (inet_network): Likewise.
11827         * inet/inet_netof.c (inet_netof): Likewise.
11828         * inet/rcmd.c (rresvport_af): Likewise.
11829         (rresvport): Likewise.
11830         * io/access.c (__access): Likewise.
11831         * io/chdir.c (__chdir): Likewise.
11832         * io/chmod.c (__chmod): Likewise.
11833         * io/chown.c (__chown): Likewise.
11834         * io/close.c (__close): Likewise.
11835         * io/creat.c (creat): Likewise.
11836         * io/creat64.c (creat64): Likewise.
11837         * io/dup.c (__dup): Likewise.
11838         * io/dup2.c (__dup2): Likewise.
11839         * io/dup3.c (__dup3): Likewise.
11840         * io/euidaccess.c (__euidaccess): Likewise.
11841         * io/faccessat.c (faccessat): Likewise.
11842         * io/fchmod.c (__fchmod): Likewise.
11843         * io/fchmodat.c (fchmodat): Likewise.
11844         * io/fchown.c (__fchown): Likewise.
11845         * io/fchownat.c (fchownat): Likewise.
11846         * io/fcntl.c (__fcntl): Likewise.
11847         * io/flock.c (__flock): Likewise.
11848         * io/fts.c (fts_load): Likewise.
11849         (fts_close): Likewise.
11850         (fts_read): Likewise.
11851         (fts_set): Likewise.
11852         (fts_children): Likewise.
11853         (fts_build): Likewise.
11854         (fts_stat): Likewise.
11855         (fts_sort): Likewise.
11856         (fts_alloc): Likewise.
11857         (fts_lfree): Likewise.
11858         (fts_palloc): Likewise.
11859         (fts_padjust): Likewise.
11860         (fts_maxarglen): Likewise.
11861         (fts_safe_changedir): Likewise.
11862         * io/getwd.c (getwd): Likewise.
11863         * io/isatty.c (__isatty): Likewise.
11864         * io/lchown.c (__lchown): Likewise.
11865         * io/link.c (__link): Likewise.
11866         * io/linkat.c (linkat): Likewise.
11867         * io/lseek.c (__libc_lseek): Likewise.
11868         * io/mkdir.c (__mkdir): Likewise.
11869         * io/mkdirat.c (mkdirat): Likewise.
11870         * io/mkfifo.c (mkfifo): Likewise.
11871         * io/mkfifoat.c (mkfifoat): Likewise.
11872         * io/open.c (__libc_open): Likewise.
11873         * io/open64.c (__libc_open64): Likewise.
11874         * io/readlink.c (__readlink): Likewise.
11875         * io/readlinkat.c (readlinkat): Likewise.
11876         * io/rmdir.c (__rmdir): Likewise.
11877         * io/symlink.c (__symlink): Likewise.
11878         * io/symlinkat.c (symlinkat): Likewise.
11879         * io/ttyname.c (ttyname): Likewise.
11880         * io/ttyname_r.c (__ttyname_r): Likewise.
11881         * io/umask.c (__umask): Likewise.
11882         * io/unlink.c (__unlink): Likewise.
11883         * io/unlinkat.c (unlinkat): Likewise.
11884         * io/utime.c (utime): Likewise.
11885         * libio/clearerr.c (clearerr): Likewise.
11886         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11887         * libio/feof.c (_IO_feof): Likewise.
11888         * libio/feof_u.c (feof_unlocked): Likewise.
11889         * libio/ferror.c (_IO_ferror): Likewise.
11890         * libio/ferror_u.c (ferror_unlocked): Likewise.
11891         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11892         * libio/fileno.c (__fileno): Likewise.
11893         * libio/fputc.c (fputc): Likewise.
11894         * libio/fputc_u.c (fputc_unlocked): Likewise.
11895         * libio/fputwc.c (fputwc): Likewise.
11896         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11897         * libio/freopen.c (freopen): Likewise.
11898         * libio/freopen64.c (freopen64): Likewise.
11899         * libio/fseek.c (fseek): Likewise.
11900         * libio/fseeko.c (fseeko): Likewise.
11901         * libio/fseeko64.c (fseeko64): Likewise.
11902         * libio/ftello.c (__ftello): Likewise.
11903         * libio/ftello64.c (ftello64): Likewise.
11904         * libio/fwide.c (fwide): Likewise.
11905         * libio/genops.c (_IO_un_link): Likewise.
11906         (_IO_link_in): Likewise.
11907         (_IO_least_marker): Likewise.
11908         (_IO_switch_to_main_get_area): Likewise.
11909         (_IO_switch_to_backup_area): Likewise.
11910         (_IO_switch_to_get_mode): Likewise.
11911         (_IO_free_backup_area): Likewise.
11912         (_IO_switch_to_put_mode): Likewise.
11913         (__overflow): Likewise.
11914         (__underflow): Likewise.
11915         (__uflow): Likewise.
11916         (_IO_setb): Likewise.
11917         (_IO_doallocbuf): Likewise.
11918         (_IO_default_underflow): Likewise.
11919         (_IO_default_uflow): Likewise.
11920         (_IO_default_xsputn): Likewise.
11921         (_IO_sgetn): Likewise.
11922         (_IO_default_xsgetn): Likewise.
11923         (_IO_sync): Likewise.
11924         (_IO_default_setbuf): Likewise.
11925         (_IO_default_seekpos): Likewise.
11926         (_IO_default_doallocate): Likewise.
11927         (_IO_init): Likewise.
11928         (_IO_old_init): Likewise.
11929         (_IO_default_sync): Likewise.
11930         (_IO_default_finish): Likewise.
11931         (_IO_default_seekoff): Likewise.
11932         (_IO_sputbackc): Likewise.
11933         (_IO_sungetc): Likewise.
11934         (_IO_set_column): Likewise.
11935         (_IO_set_column): Likewise.
11936         (_IO_adjust_column): Likewise.
11937         (_IO_get_column): Likewise.
11938         (_IO_init_marker): Likewise.
11939         (_IO_remove_marker): Likewise.
11940         (_IO_marker_difference): Likewise.
11941         (_IO_marker_delta): Likewise.
11942         (_IO_seekmark): Likewise.
11943         (_IO_unsave_markers): Likewise.
11944         (_IO_nobackup_pbackfail): Likewise.
11945         (_IO_default_pbackfail): Likewise.
11946         (_IO_default_seek): Likewise.
11947         (_IO_default_stat): Likewise.
11948         (_IO_default_read): Likewise.
11949         (_IO_default_write): Likewise.
11950         (_IO_default_showmanyc): Likewise.
11951         (_IO_default_imbue): Likewise.
11952         (_IO_iter_next): Likewise.
11953         (_IO_iter_file): Likewise.
11954         * libio/getc.c (_IO_getc): Likewise.
11955         * libio/getwc.c (_IO_getwc): Likewise.
11956         * libio/iofclose.c (_IO_new_fclose): Likewise.
11957         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11958         * libio/iofflush.c (_IO_fflush): Likewise.
11959         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11960         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11961         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11962         * libio/iofgets.c (_IO_fgets): Likewise.
11963         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11964         * libio/iofgetws.c (fgetws): Likewise.
11965         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11966         * libio/iofopen64.c (_IO_fopen64): Likewise.
11967         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11968         (_IO_cookie_write): Likewise.
11969         (_IO_cookie_seek): Likewise.
11970         (_IO_cookie_close): Likewise.
11971         (_IO_cookie_seekoff): Likewise.
11972         (_IO_old_cookie_seek): Likewise.
11973         * libio/iofputs.c (_IO_fputs): Likewise.
11974         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11975         * libio/iofputws.c (fputws): Likewise.
11976         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11977         * libio/iofread.c (_IO_fread): Likewise.
11978         * libio/iofread_u.c (__fread_unlocked): Likewise.
11979         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11980         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11981         * libio/ioftell.c (_IO_ftell): Likewise.
11982         * libio/iofwrite.c (_IO_fwrite): Likewise.
11983         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11984         * libio/iogets.c (_IO_gets): Likewise.
11985         * libio/iopadn.c (_IO_padn): Likewise.
11986         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11987         (_IO_new_popen): Likewise.
11988         (_IO_new_proc_close): Likewise.
11989         * libio/ioputs.c (_IO_puts): Likewise.
11990         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11991         (_IO_seekoff): Likewise.
11992         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11993         (_IO_seekpos): Likewise.
11994         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11995         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11996         * libio/ioungetc.c (_IO_ungetc): Likewise.
11997         * libio/ioungetwc.c (ungetwc): Likewise.
11998         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11999         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12000         * libio/iowpadn.c (_IO_wpadn): Likewise.
12001         * libio/libc_fatal.c (__libc_fatal): Likewise.
12002         * libio/memstream.c (__open_memstream): Likewise.
12003         (_IO_mem_sync): Likewise.
12004         (_IO_mem_finish): Likewise.
12005         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12006         (_IO_old_file_close_it): Likewise.
12007         (_IO_old_file_finish): Likewise.
12008         (_IO_old_file_fopen): Likewise.
12009         (_IO_old_file_attach): Likewise.
12010         (_IO_old_file_setbuf): Likewise.
12011         (_IO_old_do_write): Likewise.
12012         (old_do_write): Likewise.
12013         (_IO_old_file_underflow): Likewise.
12014         (_IO_old_file_overflow): Likewise.
12015         (_IO_old_file_sync): Likewise.
12016         (_IO_old_file_seekoff): Likewise.
12017         (_IO_old_file_write): Likewise.
12018         (_IO_old_file_xsputn): Likewise.
12019         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12020         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12021         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12022         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12023         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12024         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12025         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12026         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12027         (_IO_old_popen): Likewise.
12028         (_IO_old_proc_close): Likewise.
12029         * libio/oldpclose.c (__old_pclose): Likewise.
12030         * libio/pclose.c (__new_pclose): Likewise.
12031         * libio/peekc.c (_IO_peekc_locked): Likewise.
12032         * libio/putc.c (_IO_putc): Likewise.
12033         * libio/putc_u.c (putc_unlocked): Likewise.
12034         * libio/putchar.c (putchar): Likewise.
12035         * libio/putchar_u.c (putchar_unlocked): Likewise.
12036         * libio/putwc.c (putwc): Likewise.
12037         * libio/putwc_u.c (putwc_unlocked): Likewise.
12038         * libio/putwchar.c (putwchar): Likewise.
12039         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12040         * libio/rewind.c (rewind): Likewise.
12041         * libio/setbuf.c (setbuf): Likewise.
12042         * libio/setlinebuf.c (setlinebuf): Likewise.
12043         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12044         * libio/vscanf.c (_IO_vscanf): Likewise.
12045         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12046         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12047         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12048         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12049         (_IO_switch_to_main_wget_area): Likewise.
12050         (_IO_switch_to_wbackup_area): Likewise.
12051         (_IO_wsetb): Likewise.
12052         (_IO_wdefault_pbackfail): Likewise.
12053         (_IO_wdefault_finish): Likewise.
12054         (_IO_wdefault_uflow): Likewise.
12055         (__woverflow): Likewise.
12056         (__wuflow): Likewise.
12057         (__wunderflow): Likewise.
12058         (_IO_wdefault_xsputn): Likewise.
12059         (_IO_wdefault_xsgetn): Likewise.
12060         (_IO_wdoallocbuf): Likewise.
12061         (_IO_wdefault_doallocate): Likewise.
12062         (_IO_switch_to_wget_mode): Likewise.
12063         (_IO_free_wbackup_area): Likewise.
12064         (_IO_switch_to_wput_mode): Likewise.
12065         (_IO_sputbackwc): Likewise.
12066         (_IO_sungetwc): Likewise.
12067         (_IO_adjust_wcolumn): Likewise.
12068         (_IO_init_wmarker): Likewise.
12069         (_IO_wmarker_delta): Likewise.
12070         (_IO_seekwmark): Likewise.
12071         (_IO_unsave_wmarkers): Likewise.
12072         * libio/wmemstream.c (open_wmemstream): Likewise.
12073         (_IO_wmem_sync): Likewise.
12074         (_IO_wmem_finish): Likewise.
12075         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12076         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12077         * locale/programs/simple-hash.c (init_hash): Likewise.
12078         (delete_hash): Likewise.
12079         (insert_entry): Likewise.
12080         (set_entry): Likewise.
12081         (next_prime): Likewise.
12082         (is_prime): Likewise.
12083         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12084         (xmalloc): Likewise.
12085         (xrealloc): Likewise.
12086         * locale/programs/xstrdup.c (xstrdup): Likewise.
12087         * localedata/collate-test.c (xstrcoll): Likewise.
12088         * localedata/xfrm-test.c (xstrcmp): Likewise.
12089         * login/getlogin_r.c (__getlogin_r): Likewise.
12090         * login/getpt.c (__posix_openpt): Likewise.
12091         * login/login_tty.c (login_tty): Likewise.
12092         * login/setlogin.c (setlogin): Likewise.
12093         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12094         (mach_msg_destroy_port): Likewise.
12095         (mach_msg_destroy_memory): Likewise.
12096         * malloc/mcheck.c (flood): Likewise.
12097         * misc/acct.c (acct): Likewise.
12098         * misc/brk.c (__brk): Likewise.
12099         * misc/chflags.c (chflags): Likewise.
12100         * misc/chroot.c (chroot): Likewise.
12101         * misc/fchflags.c (fchflags): Likewise.
12102         * misc/fstab.c (getfsspec): Likewise.
12103         (getfsfile): Likewise.
12104         * misc/fsync.c (fsync): Likewise.
12105         * misc/ftruncate.c (__ftruncate): Likewise.
12106         * misc/ftruncate64.c (__ftruncate64): Likewise.
12107         * misc/getdomain.c (getdomainname): Likewise.
12108         (getdomainname): Likewise.
12109         * misc/gethostname.c (__gethostname): Likewise.
12110         * misc/getpass.c (getpass): Likewise.
12111         * misc/getttyent.c (skip): Likewise.
12112         (value): Likewise.
12113         * misc/gtty.c (gtty): Likewise.
12114         * misc/hsearch.c (hsearch): Likewise.
12115         (hcreate): Likewise.
12116         * misc/hsearch_r.c (__hcreate_r): Likewise.
12117         (__hdestroy_r): Likewise.
12118         * misc/ioctl.c (__ioctl): Likewise.
12119         * misc/mkdtemp.c (mkdtemp): Likewise.
12120         * misc/mkostemp.c (mkostemp): Likewise.
12121         * misc/mkostemp64.c (mkostemp64): Likewise.
12122         * misc/mkostemps.c (mkostemps): Likewise.
12123         * misc/mkostemps64.c (mkostemps64): Likewise.
12124         * misc/mkstemp.c (mkstemp): Likewise.
12125         * misc/mkstemp64.c (mkstemp64): Likewise.
12126         * misc/mkstemps.c (mkstemps): Likewise.
12127         * misc/mkstemps64.c (mkstemps64): Likewise.
12128         * misc/mktemp.c (__mktemp): Likewise.
12129         * misc/preadv.c (preadv): Likewise.
12130         * misc/preadv64.c (preadv64): Likewise.
12131         * misc/pwritev.c (pwritev): Likewise.
12132         * misc/pwritev64.c (pwritev64): Likewise.
12133         * misc/readv.c (__readv): Likewise.
12134         * misc/revoke.c (revoke): Likewise.
12135         * misc/setdomain.c (setdomainname): Likewise.
12136         * misc/setegid.c (setegid): Likewise.
12137         * misc/seteuid.c (seteuid): Likewise.
12138         * misc/sethostid.c (sethostid): Likewise.
12139         * misc/sethostname.c (sethostname): Likewise.
12140         * misc/setregid.c (__setregid): Likewise.
12141         * misc/setreuid.c (__setreuid): Likewise.
12142         * misc/sstk.c (sstk): Likewise.
12143         * misc/stty.c (stty): Likewise.
12144         * misc/syscall.c (syscall): Likewise.
12145         * misc/syslog.c (setlogmask): Likewise.
12146         * misc/truncate.c (__truncate): Likewise.
12147         * misc/truncate64.c (truncate64): Likewise.
12148         * misc/ualarm.c (ualarm): Likewise.
12149         * misc/usleep.c (usleep): Likewise.
12150         * misc/ustat.c (ustat): Likewise.
12151         * misc/writev.c (__writev): Likewise.
12152         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12153         * nptl/old_pthread_cond_broadcast.c
12154         (__pthread_cond_broadcast_2_0): Likewise.
12155         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12156         Likewise.
12157         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12158         Likewise.
12159         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12160         Likewise.
12161         * nptl/pt-raise.c (raise): Likewise.
12162         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12163         Likewise.
12164         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12165         * nptl/pthread_barrierattr_destroy.c
12166         (pthread_barrierattr_destroy): Likewise.
12167         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12168         Likewise.
12169         * nptl/pthread_barrierattr_setpshared.c
12170         (pthread_barrierattr_setpshared): Likewise.
12171         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12172         Likewise.
12173         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12174         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12175         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12176         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12177         Likewise.
12178         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12179         Likewise.
12180         * nptl/pthread_condattr_getpshared.c
12181         (pthread_condattr_getpshared): Likewise.
12182         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12183         Likewise.
12184         * nptl/pthread_condattr_setpshared.c
12185         (pthread_condattr_setpshared): Likewise.
12186         * nptl/pthread_detach.c (pthread_detach): Likewise.
12187         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12188         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12189         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12190         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12191         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12192         Likewise.
12193         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12194         Likewise.
12195         * nptl/pthread_mutex_getprioceiling.c
12196         (pthread_mutex_getprioceiling): Likewise.
12197         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12198         Likewise.
12199         * nptl/pthread_mutexattr_getprotocol.c
12200         (pthread_mutexattr_getprotocol): Likewise.
12201         * nptl/pthread_mutexattr_getpshared.c
12202         (pthread_mutexattr_getpshared): Likewise.
12203         * nptl/pthread_mutexattr_getrobust.c
12204         (pthread_mutexattr_getrobust): Likewise.
12205         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12206         Likewise.
12207         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12208         Likewise.
12209         * nptl/pthread_mutexattr_setprioceiling.c
12210         (pthread_mutexattr_setprioceiling): Likewise.
12211         * nptl/pthread_mutexattr_setprotocol.c
12212         (pthread_mutexattr_setprotocol): Likewise.
12213         * nptl/pthread_mutexattr_setpshared.c
12214         (pthread_mutexattr_setpshared): Likewise.
12215         * nptl/pthread_mutexattr_setrobust.c
12216         (pthread_mutexattr_setrobust): Likewise.
12217         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12218         Likewise.
12219         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12220         Likewise.
12221         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12222         Likewise.
12223         * nptl/pthread_rwlockattr_getkind_np.c
12224         (pthread_rwlockattr_getkind_np): Likewise.
12225         * nptl/pthread_rwlockattr_getpshared.c
12226         (pthread_rwlockattr_getpshared): Likewise.
12227         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12228         Likewise.
12229         * nptl/pthread_rwlockattr_setkind_np.c
12230         (pthread_rwlockattr_setkind_np): Likewise.
12231         * nptl/pthread_rwlockattr_setpshared.c
12232         (pthread_rwlockattr_setpshared): Likewise.
12233         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12234         Likewise.
12235         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12236         Likewise.
12237         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12238         Likewise.
12239         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12240         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12241         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12242         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12243         * nptl/sem_close.c (sem_close): Likewise.
12244         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12245         * nptl/sem_init.c (__old_sem_init): Likewise.
12246         * nptl/sigaction.c (__sigaction): Likewise.
12247         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12248         * posix/_exit.c (_exit): Likewise.
12249         * posix/alarm.c (alarm): Likewise.
12250         * posix/confstr.c (confstr): Likewise.
12251         * posix/fpathconf.c (__fpathconf): Likewise.
12252         * posix/getgroups.c (__getgroups): Likewise.
12253         * posix/getpgid.c (__getpgid): Likewise.
12254         * posix/group_member.c (__group_member): Likewise.
12255         * posix/pathconf.c (__pathconf): Likewise.
12256         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12257         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12258         * posix/setgid.c (__setgid): Likewise.
12259         * posix/setpgid.c (__setpgid): Likewise.
12260         * posix/setuid.c (__setuid): Likewise.
12261         * posix/sleep.c (__sleep): Likewise.
12262         * posix/sysconf.c (__sysconf): Likewise.
12263         * posix/times.c (__times): Likewise.
12264         * posix/uname.c (__uname): Likewise.
12265         * posix/waitid.c (__waitid): Likewise.
12266         * pwd/getpw.c (__getpw): Likewise.
12267         * resolv/base64.c (b64_pton): Likewise.
12268         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12269         * resolv/gethnamaddr.c (Dprintf): Likewise.
12270         (gethostbyname): Likewise.
12271         (gethostbyname2): Likewise.
12272         (gethostbyaddr): Likewise.
12273         (_sethtent): Likewise.
12274         (_gethtbyname): Likewise.
12275         (_gethtbyname2): Likewise.
12276         (_gethtbyaddr): Likewise.
12277         (map_v4v6_address): Likewise.
12278         (map_v4v6_hostent): Likewise.
12279         (addrsort): Likewise.
12280         (ht_sethostent): Likewise.
12281         (ht_gethostbyname): Likewise.
12282         (ht_gethostbyaddr): Likewise.
12283         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12284         (inet_net_ntop_ipv4): Likewise.
12285         * resolv/inet_neta.c (inet_neta): Likewise.
12286         * resolv/inet_ntop.c (inet_ntop): Likewise.
12287         (inet_ntop4): Likewise.
12288         (inet_ntop6): Likewise.
12289         * resolv/inet_pton.c (__inet_pton): Likewise.
12290         (inet_pton4): Likewise.
12291         (inet_pton6): Likewise.
12292         * resolv/res_debug.c (loc_aton): Likewise.
12293         (loc_ntoa): Likewise.
12294         * resource/getpriority.c (__getpriority): Likewise.
12295         * resource/getrusage.c (__getrusage): Likewise.
12296         * resource/nice.c (nice): Likewise.
12297         * resource/setpriority.c (__setpriority): Likewise.
12298         * resource/setrlimit64.c (setrlimit64): Likewise.
12299         * resource/vlimit.c (vlimit): Likewise.
12300         * resource/vtimes.c (vtimes): Likewise.
12301         * rt/aio_error.c (aio_error): Likewise.
12302         * rt/aio_return.c (aio_return): Likewise.
12303         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12304         * signal/kill.c (__kill): Likewise.
12305         * signal/killpg.c (killpg): Likewise.
12306         * signal/raise.c (raise): Likewise.
12307         * signal/sigaction.c (__sigaction): Likewise.
12308         * signal/sigaddset.c (sigaddset): Likewise.
12309         * signal/sigaltstack.c (sigaltstack): Likewise.
12310         * signal/sigandset.c (sigandset): Likewise.
12311         * signal/sigblock.c (__sigblock): Likewise.
12312         * signal/sigdelset.c (sigdelset): Likewise.
12313         * signal/sigempty.c (sigemptyset): Likewise.
12314         * signal/sigfillset.c (sigfillset): Likewise.
12315         * signal/sighold.c (sighold): Likewise.
12316         * signal/sigignore.c (sigignore): Likewise.
12317         * signal/sigintr.c (siginterrupt): Likewise.
12318         * signal/sigisempty.c (sigisemptyset): Likewise.
12319         * signal/sigismem.c (sigismember): Likewise.
12320         * signal/signal.c (signal): Likewise.
12321         * signal/sigorset.c (sigorset): Likewise.
12322         * signal/sigpause.c (__sigpause): Likewise.
12323         * signal/sigpending.c (sigpending): Likewise.
12324         * signal/sigprocmask.c (__sigprocmask): Likewise.
12325         * signal/sigrelse.c (sigrelse): Likewise.
12326         * signal/sigreturn.c (__sigreturn): Likewise.
12327         * signal/sigset.c (sigset): Likewise.
12328         * signal/sigsetmask.c (__sigsetmask): Likewise.
12329         * signal/sigstack.c (sigstack): Likewise.
12330         * signal/sigsuspend.c (__sigsuspend): Likewise.
12331         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12332         * signal/sysv_signal.c (__sysv_signal): Likewise.
12333         * socket/accept.c (accept): Likewise.
12334         * socket/accept4.c (__libc_accept4): Likewise.
12335         * socket/bind.c (__bind): Likewise.
12336         * socket/connect.c (__connect): Likewise.
12337         * socket/getpeername.c (getpeername): Likewise.
12338         * socket/getsockname.c (__getsockname): Likewise.
12339         * socket/getsockopt.c (getsockopt): Likewise.
12340         * socket/listen.c (__listen): Likewise.
12341         * socket/recv.c (__recv): Likewise.
12342         * socket/recvmsg.c (__recvmsg): Likewise.
12343         * socket/send.c (__send): Likewise.
12344         * socket/sendmsg.c (__sendmsg): Likewise.
12345         * socket/shutdown.c (shutdown): Likewise.
12346         * socket/sockatmark.c (sockatmark): Likewise.
12347         * socket/socket.c (__socket): Likewise.
12348         * stdio-common/ctermid.c (ctermid): Likewise.
12349         * stdio-common/cuserid.c (cuserid): Likewise.
12350         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12351         * stdio-common/remove.c (remove): Likewise.
12352         * stdio-common/rename.c (rename): Likewise.
12353         * stdio-common/renameat.c (renameat): Likewise.
12354         * stdio-common/tempname.c (__gen_tempname): Likewise.
12355         * stdio-common/xbug.c (InitBuffer): Likewise.
12356         (AppendToBuffer): Likewise.
12357         (ReadFile): Likewise.
12358         * stdlib/a64l.c (a64l): Likewise.
12359         * stdlib/drand48_r.c (drand48_r): Likewise.
12360         * stdlib/getcontext.c (getcontext): Likewise.
12361         * stdlib/getenv.c (getenv): Likewise.
12362         * stdlib/l64a.c (l64a): Likewise.
12363         * stdlib/llabs.c (llabs): Likewise.
12364         * stdlib/lldiv.c (lldiv): Likewise.
12365         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12366         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12367         * stdlib/putenv.c (putenv): Likewise.
12368         * stdlib/random.c (__srandom): Likewise.
12369         (__initstate): Likewise.
12370         (__setstate): Likewise.
12371         * stdlib/random_r.c (__srandom_r): Likewise.
12372         (__setstate_r): Likewise.
12373         (__random_r): Likewise.
12374         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12375         * stdlib/setcontext.c (setcontext): Likewise.
12376         * stdlib/setenv.c (setenv): Likewise.
12377         (unsetenv): Likewise.
12378         * stdlib/srand48.c (srand48): Likewise.
12379         * stdlib/srand48_r.c (__srand48_r): Likewise.
12380         * stdlib/swapcontext.c (swapcontext): Likewise.
12381         * stdlib/system.c (__libc_system): Likewise.
12382         * stdlib/tst-strtod.c (expand): Likewise.
12383         * stdlib/tst-strtol.c (expand): Likewise.
12384         * stdlib/tst-strtoll.c (expand): Likewise.
12385         * streams/fattach.c (fattach): Likewise.
12386         * streams/fdetach.c (fdetach): Likewise.
12387         * streams/getmsg.c (getmsg): Likewise.
12388         * streams/isastream.c (isastream): Likewise.
12389         * string/ffs.c (__ffs): Likewise.
12390         * string/ffsll.c (ffsll): Likewise.
12391         * string/memcmp.c (memcmp_common_alignment): Likewise.
12392         (memcmp_not_common_alignment): Likewise.
12393         (MEMCMP): Likewise.
12394         * string/memcpy.c (memcpy): Likewise.
12395         * string/memmove.c (MEMMOVE): Likewise.
12396         * string/memset.c (memset): Likewise.
12397         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12398         * string/strchrnul.c (STRCHRNUL): Likewise.
12399         * string/strerror.c (strerror): Likewise.
12400         * string/strndup.c (__strndup): Likewise.
12401         * string/strverscmp.c (__strverscmp): Likewise.
12402         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12403         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12404         (clnttcp_freeres): Likewise.
12405         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12406         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12407         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12408         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12409         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12410         (xdr_callhdr): Likewise.
12411         * sunrpc/rpcinfo.c (udpping): Likewise.
12412         (tcpping): Likewise.
12413         (pstatus): Likewise.
12414         (pmapdump): Likewise.
12415         (brdcst): Likewise.
12416         (deletereg): Likewise.
12417         (getprognum): Likewise.
12418         (getvers): Likewise.
12419         (get_inet_address): Likewise.
12420         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12421         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12422         (svcudp_stat): Likewise.
12423         (svcudp_recv): Likewise.
12424         (svcudp_reply): Likewise.
12425         (svcudp_getargs): Likewise.
12426         (svcudp_freeargs): Likewise.
12427         (svcudp_destroy): Likewise.
12428         * sunrpc/xdr.c (xdr_bytes): Likewise.
12429         (xdr_netobj): Likewise.
12430         (xdr_string): Likewise.
12431         (xdr_wrapstring): Likewise.
12432         * sunrpc/xdr_float.c (xdr_float): Likewise.
12433         (xdr_double): Likewise.
12434         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12435         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12436         * sysvipc/ftok.c (ftok): Likewise.
12437         * sysvipc/msgctl.c (msgctl): Likewise.
12438         * sysvipc/msgget.c (msgget): Likewise.
12439         * sysvipc/msgrcv.c (msgrcv): Likewise.
12440         * sysvipc/msgsnd.c (msgsnd): Likewise.
12441         * sysvipc/semget.c (semget): Likewise.
12442         * sysvipc/semop.c (semop): Likewise.
12443         * sysvipc/shmat.c (shmat): Likewise.
12444         * sysvipc/shmctl.c (shmctl): Likewise.
12445         * sysvipc/shmdt.c (shmdt): Likewise.
12446         * sysvipc/shmget.c (shmget): Likewise.
12447         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12448         * termios/speed.c (cfgetospeed): Likewise.
12449         (cfgetispeed): Likewise.
12450         (cfsetospeed): Likewise.
12451         (cfsetispeed): Likewise.
12452         * termios/tcflow.c (tcflow): Likewise.
12453         * termios/tcflush.c (tcflush): Likewise.
12454         * termios/tcgetattr.c (__tcgetattr): Likewise.
12455         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12456         * termios/tcgetsid.c (tcgetsid): Likewise.
12457         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12458         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12459         * time/adjtime.c (__adjtime): Likewise.
12460         * time/dysize.c (dysize): Likewise.
12461         * time/ftime.c (ftime): Likewise.
12462         * time/getitimer.c (__getitimer): Likewise.
12463         * time/gettimeofday.c (__gettimeofday): Likewise.
12464         * time/gmtime.c (__gmtime_r): Likewise.
12465         (gmtime): Likewise.
12466         * time/localtime.c (__localtime_r): Likewise.
12467         (localtime): Likewise.
12468         * time/offtime.c (__offtime): Likewise.
12469         * time/settimeofday.c (__settimeofday): Likewise.
12470         * time/stime.c (stime): Likewise.
12471         * time/strftime_l.c (tm_diff): Likewise.
12472         (iso_week_days): Likewise.
12473         * time/strptime.c (strptime): Likewise.
12474         * time/time.c (time): Likewise.
12475         * time/timespec_get.c (timespec_get): Likewise.
12476         * time/tzset.c (tzset_internal): Likewise.
12477         (compute_change): Likewise.
12478         (__tz_compute): Likewise.
12479         * wcsmbs/btowc.c (__btowc): Likewise.
12480         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12481         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12482         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12483         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12484         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12485         * wcsmbs/wcscat.c (__wcscat): Likewise.
12486         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12487         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12488         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12489         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12490         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12491         * wcsmbs/wcslen.c (__wcslen): Likewise.
12492         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12493         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12494         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12495         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12496         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12497         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12498         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12499         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12500         * wcsmbs/wcstok.c (wcstok): Likewise.
12501         * wcsmbs/wctob.c (wctob): Likewise.
12502         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12503         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12504         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12505         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12506         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12507         * wcsmbs/wmemset.c (__wmemset): Likewise.
12508         * wctype/wcfuncs.c (__towlower): Likewise.
12509         (__towupper): Likewise.
12511         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12512         (lll_unlock_elision): Add adapt_count parameter.
12514 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12516         * sysdeps/nptl/configure.ac: Do not give errors based on the
12517         results of top-level configure tests.
12518         * sysdeps/nptl/configure: Regenerated.
12520         * configure.ac (libc_cv_Bgroup): Remove configure test.
12521         * configure: Regenerated.
12522         * config.make.in (have-Bgroup): Remove variable.
12524         * configure.ac (sizeof_long_double): Remove configure test.
12525         * configure: Regenerated.
12526         * config.make.in (sizeof-long-double): Remove variable.
12528         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12529         * configure: Regenerated.
12530         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12531         variable.
12532         (exceptions): Likewise.
12533         * sysdeps/arm/configure: Regenerated.
12534         * config.make.in (exceptions): Remove variable.
12535         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12536         $(exceptions).
12537         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12538         (CFLAGS-vdprintf_chk.c): Likewise.
12539         (CFLAGS-printf_chk.c): Likewise.
12540         (CFLAGS-fprintf_chk.c): Likewise.
12541         (CFLAGS-vprintf_chk.c): Likewise.
12542         (CFLAGS-vfprintf_chk.c): Likewise.
12543         (CFLAGS-gets_chk.c): Likewise.
12544         (CFLAGS-fgets_chk.c): Likewise.
12545         (CFLAGS-fgets_u_chk.c): Likewise.
12546         (CFLAGS-fread_chk.c): Likewise.
12547         (CFLAGS-fread_u_chk.c): Likewise.
12548         (CFLAGS-wprintf_chk.c): Likewise.
12549         (CFLAGS-fwprintf_chk.c): Likewise.
12550         (CFLAGS-vwprintf_chk.c): Likewise.
12551         (CFLAGS-vfwprintf_chk.c): Likewise.
12552         (CFLAGS-fgetws_chk.c): Likewise.
12553         (CFLAGS-fgetws_u_chk.c): Likewise.
12554         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12555         (CFLAGS-fputc.c): Likewise.
12556         (CFLAGS-fputwc.c): Likewise.
12557         (CFLAGS-freopen64.c): Likewise.
12558         (CFLAGS-freopen.c): Likewise.
12559         (CFLAGS-fseek.c): Likewise.
12560         (CFLAGS-fseeko64.c): Likewise.
12561         (CFLAGS-fseeko.c): Likewise.
12562         (CFLAGS-ftello64.c): Likewise.
12563         (CFLAGS-ftello.c): Likewise.
12564         (CFLAGS-fwide.c): Likewise.
12565         (CFLAGS-genops.c): Likewise.
12566         (CFLAGS-getc.c): Likewise.
12567         (CFLAGS-getchar.c): Likewise.
12568         (CFLAGS-getwc.c): Likewise.
12569         (CFLAGS-getwchar.c): Likewise.
12570         (CFLAGS-iofclose.c): Likewise.
12571         (CFLAGS-iofflush.c): Likewise.
12572         (CFLAGS-iofgetpos64.c): Likewise.
12573         (CFLAGS-iofgetpos.c): Likewise.
12574         (CFLAGS-iofgets.c): Likewise.
12575         (CFLAGS-iofgetws.c): Likewise.
12576         (CFLAGS-iofputs.c): Likewise.
12577         (CFLAGS-iofputws.c): Likewise.
12578         (CFLAGS-iofread.c): Likewise.
12579         (CFLAGS-iofsetpos64.c): Likewise.
12580         (CFLAGS-iofsetpos.c): Likewise.
12581         (CFLAGS-ioftell.c): Likewise.
12582         (CFLAGS-iofwrite.c): Likewise.
12583         (CFLAGS-iogetdelim.c): Likewise.
12584         (CFLAGS-iogetline.c): Likewise.
12585         (CFLAGS-iogets.c): Likewise.
12586         (CFLAGS-iogetwline.c): Likewise.
12587         (CFLAGS-ioputs.c): Likewise.
12588         (CFLAGS-ioseekoff.c): Likewise.
12589         (CFLAGS-ioseekpos.c): Likewise.
12590         (CFLAGS-iosetbuffer.c): Likewise.
12591         (CFLAGS-iosetvbuf.c): Likewise.
12592         (CFLAGS-ioungetc.c): Likewise.
12593         (CFLAGS-ioungetwc.c): Likewise.
12594         (CFLAGS-oldfileops.c): Likewise.
12595         (CFLAGS-oldiofclose.c): Likewise.
12596         (CFLAGS-oldiofgetpos64.c): Likewise.
12597         (CFLAGS-oldiofgetpos.c): Likewise.
12598         (CFLAGS-oldiofsetpos64.c): Likewise.
12599         (CFLAGS-oldiofsetpos.c): Likewise.
12600         (CFLAGS-peekc.c): Likewise.
12601         (CFLAGS-putc.c): Likewise.
12602         (CFLAGS-putchar.c): Likewise.
12603         (CFLAGS-putwc.c): Likewise.
12604         (CFLAGS-putwchar.c): Likewise.
12605         (CFLAGS-rewind.c): Likewise.
12606         (CFLAGS-wfileops.c): Likewise.
12607         (CFLAGS-wgenops.c): Likewise.
12608         (CFLAGS-oldiofopen.c): Likewise.
12609         (CFLAGS-iofopen.c): Likewise.
12610         (CFLAGS-iofopen64.c): Likewise.
12611         (CFLAGS-oldtmpfile.c): Likewise.
12612         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12613         (CFLAGS-fprintf.c): Likewise.
12614         (CFLAGS-printf.c): Likewise.
12615         (CFLAGS-vfwprintf.c): Likewise.
12616         (CFLAGS-vfscanf.c): Likewise.
12617         (CFLAGS-vfwscanf.c): Likewise.
12618         (CFLAGS-fscanf.c): Likewise.
12619         (CFLAGS-scanf.c): Likewise.
12620         (CFLAGS-isoc99_vfscanf.c): Likewise.
12621         (CFLAGS-isoc99_vscanf.c): Likewise.
12622         (CFLAGS-isoc99_fscanf.c): Likewise.
12623         (CFLAGS-isoc99_scanf.c): Likewise.
12624         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12625         (CFLAGS-isoc99_fwscanf.c): Likewise.
12626         (CFLAGS-isoc99_vwscanf.c): Likewise.
12627         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12629         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12630         after mkstemp64.
12631         * login/tst-utmp.c (do_prepare): Likewise.
12632         * rt/tst-aio.c (do_prepare): Likewise.
12633         * rt/tst-aio64.c (do_prepare): Likewise.
12635 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12637         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12638         (__lll_lock_elision): Remove adapt_count decrement...
12639         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12640         (__lll_trylock_elision): Likewise.
12641         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12642         (__lll_unlock_elision): ... to here. And utilize
12643         new adapt_count parameter.
12644         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12645         (__lll_unlock_elision): Update to include adapt_count
12646         parameter.
12647         (lll_unlock_elision): Pass pointer to adapt_count
12648         variable.
12650 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12652         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12653         Add elision adapt_count parameter to list of arguments.
12654         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12655         (lll_unlock_elision): Update with new parameter list
12656         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12657         (lll_unlock_elision): Likewise.
12658         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12659         (lll_unlock_elision): Likewise.
12661 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12663         [BZ #19122]
12664         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12665         attribute_hidden.
12667         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12668         attribute_hidden.
12669         [IS_IN (rtld)] (__strdup): Likewise.
12670         [IS_IN (rtld)] (__strerror_r): Likewise.
12671         [IS_IN (rtld)] (__strsep_g): Likewise.
12672         [IS_IN (rtld)] (memchr): Likewise.
12673         [IS_IN (rtld)] (memcmp): Likewise.
12674         [IS_IN (rtld)] (memcpy): Likewise.
12675         [IS_IN (rtld)] (memmove): Likewise.
12676         [IS_IN (rtld)] (memset): Likewise.
12677         [IS_IN (rtld)] (rawmemchr): Likewise.
12678         [IS_IN (rtld)] (stpcpy): Likewise.
12679         [IS_IN (rtld)] (strchr): Likewise.
12680         [IS_IN (rtld)] (strcmp): Likewise.
12681         [IS_IN (rtld)] (strlen): Likewise.
12682         [IS_IN (rtld)] (strnlen): Likewise.
12683         [IS_IN (rtld)] (strsep): Likewise.
12685         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12686         attribute_hidden.
12687         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12689         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12690         attribute_hidden.
12691         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12693         * include/setjmp.h (__longjmp): Add attribute_hidden.
12694         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12696         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12697         Add attribute_hidden.
12699         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12700         [IS_IN (rtld)] (__open): Likewise.
12701         [IS_IN (rtld)] (__fcntl): Likewise.
12703         * include/dirent.h (__opendirat): Add attribute_hidden.
12704         (__getdents): Likewise.
12705         (__getdents64): Likewise.
12706         (__alloc_dir): Likewise.
12707         [IS_IN (rtld)] (__closedir): Likewise.
12708         [IS_IN (rtld)] (__fdopendir): Likewise.
12709         [IS_IN (rtld)] (__readdir): Likewise.
12710         [IS_IN (rtld)] (__readdir64): Likewise.
12711         [IS_IN (rtld)] (__rewinddir): Likewise.
12713         * include/dlfcn.h (_dl_catch_error): Moved to ...
12714         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12715         attribute_hidden.
12717         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12718         (_itoa_word): Likewise.
12720         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12721         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12722         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12723         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12724         (_dl_higher_prime_number): Likewise.
12725         (_dl_debug_printf_c): Likewise.
12726         (_dl_signal_cerror): Likewise.
12727         (_dl_receive_error): Likewise.
12728         (_dl_reloc_bad_type): Likewise.
12729         (_dl_resolve_conflicts): Likewise.
12730         (_dl_check_all_versions): Likewise.
12731         (_dl_check_map_versions): Likewise.
12732         (_dl_sort_fini): Likewise.
12733         (_dl_debug_initialize): Likewise.
12734         (_dl_init_paths): Likewise.
12735         (_dl_show_auxv): Likewise.
12736         (_dl_next_ld_env_entry): Likewise.
12737         (_dl_important_hwcaps): Likewise.
12738         (_dl_load_cache_lookup): Likewise.
12739         (_dl_update_slotinfo): Likewise.
12740         (_dl_show_scope): Likewise.
12742         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12743         attribute_hidden.
12744         (_wordcopy_fwd_dest_aligned): Likewise.
12745         (_wordcopy_bwd_aligned): Likewise.
12746         (_wordcopy_bwd_dest_aligned): Likewise.
12748         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12749         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12750         Likewise.
12751         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12752         Likewise.
12753         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12755 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12757         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12758         GCC 5 requirement.
12760 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12762         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12763         test.
12764         * sysdeps/i386/configure: Regenerated.
12765         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12766         code unconditional.
12768         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12769         test.
12770         (libc_cv_asm_popsection_directive): Likewise.
12771         * configure: Regenerated.
12772         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12773         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12774         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12775         (__make_section_unallocated): Make definition unconditional.
12776         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12777         Remove conditional definition.
12778         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12779         (__make_section_unallocated): Likewise.
12781         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12782         * configure: Regenerated.
12783         * config.make.in (static-libgcc): Remove variable.
12784         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12785         $(static-libgcc).
12786         (build-module-helper): Likewise.
12788         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12789         * configure: Regenerated.
12791 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12793         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12794         (struct char_buffer): New type.
12795         (char_buffer_start, char_buffer_size, char_buffer_error)
12796         (char_buffer_rewind, char_buffer_add): New functions.
12797         (ADDW): Remove macro, replaced by the char_buffer_add function.
12798         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12799         of extend_alloca.  Make control flow more explicit.
12801 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12803         [BZ #19137]
12804         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12805         Add -fomit-frame-pointer.
12806         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12808 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12810         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12811         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12812         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12813         only if !__GNUC_PREREQ (5,0).
12814         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12815         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12816         (INTERNAL_SYSCALL_NCS): Likewise.
12817         (LOADREGS_0): New macro for GCC 5.
12818         (ASMARGS_0): Likewise.
12819         (LOADREGS_1): Likewise.
12820         (ASMARGS_1): Likewise.
12821         (LOADREGS_2): Likewise.
12822         (ASMARGS_2): Likewise.
12823         (LOADREGS_3): Likewise.
12824         (ASMARGS_3): Likewise.
12825         (LOADREGS_4): Likewise.
12826         (ASMARGS_4): Likewise.
12827         (LOADREGS_5): Likewise.
12828         (ASMARGS_5): Likewise.
12829         (LOADREGS_6): Likewise.
12830         (ASMARGS_6): Likewise.
12832 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12834         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12835         -fomit-frame-pointer.
12836         (CFLAGS-mmap64.c): Likewise.
12837         (CFLAGS-semtimedop.c): Likewise.
12838         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12839         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12840         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12841         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12843 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12845         [BZ #18928]
12846         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12847         _dl_pointer_guard member.
12848         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12849         initializer.
12850         (security_init): Always set up pointer guard.
12851         (process_envvars): Do not process LD_POINTER_GUARD.
12853 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12855         [BZ #19134]
12856         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12857         (.LC2): Likewise.
12858         (.LC3): Likewise.
12859         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12861 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12863         [BZ #19129]
12864         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12865         r0 and r1.
12867 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12869         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12871 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12873         * include/stap-probe.h: Fix macro definition formatting.
12875 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12877         [BZ #19074]
12878         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12879         load and store num_ifs.
12881 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12883         [BZ #18822]
12884         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12885         (__sched_getaffinity_new): Add libc_hidden_proto and
12886         libc_hidden_def.
12888 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12890         [BZ #19007]
12891         * scripts/localplt.awk: Also allow GOT references.
12892         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12893         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12894         with "+ REL R_386_GLOB_DAT".
12895         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12896         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12898 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12900         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12901         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12902         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12903         Likewise.
12904         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12905         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12906         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12907         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12908         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12909         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12910         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12911         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12912         Likewise.
12913         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12915 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12917         [BZ #19125]
12918         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12919         <math_private.h> and <stdint.h>.
12920         (__llround): Avoid conversions to and from long long int, and
12921         subtractions, where those might raise spurious exceptions.
12922         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12923         <math_private.h> and <stdint.h>.
12924         (__llroundf): Avoid conversions to and from long long int, and
12925         subtractions, where those might raise spurious exceptions.
12927 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12929         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12930         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12931         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12932         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12933         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12934         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12935         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12936         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12937         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12938         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12939         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12940         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12941         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12942         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12943         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12944         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12945         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12946         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12947         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12948         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12949         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12950         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12951         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12952         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12953         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12954         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12955         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12956         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12957         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12958         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12959         (__xstat64_conv): Likewise.
12960         (__xstat32_conv): Likewise.
12962 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12964         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12965         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12966         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12967         <sysdeps/unix/sysv/linux/sysdep.h>.
12968         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12969         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12970         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12971         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12972         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12973         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12974         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12975         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12976         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12981         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12982         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12984         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12985         (sysdep-dl-routines): Add sysdep.
12986         [$(subdir) == nptl] (libpthread-routines): Likewise.
12987         [$(subdir) == rt] (librt-routines): Likewise.
12988         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12989         PIC when branching to SYSCALL_ERROR_LABEL.
12990         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12991         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12992         <sysdeps/unix/sysv/linux/sysdep.h>.
12993         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12994         (SYSCALL_ERROR_ERRNO): Removed.
12995         (SYSCALL_ERROR_HANDLER): Changed to empty.
12996         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12997         (__syscall_error): New prototype.
12998         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12999         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13001 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13003         [BZ #19124]
13004         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13005         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13006         _dl_runtime_resolve_avx.
13007         (_dl_runtime_profile_avx512): Make it a hidden alias of
13008         _dl_runtime_profile_avx.
13010 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13012         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13013         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13014         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13015         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13017         [BZ #16422]
13018         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13019         New configure test.
13020         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13021         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13022         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13023         <math_private.h> and <stdint.h>.
13024         (__llrint): Avoid conversions to long long int where those might
13025         raise spurious exceptions.
13026         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13027         <math_private.h> and <stdint.h>.
13028         (__llrintf): Avoid conversions to long long int where those might
13029         raise spurious exceptions.
13031 2015-10-12  Andreas Schwab  <schwab@suse.de>
13033         [BZ #18969]
13034         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13035         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13036         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13037         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13038         $(gen-locales).
13039         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13040         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13041         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13042         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13043         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13044         $(gen-locales).
13045         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13046         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13047         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13048         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13049         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13050         ($(objpfx)tst-ftell-active-handler.out)
13051         ($(objpfx)tst-ftell-append.out)
13052         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13053         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13054         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13055         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13056         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13057         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13058         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13059         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13060         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13061         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13062         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13063         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13064         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13065         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13066         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13067         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13068         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13069         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13070         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13071         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13072         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13073         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13074         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13075         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13076         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13077         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13078         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13079         $(gen-locales).
13080         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13081         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13082         $(gen-locales).
13083         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13084         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13085         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13086         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13087         $(gen-locales).
13088         * libio/tst_wprintf2.c (main): Use explicit locale.
13089         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13091 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13093         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13094         __msg_sig_post.
13095         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13097 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13099         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13102         * sysdeps/arm/libm-test-ulps: Regenerated.
13104         [BZ #15470]
13105         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13107         [BZ #16399]
13108         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13109         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13110         and <fix-fp-int-convert-overflow.h>.
13111         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13112         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13113         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13114         and <fix-fp-int-convert-overflow.h>.
13115         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13116         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13117         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13118         <fix-fp-int-convert-overflow.h>.
13119         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13120         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13121         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13122         <fix-fp-int-convert-overflow.h>.
13123         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13124         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13125         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13126         and <fix-fp-int-convert-overflow.h>.
13127         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13128         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13129         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13130         <limits.h> and <fix-fp-int-convert-overflow.h>.
13131         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13132         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13133         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13134         and <fix-fp-int-convert-overflow.h>.
13135         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13136         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13137         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13138         and <fix-fp-int-convert-overflow.h>.
13139         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13140         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13141         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13143 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13145         [BZ #18589]
13146         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13147         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13148         $(gen-locales).
13150 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13151             Phil Blundell <pb@pbcl.net>
13153         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13154         * nptl/tst-cancel26.c: New file.
13155         * nptl/tst-cancel27.c: Likewise.
13157 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13159         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13160         __ILP32__ isn't defined.
13161         (lrint): Likewise.
13162         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13163         (lrintf): Likewise.
13164         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13165         (lrintl): Likewise.
13166         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13167         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13168         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13170 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13172         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13173         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13175         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13176         file.
13177         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13178         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13180 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13182         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13183         configure test.
13184         * sysdeps/i386/configure: Regenerated.
13185         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13186         configure test.
13187         * sysdeps/x86_64/configure: Regenerated.
13188         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13189         Make code unconditional.
13191         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13192         test.
13193         * sysdeps/i386/configure: Regenerated.
13194         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13195         test.
13196         * sysdeps/x86_64/configure: Regenerated.
13197         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13198         Make code unconditional.
13199         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13200         Likewise.
13201         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13202         Likewise.
13203         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13204         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13205         code unconditional.
13206         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13207         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13208         code unconditional.
13209         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13210         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13211         code unconditional.
13212         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13213         code unconditional.
13214         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13215         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13216         code unconditional.
13217         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13218         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13219         code unconditional.
13220         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13221         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13222         code unconditional.
13223         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13224         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13225         code unconditional.
13226         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13227         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13229         [BZ #19095]
13230         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13231         mantissa to long int before shifting left.
13233 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13235         [BZ #19094]
13236         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13237         <limits.h>.
13238         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13239         when result overflows but exception would not result from cast.
13240         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13241         <limits.h>.
13242         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13243         when result overflows but exception would not result from cast.
13244         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13245         <limits.h>.
13246         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13247         when result overflows but exception would not result from cast.
13248         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13249         <limits.h>.
13250         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13251         when result overflows but exception would not result from cast.
13252         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13253         <limits.h>.
13254         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13255         when result overflows but exception would not result from cast.
13256         * math/libm-test.inc (lrint_test_data): Add more tests.
13257         (llrint_test_data): Likewise.
13259 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13261         [BZ #18872]
13262         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13263         Move out from under [$(run-built-tests) = yes] conditional.
13264         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13265         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13267 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13269         [BZ #18589]
13270         * string/Makefile (tests): Add bug-strcoll2.
13271         (LOCALES): Add cs_CZ.UTF-8.
13272         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13274         [BZ #18589]
13275         * string/bug-strcoll2.c: New file.
13276         * locale/categories.def: Revert commit
13277         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13278         * locale/langinfo.h: Likewise.
13279         * locale/localeinfo.h: Likewise.
13280         * locale/C-collate.c: Likewise.
13281         * locale/programs/ld-collate.c (collate_output): Likewise.
13282         * string/strcoll_l.c (STRDIFF): Likewise.
13283         (STRCOLL): Likewise.
13284         * wcsmbs/wcscoll_l.c: Likewise.
13286 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13288         * math/libm-test.inc (lround_test_data): Do not expect the absence
13289         of "inexact" for some tests with non-integer arguments.
13290         (llround_test_data): Likewise.
13292         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13293         test.
13294         (libc_cv_cc_sse2avx): Likewise.
13295         * sysdeps/i386/configure: Regenerated.
13296         * sysdeps/i386/i686/multiarch/Makefile
13297         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13298         [$(subdir) = math].
13299         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13300         code unconditional.
13301         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13302         Likewise.
13303         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13304         Likewise.
13305         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13306         Likewise.
13307         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13308         test.
13309         (libc_cv_cc_sse2avx): Likewise.
13310         * sysdeps/x86_64/configure: Regenerated.
13311         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13312         unconditional.
13313         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13314         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13315         unconditional.
13316         (_dl_runtime_profile)
13317         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13318         conditional code.
13319         * sysdeps/x86_64/fpu/multiarch/Makefile
13320         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13321         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13322         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13323         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13324         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13325         * sysdeps/x86_64/fpu/multiarch/e_log.c
13326         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13327         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13328         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13329         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13330         Likewise.
13331         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13332         Likewise.
13333         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13334         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13335         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13336         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13337         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13338         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13339         (HAVE_SSE2AVX_SUPPORT): Likewise.
13341 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13343         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13344         instead of #pragma optimize.
13346 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13348         [BZ #17195]
13349         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13350         as is similarly done in systrim and _int_free already.
13352 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13354         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13356 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13358         [BZ #19088]
13359         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13360         <limits.h>.
13361         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13362         overflows but exception would not result from cast.
13363         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13364         and <limits.h>.
13365         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13366         overflows but exception would not result from cast.
13367         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13368         <limits.h>.
13369         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13370         overflows but exception would not result from cast.
13371         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13372         <limits.h>.
13373         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13374         overflows but exception would not result from cast.
13375         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13376         <limits.h>.
13377         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13378         overflows but exception would not result from cast.
13379         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13380         <limits.h>.
13381         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13382         overflows but exception would not result from cast.
13383         * math/libm-test.inc (lround_test_data): Add more tests.
13384         (llround_test_data): Likewise.
13386 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13388         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13389         (CFLAGS-ialloc.c): Ditto.
13390         (CFLAGS-scheck.c): Ditto.
13392 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13394         [BZ #19086]
13395         * manual/filesys.texi (Storage Allocation): Fix argument order for
13396         posix_fallocate64.
13398 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13400         [BZ #19085]
13401         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13402         exponent below 48 inside case for non-overflowing exponent.
13403         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13405 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13407         * iconvdata/cp737.h (from_idx): Add const.
13408         * iconvdata/cp775.h (from_idx): Likewise.
13410 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13412         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13413         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13414         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13416         [BZ #19079]
13417         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13418         file, conditioned on [!_LP64].
13419         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13420         [!_LP64] (__lround): Do not define as function or alias.
13421         [!_LP64] (lround): Likewise.
13422         [!_LP64] (__lroundl): Likewise.
13423         [!_LP64] (lroundl): Likewise.
13424         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13425         macro.
13426         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13427         Likewise.
13429 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13431         * math/libm-test.inc (lrint_test_data): Add more tests.
13432         (llrint_test_data): Likewise.
13433         (lround_test_data): Likewise.
13434         (llround_test_data): Likewise.
13436         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13437         (llrint_test_data): Add tests used for lrint.
13439         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13440         test.
13441         * sysdeps/i386/configure: Regenerated.
13442         * sysdeps/i386/i686/multiarch/Makefile
13443         [$(config-cflags-sse4) = yes]: Make code unconditional.
13444         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13445         Likewise.
13446         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13447         Likewise.
13448         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13449         test.
13450         * sysdeps/x86_64/configure: Regenerated.
13451         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13452         Make code unconditional.
13453         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13454         Likewise.
13455         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13456         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13458         * scripts/rpm2dynsym.sh: Remove file.
13460 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13462         * configure.ac (libc_cv_cxx_thread_local): Define.
13463         * configure: Regenerate.
13464         * config.make.in (have-cxx-thread_local): Define.
13465         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13466         (LDLIBS-tst-thread_local1): Define.
13467         (tests): Add tst-thread_local1.
13468         [have-cxx-thread_local != yes] (tests-unsupported): Add
13469         tst-thread_local1.
13470         * nptl/tst-thread_local1.cc: New file.
13472 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13474         [BZ #19078]
13475         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13476         (u_thres): Likewise.
13477         (__expl): Determine whether to call __kernel_standard_l based on
13478         value of result, not argument.
13480         * math/libm-test.inc (scalb_test_data): Add more expectations for
13481         the "inexact" exception.
13483         [BZ #19077]
13484         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13485         0.0L for argument 1.0L.
13487         [BZ #19076]
13488         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13489         constant 0.0L when computing infinite result.
13491 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13493         [BZ #10432]
13494         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13495         malloc_usable_size.
13497 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13499         [BZ #19018]
13500         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13501         Mangle function pointer before storing it.
13502         (__call_tls_dtors): Demangle function pointer before calling it.
13504 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13506         [BZ #19012]
13507         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13508         Clean up on failure.
13510 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13512         [BZ #19071]
13513         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13514         long int variable to store possibly incremented high part of
13515         mantissa.
13516         * math/libm-test.inc (lround_test_data): Add tests used for
13517         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13518         for tests requiring 64-bit long.  Do not condition tests on
13519         [TEST_FLOAT] unnecessarily.
13520         (llround_test_data): Add tests used for lround.  Add another
13521         expectation for the "inexact" exception.  Do not condition tests
13522         on [TEST_FLOAT] unnecessarily.
13524         [BZ #887]
13525         [BZ #19049]
13526         [BZ #19050]
13527         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13528         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13529         <fix-int-fp-convert-zero.h>.
13530         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13531         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13532         <fix-int-fp-convert-zero.h>.
13533         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13534         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13535         <fix-int-fp-convert-zero.h>.
13536         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13537         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13538         <fix-int-fp-convert-zero.h>.
13539         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13540         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13541         <fix-int-fp-convert-zero.h>.
13542         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13543         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13544         <fix-int-fp-convert-zero.h>.
13545         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13546         * sysdeps/ieee754/flt-32/s_erff.c: Include
13547         <fix-int-fp-convert-zero.h>.
13548         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13549         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13550         <fix-int-fp-convert-zero.h>.
13551         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13552         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13553         <fix-int-fp-convert-zero.h>.
13554         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13555         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13556         <fix-int-fp-convert-zero.h>.
13557         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13558         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13559         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13560         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13561         file.
13562         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13564 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13568 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13570         [BZ #19059]
13571         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13572         overflowing computation.
13573         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13574         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13575         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13576         Likewise.
13577         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13578         Likewise.
13579         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13580         Likewise.
13581         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13582         Likewise.
13583         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13584         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13585         Likewise.
13586         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13587         Likewise.
13588         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13590         * nss/rewrite_field.c (__nss_rewrite_field): Use
13591         internal_function.
13592         * nss/valid_field.c (__nss_valid_field): Likewise.
13593         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13595 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13597         [BZ #18724]
13598         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13599         (__nss_invalid_field_characters, __nss_valid_field)
13600         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13601         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13602         tst-field.c: New file.
13603         * nss/Makefile (routines): Add valid_field, rewrite_field.
13604         (tests-static): Define unconditionally.
13605         (tests): Include tests-static.
13606         [build-static-nss] (tests-static): Use append.
13607         [build-static-nss] (tests): Remove modification.
13608         * nss/getent.c (print_group): Call putgrent.  Report error.
13609         (print_gshadow): Call putsgent.  Report error.
13610         (print_passwd): Call putpwent.  Report error.
13611         (print_shadow): Call putspent.  Report error.
13612         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13613         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13614         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13615         name, password, directory, shell fields for valid syntax.  Rewrite
13616         GECOS field to match syntax.
13617         * pwd/Makefile (tests): Add tst-putpwent.
13618         * pwd/tst-putpwent.c: New file.
13619         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13620         Check grName, grpasswd, gr_mem fields for valid syntax.
13621         Change loop variable i to size_t.
13622         * grp/Makefile (tests): Add tst-putgrent.
13623         * grp/tst-putgrent.c: New file.
13624         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13625         valid syntax.
13626         * shadow/Makefile (tests): Add tst-putspent.
13627         * shadow/tst-putspent.c: New file.
13628         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13629         sg_mem fields for valid syntax.
13630         * gshadow/Makefile (tests): Add tst-putsgent.
13631         * gshadow/tst-putsgent.c: New file.
13633 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13635         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13636         assembly instructions.
13638 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13640         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13641         prefix from operands.
13643 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13645         [BZ #16347]
13646         [BZ #19046]
13647         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13648         <libc-internal.h>.
13649         (MAXLGM): Do not use diagnostic control macros.
13650         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13651         threshold for ldbl-128ibm.
13652         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13653         instead of multiplying by log then subtracting.
13654         * math/auto-libm-test-in: Add more tests of lgamma.
13655         * math/auto-libm-test-out: Regenerated.
13657         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13658         (TYPE_HEX_DIG): Likewise.
13659         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13660         precisions when printing floating-point numbers.
13661         (check_float_internal): Likewise.
13663 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13665         [BZ #16620]
13666         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13667         of log (10) rounded downward to 48 bits.
13668         (log10_low): Use corresponding low part of log (10).
13670         [BZ #19032]
13671         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13672         compute result as (x - x) / (x - x) not as 0 / 0.
13673         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13674         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13676         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13677         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13678         and expm1.
13679         * math/auto-libm-test-out: Regenerated.
13680         * math/libm-test.inc (acos_test_data): Add more tests.
13681         (asin_test_data): Likewise.
13682         (asinh_test_data): Likewise.
13683         (atan_test_data): Likewise.
13684         (atanh_test_data): Likewise.
13685         (atan2_test_data): Likewise.
13686         (cbrt_test_data): Likewise.
13687         (ceil_test_data): Likewise.
13688         (copysign_test_data): Likewise.
13689         (cos_test_data): Likewise.
13690         (cosh_test_data): Likewise.
13691         (erf_test_data): Likewise.
13692         (erfc_test_data): Likewise.
13693         (exp_test_data): Likewise.
13694         (exp10_test_data): Likewise.
13695         (exp2_test_data): Likewise.
13696         (expm1_test_data): Likewise.
13697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13699 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13701         [BZ #19006]
13702         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13703         to ...
13704         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13705         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13706         to ...
13707         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13708         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13709         to ...
13710         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13711         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13712         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13713         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13714         to ...
13715         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13716         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13717         Moved to ...
13718         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13719         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13720         Moved to ...
13721         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13722         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13723         to ...
13724         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13725         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13726         Moved to ...
13727         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13728         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13729         to ...
13730         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13731         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13732         Removed.
13733         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13734         Likewise.
13735         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13736         Likewise.
13737         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13738         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13739         Likewise.
13740         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13741         Likewise.
13742         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13743         Likewise.
13744         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13745         Likewise.
13746         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13747         Likewise.
13748         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13749         Likewise.
13750         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13751         Likewise.
13752         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13753         Likewise.
13754         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13755         Likewise.
13756         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13757         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13758         Likewise.
13759         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13760         Likewise.
13761         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13762         Likewise.
13763         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13764         Likewise.
13765         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13766         Likewise.
13767         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13768         Replace ../i486/pthread_cond_timedwait.S with
13769         ../pthread_cond_timedwait.S.
13771 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13773         * math/libm-test.inc (acos_test_data): Refine expectations for
13774         errno and "inexact" exceptions.
13775         (acosh_test_data): Likewise.
13776         (asin_test_data): Likewise.
13777         (asinh_test_data): Likewise.
13778         (atan_test_data): Likewise.
13779         (atanh_test_data): Likewise.
13780         (atan2_test_data): Likewise.
13781         (cbrt_test_data): Likewise.
13782         (ceil_test_data): Likewise.
13783         (copysign_test_data): Likewise.
13784         (cosh_test_data): Likewise.
13785         (erf_test_data): Likewise.
13786         (erfc_test_data): Likewise.
13787         (exp_test_data): Likewise.
13788         (exp10_test_data): Likewise.
13789         (exp2_test_data): Likewise.
13790         (expm1_test_data): Likewise.
13791         (fabs_test_data): Likewise.
13792         (floor_test_data): Likewise.
13793         (fma_test_data): Likewise.
13794         (fmax_test_data): Likewise.
13795         (fmin_test_data): Likewise.
13796         (fmod_test_data): Likewise.
13797         (fpclassify_test_data): Likewise.
13798         (frexp_test_data): Likewise.
13799         (hypot_test_data): Likewise.
13800         (ilogb_test_data): Likewise.
13801         (isgreater_test_data): Likewise.
13802         (isgreaterequal_test_data): Likewise.
13803         (isinf_test_data): Likewise.
13804         (isless_test_data): Likewise.
13805         (islessequal_test_data): Likewise.
13806         (islessgreater_test_data): Likewise.
13807         (isnan_test_data): Likewise.
13808         (isnormal_test_data): Likewise.
13809         (issignaling_test_data): Likewise.
13810         (isunordered_test_data): Likewise.
13811         (j0_test_data): Likewise.
13812         (j1_test_data): Likewise.
13813         (jn_test_data): Likewise.
13814         (lgamma_test_data): Likewise.
13815         (lrint_test_data): Likewise.
13816         (llrint_test_data): Likewise.
13817         (log_test_data): Likewise.
13818         (log10_test_data): Likewise.
13819         (log1p_test_data): Likewise.
13820         (log2_test_data): Likewise.
13821         (logb_test_data): Likewise.
13822         (lround_test_data): Likewise.
13823         (llround_test_data): Likewise.
13824         (modf_test_data): Likewise.
13825         (nearbyint_test_data): Likewise.
13826         (nextafter_test_data): Likewise.
13827         (nexttoward_test_data): Likewise.
13828         (pow_test_data): Likewise.
13829         (remainder_test_data): Likewise.
13830         (remquo_test_data): Likewise.
13831         (rint_test_data): Likewise.
13832         (round_test_data): Likewise.
13833         (signbit_test_data): Likewise.
13834         (sinh_test_data): Likewise.
13835         (sqrt_test_data): Likewise.
13836         (tanh_test_data): Likewise.
13837         (tgamma_test_data): Likewise.
13838         (trunc_test_data): Likewise.
13839         (y0_test_data): Likewise.
13840         (y1_test_data): Likewise.
13841         (yn_test_data): Likewise.
13842         (significand_test_data): Likewise.
13844 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13846         * manual/filesys.texi (Storage Allocation): Document that
13847         posix_fallocate emulation fails when fd is open with O_WRONLY.
13849 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13851         [BZ #19016]
13852         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13853         allow more cases with X^2 + Y^2 >= 0.5.
13854         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13855         normal element in sum instead of special-casing based on values of
13856         arguments.
13857         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13858         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13859         -1 as normal element in sum instead of special-casing based on
13860         values of arguments.
13861         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13862         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13863         (__x2y2m1): Update comment.
13864         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13865         as normal element in sum instead of special-casing based on values
13866         of arguments.
13867         * math/s_clog.c (__clog): Handle more cases using log1p without
13868         hypot.
13869         * math/s_clog10.c (__clog10): Likewise.
13870         * math/s_clog10f.c (__clog10f): Likewise.
13871         * math/s_clog10l.c (__clog10l): Likewise.
13872         * math/s_clogf.c (__clogf): Likewise.
13873         * math/s_clogl.c (__clogl): Likewise.
13874         * math/auto-libm-test-in: Add more tests of clog and clog10.
13875         * math/auto-libm-test-out: Regenerated.
13876         * sysdeps/i386/fpu/libm-test-ulps: Update.
13877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13879 2015-09-28  Martin Sebor  <msebor@redhat.com>
13881         [BZ #18969]
13882         * string/Makefile (LOCALES): Define.
13883         (gen-locales.mk): Include.
13884         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13885         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13886         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13887         on setlocale failure.
13889 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13891         [BZ #18985]
13892         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13893         (__strftime_internal): Likewise.
13894         * time/tst-strftime.c (do_bz18985): New test.
13895         (do_test): Call it.
13897 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13899         [BZ #18956]
13900         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13901         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13902         extracting high part.
13903         * math/auto-libm-test-in: Add another test of pow.
13904         * math/auto-libm-test-out: Regenerated.
13905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13907 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13909         [BZ #18825]
13910         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13911         New macro.
13912         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13913         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13914         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13915         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13916         DBL_NARROW_EVAL, reloading the PIC register as needed.
13917         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13918         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13919         FLT_NARROW_EVAL.  Use separate return path for case when first
13920         argument is NaN.
13921         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13922         DEFINE_LDBL_MIN.
13923         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13924         PIC register.
13925         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13926         math_check_force_underflow_nonneg.
13927         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13928         underflow for subnormal result.
13929         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13930         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13931         math_check_force_underflow_nonneg.
13932         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13933         math_check_force_underflow.
13934         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13935         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13936         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13937         DEFINE_LDBL_MIN.
13938         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13939         * math/auto-libm-test-in: Add more tests of pow.
13940         * math/auto-libm-test-out: Regenerated.
13942 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13944         * nss/bug17079.c (init_test_items): Add diagnostic for
13945         inconsistent entries.
13946         (test_buffer_size): Skip inconsistent entries.
13948 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13950         [BZ #13304]
13951         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13952         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13953         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13955         [BZ #13304]
13956         * sysdeps/microblaze/s_fma.c: New file.
13957         * sysdeps/microblaze/s_fmaf.c: Likewise.
13958         * sysdeps/microblaze/sfp-machine.h: Likewise.
13960 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13962         [BZ #17250]
13963         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13964         member.
13966 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13968         [BZ #18803]
13969         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13970         (MO): New macro.
13971         (__ieee754_hypot) [PIC]: Load PIC register.
13972         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13973         DBL_NARROW_EVAL.
13974         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13975         math_check_force_underflow_nonneg in case where result might be
13976         tiny.
13977         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13978         Likewise.
13979         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13980         Likewise.
13981         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13982         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13983         * math/auto-libm-test-in: Add more tests of hypot.
13984         * math/auto-libm-test-out: Regenerated.
13986 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13988         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13990 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13992         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13993         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13994         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13995         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13996         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13997         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13998         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14000         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14001         LOAD_PIC_REG.
14003         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14004         (FLT_CHECK_FORCE_UFLOW): Likewise.
14005         (DBL_CHECK_FORCE_UFLOW): Likewise.
14006         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14007         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14008         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14009         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14010         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14011         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14012         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14013         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14014         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14015         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14016         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14017         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14018         (flt_min): Replace with use of DEFINE_FLT_MIN.
14019         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14020         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14021         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14022         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14023         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14024         (flt_min): Replace with use of DEFINE_FLT_MIN.
14025         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14026         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14027         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14028         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14029         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14030         (flt_min): Replace with use of DEFINE_FLT_MIN.
14031         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14032         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14033         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14034         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14035         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14036         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14037         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14038         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14039         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14040         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14041         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14042         (flt_min): Replace with use of DEFINE_FLT_MIN.
14043         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14044         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14045         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14046         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14047         main computation.
14048         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14049         (flt_min): Replace with use of DEFINE_FLT_MIN.
14050         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14051         main computation.
14052         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14053         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14054         (MO): New macro.
14055         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14056         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14057         (flt_min): Replace with use of DEFINE_FLT_MIN.
14058         (MO): New macro.
14059         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14060         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14061         (__log1pl): Use MO.
14063         [BZ #19003]
14064         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14065         $(config-cflags-nofma).
14067 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14069         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14071 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14073         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14074         (TWO127): Likewise.
14076         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14077         (min_of_type): Likewise.
14078         (math_check_force_underflow): Likewise.
14079         (math_check_force_underflow_nonneg): Likewise.
14080         (math_check_force_underflow_complex): Likewise.
14081         * math/e_exp2l.c (__ieee754_exp2l): Use
14082         math_check_force_underflow_nonneg.
14083         * math/k_casinh.c (__kernel_casinh): Likewise.
14084         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14085         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14086         * math/s_catan.c (__catan): Use
14087         math_check_force_underflow_complex.
14088         * math/s_catanf.c (__catanf): Likewise.
14089         * math/s_catanh.c (__catanh): Likewise.
14090         * math/s_catanhf.c (__catanhf): Likewise.
14091         * math/s_catanhl.c (__catanhl): Likewise.
14092         * math/s_catanl.c (__catanl): Likewise.
14093         * math/s_ccosh.c (__ccosh): Likewise.
14094         * math/s_ccoshf.c (__ccoshf): Likewise.
14095         * math/s_ccoshl.c (__ccoshl): Likewise.
14096         * math/s_cexp.c (__cexp): Likewise.
14097         * math/s_cexpf.c (__cexpf): Likewise.
14098         * math/s_cexpl.c (__cexpl): Likewise.
14099         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14100         * math/s_clog10.c (__clog10): Likewise.
14101         * math/s_clog10f.c (__clog10f): Likewise.
14102         * math/s_clog10l.c (__clog10l): Likewise.
14103         * math/s_clogf.c (__clogf): Likewise.
14104         * math/s_clogl.c (__clogl): Likewise.
14105         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14106         * math/s_csinf.c (__csinf): Likewise.
14107         * math/s_csinh.c (__csinh): Likewise.
14108         * math/s_csinhf.c (__csinhf): Likewise.
14109         * math/s_csinhl.c (__csinhl): Likewise.
14110         * math/s_csinl.c (__csinl): Likewise.
14111         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14112         * math/s_csqrtf.c (__csqrtf): Likewise.
14113         * math/s_csqrtl.c (__csqrtl): Likewise.
14114         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14115         * math/s_ctanf.c (__ctanf): Likewise.
14116         * math/s_ctanh.c (__ctanh): Likewise.
14117         * math/s_ctanhf.c (__ctanhf): Likewise.
14118         * math/s_ctanhl.c (__ctanhl): Likewise.
14119         * math/s_ctanl.c (__ctanl): Likewise.
14120         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14121         instead of volatile.
14122         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14123         math_check_force_underflow.
14124         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14125         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14126         volatile when forcing underflow.
14127         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14128         math_check_force_underflow_nonneg.
14129         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14130         Likewise.
14131         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14132         math_check_force_underflow.
14133         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14134         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14135         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14136         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14137         math_check_force_underflow_nonneg.
14138         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14139         math_check_force_underflow.
14140         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14141         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14142         instead of volatile.
14143         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14144         math_check_force_underflow.
14145         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14146         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14147         math_check_force_underflow_nonneg.
14148         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14149         math_check_force_underflow.
14150         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14151         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14152         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14153         math_check_force_underflow_nonneg.
14154         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14155         Likewise.
14156         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14157         math_check_force_underflow.
14158         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14159         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14160         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14161         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14162         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14163         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14164         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14165         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14166         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14167         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14168         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14169         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14170         Likewise.
14171         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14172         math_check_force_underflow_nonneg.
14173         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14174         Likewise.
14175         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14176         math_check_force_underflow.
14177         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14178         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14179         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14180         Likewise.
14181         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14182         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14183         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14184         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14185         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14186         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14188         instead of volatile.
14189         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14190         math_check_force_underflow.
14191         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14192         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14193         math_check_force_underflow.
14194         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14195         Likewise.
14196         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14197         Use math_check_force_underflow_nonneg.
14198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14199         math_check_force_underflow.
14200         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14201         Likewise.
14202         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14203         Likewise.
14204         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14205         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14206         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14207         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14208         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14209         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14210         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14211         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14212         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14213         math_check_force_underflow_nonneg.
14214         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14215         math_check_force_underflow.
14216         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14217         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14218         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14219         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14220         math_check_force_underflow_nonneg.
14221         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14222         math_check_force_underflow.
14223         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14225         instead of volatile.
14226         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14227         math_check_force_underflow.
14229         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14230         * stdlib/strtod_l.c: Include <math_private.h>.
14231         (overflow_value): Use math_narrow_eval.
14232         (underflow_value): Likewise.
14233         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14234         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14235         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14236         (__ieee754_gamma_r): Likewise.
14237         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14238         Likewise.
14239         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14240         Likewise.
14241         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14242         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14243         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14244         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14245         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14246         (__ieee754_gammaf_r): Likewise.
14247         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14248         Likewise.
14249         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14250         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14251         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14252         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14253         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14254         volatile.
14255         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14256         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14257         math_narrow_eval.
14258         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14259         Likewise.
14260         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14261         Likewise.
14262         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14263         Likewise.
14264         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14265         volatile.
14266         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14267         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14268         math_narrow_eval.
14269         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14270         Likewise.
14271         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14272         Likewise.
14274 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14276         * nptl/Versions: Remove ignored symbols.
14278 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14280         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14281         * nss/Makefile (tests): Update.
14283 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14285         * nss/bug18287.c: New file.
14286         * nss/Makefile (tests): Add bug18287.
14288 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14290         * mach/Versions (__mach_host_self_): Add symbol.
14292 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14294         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14295         vm_page_size.
14297 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14299         Really fix sysdeps/i386/fpu/s_scalbn.S build
14301         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14302         (libc: GLIBC_2_22): Remove unused version set.
14304 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14306         * config.make.in (enable-timezone-tools): New variable.
14307         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14308         (enable_timezone_tools): Export to generated files.
14309         * configure: Regenerate.
14310         * INSTALL: Regenerate.
14311         * manual/install.texi (--disable-timezone-tools): Document new flag.
14312         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14313         ifeq ($(enable-timezone-tools),yes) check.
14315 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14317         * timezone/Makefile: Revert previous change.
14319         [BZ #18980]
14320         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14321         (DEFINE_DBL_MIN): Likewise.
14322         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14323         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14324         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14325         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14326         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14327         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14328         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14329         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14330         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14331         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14332         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14333         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14334         (flt_min): Replace with use of DEFINE_FLT_MIN.
14335         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14336         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14337         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14338         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14339         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14340         (flt_min): Replace with use of DEFINE_FLT_MIN.
14341         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14342         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14343         (flt_min): Replace with use of DEFINE_FLT_MIN.
14344         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14345         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14346         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14347         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14348         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14349         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14350         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14351         (__ieee754_pow): Use DBL_NARROW_EVAL.
14352         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14353         (__ieee754_powf): Use FLT_NARROW_EVAL.
14354         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14355         (__ieee754_expf_sse2): Convert double-precision result to single
14356         precision.
14357         * sysdeps/i386/fpu/libm-test-ulps: Update.
14359 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14361         * timezone/Makefile: Ignore unused variable errors due to private.h
14362         (time_t_min) and (time_t_max).
14363         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14364         Likewise.
14366 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14368         [BZ #18981]
14369         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14370         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14371         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14372         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14373         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14374         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14375         (__scalbn): Use DBL_NARROW_EVAL.
14376         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14377         (__scalbnf): Use FLT_NARROW_EVAL.
14379 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14381         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14382         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14383         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14384         * stdio-common/printf_fp.c (___printf_fp):
14385         Use signbit to get the sign. Use isinf macro to allow inlining.
14386         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14387         * stdio-common/printf_size.c (__printf_size): Likewise.
14389 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14391         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14393 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14395         [BZ #18980]
14396         * sysdeps/generic/math_private.h: Include <float.h>.
14397         (math_narrow_eval): New macro.
14398         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14399         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14400         math_narrow_eval on overflowing return value.
14401         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14402         Likewise.
14403         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14404         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14405         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14406         Likewise.
14407         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14409 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14411         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14412         * math/Makefile: Remove isinf_ns.c.
14413         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14414         * math/multc3.c (__multc3): Likewise.
14415         * math/s_casin.c (__casin): Likewise.
14416         * math/s_casinf.c (__casinf): Likewise.
14417         * math/s_casinl.c (__casinl): Likewise.
14418         * math/s_cproj.c (__cproj): Likewise.
14419         * math/s_cprojf.c (__cprojf): Likewise.
14420         * math/s_cprojl.c (__cprofl): Likewise.
14421         * math/s_ctan.c (__ctan): Likewise.
14422         * math/s_ctanf.c (__ctanf): Likewise.
14423         * math/s_ctanh.c (__ctanh): Likewise.
14424         * math/s_ctanhf.c (__ctanhf): Likewise.
14425         * math/s_ctanhl.c (__ctanhl): Likewise.
14426         * math/s_ctanl.c (__ctanl): Likewise.
14427         * math/w_fmod.c (__fmod): Likewise.
14428         * math/w_fmodf.c (__fmodf): Likewise.
14429         * math/w_fmodl.c (_fmodl): Likewise.
14430         * math/w_remainder.c (__remainder): Likewise.
14431         * math/w_remainderf.c (__remainderf): Likewise.
14432         * math/w_remainderl.c (__remainderl): Likewise.
14433         * math/w_scalb.c (__scalb): Likewise.
14434         * math/w_scalbf.c (__scalbf): Likewise.
14435         * math/w_scalbl.c (__scalbl): Likewise.
14436         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14437         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14438         with isinf.
14439         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14440         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14441         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14442         __isinf_nsf with isinf.
14443         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14444         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14445         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14446         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14447         with isinf.
14448         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14449         __isinf_nsl with isinf.
14450         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14451         with isinf.
14452         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14453         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14454         __isinf_nsl with isinf.
14455         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14456         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14457         with isinf.
14459 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14461         * resolv/base64.c (rcsid): Remove unused static.
14462         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14463         static.  (tqpi1): Likewise.
14464         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14465         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14466         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14467         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14468         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14469         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14470         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14471         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14472         Likewise.
14474 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14476         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14477         <nptl/pthreadP.h>.
14478         (_longjmp_unwind): Use __libc_ptf_call.
14479         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14481 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14483         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14484         * sysdeps/arm/__longjmp.S: Likewise.
14486 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14488         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14489         Use __builtin_signbit.
14490         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14491         Use __builtin_signbitf.
14492         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14493         Use __builtin_signbitl.
14494         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14495         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14497 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14499         [BZ #15367]
14500         [BZ #17441]
14502         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14503         * math/math.h (fpclassify): Use __builtin_fpclassify when
14504         available.  (signbit): Use __builtin_signbit(f/l).
14505         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14506         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14507         (isinf): Use __builtin_isinf_sign.
14509 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14511         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14512         * benchtests/bench-math-inlines.c: New benchmark.
14513         * benchtests/bench-util.h: New file.
14514         * benchtests/bench-util.c: New file.
14515         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14517 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14519         * elf/tst-dlmopen1.c: Define TEST_SO.
14520         (do_test): Use TEST_SO.
14522         * elf/dl-load.c: Include libc-internal.h.
14523         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14525 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14527         [BZ #17887]
14528         * time/strptime_l.c (__strptime_internal): Make %z accept
14529         [+-]HH:MM time zones.
14531 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14533         [BZ #17886]
14534         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14535         valid time zone.
14537 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14539         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14540         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14541         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14542         (__ASSUME_FDATASYNC): Delete.
14544 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14546         * conform/linknamespace.pl: Require weak undefined symbols to be
14547         in the standard namespace.
14548         (%strong_syms): Rename to %seen_syms.
14549         (%strong_seen): Rename to %seen_where.
14551 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14553         [BZ #18970]
14554         * misc/error.c (error): Replace pthread_setcancelstate with
14555         __pthread_setcancelstate.
14556         (error_at_line): Likewise.
14557         * posix/wordexp.c (parse_comm): Likewise.
14558         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14559         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14560         (__pthread_setcancelstate): This.
14561         (pthread_setcancelstate): Add an alias.
14562         * nptl/nptl-init.c (pthread_functions): Replace
14563         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14564         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14565         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14566         hidden_proto.
14567         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14568         it with hidden_def.
14569         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14570         (pthread_setcancelstate): Renamed to ...
14571         (__pthread_setcancelstate): This.
14572         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14573         __libc_ptf_call with __pthread_setcancelstate.
14575 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14576             Andreas Schwab  <schwab@suse.de>
14578         [BZ #17118]
14579         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14580         result when imaginary part of argument is infinite using sine and
14581         cosine.
14582         * math/s_ctanf.c (__ctanf): Likewise.
14583         * math/s_ctanl.c (__ctanl): Likewise.
14584         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14585         of result when real part of argument is infinite using sine and
14586         cosine.
14587         * math/s_ctanhf.c (__ctanhf): Likewise.
14588         * math/s_ctanhl.c (__ctanhl): Likewise.
14589         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14590         (ctanh_test_data): Add more tests of ctanh.
14592 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14594         [BZ #15384]
14595         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14596         bit-mask as in subtraction.
14597         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14598         Likewise.
14599         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14600         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14601         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14603         [BZ #18951]
14604         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14605         underflow exception for small results.
14606         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14607         Likewise.
14608         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14609         Likewise.
14610         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14611         Likewise.
14612         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14613         Likewise.
14614         * math/auto-libm-test-in: Add more tests of tgamma.
14615         * math/auto-libm-test-out: Regenerated.
14617 2015-09-17  Andreas Schwab  <schwab@suse.de>
14619         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14621 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14623         [BZ #18977]
14624         * math/bits/mathcalls.h
14625         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14626         not declare.
14627         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14628         Likewise.
14629         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14630         Likewise.
14631         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14632         Likewise.
14633         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14634         Likewise.
14635         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14636         Likewise.
14637         * conform/data/math.h-data
14638         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14639         function.
14640         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14641         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14642         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14643         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14644         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14645         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14646         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14647         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14648         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14649         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14650         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14652         [BZ #6803]
14653         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14654         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14655         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14656         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14657         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14658         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14659         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14660         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14661         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14663         Likewise.
14664         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14665         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14666         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14667         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14668         long_double_symbol calls.
14669         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14670         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14671         strong alias of __ldexpl.
14672         (scalbnl): Define using long_double_symbol.
14673         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14674         Remove alias.
14675         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14676         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14677         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14678         (scalbln_test_data): Add more errno expectations.
14680 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14682         Cache the host port like we cache the task port.  This way we do not
14683         need to call the kernel just to get the port.  Furthermore, we no
14684         longer increase the reference count on every invocation of
14685         `mach_host_self'.
14687         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14688         Protect declarations against the macro expansion.
14689         * mach/mach_init.c (__mach_host_self_): New variable.
14690         (mach_init): Initialize `__mach_host_self_'.
14691         * mach/mach_init.h (__mach_host_self_): New declaration.
14692         (__mach_host_self, mach_host_self): New macros.
14693         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14694         Release reference.
14696 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14698         [BZ #4404]
14699         * po/de.po: Update from Translation Project.
14701         [BZ #16415]
14702         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14703         (__expm1l): Remove code to handle positive infinity and overflow.
14704         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14705         variable.
14706         (__expm1l): Remove code to handle positive infinity and overflow.
14708 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14709             Paul Pluzhnikov  <ppluzhnikov@google.com>
14711         [BZ #18872]
14712         * stdio-common/Makefile (tst-printf-bz18872): New test.
14713         (tst-printf-bz18872-mem.out): Likewise.
14714         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14715         * stdio-common/vfprintf.c: Fix memory leaks.
14717 2015-09-16  Andreas Schwab  <schwab@suse.de>
14719         [BZ #17244]
14720         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14721         Remove extra va_start/va_end calls.
14723         [BZ #17243]
14724         * posix/execl.c (execl): Add missing va_end.
14725         * posix/execle.c (execle): Likewise.
14726         * posix/execlp.c (execlp): Likewise.
14728 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14730         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14731         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14733 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14735         [BZ #18967]
14736         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14737         undefine around includes of <bits/mathcalls.h>.
14738         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14739         not declare function.
14740         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14741         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14742         (scalb): Likewise.
14743         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14744         not define macro.
14745         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14746         variable.
14747         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14748         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14749         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14751         [BZ #18857]
14752         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14753         return non-finite argument without doing ordered comparisons on
14754         it.
14756         [BZ #16296]
14757         * math/fenv.h (fegetround): Use __attribute_pure__.
14758         * include/fenv.h (__fegetround): Likewise.
14760         [BZ #18595]
14761         * math/s_ctan.c (__ctan): Force underflow exception for results
14762         whose real or imaginary part has small absolute value.
14763         * math/s_ctanf.c (__ctanf): Likewise.
14764         * math/s_ctanh.c (__ctanh): Likewise.
14765         * math/s_ctanhf.c (__ctanhf): Likewise.
14766         * math/s_ctanhl.c (__ctanhl): Likewise.
14767         * math/s_ctanl.c (__ctanl): Likewise.
14768         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14769         and ctanh.  Add more tests of ctan and ctanh.
14771         [BZ #15918]
14772         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14773         handling of cases where one argument is an infinity.
14775         [BZ #18875]
14776         [BZ #18966]
14777         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14778         (MO): New macro.
14779         (__ieee754_exp10): For small results, force underflow exception
14780         and remove excess range and precision from return value.
14781         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14782         (MO): New macro.
14783         (__ieee754_exp10f): For small results, force underflow exception
14784         and remove excess range and precision from return value.
14785         * math/auto-libm-test-in: Add more tests of exp10.
14786         * math/auto-libm-test-out: Regenerated.
14788 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14790         [BZ #18875]
14791         [BZ #18961]
14792         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14793         (MO): New macro.
14794         (__ieee754_exp): For small results, force underflow exception and
14795         remove excess range and precision from return value.
14796         (__exp_finite): Likewise.
14797         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14798         (MO): New macro.
14799         (__ieee754_expf): For small results, force underflow exception and
14800         remove excess range and precision from return value.
14801         (__expf_finite): Likewise.
14802         * math/auto-libm-test-in: Add more tests of exp.
14803         * math/auto-libm-test-out: Regenerated.
14805         [BZ #16521]
14806         [BZ #18875]
14807         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14808         small results.
14809         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14810         (MO): New macro.
14811         (__ieee754_exp2): For small results, force underflow exception and
14812         remove excess range and precision from return value.
14813         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14814         (MO): New macro.
14815         (__ieee754_exp2f): For small results, force underflow exception
14816         and remove excess range and precision from return value.
14817         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14818         (MO): New macro.
14819         (__ieee754_exp2l): Force underflow exception for small results.
14820         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14821         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14822         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14823         (MO): New macro.
14824         (__ieee754_exp2l): Force underflow exception for small results.
14825         * math/auto-libm-test-in: Add more tests or exp2.
14826         * math/auto-libm-test-out: Regenerated.
14828 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14830         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14832         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14833         /dev/null.
14835 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14837         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14838         io fs process)): Drop spurious backslash.
14840 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14843         Use sysinfo system call instead of parsing /proc/meminfo.
14844         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14845         Likewise.
14847 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14849         [BZ #16985]
14850         * programs/localedef.c (main): Display argv[remaining] when
14851         output_path is NULL.
14853 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14855         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14856         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14857         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14858         tanh.
14859         * math/auto-libm-test-out: Regenerated.
14860         * sysdeps/i386/fpu/libm-test-ulps: Update.
14861         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14862         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14865 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14867         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14868         Use 'override' keyword to freeze the value here, preventing
14869         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14871 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14873         [BZ #14912]
14874         * sysdeps/aarch64/bits/atomic.h: Move to ...
14875         * sysdeps/aarch64/atomic-machine.h: ...here.
14876         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14877         _AARCH64_ATOMIC_MACHINE_H.
14878         * sysdeps/alpha/bits/atomic.h: Move to ...
14879         * sysdeps/alpha/atomic-machine.h: ...here.
14880         * sysdeps/arm/bits/atomic.h: Move to ...
14881         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14882         * bits/atomic.h: Move to ...
14883         * sysdeps/generic/atomic-machine.h: ...here.
14884         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14885         * sysdeps/i386/bits/atomic.h: Move to ...
14886         * sysdeps/i386/atomic-machine.h: ...here.
14887         * sysdeps/ia64/bits/atomic.h: Move to ...
14888         * sysdeps/ia64/atomic-machine.h: ...here.
14889         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14890         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14891         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14892         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14893         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14894         * sysdeps/microblaze/bits/atomic.h: Move to ...
14895         * sysdeps/microblaze/atomic-machine.h: ...here.
14896         * sysdeps/mips/bits/atomic.h: Move to ...
14897         * sysdeps/mips/atomic-machine.h: ...here.
14898         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14899         * sysdeps/powerpc/bits/atomic.h: Move to ...
14900         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14901         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14902         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14903         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14904         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14905         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14906         <atomic-machine.h> instead of <bits/atomic.h>.
14907         * sysdeps/s390/bits/atomic.h: Move to ...
14908         * sysdeps/s390/atomic-machine.h: ...here.
14909         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14910         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14911         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14912         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14913         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14914         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14915         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14916         * sysdeps/tile/bits/atomic.h: Move to ...
14917         * sysdeps/tile/atomic-machine.h: ...here.
14918         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14919         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14920         <sysdeps/tile/atomic-machine.h> instead of
14921         <sysdeps/tile/bits/atomic.h>.
14922         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14923         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14924         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14925         <sysdeps/tile/atomic-machine.h> instead of
14926         <sysdeps/tile/bits/atomic.h>.
14927         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14928         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14929         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14930         <sysdeps/arm/atomic-machine.h> instead of
14931         <sysdeps/arm/bits/atomic.h>.
14932         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14933         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14934         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14935         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14936         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14937         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14938         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14939         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14940         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14941         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14942         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14943         * sysdeps/x86_64/bits/atomic.h: Move to ...
14944         * sysdeps/x86_64/atomic-machine.h: ...here.
14945         * include/atomic.h: Include <atomic-machine.h> instead of
14946         <bits/atomic.h>.
14948         * sysdeps/mips/mips32/libm-test-ulps: Update.
14949         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14951         [BZ #18952]
14952         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14953         not convert non-integer negative arguments to int to determine the
14954         value of signgam.
14955         * math/auto-libm-test-in: Add more tests of lgamma.
14956         * math/auto-libm-test-out: Regenerated.
14958         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14959         cosh, csqrt, erfc, expm1 and lgamma.
14960         * math/auto-libm-test-out: Regenerated.
14961         * sysdeps/i386/fpu/libm-test-ulps: Update.
14962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14964 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14966         [BZ #2542]
14967         [BZ #2543]
14968         [BZ #2558]
14969         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14970         __lgamma_neg for arguments from -28.0 to -2.0.
14971         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14972         __lgamma_negf for arguments from -15.0 to -2.0.
14973         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14974         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14975         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14976         Call __lgamma_negl for arguments from -33.0 to -2.0.
14977         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14978         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14979         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14980         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14981         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14982         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14983         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14984         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14985         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14986         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14987         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14988         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14989         (__lgamma_neg): Likewise.
14990         (__lgamma_negl): Likewise.
14991         (__lgamma_product): Likewise.
14992         (__lgamma_productl): Likewise.
14993         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14994         * math/auto-libm-test-in: Add more tests of lgamma.
14995         * math/auto-libm-test-out: Regenerated.
14996         * sysdeps/i386/fpu/libm-test-ulps: Update.
14997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14999 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15001         [BZ #18675]
15002         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15004 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15006         [BZ #14912]
15007         * bits/libc-lock.h: Move to ...
15008         * sysdeps/generic/libc-lock.h: ...here.
15009         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15010         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15011         * sysdeps/mach/hurd/libc-lock.h: ...here.
15012         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15013         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15014         * sysdeps/mach/bits/libc-lock.h: Move to ...
15015         * sysdeps/mach/libc-lock.h: ...here.
15016         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15017         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15018         * sysdeps/nptl/libc-lock.h: ...here.
15019         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15020         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15021         * sysdeps/nptl/libc-lockP.h: ...here.
15022         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15023         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15024         <bits/libc-lock.h>.
15025         * dirent/scandir-tail.c: Likewise.
15026         * dlfcn/dlerror.c: Likewise.
15027         * elf/dl-close.c: Likewise.
15028         * elf/dl-iteratephdr.c: Likewise.
15029         * elf/dl-lookup.c: Likewise.
15030         * elf/dl-open.c: Likewise.
15031         * elf/dl-support.c: Likewise.
15032         * elf/dl-writev.h: Likewise.
15033         * elf/rtld.c: Likewise.
15034         * grp/fgetgrent.c: Likewise.
15035         * gshadow/fgetsgent.c: Likewise.
15036         * gshadow/sgetsgent.c: Likewise.
15037         * iconv/gconv_conf.c: Likewise.
15038         * iconv/gconv_db.c: Likewise.
15039         * iconv/gconv_dl.c: Likewise.
15040         * iconv/gconv_int.h: Likewise.
15041         * iconv/gconv_trans.c: Likewise.
15042         * include/link.h: Likewise.
15043         * inet/getnameinfo.c: Likewise.
15044         * inet/getnetgrent.c: Likewise.
15045         * inet/getnetgrent_r.c: Likewise.
15046         * intl/bindtextdom.c: Likewise.
15047         * intl/dcigettext.c: Likewise.
15048         * intl/finddomain.c: Likewise.
15049         * intl/gettextP.h: Likewise.
15050         * intl/loadmsgcat.c: Likewise.
15051         * intl/localealias.c: Likewise.
15052         * intl/textdomain.c: Likewise.
15053         * libidn/idn-stub.c: Likewise.
15054         * libio/libioP.h: Likewise.
15055         * locale/duplocale.c: Likewise.
15056         * locale/freelocale.c: Likewise.
15057         * locale/newlocale.c: Likewise.
15058         * locale/setlocale.c: Likewise.
15059         * login/getutent_r.c: Likewise.
15060         * login/getutid_r.c: Likewise.
15061         * login/getutline_r.c: Likewise.
15062         * login/utmp-private.h: Likewise.
15063         * login/utmpname.c: Likewise.
15064         * malloc/mtrace.c: Likewise.
15065         * misc/efgcvt.c: Likewise.
15066         * misc/error.c: Likewise.
15067         * misc/fstab.c: Likewise.
15068         * misc/getpass.c: Likewise.
15069         * misc/mntent.c: Likewise.
15070         * misc/syslog.c: Likewise.
15071         * nis/nis_call.c: Likewise.
15072         * nis/nis_callback.c: Likewise.
15073         * nis/nss-default.c: Likewise.
15074         * nis/nss_compat/compat-grp.c: Likewise.
15075         * nis/nss_compat/compat-initgroups.c: Likewise.
15076         * nis/nss_compat/compat-pwd.c: Likewise.
15077         * nis/nss_compat/compat-spwd.c: Likewise.
15078         * nis/nss_nis/nis-alias.c: Likewise.
15079         * nis/nss_nis/nis-ethers.c: Likewise.
15080         * nis/nss_nis/nis-grp.c: Likewise.
15081         * nis/nss_nis/nis-hosts.c: Likewise.
15082         * nis/nss_nis/nis-network.c: Likewise.
15083         * nis/nss_nis/nis-proto.c: Likewise.
15084         * nis/nss_nis/nis-pwd.c: Likewise.
15085         * nis/nss_nis/nis-rpc.c: Likewise.
15086         * nis/nss_nis/nis-service.c: Likewise.
15087         * nis/nss_nis/nis-spwd.c: Likewise.
15088         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15089         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15090         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15091         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15092         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15093         * nis/nss_nisplus/nisplus-network.c: Likewise.
15094         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15095         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15096         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15097         * nis/nss_nisplus/nisplus-service.c: Likewise.
15098         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15099         * nis/ypclnt.c: Likewise.
15100         * nptl/libc_pthread_init.c: Likewise.
15101         * nss/getXXbyYY.c: Likewise.
15102         * nss/getXXent.c: Likewise.
15103         * nss/getXXent_r.c: Likewise.
15104         * nss/nss_db/db-XXX.c: Likewise.
15105         * nss/nss_db/db-netgrp.c: Likewise.
15106         * nss/nss_db/nss_db.h: Likewise.
15107         * nss/nss_files/files-XXX.c: Likewise.
15108         * nss/nss_files/files-alias.c: Likewise.
15109         * nss/nsswitch.c: Likewise.
15110         * posix/regex_internal.h: Likewise.
15111         * posix/wordexp.c: Likewise.
15112         * pwd/fgetpwent.c: Likewise.
15113         * resolv/res_hconf.c: Likewise.
15114         * resolv/res_libc.c: Likewise.
15115         * shadow/fgetspent.c: Likewise.
15116         * shadow/lckpwdf.c: Likewise.
15117         * shadow/sgetspent.c: Likewise.
15118         * socket/opensock.c: Likewise.
15119         * stdio-common/reg-modifier.c: Likewise.
15120         * stdio-common/reg-printf.c: Likewise.
15121         * stdio-common/reg-type.c: Likewise.
15122         * stdio-common/vfprintf.c: Likewise.
15123         * stdio-common/vfscanf.c: Likewise.
15124         * stdlib/abort.c: Likewise.
15125         * stdlib/cxa_atexit.c: Likewise.
15126         * stdlib/fmtmsg.c: Likewise.
15127         * stdlib/random.c: Likewise.
15128         * stdlib/setenv.c: Likewise.
15129         * string/strsignal.c: Likewise.
15130         * sunrpc/auth_none.c: Likewise.
15131         * sunrpc/bindrsvprt.c: Likewise.
15132         * sunrpc/create_xid.c: Likewise.
15133         * sunrpc/key_call.c: Likewise.
15134         * sunrpc/rpc_thread.c: Likewise.
15135         * sysdeps/arm/backtrace.c: Likewise.
15136         * sysdeps/generic/ldsodefs.h: Likewise.
15137         * sysdeps/generic/stdio-lock.h: Likewise.
15138         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15139         * sysdeps/i386/backtrace.c: Likewise.
15140         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15141         * sysdeps/m68k/backtrace.c: Likewise.
15142         * sysdeps/mach/hurd/cthreads.c: Likewise.
15143         * sysdeps/mach/hurd/dirstream.h: Likewise.
15144         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15145         * sysdeps/nptl/malloc-machine.h: Likewise.
15146         * sysdeps/nptl/stdio-lock.h: Likewise.
15147         * sysdeps/posix/dirstream.h: Likewise.
15148         * sysdeps/posix/getaddrinfo.c: Likewise.
15149         * sysdeps/posix/system.c: Likewise.
15150         * sysdeps/pthread/aio_suspend.c: Likewise.
15151         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15152         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15153         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15154         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15155         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15156         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15157         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15158         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15159         * sysdeps/unix/sysv/linux/system.c: Likewise.
15160         * sysdeps/x86_64/backtrace.c: Likewise.
15161         * time/alt_digit.c: Likewise.
15162         * time/era.c: Likewise.
15163         * time/tzset.c: Likewise.
15164         * wcsmbs/wcsmbsload.c: Likewise.
15165         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15166         instead of <bits/libc-lock.h> in comment.
15168 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15170         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15171         Only use .set mips2 if the current ISA is below mips2.
15172         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15173         Likewise.
15174         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15175         mips32r2 if the current ISA is below mips32r2.
15176         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15177         (TLS_IE): Updated to use the TLD_RDHWR macro.
15178         (TLS_LE): Likewise.
15179         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15180         __ASSEMBLER__ condition.
15182 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15184         Fix parallel build of before-compile targets.
15186         * sysdeps/mach/Makefile ($(patsubst
15187         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15188         mach-before-compile target.
15189         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15190         io fs process)): Move rule to dedicated hurd-before-compile target.
15192 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15194         Fix rules generating headers in hurd/ and mach/ when initial make call
15195         has subdir= explicitly set.
15197         * sysdeps/mach/Makefile ($(patsubst
15198         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15199         calling $(MAKE).
15200         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15201         io fs process)): Force subdir to hurd when calling $(MAKE).
15202         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15203         subdir to mach when calling $(MAKE).
15205 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15207         Check sysheaders when looking for Mach and Hurd headers
15209         * sysdeps/mach/configure.ac: Add sysheaders check.
15210         * sysdeps/mach/configure: Regenerate.
15211         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15212         * sysdeps/mach/hurd/configure: Regenerate.
15214 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15216         [BZ #18921]
15217         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15218         Fix inverted sense of test of 'o_directory_works' value.
15219         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15220         Bernhard Voelker <mail@bernhard-voelker.de>.
15222 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15224         [BZ #14912]
15225         * bits/linkmap.h: Move to ...
15226         * sysdeps/generic/linkmap.h: ...here.
15227         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15228         * sysdeps/aarch64/linkmap.h: ...here.
15229         * sysdeps/arm/bits/linkmap.h: Move to ...
15230         * sysdeps/arm/linkmap.h: ...here.
15231         * sysdeps/hppa/bits/linkmap.h: Move to ...
15232         * sysdeps/hppa/linkmap.h: ...here.
15233         * sysdeps/ia64/bits/linkmap.h: Move to ...
15234         * sysdeps/ia64/linkmap.h: ...here.
15235         * sysdeps/mips/bits/linkmap.h: Move to ...
15236         * sysdeps/mips/linkmap.h: ...here.
15237         * sysdeps/s390/bits/linkmap.h: Move to ...
15238         * sysdeps/s390/linkmap.h: ...here.
15239         * sysdeps/sh/bits/linkmap.h: Move to ...
15240         * sysdeps/sh/linkmap.h: ...here.
15241         * sysdeps/x86/bits/linkmap.h: Move to ...
15242         * sysdeps/x86/linkmap.h: ...here.
15243         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15245 2015-09-04  Andreas Schwab  <schwab@suse.de>
15247         [BZ #18635]
15248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15249         (__makecontext): Terminate FDE before return label.
15250         (__novec_makecontext): Likewise.
15252 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15254         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15255         first member of struct sv in syscall macro.
15257 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15259         [BZ #14912]
15260         * bits/stdio-lock.h: Move to ...
15261         * sysdeps/generic/stdio-lock.h: ...here.
15262         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15263         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15264         * sysdeps/nptl/stdio-lock.h: ...here.
15265         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15266         * include/libio.h: Include <stdio-lock.h> instead of
15267         <bits/stdio-lock.h>.
15268         * sysdeps/nptl/fork.c: Likewise.
15269         * sysdeps/pthread/flockfile.c: Likewise.
15270         * sysdeps/pthread/ftrylockfile.c: Likewise.
15271         * sysdeps/pthread/funlockfile.c: Likewise.
15273         [BZ #14912]
15274         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15275         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15276         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15277         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15278         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15279         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15280         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15282 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15284         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15285         (test-xfail-tst-protected1b): New variable.
15287 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15289         [BZ #14912]
15290         * bits/libc-tsd.h: Move to ...
15291         * sysdeps/generic/libc-tsd.h: ...here.
15292         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15293         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15294         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15295         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15296         * include/ctype.h: Include <libc-tsd.h> instead of
15297         <bits/libc-tsd.h>.
15298         * include/rpc/rpc.h: Likewise.
15299         * locale/localeinfo.h: Likewise.
15300         * sunrpc/rpc_thread.c: Likewise.
15301         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15302         * sysdeps/nptl/malloc-machine.h: Likewise.
15304         * Makefile (headers): Remove bits/libc-lock.h.
15305         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15307         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15308         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15309         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15310         <bits/stdio-lock.h>.
15311         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15312         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15314 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15316         [BZ #18757]
15317         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15318         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15319         BZ #18757.
15321 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15323         * malloc/mtrace.pl: Filter out NULL entries.
15325 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15327         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15328         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15329         macro.
15331         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15332         (TCP_CC_INFO): Likewise.
15333         (TCP_SAVE_SYN): Likewise.
15334         (TCP_SAVED_SYN): Likewise.
15336 2015-08-31  Brett Neumeier <brett@neumeier.us>
15338         [BZ #18870]
15339         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15341 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15343         [BZ #18873]
15344         Fix broken overflow check in posix_fallocate
15345         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15346         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15347         Fix parenthesization typo.
15349 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15351         [BZ #18887]
15352         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15353         tst-mntent-blank-passno.
15354         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15355         * misc/tst-mntent-blank-corrupt.c: New test.
15356         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15357         * misc/tst-mntent.c (do_test): ... here.
15359 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15361         [BZ #4404]
15362         * po/de.po: Fix SIGALRM typo.
15364 2015-08-28  James Perkins  <james@loowit.net>
15366         * time/tst-strptime2.c (tests): Replace short list of test
15367         strings for strptime %z specifier with code which exhaustively
15368         tests every combination of sign and 0 to 5 digits. Tests for
15369         rejection of invalid strings.
15371 2015-08-28  James Perkins  <james@loowit.net>
15373         [BZ #16141]
15374         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15375         calculation, removing incorrect decimal time rounding, so that
15376         all minute values result in a valid seconds value.
15377         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15378         offset range limits to UTC-99:59 through UTC+99:59 to parse
15379         current and historical use cases.
15380         * time/tst-strptime2.c (tests): Modify and add tests for the
15381         strptime %z input field descriptor, specifically conversion of
15382         minutes to seconds and validating an offset range of -9959 to
15383         +9959.
15385 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15386             Dmitry V. Levin  <ldv@altlinux.org>
15388         [BZ #18877]
15389         * posix/Makefile (tests): Add tst-mmap-offset.
15390         * posix/tst-mmap.c: New file.
15391         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15392         offset calculation for negative values.
15394 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15396         * sysdeps/i386/init-arch.h: New file.
15397         * sysdeps/i386/i586/init-arch.h: Likewise.
15398         * sysdeps/i386/i686/init-arch.h: Likewise.
15399         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15400         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15401         * sysdeps/x86/cpu-features.h (bit_I586): New.
15402         (bit_I686): Likewise.
15403         (bit_CX8): Likewise.
15404         (bit_CMOV): Likewise.
15405         (index_CX8): Likewise.
15406         (index_CMOV): Likewise.
15407         (index_I586): Likewise.
15408         (index_I686): Likewise.
15409         (reg_CX8): Likewise.
15410         (reg_CMOV): Likewise.
15411         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15412         available at compile-time.
15413         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15414         available at compile-time.
15415         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15416         (USE_I686): Likewise.
15418 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15420         * sysdeps/i386/bcopy.S: New file.
15421         * sysdeps/i386/bzero.S: Likewise.
15422         * sysdeps/i386/memcpy.S: Likewise.
15423         * sysdeps/i386/memmove.S: Likewise.
15424         * sysdeps/i386/mempcpy.S: Likewise.
15425         * sysdeps/i386/memset.S: Likewise.
15426         * sysdeps/i386/bzero.c: Removed.
15427         * sysdeps/i386/memset.c: Likewise.
15428         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15429         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15430         * sysdeps/i386/i586/memset_chk.S: Likewise.
15431         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15432         * sysdeps/i386/memcpy_chk.S: Here.
15433         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15434         * sysdeps/i386/memmove_chk.S: Here.
15435         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15436         * sysdeps/i386/mempcpy_chk.S: Likewise.
15437         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15438         * sysdeps/i386/memset_chk.S: Likewise.
15440 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15442         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15443         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15444         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15445         * soft-fp/fmadf4.c: Ditto.
15446         * soft-fp/fmatf4.c: Ditto.
15448 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15450         * sysdeps/i386/i586/Implies: Removed.
15451         * sysdeps/i386/i686/Implies: Likewise.
15453 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15455         * sysdeps/i386/i486/strlen.S: Moved to ...
15456         * sysdeps/i386/strlen.S: Here.
15458 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15460         * sysdeps/i386/i486/strcat.S: Moved to ...
15461         * sysdeps/i386/strcat.S: Here.
15463 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15465         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15466         * sysdeps/i386/pthread_spin_trylock.S: Here.
15467         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15468         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15470 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15472         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15473         * sysdeps/i386/string-inlines.c: Here.
15475 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15477         * sysdeps/i386/i486/htonl.S: Moved ...
15478         * sysdeps/i386/htonl.S: here.
15480 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15482         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15483         * sysdeps/i386/bits/atomic.h: Here.
15485 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15487         * sysdeps/i386/i486/Versions: Removed.
15489 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15491         [BZ #2898]
15492         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15493         Based on patch by Aurelien Jarno.
15495 2015-08-26  Stan Shebs  <stanshebs@google.com>
15497         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15498         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15500 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15502         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15503         * sysdeps/powerpc/dl-procinfo.c:
15504         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15505         feature so it shows when LD_SHOW_AUXV=1.
15507 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15509         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15510         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15511         definition.  ISA 2.07B no longer requires full sync.
15513 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15515         [BZ #18863]
15516         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15517         (si_call_addr): Define.
15518         (si_syscall): Define.
15519         (si_arch): Define.
15521 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15523         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15524         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15525         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15526         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15527         (__memset_zero_constant_len_parameter): New.
15528         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15529         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15530         (__memset_zero_constant_len_parameter): Don't define if
15531         __memset_chk or USE_AS_BZERO are defined.
15533         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15534         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15535         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15537         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15538         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15539         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15540         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15541         comments.
15542         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15543         -mno-mmx for $(all-rtld-routines).
15544         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15545         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15546         i386.
15548 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15550         * sysdeps/generic/unwind.h
15551         (_Unwind_Word): Use __mode__(__unwind_word__)
15552         instead of __mode__(__word__).
15553         (_Unwind_Sword): Likewise.
15555         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15556         (MAX_NEEDED_INPUT): New define.
15557         (MAX_NEEDED_OUTPUT): New define.
15559         * NEWS: New item for IBM z13 string optimizations.
15561         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15562         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15563         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15564         * sysdeps/s390/multiarch/Makefile
15565         (sysdep_routines): Add memrchr functions.
15566         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15567         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15569         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15570         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15571         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15572         * sysdeps/s390/multiarch/Makefile
15573         (sysdep_routines): Add wmemcmp functions.
15574         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15575         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15576         * benchtests/bench-wmemcmp.c: New File.
15577         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15579         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15580         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15581         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15582         * sysdeps/s390/multiarch/Makefile
15583         (sysdep_routines): Add wmemset functions.
15584         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15585         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15586         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15587         * string/test-memset.c: Add wmemset support.
15588         * wcsmbs/test-wmemset.c: New File.
15589         * wcsmbs/Makefile (strop-tests): Add wmemset.
15590         * benchtests/bench-memset.c: Add wmemset support.
15591         * benchtests/bench-wmemset.c: New File.
15592         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15594         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15595         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15596         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15597         * sysdeps/s390/multiarch/Makefile
15598         (sysdep_routines): Add memccpy functions.
15599         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15600         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15601         * string/memccpy.c: Use MEMCCPY if defined.
15603         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15604         * sysdeps/s390/multiarch/memchr.c: Likewise.
15605         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15606         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15607         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15608         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15609         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15610         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15611         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15612         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15613         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15614         and rawmemchr functions.
15615         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15616         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15617         and wmemchr.
15618         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15619         * string/test-memchr.c: Add wmemchr support.
15620         * wcsmbs/test-wmemchr.c: New File.
15621         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15622         * benchtests/bench-memchr.c: Add wmemchr support.
15623         * benchtests/bench-wmemchr.c: New File.
15624         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15626         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15627         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15628         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15629         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15630         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15631         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15632         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15633         wcscspn functions.
15634         * sysdeps/s390/multiarch/ifunc-impl-list.c
15635         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15636         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15637         * string/test-strcspn.c: Add wcscspn support.
15638         * wcsmbs/test-wcscspn.c: New File.
15639         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15640         * benchtests/bench-strcspn.c: Add wcscspn support.
15641         * benchtests/bench-wcscspn.c: New File.
15642         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15644         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15645         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15646         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15647         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15648         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15649         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15650         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15651         wcspbrk functions.
15652         * sysdeps/s390/multiarch/ifunc-impl-list.c
15653         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15654         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15655         * string/test-strpbrk.c: Add wcspbrk support.
15656         * wcsmbs/test-wcspbrk.c: New File.
15657         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15658         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15659         * benchtests/bench-wcspbrk.c: New File.
15660         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15662         * sysdeps/s390/multiarch/strspn-c.c: New File.
15663         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15664         * sysdeps/s390/multiarch/strspn.c: Likewise.
15665         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15666         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15667         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15668         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15669         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15670         wcsspn functions.
15671         * sysdeps/s390/multiarch/ifunc-impl-list.c
15672         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15673         * string/test-strspn.c: Add wcsspn support.
15674         * wcsmbs/test-wcsspn.c: New File.
15675         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15676         * benchtests/bench-strspn.c: Add wcsspn support.
15677         * benchtests/bench-wcsspn.c: New File.
15678         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15680         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15681         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15682         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15683         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15684         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15685         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15686         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15687         wcsrchr functions.
15688         * sysdeps/s390/multiarch/ifunc-impl-list.c
15689         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15690         * benchtests/bench-wcsrchr.c: New File.
15691         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15693         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15694         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15695         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15696         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15697         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15698         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15699         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15700         wcschrnul functions.
15701         * sysdeps/s390/multiarch/ifunc-impl-list.c
15702         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15703         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15704         * string/test-strchr.c: Add wcschrnul support.
15705         * wcsmbs/test-wcschrnul.c: New File.
15706         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15707         * benchtests/bench-strchr.c: Add wcschrnul support.
15708         * benchtests/bench-wcschrnul.c: New File.
15709         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15711         * sysdeps/s390/multiarch/strchr-c.c: New File.
15712         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15713         * sysdeps/s390/multiarch/strchr.c: Likewise.
15714         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15715         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15716         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15717         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15718         wcschr functions.
15719         * sysdeps/s390/multiarch/ifunc-impl-list.c
15720         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15721         * string/strchr.c (STRCHR): Define and use macro.
15722         * benchtests/bench-wcschr.c: New File.
15723         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15725         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15726         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15727         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15728         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15729         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15730         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15731         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15732         wcsncmp functions.
15733         * sysdeps/s390/multiarch/ifunc-impl-list.c
15734         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15735         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15736         * benchtests/bench-strncmp.c: Add wcsncmp support.
15737         * benchtests/bench-wcsncmp.c: New File.
15738         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15740         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15741         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15742         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15743         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15744         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15745         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15746         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15747         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15748         wcscmp functions.
15749         * sysdeps/s390/multiarch/ifunc-impl-list.c
15750         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15751         * string/strcmp.c (STRCMP): Define and use macro.
15752         * benchtests/bench-wcscmp.c: New File.
15753         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15754         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15755         instead of _HAVE_STRING_ARCH_memchr.
15757         * sysdeps/s390/multiarch/strncat-c.c: New File.
15758         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15759         * sysdeps/s390/multiarch/strncat.c: Likewise.
15760         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15761         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15762         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15763         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15764         wcsncat functions.
15765         * sysdeps/s390/multiarch/ifunc-impl-list.c
15766         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15767         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15768         * string/test-strncat.c: Add wcsncat support.
15769         * wcsmbs/test-wcsncat.c: New File.
15770         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15771         * benchtests/bench-strncat.c: Add wcsncat support.
15772         * benchtests/bench-wcsncat.c: New File.
15773         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15775         * sysdeps/s390/multiarch/strcat-c.c: New File.
15776         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15777         * sysdeps/s390/multiarch/strcat.c: Likewise.
15778         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15779         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15780         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15781         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15782         wcscat functions.
15783         * sysdeps/s390/multiarch/ifunc-impl-list.c
15784         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15785         * string/strcat.c (STRCAT): Define and use macro.
15786         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15787         * string/test-strcat.c: Add wcscat support.
15788         * wcsmbs/test-wcscat.c: New File.
15789         * wcsmbs/Makefile (strop-tests): Add wcscat.
15790         * benchtests/bench-strcat.c: Add wcscat support.
15791         * benchtests/bench-wcscat.c: New File.
15792         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15794         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15795         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15796         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15797         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15798         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15799         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15800         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15801         wcpncpy functions.
15802         * sysdeps/s390/multiarch/ifunc-impl-list.c
15803         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15804         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15805         * string/test-stpncpy.c: Add wcpncpy support.
15806         * wcsmbs/test-wcpncpy.c: New File.
15807         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15808         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15809         * benchtests/bench-wcpncpy.c: New File.
15810         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15812         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15813         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15814         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15815         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15816         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15817         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15818         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15819         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15820         wcsncpy functions.
15821         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15822         * sysdeps/s390/multiarch/ifunc-impl-list.c
15823         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15824         * string/test-strncpy.c: Add wcsncpy support.
15825         * wcsmbs/test-wcsncpy.c: New File.
15826         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15827         * benchtests/bench-strncpy.c: Add wcsncpy support.
15828         * benchtests/bench-wcsncpy.c: New File.
15829         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15831         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15832         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15833         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15834         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15835         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15836         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15837         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15838         wcpcpy functions.
15839         * string/stpcpy.c: Use STPCPY if defined.
15840         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15841         * sysdeps/s390/multiarch/ifunc-impl-list.c
15842         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15843         * string/test-stpcpy.c: Add wcpcpy support.
15844         * wcsmbs/test-wcpcpy.c: New File.
15845         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15846         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15847         * benchtests/bench-wcpcpy.c: New File.
15848         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15850         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15851         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15852         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15853         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15854         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15855         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15856         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15857         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15858         wcscpy functions.
15859         * sysdeps/s390/multiarch/ifunc-impl-list.c
15860         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15861         * benchtests/bench-wcscpy.c: New File.
15862         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15864         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15865         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15866         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15867         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15868         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15869         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15870         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15871         wcsnlen functions.
15872         * sysdeps/s390/multiarch/ifunc-impl-list.c
15873         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15874         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15875         * string/test-strnlen.c: Add wcsnlen support.
15876         * wcsmbs/test-wcsnlen.c: New File.
15877         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15878         * benchtests/bench-strnlen.c: Add wcsnlen support.
15879         * benchtests/bench-wcsnlen.c: New File.
15880         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15882         * sysdeps/s390/multiarch/Makefile: New File.
15883         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15884         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15885         * sysdeps/s390/multiarch/strlen.c: Likewise.
15886         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15887         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15888         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15889         * string/strlen.c (STRLEN): Define and use macro.
15890         * sysdeps/s390/multiarch/ifunc-impl-list.c
15891         (IFUNC_VX_IMPL): New macro function.
15892         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15893         * benchtests/Makefile (wcsmbs-bench): New variable.
15894         (string-bench-all): Added wcsmbs-bench.
15895         * benchtests/bench-wcslen.c: New File.
15897         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15898         s390_vx_libc_ifunc2): New macro function.
15900         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15901         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15902         assembler support.
15903         * sysdeps/s390/configure: Regenerated.
15905         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15906         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15908         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15909         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15910         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15912         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15913         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15914         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15915         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15916         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15917         (memcmp, bcmp): Use __memcmp_default as alias source.
15918         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15919         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15920         Rename to __memcmp_default.
15921         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15922         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15923         (memcpy): Use __memcpy_default as alias source.
15924         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15925         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15926         Rename to __memcpy_default.
15927         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15928         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15929         (memset): Use __memset_default as alias source.
15930         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15931         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15932         Rename to __memset_default.
15933         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15934         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15935         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15936         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15937         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15938         (memcmp, bcmp): Use __memcmp_default as alias source.
15939         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15940         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15941         Rename to __memcmp_default.
15942         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15943         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15944         (memcpy): Use __memcpy_default as alias source.
15945         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15946         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15947         Rename to __memcpy_default.
15948         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15949         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15950         (memset): Use __memset_default as alias source.
15951         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15952         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15953         Rename to __memset_default.
15954         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15955         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15957         [BZ #18610]
15958         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15959         __ieee_instruction_pointer to __unused.
15960         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15961         __ieee_instruction_pointer.
15962         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15963         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15964         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15965         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15966         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15967         Mark dxc-field as reserved.
15969 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15971         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15972         if the weak reference is not null.
15974 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15976         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15978         [BZ #11214]
15979         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15981 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15983         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15984         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15985         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15986         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15987         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15988         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15989         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15990         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15991         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15992         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15993         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15994         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15995         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15996         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15997         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15998         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15999         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16000         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16002 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16004         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16005         register other than r0 for tabort, it has special meaning.
16006         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16007         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16008         transaction before starting syscall.
16010 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16012         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16014 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16016         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16018         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16019         * sysdeps/x86_64/rtld-memset.S: Likewise.
16020         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16021         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16022         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16023         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16025         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16027 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16029         * debug/strcpy_chk.c: Improve performance.
16030         * debug/stpcpy_chk.c: Likewise.
16031         * sysdeps/x86_64/strcpy_chk.S: Remove.
16032         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16034         [BZ #18240]
16035         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16037 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16039         [BZ #15128]
16040         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16041         ifuncmain8.
16042         (modules-names): Add ifuncmod8.
16043         ($(objpfx)ifuncmain8): New rule.
16044         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16045         <cpuid.h>.
16046         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16047         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16048         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16049         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16050         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16051         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16052         * sysdeps/x86_64/ifuncmain8.c: New file.
16053         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16054         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16055         Removed.
16056         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16057         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16058         Change rtld_savespace_sse to __glibc_unused2.
16059         (RTLD_CHECK_FOREIGN_CALL): Removed.
16060         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16061         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16062         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16064 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16066         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16068 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16070         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16071         Unconditionally set __fpcr to avoid uninialized warning.
16072         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16074 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16076         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16077         is corrupt.
16079         * malloc/arena.c (arena_get2): Drop unused argument.
16080         (arena_lock): Adjust.
16081         (arena_get_retry): Likewise.
16083 2015-08-24  Andreas Schwab  <schwab@suse.de>
16085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16086         Don't define.
16087         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16088         (__ASSUME_IPC64): Don't undef.
16089         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16090         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16091         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16092         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16093         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16094         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16095         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16096         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16097         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16098         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16099         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16100         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16101         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16102         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16103         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16104         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16105         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16106         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16107         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16108         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16109         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16111 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16113         * manual/Makefile (install): Only build manual when perl is available.
16115 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16117         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16118         '#undef memcpy' by '#undef memchr'.
16120 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16122         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16123         memchr not point to the internal __GI_memchr implementation.
16125 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16127         * timezone/Makefile (CFLAGS-zdump.c): Remove
16128         -Wno-strict-prototypes.
16129         (CFLAGS-zic.c): Likewise.
16130         (CFLAGS-ialloc.c): Likewise.
16131         (CFLAGS-scheck.c): Likewise.
16133         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16134         -Wno-error=undef.
16136 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16138         * i386/i686/multiarch/strcasestr-c.c: Removed.
16139         * x86_64/multiarch/strcasestr.c: Likewise.
16140         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16141         Remove strcasestr.
16143 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16145         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16147         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16148         variables for high and low parts before possibly modifying them.
16150 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16152         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16153         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16154         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16155         of "multiarch/init-arch.h".
16156         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16157         * sysdeps/x86/init-arch.h: This.
16159 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16161         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16162         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16164 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16166         [BZ #17787]
16167         * manual/macros.texi: Add twoexp macro.
16168         * manual/filesys.texi: Fix exponents.
16169         * manual/llio.texi: Likewise.
16170         * manual/stdio.texi: Likewise.
16172 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16174         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16175         incorrect use.
16177 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16179         [BZ #18370]
16180         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16181         whose real or imaginary part has small absolute value.
16182         * math/s_csqrtf.c (__csqrtf): Likewise.
16183         * math/s_csqrtl.c (__csqrtl): Likewise.
16184         * math/auto-libm-test-in: Add more tests of csqrt.
16185         * math/auto-libm-test-out: Regenerated.
16186         * sysdeps/i386/fpu/libm-test-ulps: Update.
16188 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16190         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16191         __ppc_set_ppr_very_low): New functions.
16192         * manual/platform.texi: Add documentation about
16193         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16195 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16197         * string/stpncpy.c (stpncpy): Improve performance using
16198         __strnlen/memcpy/memset.
16200 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16202         [BZ #18796]
16203         * scripts/test-installation.pl: Don't add -lmvec to build options if
16204         libmvec wasn't built.
16206 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16208         [BZ #14341]
16209         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16210         case when there is a gap between DT_REL and DT_JMPREL sections.
16211         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16212         (LDFLAGS-tst-split-dynreloc): New.
16213         (tst-split-dynreloc-ENV): Likewise.
16214         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16215         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16217 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16219         [BZ #18822]
16220         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16221         attribute_hidden.
16222         (__xstat64_conv): Likewise.
16223         (__xstat32_conv): Likewise.
16225 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16227         [BZ #18822]
16228         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16229         Don't load %ebx when calling __setcontext.  Call __setcontext
16230         with HIDDEN_JUMPTARGET.
16231         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16232         libc_hidden_def.
16234 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16236         * sysdeps/i386/i686/Makefile
16237         [$(subdir) == string] (sysdep_routines): Moved to ...
16238         * sysdeps/i386/Makefile: Here.
16239         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16240         * sysdeps/i386/cacheinfo.c: Here.
16241         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16242         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16243         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16244         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16246 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16248         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16249         __i586__ is defined.
16250         (HAS_I686): Defined to 1 if __i686__ is defined.
16252 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16254         * elf/Makefile [$(have-z-execstack) = yes]
16255         (CPPFLAGS-tst-execstack.c): New variable.
16257         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16258         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16259         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16260         UTMPX || _HAVE_UT_TV].
16261         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16262         UTMPX || _HAVE_UT_TV - 0].
16264 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16266         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16267         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16268         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16270 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16272         * sysdeps/powerpc/dl-procinfo.c:
16273         (_dl_powerpc_cap_flags): Added missing strings for some
16274         hwcap features.
16275         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16277 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16279         Port the 0x7efe...feff pattern to GCC 6.
16280         See Steve Ellcey's bug report in:
16281         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16282         * string/memrchr.c (MEMRCHR):
16283         * string/rawmemchr.c (RAWMEMCHR):
16284         * string/strchr.c (strchr):
16285         * string/strchrnul.c (STRCHRNUL):
16286         Rewrite code to avoid issues with signed shift overflow.
16288 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16290         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16291         whether cpuid is available only if HAS_CPUID is 0.
16292         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16293         (HAS_I586): Likewise.
16294         (HAS_I686): Likewise.
16296 2015-08-18  Zack Weinberg  <zackw@panix.com>
16298         * misc/Versions (libc): Add GLIBC_2.23.
16300 2015-08-18  Alan Modra  <amodra@gmail.com>
16302         [BZ #18421]
16303         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16304         .Lp__global.
16305         (_start): Load %dp via .Lp__global.
16306         [!SHARED]: Use .section .rodata.
16308 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16310         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16311         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16313 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16315         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16316         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16318 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16320         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16321         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16323 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16325         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16326         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16328 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16330         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16331         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16333 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16335         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16336         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16338 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16340         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16342 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16344         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16345         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16346         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16347         (__ASSUME_LWS_CAS): Delete.
16349 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16351         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16352         * sysdeps/hppa/configure: Regenerated.
16353         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16354         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16355         * sysdeps/hppa/nptl/tls.h: Likewise.
16357 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16359         [BZ #18823]
16360         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16361         for scaling up small arguments.
16362         * math/s_csqrtf.c (__csqrtf): Likewise.
16363         * math/s_csqrtl.c (__csqrtl): Likewise.
16364         * math/auto-libm-test-in: Add more tests of csqrt.
16365         * math/auto-libm-test-out: Regenerated.
16367 2015-08-17  Andreas Schwab  <schwab@suse.de>
16369         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16370         version set GLIBC_2.19.
16372 2015-08-16  Zack Weinberg  <zackw@panix.com>
16374         [BZ #18681]
16375         * misc/regexp.h: This interface is no longer supported.
16376         Remove all contents, leaving only an #error directive.
16377         * misc/regexp.c (loc1, loc2, locs, step, advance):
16378         Demote to compatibility symbols.
16380 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16382         [BZ #18084]
16383         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16384         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16385         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16386         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16387         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16388         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16389         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16390         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16391         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16393 2015-08-15  Zack Weinberg  <zackw@panix.com>
16395         [BZ #18795]
16396         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16397         buffer length is known to be too large, not if it's known to be
16398         small enough.
16399         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16400         overflow at runtime, involving a length parameter, twice: once
16401         with a compile-time constant length parameter, once without.
16403 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16405         [BZ #18824]
16406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16407         scaling x * y up instead of down.
16408         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16409         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16410         * math/auto-libm-test-in: Add more tests of fma.
16411         * math/auto-libm-test-out: Regenerated.
16413 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16415         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16417 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16419         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16420         unnecessary movq.
16421         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16422         Likewise.
16424 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16426         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16427         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16428         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16429         and tgamma.
16430         * math/auto-libm-test-out: Regenerated.
16431         * sysdeps/i386/fpu/libm-test-ulps: Update.
16432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16434         [BZ #16520]
16435         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16436         (__tanh): Force underflow exception for arguments with small
16437         absolute value.
16438         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16439         (__tanhf): Force underflow exception for arguments with small
16440         absolute value.
16441         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16442         (__tanhl): Force underflow exception for arguments with small
16443         absolute value.
16444         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16445         (__tanhl): Force underflow exception for arguments with small
16446         absolute value.
16447         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16448         (__tanhl): Force underflow exception for arguments with small
16449         absolute value.
16450         * math/auto-libm-test-in: Add more tests of tanh.
16451         * math/auto-libm-test-out: Regenerated.
16452         * sysdeps/i386/fpu/libm-test-ulps: Update.
16454 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16456         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16457         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16459 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16461         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16462         <cpuid.h>.
16464 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16466         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16467         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16469 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16471         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16472         Remove $(objpfx)init-arch.o.
16473         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16474         init-arch.
16475         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16476         (INIT_ARCH_EXT): Defined as empty.
16477         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16478         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16479         __init_cpu_features call.  Replace HAS_XXX with
16480         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16481         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16482         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16483         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16484         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16485         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16486         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16487         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16488         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16489         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16490         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16492         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16493         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16494         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16495         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16496         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16498         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16499         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16501         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16502         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16503         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16504         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16505         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16506         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16507         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16508         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16509         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16510         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16511         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16513         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16514         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16515         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16517 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16519         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16520         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16521         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16522         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16523         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16524         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16525         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16526         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16527         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16528         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16529         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16530         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16531         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16532         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16533         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16534         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16535         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16536         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16537         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16538         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16539         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16540         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16541         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16542         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16543         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16544         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16545         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16546         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16547         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16548         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16549         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16550         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16551         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16552         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16553         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16554         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16555         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16556         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16557         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16558         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16559         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16560         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16561         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16563 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16565         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16566         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16567         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16568         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16569         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16570         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16571         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16572         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16573         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16574         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16575         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16576         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16577         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16578         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16579         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16580         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16581         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16582         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16583         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16584         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16585         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16586         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16587         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16588         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16589         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16590         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16591         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16592         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16593         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16594         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16595         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16596         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16597         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16598         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16599         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16600         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16601         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16602         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16603         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16604         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16605         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16606         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16607         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16609 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16611         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16612         (dl_platform_init): Call init_cpu_features.
16613         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16614         * sysdeps/i386/i686/cacheinfo.c
16615         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16616         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16617         * sysdeps/i386/i686/multiarch/Versions: Removed.
16618         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16619         Removed.
16620         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16621         * sysdeps/unix/sysv/linux/x86/Makefile
16622         (libpthread-sysdep_routines): Remove init-arch.
16623         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16624         <sysdeps/x86_64/dl-procinfo.c> instead of
16625         sysdeps/generic/dl-procinfo.c>.
16626         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16627         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16628         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16629         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16630         [$(subdir) == elf] (tests-static): Add
16631         tst-get-cpu-features-static.
16632         * sysdeps/x86/Versions: New file.
16633         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16634         * sysdeps/x86/cpu-features.c: Likewise.
16635         * sysdeps/x86/cpu-features.h: Likewise.
16636         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16637         * sysdeps/x86/libc-start.c: Likewise.
16638         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16639         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16640         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16641         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16642         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16643         Assume USE_MULTIARCH is defined and don't check it.
16644         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16645         (is_amd): Likewise.
16646         (max_cpuid): Likewise.
16647         (intel_check_word): Likewise.
16648         (__cache_sysconf): Don't call __init_cpu_features.
16649         (__x86_preferred_memory_instruction): Removed.
16650         (init_cacheinfo): Don't call __init_cpu_features. Replace
16651         __cpu_features with GLRO(dl_x86_cpu_features).
16652         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16653         (dl_platform_init): Call init_cpu_features.
16654         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16655         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16656         * sysdeps/x86_64/multiarch/Versions: Removed.
16657         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16658         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16659         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16660         Removed.
16661         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16663 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16665         [BZ #18820]
16666         * libio/Makefile (test-fmemopen-mem): New test.
16667         * libio/test-fmemopen.c (do_bz18820): New test.
16668         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16669         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16671 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16673         [BZ #16734]
16674         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16675         (FREE_BUF): Delete.
16676         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16677         * libio/genops.c (_IO_setb): Use malloc and free directly.
16678         (_IO_default_doallocate, _IO_default_finish): Likewise.
16679         ( _IO_unbuffer_all): Likewise.
16680         ( libc_freeres_fn): Likewise.
16681         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16682         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16683         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16684         (_IO_wdefault_doallocate): Likewise.
16686 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16688         [BZ #18086]
16689         * sysdeps/posix/nice.c (nice): Restore old errno.
16690         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16692 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16694         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16696 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16698         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16699         __bcopy and add a weak_alias to bcopy.
16700         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16701         for static build.
16703         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16704         cleanup macro usage.
16705         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16706         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16707         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16708         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16709         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16710         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16711         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16712         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16713         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16714         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16715         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16716         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16717         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16718         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16719         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16720         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16721         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16722         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16723         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16725         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16726         libc_hidden_def.
16727         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16729         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16730         (sysdep_routines): Add strstr-ppc64.
16731         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16733 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16735         [BZ #18778]
16736         * elf/Makefile (tests): Add Add tst-nodelete2.
16737         (modules-names): Add tst-nodelete2mod.
16738         (tst-nodelete2mod.so-no-z-defs): New.
16739         ($(objpfx)tst-nodelete2): Likewise.
16740         ($(objpfx)tst-nodelete2.out): Likewise.
16741         (LDFLAGS-tst-nodelete2): Likewise.
16742         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16743         out of loop through all loaded libraries.
16744         * elf/tst-nodelete2.c: New file.
16745         * elf/tst-nodelete2mod.c: Likewise.
16746         * elf/tst-znodelete-zlib.cc: Delete.
16748 2015-08-11  Andreas Schwab  <schwab@suse.de>
16750         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16751         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16752         (__openat64_nocancel): Likewise.
16754 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16756         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16757         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16758         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16759         * math/auto-libm-test-out: Regenerated.
16760         * sysdeps/i386/fpu/libm-test-ulps: Update.
16761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16763 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16765         [BZ #18790]
16766         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16767         threshold for returning +/- 1.
16768         * math/auto-libm-test-in: Add more tests of tanh.
16769         * math/auto-libm-test-out: Regenerated.
16770         * sysdeps/i386/fpu/libm-test-ulps: Update.
16772 2015-08-10  Andreas Schwab  <schwab@suse.de>
16774         [BZ #18781]
16775         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16776         MORE_OFLAGS to oflag.
16777         * io/test-lfs.c (do_test): Test openat64.
16779 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16781         [BZ #18789]
16782         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16783         smaller threshold for returning the argument.
16784         * math/auto-libm-test-in: Add more tests of sinh.
16785         * math/auto-libm-test-out: Regenerated.
16786         * sysdeps/i386/fpu/libm-test-ulps: Update.
16788 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16790         [BZ #18674]
16791         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16792         break.
16794 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16796         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16797         (generated): Don't add $(addprefix z.,$(tzfiles)).
16799 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16801         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16802         * scripts/sysd-rules.awk: Likewise.
16804 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16806         * iconvdata/tst-tables.sh: Change echo -n to printf.
16807         * nss/db-Makefile: Likewise.
16808         * posix/tst-getconf.sh: Likewise.
16809         * stdio-common/tst-unbputc.sh: Likewise.
16811 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16813         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16814         MADV_*_PAGES defines behind this feature check.
16816 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16818         [BZ #18480]
16819         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16820         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16821         Define.
16822         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16823         LOAD_REGS_5, LOAD_REGS_6): Update.
16824         (INTERNAL_SYSCALL): Update using new LOAD defines.
16825         (INTERNAL_SYSCALL_NCS): Likewise.
16826         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16828 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16830         [BZ #16734]
16831         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16833 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16835         [BZ #17905]
16836         * catgets/Makefile (tst-catgets-mem): New test.
16837         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16838         * catgets/open_catalog.c (__open_catalog): Likewise.
16839         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16841 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16843         [BZ #18787]
16844         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16845         clobber registers.
16846         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16847         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16848         Cast return to __typeof (oldval).
16850 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16852         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16853         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16854         and delete sys/syscall.h include.
16856 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16858         [BZ #16517]
16859         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16860         (tan): Force underflow exception for arguments with small absolute
16861         value.
16862         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16863         (__kernel_tanf): Force underflow exception for arguments with
16864         small absolute value.
16865         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16866         (__kernel_tanl): Force underflow exception for arguments with
16867         small absolute value.
16868         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16869         (__kernel_tanl): Force underflow exception for arguments with
16870         small absolute value.
16871         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16872         (__kernel_tanl): Force underflow exception for arguments with
16873         small absolute value.
16874         * math/auto-libm-test-in: Add more tests of tan.
16875         * math/auto-libm-test-out: Regenerated.
16877 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16879         Fix sysdeps/i386/fpu/s_scalbn.S build
16881         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16883 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16885         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16887 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16889         Fix gcrt0.o compilation
16891         When static-start-installed-name is different from
16892         start-installed-name, we must not use the shared objects.
16894         * csu/Makefile
16895         (extra-objs): Add gmon-start.o when building shared library and
16896         $(static-start-installed-name) is different from
16897         $(start-installed-name).
16898         $(objpfx)g$(static-start-installed-name): When building shared
16899         library and $(static-start-installed-name) is different from
16900         $(static-start-installed-name), revert to non-shared rule,
16901         i.e. using $(objpfx)% and gmon-start.o.
16903 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16905         [BZ #16519]
16906         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16907         (__ieee754_sinh): Force underflow exception for arguments with
16908         small absolute value.
16909         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16910         (__ieee754_sinhf): Force underflow exception for arguments with
16911         small absolute value.
16912         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16913         (__ieee754_sinhl): Force underflow exception for arguments with
16914         small absolute value.
16915         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16916         (__ieee754_sinhl): Force underflow exception for arguments with
16917         small absolute value.
16918         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16919         (__ieee754_sinhl): Force underflow exception for arguments with
16920         small absolute value.
16921         * math/auto-libm-test-in: Add more tests of sinh.
16922         * math/auto-libm-test-out: Regenerated.
16923         * sysdeps/i386/fpu/libm-test-ulps: Update.
16925 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16927         * libio/oldfileops.c: Include unistd.h.
16929 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16931         * stdlib/isomac.c: Include ctype.h.
16933 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16935         * dirent/tst-seekdir.c (main): Converted to ...
16936         (do_test): ... this.
16937         (TEST_FUNCTION): New macro.
16938         Include test-skeleton.c.
16939         * elf/tst-dlmodcount.c (main): Converted to ...
16940         (do_test): ... this.
16941         (TEST_FUNCTION): New macro.
16942         Include test-skeleton.c.
16943         * elf/tst-order-main.c (main): Converted to ...
16944         (do_test): ... this.
16945         (TEST_FUNCTION): New macro.
16946         Include test-skeleton.c.
16947         * elf/tst-pie2.c (main): Converted to ...
16948         (do_test): ... this.
16949         (TEST_FUNCTION): New macro.
16950         Include test-skeleton.c.
16951         * inet/tst-ether_aton.c (main): Converted to ...
16952         (do_test): ... this.
16953         (TEST_FUNCTION): New macro.
16954         Include test-skeleton.c.
16955         * misc/tst-mntent.c (main): Converted to ...
16956         (do_test): ... this.
16957         (TEST_FUNCTION): New macro.
16958         Include test-skeleton.c.
16959         * misc/tst-tsearch.c (main): Converted to ...
16960         (do_test): ... this.
16961         (TEST_FUNCTION): New macro.
16962         Include test-skeleton.c.
16963         * posix/tst-regexloc.c (main): Converted to ...
16964         (do_test): ... this.
16965         (TEST_FUNCTION): New macro.
16966         Include test-skeleton.c.
16967         * resolv/tst-aton.c (main): Converted to ...
16968         (do_test): ... this.
16969         (TEST_FUNCTION): New macro.
16970         Include test-skeleton.c.
16971         * stdio-common/test-fwrite.c (main): Converted to ...
16972         (do_test): ... this.
16973         (TEST_FUNCTION): New macro.
16974         Include test-skeleton.c.
16975         * stdio-common/tst-ferror.c (main): Converted to ...
16976         (do_test): ... this.
16977         (TEST_FUNCTION): New macro.
16978         Include test-skeleton.c.
16979         * stdio-common/tst-printf.c (main): Converted to ...
16980         (do_test): ... this.
16981         (TEST_FUNCTION): New macro.
16982         Include test-skeleton.c.
16983         * stdio-common/tst-printfsz.c (main): Converted to ...
16984         (do_test): ... this.
16985         (TEST_FUNCTION): New macro.
16986         Include test-skeleton.c.
16987         * stdlib/tst-strtod.c (main): Converted to ...
16988         (do_test): ... this.
16989         (TEST_FUNCTION): New macro.
16990         Include test-skeleton.c.
16991         * string/tst-strlen.c (main): Converted to ...
16992         (do_test): ... this.
16993         (TEST_FUNCTION): New macro.
16994         Include test-skeleton.c.
16995         * string/tst-svc.c (main): Converted to ...
16996         (do_test): ... this.
16997         (TEST_FUNCTION): New macro.
16998         Include test-skeleton.c.
16999         * time/tst-strptime.c (main): Converted to ...
17000         (do_test): ... this.
17001         (TEST_FUNCTION): New macro.
17002         Include test-skeleton.c.
17003         * timezone/tst-timezone.c (main): Converted to ...
17004         (do_test): ... this.
17005         (TEST_FUNCTION): New macro.
17006         Include test-skeleton.c.
17008 2015-08-05  Zack Weinberg  <zackw@panix.com>
17010         * misc/regexp.h: Update comments.
17012 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17014         [BZ #18635]
17015         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17016         before return label.
17018 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17020         [BZ #18661]
17021         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17022         when calling __errno_location.
17023         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17024         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17026 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17028         [BZ #18661]
17029         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17030         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17031         __gettimeofday.
17033 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17035         [BZ #18661]
17036         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17037         (__start_context): Don't use pop to restore %rdi so that stack
17038         is aligned to 16 bytes when calling __setcontext.
17040 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17042         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17043         only for libc.
17044         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17046 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17048         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17049         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17050         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17052 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17054         * string/memccpy.c (memccpy):
17055         Improve performance by using memchr/memcpy/__mempcpy.
17057 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17059         * string/strncpy.c (strncpy):
17060         Improve performance by using __strnlen/memcpy.
17062 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17064         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17065         Optimize to avoid an unnecessary FPCR read.
17067 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17069         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17070         Optimize to reduce FPCR/FPSR accesses.
17072 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17074         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17075         dead->data[category] != NULL.
17077 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17079         [BZ #18647]
17080         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17081         and |x| close to 1, use absolute value of x when computing log.
17082         * math/auto-libm-test-in: Add more tests of pow.
17083         * math/auto-libm-test-out: Regenerated.
17085 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17087         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17088         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17089         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17091 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17093         [BZ #18525]
17094         * locales/km_KH: Remove timezone definition.
17095         * locales/lo_LA: Likewise.
17096         * locales/my_MM: Likewise.
17097         * locales/nan_TW@latin: Likewise.
17098         * locales/th_TH: Likewise.
17099         * locales/uk_UA: Likewise.
17101 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17103         [BZ #18265]
17104         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17105         (wcsncat): Likewise.
17106         (wcscmp): Likewise.
17107         (wcsncmp): Likewise.
17109 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17111         * test-skeleton.c (usage): New function.
17112         (main): Call usage when opt is '?'.
17114 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17116         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17117         before first use.
17119 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17121         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17122         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17123         in there too.
17125 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17127         * version.h (RELEASE): Set to "development".
17128         (VERSION): Set to "2.22.90"
17130         * version.h (RELEASE): Set to "stable".
17131         (VERSION): Set to "2.22"
17132         * include/features.h (__GLIBC_MINOR__): Set to 22.
17134 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17136         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17137         Restructure macro to avoid "value computed is not used" warning.
17138         (atomic_compare_and_exchange_val_acq): Likewise.
17140 2015-08-04  Andreas Schwab  <schwab@suse.de>
17142         [BZ #18635]
17143         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17144         ret.
17145         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17147 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17149         * po/pl.po: Updated translation.
17150         * po/uk.po: Likewise.
17151         * po/fi.po: Likewise.
17152         * po/ko.po: Likewise.
17153         * po/ru.po: Likewise.
17154         * po/vi.po: Likewise.
17156 2015-07-31  Zack Weinberg  <zackw@panix.com>
17158         [BZ #18681]
17159         * regexp.h: Add unconditional #warning stating that this header
17160         will be removed soon.  Revise banner comment to match.
17161         (compile): Consistently use ERROR instead of RETURN to report
17162         errors (partial fix for bz#18681).
17163         * regexp.c: Don't include regexp.h. Remove some unnecessary
17164         declarations.
17166 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17168         * po/libc.pot: Regenerated.
17170 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17172         [BZ #18740]
17173         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17174         float-vlen4-arch-ext-cflags): Removed.
17175         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17176         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17178 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17180         [BZ #14113]
17181         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17182         aligned to __aligned__.
17183         (pthread_cond_t, pthread_rwlock_t): Likewise.
17185 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17187         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17189 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17191         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17192         (struct sigaction): Change sa_flags from a long to an int, and add
17193         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17195 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17197         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17198         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17199         sysdeps/generic/sysdep.h include.
17200         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17201         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17202         sysdeps/hppa/sysdep.h.
17203         (ENTRY, PSEUDO): Undefine before defining.
17205 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17207         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17208         from scratch to use INTERNAL_SYSCALL.
17210 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17212         [BZ #18078]
17213         * scripts/check-localplt.awk: Support alternate relocations.
17214         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17215         sections.
17216         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17217         malloc entries with + REL R_386_GLOB_DAT.
17218         * sysdeps/x86_64/localplt.data: New file.
17220 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17222         [BZ #18731]
17223         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17224         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17225         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17227 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17229         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17231 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17233         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17234         directly in terms of __sync_fetch_and_add and delete (int) cast.
17236 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17238         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17239         the -D_ASM_IA64_CURRENT_H flag.
17241 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17243         [BZ #18641]
17244         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17246 2015-07-27  Andreas Schwab  <schwab@suse.de>
17248         * conform/conformtest.pl (checknamespace): Filter out string
17249         literals while tokenizing.
17251 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17253         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17254         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17255         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17257 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17259         * nptl/tst-join7mod.c: Add #include <string.h>.
17261 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17263         * sysdeps/nios2/libm-test-ulps: Update.
17265 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17267         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17268         Fix order of arguments to the rt_sigprocmask syscall.
17269         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17270         Likewise.
17272 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17274         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17276 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17278         [BZ #18457]
17279         * nptl/Makefile (tests): New test case tst-join7.
17280         (modules-names): New test case module tst-join7mod.
17281         * nptl/tst-join7.c: New file.
17282         * nptl/tst-join7mod.c: New file.
17283         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17284         all translation units in libc.so, libpthread.so and rtld.
17286 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17290 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17292         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17293         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17294         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17295         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17296         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17297         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17298         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17299         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17300         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17301         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17302         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17303         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17304         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17305         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17306         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17307         implementation.
17309 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17311         [BZ #17711]
17312         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17313         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17314         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17315         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17316         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17317         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17319 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17321         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17322         instead of just saying load lock in the comments.
17324 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17326         * sysdeps/unix/Subdirs: Moved ...
17327         * sysdeps/posix/Subdirs: ... here.
17328         * login/pty.h (struct termios, struct winsize): Add forward decls.
17329         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17330         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17331         * sysdeps/arm/nacl/libc.abilist: Updated.
17332         * sysdeps/nacl/libutil.abilist: New file.
17334         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17335         (SIGWINCH): New macro.
17337         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17338         * sysdeps/arm/nacl/libc.abilist: Add it.
17340 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17342         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17344 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17346         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17347         Swap __glibc_reserved0 and sa_flags order.
17349 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17351         [BZ #18657]
17352         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17353         are pending TLS destructor calls.
17354         * include/link.h (struct link_map): Add concurrency note for
17355         L_TLS_DTOR_COUNT.
17356         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17357         Don't touch the link map flag.  Atomically increment
17358         l_tls_dtor_count.
17359         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17360         Avoid taking the load lock and don't touch the link map flag.
17361         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17362         * stdlib/Makefile (tests): Use it.
17363         * stdlib/tst-tls-atexit.c (do_test): dlopen
17364         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17365         to allow tst-tls-atexit-nodelete test case to use it.
17367 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17369         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17370         to bits/types.h.
17371         (msgqnum_t): New typedef.
17372         (msglen_t): Likewise.
17373         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17374         and msg_qbytes type to msglen_t.
17376 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17378         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17379         pad0 to __glibc_reserved0.
17380         (struct stat64): Likewise.
17382 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17384         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17385         Change sa_flags from a long to an int and add __glibc_reserved0 before
17386         it for padding.
17388 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17390         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17391         anonymous by deleting "siginfo" name.
17393 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17395         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17396         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17397         rather than __nacl_irt_filename.
17398         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17400         * NEWS: New item for arm-nacl port.
17401         * sysdeps/arm/nacl/libc.abilist: New file.
17402         * sysdeps/nacl/ld.abilist: New file.
17403         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17404         * sysdeps/nacl/libanl.abilist: New file.
17405         * sysdeps/nacl/libcrypt.abilist: New file.
17406         * sysdeps/nacl/libdl.abilist: New file.
17407         * sysdeps/nacl/libm.abilist: New file.
17408         * sysdeps/nacl/libpthread.abilist: New file.
17409         * sysdeps/nacl/libresolv.abilist: New file.
17410         * sysdeps/nacl/librt.abilist: New file.
17412 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17414         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17415         __startcontext to initialize the new context.
17416         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17417         up CFI directive to forbid further backtracing.
17419 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17421         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17422         reference.
17423         * charmaps/ANSI_X3.4-1968: Likewise.
17424         * charmaps/BS_4730: Likewise.
17425         * charmaps/BS_VIEWDATA: Likewise.
17426         * charmaps/CP1250: Likewise.
17427         * charmaps/CP1251: Likewise.
17428         * charmaps/CP1252: Likewise.
17429         * charmaps/CP1253: Likewise.
17430         * charmaps/CP1254: Likewise.
17431         * charmaps/CP1255: Likewise.
17432         * charmaps/CP1256: Likewise.
17433         * charmaps/CSN_369103: Likewise.
17434         * charmaps/EBCDIC-DK-NO: Likewise.
17435         * charmaps/GB_1988-80: Likewise.
17436         * charmaps/GREEK-CCITT: Likewise.
17437         * charmaps/GREEK7: Likewise.
17438         * charmaps/INIS-8: Likewise.
17439         * charmaps/ISIRI-3342: Likewise.
17440         * charmaps/ISO_2033-1983: Likewise.
17441         * charmaps/ISO_5427-EXT: Likewise.
17442         * locales/POSIX: Likewise.
17443         * locales/ar_SA: Likewise.
17444         * locales/be_BY: Likewise.
17445         * locales/be_BY@latin: Likewise.
17446         * locales/ca_ES: Likewise.
17447         * locales/cs_CZ: Likewise.
17448         * locales/da_DK: Likewise.
17449         * locales/de_BE: Likewise.
17450         * locales/de_CH: Likewise.
17451         * locales/de_LU: Likewise.
17452         * locales/en_AU: Likewise.
17453         * locales/en_BW: Likewise.
17454         * locales/en_CA: Likewise.
17455         * locales/en_DK: Likewise.
17456         * locales/en_GB: Likewise.
17457         * locales/en_IE: Likewise.
17458         * locales/en_NZ: Likewise.
17459         * locales/en_ZA: Likewise.
17460         * locales/en_ZW: Likewise.
17461         * locales/es_AR: Likewise.
17462         * locales/es_BO: Likewise.
17463         * locales/es_CL: Likewise.
17464         * locales/es_CO: Likewise.
17465         * locales/es_DO: Likewise.
17466         * locales/es_EC: Likewise.
17467         * locales/es_ES: Likewise.
17468         * locales/es_HN: Likewise.
17469         * locales/es_MX: Likewise.
17470         * locales/es_PA: Likewise.
17471         * locales/es_PE: Likewise.
17472         * locales/es_PY: Likewise.
17473         * locales/es_SV: Likewise.
17474         * locales/es_US: Likewise.
17475         * locales/es_UY: Likewise.
17476         * locales/es_VE: Likewise.
17477         * locales/et_EE: Likewise.
17478         * locales/fa_IR: Likewise.
17479         * locales/fo_FO: Likewise.
17480         * locales/fr_CA: Likewise.
17481         * locales/fr_CH: Likewise.
17482         * locales/gv_GB: Likewise.
17483         * locales/he_IL: Likewise.
17484         * locales/hr_HR: Likewise.
17485         * locales/id_ID: Likewise.
17486         * locales/is_IS: Likewise.
17487         * locales/it_CH: Likewise.
17488         * locales/iw_IL: Likewise.
17489         * locales/kl_GL: Likewise.
17490         * locales/ko_KR: Likewise.
17491         * locales/kw_GB: Likewise.
17492         * locales/lg_UG: Likewise.
17493         * locales/lt_LT: Likewise.
17494         * locales/lv_LV: Likewise.
17495         * locales/mi_NZ: Likewise.
17496         * locales/nhn_MX: Likewise.
17497         * locales/nl_BE: Likewise.
17498         * locales/pl_PL: Likewise.
17499         * locales/sk_SK: Likewise.
17500         * locales/sl_SI: Likewise.
17501         * locales/sv_FI: Likewise.
17502         * locales/tl_PH: Likewise.
17503         * locales/tr_TR: Likewise.
17504         * locales/vi_VN: Likewise.
17506 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17508         [BZ #17475]
17509         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17510         of tu_IN and bh_IN.
17512 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17514         [BZ #18694]
17515         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17516         bits/wordsize.h.
17517         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17519 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17522         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17523         (spawn_thread): New function.
17524         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17525         (do_test): ... here.  Use IS_LOADED to test for its
17526         availability.
17528 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17530         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17532 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17534         [BZ #18696]
17535         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17536         si_addr_bnd.
17537         (si_lower): New.
17538         (si_upper): Likewise.
17540 2015-07-16  David S. Miller  <davem@davemloft.net>
17542         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17544 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17546         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17547         buffer.
17548         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17549         fail output information.
17551 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17554         and strstr-ppc64..
17555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17556         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17557         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17558         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17559         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17561 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17563         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17564         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17565         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17566         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17568 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17570         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17571         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17572         rtld_hidden_proto.
17573         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17575 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17577         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17578         the test can fail.
17580         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17582         [BZ #18676]
17583         * elf/tst-nodelete-opened.c: New test case.
17584         * elf/tst-nodelete-opened-lib.c: New test case module.
17585         * elf/Makefile (tests, modules-names): Use them.
17586         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17587         early.
17589 2015-07-15  David S. Miller  <davem@davemloft.net>
17591         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17592         futex-intenal.h
17593         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17594         * sysdeps/sparc/sparc64/Makefile: Likewise.
17595         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17596         Remove space from macro define.
17597         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17599 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17601         [BZ #17475]
17602         * locale/iso-639.def: Update Bhili and Tulu language codes as
17603         per iso639-3.
17605 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17607         * elf/tst-leaks1.c (main): Converted to ...
17608         (do_test): ... this.
17609         (TEST_FUNCTION): New macro.
17610         Include test-skeleton.c.
17611         * localedata/tst-langinfo.c (main): Converted to ...
17612         (do_test): ... this.
17613         (TEST_FUNCTION): New macro.
17614         Include test-skeleton.c.
17615         * math/test-fpucw.c (main): Converted to ...
17616         (do_test): ... this.
17617         (TEST_FUNCTION): New macro.
17618         Include test-skeleton.c.
17619         * math/test-tgmath.c (main): Converted to ...
17620         (do_test): ... this.
17621         (TEST_FUNCTION): New macro.
17622         Include test-skeleton.c.
17623         * math/test-tgmath2.c (main): Converted to ...
17624         (do_test): ... this.
17625         (TEST_FUNCTION): New macro.
17626         Include test-skeleton.c.
17627         * setjmp/tst-setjmp.c (main): Converted to ...
17628         (do_test): ... this.
17629         (TEST_FUNCTION): New macro.
17630         Include test-skeleton.c.
17631         * stdio-common/tst-sscanf.c (main): Converted to ...
17632         (do_test): ... this.
17633         (TEST_FUNCTION): New macro.
17634         Include test-skeleton.c.
17635         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17636         (do_test): ... this.
17637         (TEST_FUNCTION): New macro.
17638         Include test-skeleton.c.
17640         * elf/tst-audit9.c (main): Converted to ...
17641         (do_test): ... this.
17642         (TEST_FUNCTION): New macro.
17643         Include test-skeleton.c.
17645 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17647         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17649 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17651         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17652         New variable.
17654 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17656         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17658 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17660         * sysdeps/generic/dl-fileid.h: New file.
17661         * sysdeps/posix/dl-fileid.h: New file.
17662         * sysdeps/nacl/dl-fileid.h: New file.
17663         * include/link.h: Include <dl-fileid.h>.
17664         (struct link_map): Replace l_dev and l_ino with l_file_id.
17665         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17666         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17667         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17669 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17671         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17673 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17675         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17676         Add iff $CXX is set.
17677         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17678         Likewise.
17679         (tst-nodelete-zmodiff): Likewise.
17680         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17682 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17684         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17686 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17688         * sysdeps/aarch64/fpu/math_private.h
17689         (define math_opt_barrier): Add AArch64 version.
17690         (math_force_eval): Likewise.
17692 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17694         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17696 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17698         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17699         %ld with %jd and cast to intmax_t.
17700         (do_test_length_zero): Likewise.
17702 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17704         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17706 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17708         * sysdeps/tile/libm-test-ulps: Regenerated.
17710         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17711         Comment out the whole function, not just its body.
17713 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17715         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17716         locks.
17718         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17720 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17722         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17723         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17725 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17727         * sysdeps/nptl/futex-internal.h: New file.
17728         * sysdeps/nacl/futex-internal.h: New file.
17729         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17730         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17731         error checking.
17732         (setxid_unmark_thread): Likewise.
17733         (__nptl_setxid): Likewise.
17734         (__wait_lookup_done): Likewise.
17735         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17736         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17737         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17738         * nptl/pthread_once.c (clear_once_control): Likewise.
17739         (__pthread_once_slow): Likewise.
17740         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17741         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17742         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17743         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17744         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17745         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17746         Likewise.
17747         (__pthread_rwlock_rdlock): Likewise.
17748         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17749         Likewise.
17750         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17751         Likewise.
17752         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17753         Likewise.
17754         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17755         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17756         Likewise.
17757         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17758         __ASSUME_PRIVATE_FUTEX check.
17759         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17760         Check that shared futexes are supported.
17761         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17762         wrappers with error checking.
17763         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17764         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17765         * nptl/pthread_barrierattr_setpshared.c
17766         (pthread_barrierattr_setpshared): Check that shared futexes are
17767         supported.
17768         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17769         Likewise.
17770         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17771         Likewise.
17772         * nptl/sem_init.c (futex_private_if_supported): Remove.
17773         (__new_sem_init): Adapt and check that shared futexes are supported.
17774         * nptl/sem_open.c (sem_open): Likewise.
17775         * nptl/sem_post.c (futex_wake): Remove.
17776         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17777         (do_futex_wait): Use futex wrappers with error checking.
17778         * nptl/sem_wait.c: Include lowlevellock.h.
17779         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17780         Use futex_supports_pshared.
17781         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17782         Use futex wrappers with error checking.
17783         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17784         Likewise.
17785         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17786         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17787         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17788         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17789         (futex_wake): Likewise.
17790         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17791         (do_futex_wait): Use futex wrappers with error checking.
17792         (__new_sem_wait_slow): Update EINTR handling.
17793         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17795 2015-07-09  Martin Sebor  <msebor@redhat.com>
17797         [BZ #18435]
17798         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17799         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17800         * nptl/Makefile (test-xfail-tst-once5): Define.
17802 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17804         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17805         * elf/dl-minimal.c: For readability, reorder some definitions and
17806         introduce more page breaks.  Include <stdio.h>.
17807         (__libc_fatal): New function.
17809         * include/unistd.h: Add rtld_hidden_proto for _exit.
17810         * posix/_exit.c: Add rtld_hidden_def.
17811         * sysdeps/mach/hurd/_exit.c: Likewise.
17812         * sysdeps/nacl/_exit.c: Likewise.
17813         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17814         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17816 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17819         bndmov encoding with zero displacement.
17821 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17822             H.J. Lu  <hongjiu.lu@intel.com>
17824         [BZ #18134]
17825         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17826         * sysdeps/i386/configure: Regenerated.
17827         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17828         (_dl_runtime_profile): Save and restore Intel MPX return bound
17829         registers when calling _dl_call_pltexit.  Add
17830         PRESERVE_BND_REGS_PREFIX before return.
17831         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17832         (LRV_BND1_OFFSET): Likewise.
17833         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17834         lrv_bnd1.
17835         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17836         typo in bndmov encoding.
17837         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17838         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17839         branch instructions to preserve bounds.
17841 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17844         [GLIBC_2.22]: Add fmemopen.
17846 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17848         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17849         returns an error, also try to use host port from __mach_host_self for
17850         the __vm_wire call.
17851         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17853 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17855         [BZ #18400]
17856         [BZ #18648]
17857         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17858         Fix pr_uid and pr_gid members.
17859         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17860         definition to elf_greg_t.
17862 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17864         [BZ #18383]
17865         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17866         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17867         * sysdeps/arm/configure: Regenerated.
17868         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17869         (test-xfail-tst-tlsalign-static): Variable removed.
17871         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17872         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17873         rather than explicit 'ln -s'.
17875         * resolv/rpc/netdb.h: New file.
17876         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17878 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17880         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17881         length buffers.
17882         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17883         test-skeleton.c.
17885         [BZ #6544]
17886         [BZ #11216]
17887         [BZ #12836]
17888         [BZ #13151]
17889         [BZ #13152]
17890         [BZ #14292]
17891         * include/stdio.h (fmemopen): Remove hidden prototype.
17892         (__fmemopen): Add new hidden prototype.
17893         * libio/Makefile: Add oldfmemopen object.
17894         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17895         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17896         compliance.
17897         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17898         symbol compatibility.
17899         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17900         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17901         fmemopen.
17902         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17903         on append and read mode.
17904         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17905         fmemopen.
17906         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17907         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17908         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17909         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17910         Likewise.
17911         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17912         [GLIBC_2.22]: Likewise.
17913         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17914         Likewise.
17915         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17916         Likewise.
17917         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17918         [GLIBC_2.22]: Likewise.
17919         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17920         [GLIBC_2.22]: Likewise.
17921         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17922         [GLIBC_2.22]: Likewise.
17923         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17924         [GLIBC_2.22]: Likewise.
17925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17926         [GLIBC_2.22]: Likewise.
17927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17928         [GLIBC_2.22]: Likewise.
17929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17930         [GLIBC_2.22]: Likewise.
17931         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17932         Likewise.
17933         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17934         Likewise.
17935         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17936         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17937         [GLIBC_2.22]: Likewise.
17938         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17939         [GLIBC_2.22]: Likewise.
17940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17941         [GLIBC_2.22]: Likewise.
17942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17943         [GLIBC_2.22]: Likewise.
17944         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17945         Likewise.
17946         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17947         Likewise.
17948         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17949         Likewise.
17950         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17951         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17953 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17955         [BZ #18643]
17956         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17957         IPV6_PATHMTU, and IPV6_DONTFRAG.
17959 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17961         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17962         and _IO_UNBUFFERED.
17963         * libio/oldfileops.c: Likewise.
17964         * libio/wfileops.c: Likewise.
17966 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17968         * nscd/selinux.c: Delete selinux/flask.h include.
17970 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17972         [BZ #18641]
17973         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17974         (putpwent): Likewise.
17975         (getpwnam): Likewise.
17976         (getpwent_r): Likewise.
17977         (getpwuid_r): Likewise.
17978         (getpwnam_r): Likewise.
17979         (fgetpwent_r): Likewise.
17981 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17983         [BZ #18557]
17984         * inet/rcmd.c (__validuser2_sa): Check user first to
17985         short-circuit host check.
17987 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17988             Mikhail Ilin  <m.ilin@samsung.com>
17990         [BZ #17833]
17991         * elf/Makefile (tests): Add tst-nodelete.
17992         (modules-names): Add tst-nodelete-uniquemod.
17993         (tst-nodelete-uniquemod.so-no-z-defs): New.
17994         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17995         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17996         ($(objpfx)tst-nodelete): Likewise.
17997         ($(objpfx)tst-nodelete.out): Likewise.
17998         (LDFLAGS-tst-nodelete): Likewise.
17999         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18000         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18001         implement forced object deletion.
18002         (_dl_close): Pass false to _dl_close_worker.
18003         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18004         * elf/tst-nodelete.cc: New file.
18005         * elf/tst-nodeletelib.cc: Likewise.
18006         * elf/tst-znodeletelib.cc: Likewise.
18007         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18009 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18011         [BZ #18508]
18012         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18013         Depend on $(libdl).
18014         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18015         is not called infinitely times.
18016         (backtrace_helper): New function.
18017         (trace_arg): New struct.
18018         (st1): Enlarge stack size.
18019         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18020         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18021         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18022         Likewise.
18024 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18026         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18028 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18030         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18031         Include sys/types.h instead of bits/types.h.
18032         Remove inclusion of bits/wordsize.h.
18034 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18036         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18037         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18038         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18039         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18040         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18041         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18043 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18045         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18046         link-defines.sym.
18047         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18048         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18049         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18050         and LR_SIZE.
18051         * sysdeps/i386/link-defines.sym: New file.
18053 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18055         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18056         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18057         ($(objpfx)tst-audit3): New rule.
18058         ($(objpfx)tst-audit3.out): Likewise.
18059         * sysdeps/i386/tst-audit3.c: New file.
18060         * sysdeps/i386/tst-audit3.h: Likewise.
18061         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18062         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18064 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18066         [BZ #18633]
18067         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18068         pointer in C code.
18069         (__strcat_c): Likewise.
18070         (__strcat_g): Likewise.
18072 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18074         [BZ #18592]
18075         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18077 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18079         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18080         New function.  (__ieee754_sqrtf): New function.
18081         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18082         New function.
18083         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18084         New function.
18086 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18088         * sysdeps/ieee754/support.c: Remove unused file.
18090 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18092         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18093         registers instead of d ones so the layout is kernel abi compatible.
18094         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18095         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18096         Likewise.
18098 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18100         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18102 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18104         [BZ #18619]
18105         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18106         and return argument in case of subnormal argument.
18108 2015-07-01  Martin Sebor  <msebor@redhat.com>
18110         [BZ #18435]
18111         * nptl/Makefile: Add tst-once5.cc.
18112         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18113         Remove macro redefinitions.
18114         * nptl/tst-once5.cc: New test.
18116 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18118         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18120         * sysdeps/arm/libm-test-ulps: Regenerated.
18122         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18123         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18125 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18127         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18128         lll_lock_wait_private and lll_futex_wake probes.
18130         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18131         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18132         Likewise.
18133         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18134         atomic_spin_nop.
18135         * sysdeps/x86_64/bits/atomic.h: Likewise.
18136         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18137         to atomic_spin_nop and move ...
18138         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18139         ... here and ...
18140         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18141         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18142         atomic_spin_nop instead of BUSY_WAIT_NOP.
18143         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18144         Likewise.
18145         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18146         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18147         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18148         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18149         instead of atomic_delay.
18151 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18153         [BZ #18613]
18154         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18155         X_ADJ not X when adjusting exponent.
18156         (__ieee754_gamma_r): Do intermediate computations in
18157         round-to-nearest then adjust overflowing and underflowing results
18158         as needed.
18159         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18160         of X_ADJ not X when adjusting exponent.
18161         (__ieee754_gammaf_r): Do intermediate computations in
18162         round-to-nearest then adjust overflowing and underflowing results
18163         as needed.
18164         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18165         log of X_ADJ not X when adjusting exponent.
18166         (__ieee754_gammal_r): Do intermediate computations in
18167         round-to-nearest then adjust overflowing and underflowing results
18168         as needed.  Use 1.0L not 1.0f as numerator of division.
18169         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18170         log of X_ADJ not X when adjusting exponent.
18171         (__ieee754_gammal_r): Do intermediate computations in
18172         round-to-nearest then adjust overflowing and underflowing results
18173         as needed.  Use 1.0L not 1.0f as numerator of division.
18174         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18175         of X_ADJ not X when adjusting exponent.
18176         (__ieee754_gammal_r): Do intermediate computations in
18177         round-to-nearest then adjust overflowing and underflowing results
18178         as needed.  Use 1.0L not 1.0f as numerator of division.
18179         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18180         to auto-libm-test-in.
18181         (tgamma_test): Use ALL_RM_TEST.
18182         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18183         tests of tgamma with spurious-overflow.
18184         * math/auto-libm-test-out: Regenerated.
18185         * math/gen-libm-have-vector-test.sh: Do not check for START.
18186         * sysdeps/i386/fpu/libm-test-ulps: Update.
18187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18189         [BZ #18612]
18190         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18191         arguments, just return 0.5 times the argument, with underflow
18192         forced as needed.
18193         * math/auto-libm-test-in: Add more tests of j1.
18194         * math/auto-libm-test-out: Regenerated.
18196         [BZ #16559]
18197         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18198         (__ieee754_j1): Force underflow exception for small results.
18199         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18200         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18201         (__ieee754_j1f): Force underflow exception for small results.
18202         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18203         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18204         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18205         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18206         (__ieee754_j1l): Force underflow exception for small results.
18207         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18208         * math/auto-libm-test-in: Add more tests of j1 and jn.
18209         * math/auto-libm-test-out: Regenerated.
18211         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18212         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18213         (PF_MPLS): Likewise.
18214         (AF_IB): Likewise.
18215         (AF_MPLS): Likewise.
18216         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18217         value and macro.
18218         (MS_RMT_MASK): Include MS_LAZYTIME.
18220 2015-06-26  Mel Gorman  <mgorman@suse.de>
18222         [BZ #18502]
18223         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18224         already minimal.
18226 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18228         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18229         (DT_MIPS_NUM): Update.
18230         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18231         DT_MIPS_RLD_MAP_REL.
18233 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18235         [BZ #16559]
18236         [BZ #18602]
18237         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18238         round-to-nearest internally then recompute results that
18239         underflowed to zero in the original rounding mode.
18240         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18241         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18242         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18243         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18244         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18245         * sysdeps/i386/fpu/libm-test-ulps: Update.
18246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18248 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18250         * NEWS: Fixed description of link with vector math library.
18252 2015-06-25  Andreas Schwab  <schwab@suse.de>
18254         [BZ #18549]
18255         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18256         * libio/test-fmemopen.c (do_test): Add test for it.
18258 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18260         [BZ #17841]
18261         * Makeconfig (no-pie-ldflag): New.
18262         (+link): Set to $(+link-pie) if default to PIE.
18263         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18264         * config.make.in (build-pie-default): New.
18265         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18266         is default.  AC_SUBST.
18267         * configure: Regenerated.
18268         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18270 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18272         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18273         to 'unsigned int'.
18275         * resolv/gai_misc.h (struct waitlist): Change type of field
18276         counterp to 'volatile unsigned int *'.
18277         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18278         FUTEXADDR and OLDVAL.
18279         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18280         Give local variable TOTAL type 'volatile unsigned int'.
18281         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18282         * resolv/gai_suspend.c (gai_suspend):
18283         Give local variable CNTR type 'unsigned int'.
18285         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18286         counterp to 'volatile unsigned int *'.
18287         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18288         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18289         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18290         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18291         Give local variable TOTAL type 'volatile unsigned int'.
18292         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18294 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18296         [BZ #18383]
18297         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18298         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18299         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18300         comment for i386/x86-64.
18301         (test-xfail-tst-tlsalign-extern-static): Removed.
18303 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18305         * math/test-double.h: New file.
18306         * math/test-float.h: Likewise.
18307         * math/test-ldouble.h: Likewise.
18308         * math/test-math-inline.h: Likewise.
18309         * math/test-math-no-inline.h: Likewise.
18310         * math/test-math-scalar.h: Likewise.
18311         * math/test-math-vector.h: Likewise.
18312         * math/test-vec-loop.h: Remove file.  Contents moved into
18313         test-math-vector.h.
18314         * math/libm-test.inc (MATHCONST): Do not document macro.
18315         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18316         and test-math-scalar.h.
18317         (FUNC): Remove macro.
18318         (FUNC_TEST): Likewise.
18319         (FLOAT): Likewise.
18320         (MATHCONST): Likewise.
18321         (PRINTF_EXPR): Likewise.
18322         (PRINTF_XEXPR): Likewise.
18323         (PRINTF_NEXPR): Likewise.
18324         (TEST_DOUBLE): Likewise.
18325         (TEST_MATHVEC): Likewise.
18326         (__NO_MATH_INLINES): Likewise.
18327         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18328         and test-math-scalar.h.
18329         (FUNC): Remove macro.
18330         (FUNC_TEST): Likewise.
18331         (FLOAT): Likewise.
18332         (MATHCONST): Likewise.
18333         (PRINTF_EXPR): Likewise.
18334         (PRINTF_XEXPR): Likewise.
18335         (PRINTF_NEXPR): Likewise.
18336         (TEST_FLOAT): Likewise.
18337         (TEST_MATHVEC): Likewise.
18338         (__NO_MATH_INLINES): Likewise.
18339         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18340         and test-math-scalar.h.
18341         (FUNC): Remove macro.
18342         (FUNC_TEST): Likewise.
18343         (FLOAT): Likewise.
18344         (MATHCONST): Likewise.
18345         (PRINTF_EXPR): Likewise.
18346         (PRINTF_XEXPR): Likewise.
18347         (PRINTF_NEXPR): Likewise.
18348         (TEST_DOUBLE): Likewise.
18349         (TEST_MATHVEC): Likewise.
18350         (TEST_INLINE): Likewise.
18351         (__NO_MATH_INLINES): Likewise.
18352         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18353         test-math-scalar.h.
18354         (FUNC): Remove macro.
18355         (FUNC_TEST): Likewise.
18356         (FLOAT): Likewise.
18357         (MATHCONST): Likewise.
18358         (PRINTF_EXPR): Likewise.
18359         (PRINTF_XEXPR): Likewise.
18360         (PRINTF_NEXPR): Likewise.
18361         (TEST_FLOAT): Likewise.
18362         (TEST_MATHVEC): Likewise.
18363         (TEST_INLINE): Likewise.
18364         (__NO_MATH_INLINES): Likewise.
18365         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18366         and test-math-scalar.h.
18367         (FUNC): Remove macro.
18368         (FUNC_TEST): Likewise.
18369         (FLOAT): Likewise.
18370         (MATHCONST): Likewise.
18371         (PRINTF_EXPR): Likewise.
18372         (PRINTF_XEXPR): Likewise.
18373         (PRINTF_NEXPR): Likewise.
18374         (TEST_LDOUBLE): Likewise.
18375         (TEST_MATHVEC): Likewise.
18376         (TEST_INLINE): Likewise.
18377         (__NO_MATH_INLINES): Likewise.
18378         * math/test-ldouble.c: Include test-ldouble.h,
18379         test-math-no-inline.h and test-math-scalar.h.
18380         (FUNC): Remove macro.
18381         (FUNC_TEST): Likewise.
18382         (FLOAT): Likewise.
18383         (MATHCONST): Likewise.
18384         (PRINTF_EXPR): Likewise.
18385         (PRINTF_XEXPR): Likewise.
18386         (PRINTF_NEXPR): Likewise.
18387         (TEST_LDOUBLE): Likewise.
18388         (TEST_MATHVEC): Likewise.
18389         (__NO_MATH_INLINES): Likewise.
18390         * math/test-double-vlen2.h: Include test-double.h,
18391         test-math-no-inline.h and test-math-vector.h.
18392         (FLOAT): Remove macro.
18393         (FUNC): Likewise.
18394         (MATHCONST): Likewise.
18395         (PRINTF_EXPR): Likewise.
18396         (PRINTF_XEXPR): Likewise.
18397         (PRINTF_NEXPR): Likewise.
18398         (TEST_DOUBLE): Likewise.
18399         (TEST_MATHVEC): Likewise.
18400         (__NO_MATH_INLINES): Likewise.
18401         (CNCT): Likewise.
18402         (CONCAT): Likewise.
18403         (WRAPPER_NAME): Likewise.
18404         (WRAPPER_DECL): Likewise.
18405         (WRAPPER_DECL_ff): Likewise.
18406         (WRAPPER_DECL_fFF): Likewise.
18407         (VECTOR_WRAPPER): Likewise.
18408         (VECTOR_WRAPPER_ff): Likewise.
18409         (VECTOR_WRAPPER_fFF): Likewise.
18410         (VEC_LEN): New macro.
18411         * math/test-double-vlen4.h: Include test-double.h,
18412         test-math-no-inline.h and test-math-vector.h.
18413         (FLOAT): Remove macro.
18414         (FUNC): Likewise.
18415         (MATHCONST): Likewise.
18416         (PRINTF_EXPR): Likewise.
18417         (PRINTF_XEXPR): Likewise.
18418         (PRINTF_NEXPR): Likewise.
18419         (TEST_DOUBLE): Likewise.
18420         (TEST_MATHVEC): Likewise.
18421         (__NO_MATH_INLINES): Likewise.
18422         (CNCT): Likewise.
18423         (CONCAT): Likewise.
18424         (WRAPPER_NAME): Likewise.
18425         (WRAPPER_DECL): Likewise.
18426         (WRAPPER_DECL_ff): Likewise.
18427         (WRAPPER_DECL_fFF): Likewise.
18428         (VECTOR_WRAPPER): Likewise.
18429         (VECTOR_WRAPPER_ff): Likewise.
18430         (VECTOR_WRAPPER_fFF): Likewise.
18431         (VEC_LEN): New macro.
18432         * math/test-double-vlen8.h: Include test-double.h,
18433         test-math-no-inline.h and test-math-vector.h.
18434         (FLOAT): Remove macro.
18435         (FUNC): Likewise.
18436         (MATHCONST): Likewise.
18437         (PRINTF_EXPR): Likewise.
18438         (PRINTF_XEXPR): Likewise.
18439         (PRINTF_NEXPR): Likewise.
18440         (TEST_DOUBLE): Likewise.
18441         (TEST_MATHVEC): Likewise.
18442         (__NO_MATH_INLINES): Likewise.
18443         (CNCT): Likewise.
18444         (CONCAT): Likewise.
18445         (WRAPPER_NAME): Likewise.
18446         (WRAPPER_DECL): Likewise.
18447         (WRAPPER_DECL_ff): Likewise.
18448         (WRAPPER_DECL_fFF): Likewise.
18449         (VECTOR_WRAPPER): Likewise.
18450         (VECTOR_WRAPPER_ff): Likewise.
18451         (VECTOR_WRAPPER_fFF): Likewise.
18452         (VEC_LEN): New macro.
18453         * math/test-float-vlen4.h: Include test-float.h,
18454         test-math-no-inline.h and test-math-vector.h.
18455         (FLOAT): Remove macro.
18456         (FUNC): Likewise.
18457         (MATHCONST): Likewise.
18458         (PRINTF_EXPR): Likewise.
18459         (PRINTF_XEXPR): Likewise.
18460         (PRINTF_NEXPR): Likewise.
18461         (TEST_FLOAT): Likewise.
18462         (TEST_MATHVEC): Likewise.
18463         (__NO_MATH_INLINES): Likewise.
18464         (CNCT): Likewise.
18465         (CONCAT): Likewise.
18466         (WRAPPER_NAME): Likewise.
18467         (WRAPPER_DECL): Likewise.
18468         (WRAPPER_DECL_ff): Likewise.
18469         (WRAPPER_DECL_fFF): Likewise.
18470         (VECTOR_WRAPPER): Likewise.
18471         (VECTOR_WRAPPER_ff): Likewise.
18472         (VECTOR_WRAPPER_fFF): Likewise.
18473         (VEC_LEN): New macro.
18474         * math/test-float-vlen8.h: Include test-float.h,
18475         test-math-no-inline.h and test-math-vector.h.
18476         (FLOAT): Remove macro.
18477         (FUNC): Likewise.
18478         (MATHCONST): Likewise.
18479         (PRINTF_EXPR): Likewise.
18480         (PRINTF_XEXPR): Likewise.
18481         (PRINTF_NEXPR): Likewise.
18482         (TEST_FLOAT): Likewise.
18483         (TEST_MATHVEC): Likewise.
18484         (__NO_MATH_INLINES): Likewise.
18485         (CNCT): Likewise.
18486         (CONCAT): Likewise.
18487         (WRAPPER_NAME): Likewise.
18488         (WRAPPER_DECL): Likewise.
18489         (WRAPPER_DECL_ff): Likewise.
18490         (WRAPPER_DECL_fFF): Likewise.
18491         (VECTOR_WRAPPER): Likewise.
18492         (VECTOR_WRAPPER_ff): Likewise.
18493         (VECTOR_WRAPPER_fFF): Likewise.
18494         (VEC_LEN): New macro.
18495         * math/test-float-vlen16.h: Include test-float.h,
18496         test-math-no-inline.h and test-math-vector.h.
18497         (FLOAT): Remove macro.
18498         (FUNC): Likewise.
18499         (MATHCONST): Likewise.
18500         (PRINTF_EXPR): Likewise.
18501         (PRINTF_XEXPR): Likewise.
18502         (PRINTF_NEXPR): Likewise.
18503         (TEST_FLOAT): Likewise.
18504         (TEST_MATHVEC): Likewise.
18505         (__NO_MATH_INLINES): Likewise.
18506         (CNCT): Likewise.
18507         (CONCAT): Likewise.
18508         (WRAPPER_NAME): Likewise.
18509         (WRAPPER_DECL): Likewise.
18510         (WRAPPER_DECL_ff): Likewise.
18511         (WRAPPER_DECL_fFF): Likewise.
18512         (VECTOR_WRAPPER): Likewise.
18513         (VECTOR_WRAPPER_ff): Likewise.
18514         (VECTOR_WRAPPER_fFF): Likewise.
18515         (VEC_LEN): New macro.
18516         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18517         test-vec-loop.h.
18518         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18520         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18521         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18522         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18523         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18524         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18526 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18528         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18529         (__getlogin_r): ... this.
18531 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18533         [BZ #18594]
18534         * math/s_ccosh.c (__ccosh): Compare with least normal value
18535         instead of comparing class with FP_SUBNORMAL.
18536         * math/s_ccoshf.c (__ccoshf): Likewise.
18537         * math/s_ccoshl.c (__ccoshl): Likewise.
18538         * math/s_cexp.c (__cexp): Likewise.
18539         * math/s_cexpf.c (__cexpf): Likewise.
18540         * math/s_cexpl.c (__cexpl): Likewise.
18541         * math/s_csin.c (__csin): Likewise.
18542         * math/s_csinf.c (__csinf): Likewise.
18543         * math/s_csinh.c (__csinh): Likewise.
18544         * math/s_csinhf.c (__csinhf): Likewise.
18545         * math/s_csinhl.c (__csinhl): Likewise.
18546         * math/s_csinl.c (__csinl): Likewise.
18547         * math/s_ctan.c (__ctan): Likewise.
18548         * math/s_ctanf.c (__ctanf): Likewise.
18549         * math/s_ctanh.c (__ctanh): Likewise.
18550         * math/s_ctanhf.c (__ctanhf): Likewise.
18551         * math/s_ctanhl.c (__ctanhl): Likewise.
18552         * math/s_ctanl.c (__ctanl): Likewise.
18553         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18554         csin, csinh, ctan and ctanh.
18555         * math/auto-libm-test-out: Regenerated.
18556         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18557         * sysdeps/i386/fpu/libm-test-ulps: Update.
18558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18560 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18562         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18563         return value is wrong, print the expected value too.
18565 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18567         [BZ #18585]
18568         * elf/readlib.c (is_gdb_python_file): New.
18569         (process_file): Don't issue errors on filenames with -gdb.py
18570         suffix.
18572 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18574         * math/auto-libm-test-in: Add more tests of csin and csinh.
18575         * math/auto-libm-test-out: Regenerated.
18576         * math/libm-test.inc (csin_test_data): Remove tests moved to
18577         auto-libm-test-in.
18578         (csinh_test_data): Likewise.
18580         [BZ #18593]
18581         * math/s_csin.c (__csin): Negate before rather than after possibly
18582         overflowing multiplication.
18583         * math/s_csinf.c (__csinf): Likewise.
18584         * math/s_csinh.c (__csinh): Likewise.
18585         * math/s_csinhf.c (__csinhf): Likewise.
18586         * math/s_csinhl.c (__csinhl): Likewise.
18587         * math/s_csinl.c (__csinl): Likewise.
18588         * math/auto-libm-test-in: Add some tests of csin and csinh.
18589         * math/auto-libm-test-out: Regenerated.
18590         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18591         (csinh_test_data): Likewise.
18592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18594         [BZ #18586]
18595         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18596         underflow exception for small results.
18598 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18600         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18601         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18602         variable and included header.
18603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18604         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18605         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18606         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18608         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18609         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18611         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18612         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18613         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18614         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18615         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18616         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18617         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18618         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18620 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18622         [BZ #16526]
18623         [BZ #16538]
18624         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18625         (__sin): Force underflow exception for arguments with small
18626         absolute value.
18627         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18628         (__kernel_sinf): Force underflow exception for arguments with
18629         small absolute value.
18630         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18631         (__kernel_sincosl): Force underflow exception for arguments with
18632         small absolute value.
18633         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18634         (__kernel_sinl): Force underflow exception for arguments with
18635         small absolute value.
18636         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18637         (__kernel_sincosl): Force underflow exception for arguments with
18638         small absolute value.
18639         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18640         (__kernel_sinl): Force underflow exception for arguments with
18641         small absolute value.
18642         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18643         (__kernel_sinl): Force underflow exception for arguments with
18644         small absolute value.
18645         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18646         (__kernel_sinf): Force underflow exception for arguments with
18647         small absolute value.
18648         * math/auto-libm-test-in: Add more tests of sin and sincos.
18649         * math/auto-libm-test-out: Regenerated.
18651         [BZ #18245]
18652         [BZ #18583]
18653         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18654         (__kernel_standard_l): Use feholdexcept and fesetenv around
18655         conversion to double instead of special-casing overflow and
18656         underflow.
18657         * math/libm-test.inc (fmod_test_data): Add more tests.
18658         (remainder_test_data): Likewise.
18659         (sqrt_test_data): Likewise.
18661 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18663         [BZ #17403]
18664         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18665         atomic_read_barrier, atomic_write_barrier): Define.
18666         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18667         atomic_read_barrier, atomic_write_barrier): Define.
18669 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18671         * math/Makefile [$(PERL) != no]
18672         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18673         dependency on libm-test.stmp below the inclusion of Rules.
18675 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18677         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18678         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18679         and included header.
18680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18681         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18682         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18683         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18685         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18686         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18687         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18688         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18689         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18690         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18691         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18692         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18693         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18694         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18695         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18696         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18697         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18698         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18700 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18702         [BZ #18371]
18703         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18704         intermediate but not final result might underflow.
18705         * math/s_csqrtf.c (__csqrtf): Likewise.
18706         * math/s_csqrtl.c (__csqrtl): Likewise.
18707         * math/auto-libm-test-in: Add more tests of csqrt.
18708         * math/auto-libm-test-out: Regenerated.
18709         * sysdeps/i386/fpu/libm-test-ulps: Update.
18711         [BZ #18219]
18712         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18713         threshold on absolute value of exponent for which scaling is used.
18714         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18715         * math/auto-libm-test-in: Add more tests of exp2.
18716         * math/auto-libm-test-out: Regenerated.
18718 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18720         [BZ #17977]
18721         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18722         when initializing interface list, based on the bug analysis
18723         and the patch proposed by Eric Newton.
18724         * resolv/tst-res_hconf_reorder.c: New test.
18725         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18726         tst-res_hconf_reorder.
18727         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18728         and $(shared-thread-library).
18729         (tst-res_hconf_reorder-ENV): New variable.
18731         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18732         in comment.
18734 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18736         [BZ #16353]
18737         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18738         (__expm1): Force underflow exception for arguments with small
18739         absolute value.
18740         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18741         (__expm1f): Force underflow exception for arguments with small
18742         absolute value.
18743         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18744         (__expm1): Force underflow exception for arguments with small
18745         absolute value.
18746         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18747         (__expm1f): Force underflow exception for arguments with small
18748         absolute value.
18749         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18750         Check for small arguments before calling __expm1.
18751         * math/auto-libm-test-in: Do not mark underflow exceptions as
18752         possibly missing for bug 16353.
18753         * math/auto-libm-test-out: Regenerated.
18755 2015-06-22  Andreas Schwab  <schwab@suse.de>
18757         [BZ #18513]
18758         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18759         PTR queries.
18761 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18763         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18765         * string/strcoll_l.c: Remove unused struct element idxnow.
18767 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18769         [BZ #18569]
18770         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18771         underflow and return argument in case of subnormal argument.
18772         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18773         Likewise.
18774         * math/auto-libm-test-in: Add more tests of expm1.
18775         * math/auto-libm-test-out: Regenerated.
18777         [BZ #16361]
18778         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18779         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18780         tiny results.
18781         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18782         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18783         tiny results.
18784         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18785         mark underflow exceptions as possibly missing for bug 16361.
18786         * math/auto-libm-test-out: Regenerated.
18788 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18790         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18791         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18792         Remove variable.
18793         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18794         (test-xfail-XOPEN2K8/utmpx.h/conform).
18796         * conform/conformtest.pl ($xerrors): New variable.
18797         (note_error): New function.
18798         (compiletest): New argument $xfail.  Use not_error.
18799         (runtest): Likewise.
18800         (top level): Handle xfail- lines.  Update calls to compiletest and
18801         runtest.  Handle xfail- and optional- in headers listed with
18802         allow-header.
18803         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18804         (O_EXEC): Likewise.
18805         (O_SEARCH): Likewise.
18806         * conform/data/stropts.h-data (ioctl): Likewise.
18807         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18808         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18809         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18810         (msghdr.msg_controllen): Likewise.
18811         (cmsghdr.cmsg_len): Likewise.
18812         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18813         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18814         variable.
18815         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18816         (test-xfail-XPG4/stropts.h/conform): Likewise.
18817         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18818         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18819         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18820         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18821         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18822         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18823         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18824         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18825         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18826         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18827         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18828         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18829         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18830         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18831         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18832         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18833         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18834         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18835         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18837 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18839         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18840         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18841         definitions for proper unfolding of __MATHDECL_VEC.
18843 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18845         * benchtests/bench-strcoll.c:
18846         Include string.h.
18847         (main): Remove unused variable res.
18849 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18851         * timezone/Makefile (%/UTC %/Universal):
18852         Generate test-result files for UTC and Universal.
18854 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18856         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18858 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18860         [BZ #16350]
18861         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18862         for arguments with small absolute value.
18863         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18864         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18865         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18866         (__asinh): Force underflow exception for arguments with small
18867         absolute value.
18868         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18869         (__asinhf): Force underflow exception for arguments with small
18870         absolute value.
18871         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18872         (__asinhl): Force underflow exception for arguments with small
18873         absolute value.
18874         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18875         (__asinhl): Force underflow exception for arguments with small
18876         absolute value.
18877         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18878         (__asinhl): Force underflow exception for arguments with small
18879         absolute value.
18880         * math/auto-libm-test-in: Do not mark underflow exceptions as
18881         possibly missing for bug 16350.
18882         * math/auto-libm-test-out: Regenerated.
18884         * include/bits/ipc.h: Remove file.
18885         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18886         variable.
18887         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18888         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18889         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18890         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18891         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18892         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18893         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18894         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18895         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18897         * math/auto-libm-test-in: Remove spurious underflow allowance for
18898         tests of cexp.
18899         * math/auto-libm-test-out: Regenerated.
18901         [BZ #18558]
18902         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18903         unconditional definition.
18904         (MCAST_BLOCK_SOURCE): Likewise.
18905         (MCAST_UNBLOCK_SOURCE): Likewise.
18906         (MCAST_LEAVE_GROUP): Likewise.
18907         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18908         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18909         (MCAST_MSFILTER): Likewise.
18910         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18911         Remove variable.
18912         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18913         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18914         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18915         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18916         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18918 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18920         * NEWS: Mention addition of x86_64 vector sincosf.
18921         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18922         * math/test-float-vlen4.h: Likewise.
18923         * math/test-float-vlen8.h: Likewise.
18924         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18925         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18926         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18927         * sysdeps/x86_64/fpu/Versions: New versions added.
18928         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18929         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18930         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18931         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18932         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18933         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18934         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18935         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18936         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18937         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18938         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18939         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18940         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18941         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18942         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18943         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18944         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18945         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18946         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18947         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18948         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18949         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18950         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18951         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18953         * NEWS: Mention addition of x86_64 vector sincos.
18954         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18955         * math/math.h (__MATHDECL_VEC): New macro.
18956         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18957         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18958         declaration under condition.
18959         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18960         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18961         TEST_VEC_LOOP change.
18962         * math/test-double-vlen4.h: Likewise.
18963         * math/test-double-vlen8.h: Likewise.
18964         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18965         * math/test-float-vlen4.h: Likewise.
18966         * math/test-float-vlen8.h: Likewise.
18967         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18968         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18969         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18970         * sysdeps/x86_64/fpu/Versions: New versions added.
18971         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18972         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18973         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18974         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18975         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18976         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18978         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18980         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18981         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18982         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18983         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18984         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18985         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18986         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18987         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18988         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18989         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18990         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18991         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18992         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18993         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18994         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18996         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18997         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18998         redirections for powf.
18999         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19000         * sysdeps/x86_64/fpu/Versions: New versions added.
19001         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19002         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19003         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19004         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19005         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19006         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19007         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19008         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19009         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19010         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19011         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19012         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19013         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19014         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19015         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19016         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19017         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19018         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19019         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19020         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19021         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19022         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19023         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19024         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19025         * math/test-float-vlen16.h: Fixed 2 argument macro.
19026         * math/test-float-vlen4.h: Likewise.
19027         * math/test-float-vlen8.h: Likewise.
19028         * NEWS: Mention addition of x86_64 vector powf.
19030 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19032         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19033         and redefine.
19034         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19035         and redefine.
19036         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19037         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19038         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19040         [BZ #18553]
19041         * resource/getpriority.c (getpriority): Rename to __getpriority
19042         and define as weak alias of __getpriority.
19043         * resource/setpriority.c (setpriority): Rename to __setpriority
19044         and define as weak alias of __setpriority.
19045         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19046         __getpriority and define as weak alias of __getpriority.
19047         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19048         __setpriority and define as weak alias of __setpriority.
19049         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19050         strong name.
19051         (setpriority): Use __setpriority as strong name.
19052         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19053         __getpriority and define as weak alias of __getpriority.
19054         * include/sys/resource.h (__getpriority): Declare.  Use
19055         libc_hidden_proto.
19056         (__setpriority): Likewise.
19057         (getpriority): Don't use libc_hidden_proto.
19058         (setpriority): Likewise.
19059         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19060         getpriority.  Call __setpriority instead of setpriority.
19061         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19062         Remove variable.
19064         [BZ #18547]
19065         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19066         as weak alias of __getttynam.  Use prototype function definition.
19067         Call __setttyent, __getttyent and __endttyent instead of
19068         setttyent, getttyent and endttyent.
19069         (getttyent): Rename to __getttyent and define as weak alias of
19070         __getttyent.  Call __setttyent instead of setttyent.  Call
19071         __fgets_unlocked instead of fgets_unlocked.
19072         (setttyent): Rename to __setttyent and define as weak alias of
19073         __setttyent.
19074         (endttyent): Rename to __endttyent and define as weak alias of
19075         __endttyent.
19076         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19077         (__setttyent): Likewise.
19078         (__endttyent): Likewise.
19079         (getttyent): Don't use libc_hidden_proto.
19080         (setttyent): Likewise.
19081         (endttyent): Likewise.
19082         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19083         __endttyent instead of setttyent, getttyent and endttyent.
19084         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19085         Remove variable.
19087         [BZ #18546]
19088         * socket/recv.c (__recv): Use libc_hidden_def.
19089         * socket/socket.c (__socket): Likewise.
19090         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19091         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19092         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19093         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19094         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19095         libc_hidden_def.
19096         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19097         libc_hidden_weak.
19098         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19099         Use libc_hidden_proto.
19100         (__recv): Likewise.
19101         * socket/Versions (libc): Export __recv and __socket at version
19102         GLIBC_PRIVATE.
19103         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19104         instead of recv.
19105         (init_mq_netlink): Call __socket instead of socket.
19106         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19107         Remove variable.
19109         [BZ #18545]
19110         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19111         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19112         hidden_weak.
19113         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19114         define as alias of __mq_timedsend.  Use hidden_weak.
19115         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19116         __mq_timedsend as strong name.
19117         (mq_timedreceive): Use __mq_timedreceive as strong name.
19118         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19119         (__mq_timedreceive): Likewise.
19120         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19121         __mq_timedreceive instead of mq_timedreceive.
19122         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19123         instead of mq_timedsend.
19124         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19125         Remove variable.
19127         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19128         hidden_def and hidden_weak instead of libc_hidden_def and
19129         libc_hidden_weak.
19130         (top level): Refer to hidden_def in comment.
19131         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19132         macro.  Use it instead of libc_hidden_def.
19133         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19134         specify __GI_* name explicitly.
19135         (mq_timedreceive): Likewise.
19136         (mq_setattr): Likewise.
19138         [BZ #18544]
19139         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19140         __pthread_barrier_init and define as weak alias of
19141         __pthread_barrier_init.
19142         * sysdeps/sparc/nptl/pthread_barrier_init.c
19143         (pthread_barrier_init): Likewise.
19144         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19145         __pthread_barrier_wait and define as weak alias of
19146         __pthread_barrier_wait.
19147         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19148         (pthread_barrier_wait): Likewise.
19149         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19150         (pthread_barrier_wait): Likewise.
19151         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19152         (pthread_barrier_wait): Likewise.
19153         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19154         (pthread_barrier_wait): Likewise.
19155         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19156         __pthread_barrier_wait at version GLIBC_PRIVATE.
19157         * include/pthread.h (__pthread_barrier_init): Declare.
19158         (__pthread_barrier_wait): Likewise.
19159         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19160         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19161         (helper_thread): Likewise.
19162         (init_mq_netlink): Call __pthread_barrier_init instead of
19163         pthread_barrier_init.
19165         [BZ #18542]
19166         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19167         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19168         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19169         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19170         vswscanf.
19171         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19172         Remove variable.
19174         [BZ #18540]
19175         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19176         strong alias of _IO_fflush.  Use libc_hidden_def.
19177         * libio/iofflush_u.c (fflush_unlocked): Rename to
19178         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19179         Use libc_hidden_weak.
19180         * include/stdio.h (__fflush_unlocked): Declare.  Use
19181         libc_hidden_proto.
19182         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19183         fflush_unlocked.
19184         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19185         Remove variable.
19187         [BZ #18539]
19188         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19189         define as weak alias of __addseverity.
19190         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19191         Remove variable.
19192         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19193         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19194         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19196         [BZ #18536]
19197         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19198         (__tfind): Likewise.
19199         (__tdelete): Likewise.
19200         (__twalk): Likewise.
19201         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19202         __twalk to GLIBC_PRIVATE.
19203         * include/search.h (__tsearch): Use libc_hidden_proto.
19204         (__tfind): Likewise.
19205         (__tdelete): Likewise.
19206         (__twalk): Likewise.
19207         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19208         Call __tdelete instead of tdelete.
19209         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19210         tfind.  Call __tsearch instead of tsearch.
19211         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19212         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19213         Remove variable.
19214         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19216         [BZ #18534]
19217         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19218         (dprintf): Define as a weak alias of __dprintf, not a strong
19219         alias.
19220         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19221         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19222         dprintf.
19223         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19224         Remove variable.
19225         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19226         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19228         [BZ #18533]
19229         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19230         not a strong alias.
19231         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19232         Remove variable.
19234         [BZ #18532]
19235         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19236         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19237         (in6addr_loopback): Rename to __in6addr_loopback and define as
19238         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19239         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19240         libc_hidden_proto.
19241         (__in6addr_any): Likewise.
19242         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19243         in6addr_any.
19244         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19245         variable.
19246         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19248 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19250         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19251         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19252         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19253         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19254         redirections for pow.
19255         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19256         * sysdeps/x86_64/fpu/Versions: New versions added.
19257         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19258         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19259         build of SSE, AVX2 and AVX512 IFUNC versions.
19260         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19261         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19262         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19263         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19264         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19265         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19266         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19267         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19268         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19269         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19270         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19271         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19272         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19273         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19274         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19275         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19276         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19277         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19278         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19279         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19280         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19281         * NEWS: Mention addition of x86_64 vector pow.
19283         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19284         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19285         redirections for expf.
19286         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19287         * sysdeps/x86_64/fpu/Versions: New versions added.
19288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19289         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19290         build of SSE, AVX2 and AVX512 IFUNC versions.
19291         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19292         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19293         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19294         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19295         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19296         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19297         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19298         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19299         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19300         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19301         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19302         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19303         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19304         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19305         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19306         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19307         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19309         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19310         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19311         * NEWS: Mention addition of x86_64 vector expf.
19313         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19314         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19316         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19317         redirections for exp.
19318         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19319         * sysdeps/x86_64/fpu/Versions: New versions added.
19320         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19321         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19322         build of SSE, AVX2 and AVX512 IFUNC versions.
19323         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19324         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19325         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19326         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19327         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19328         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19329         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19330         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19331         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19332         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19333         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19334         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19335         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19336         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19337         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19338         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19339         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19340         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19341         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19342         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19343         * NEWS: Mention addition of x86_64 vector exp.
19345         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19346         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19347         redirections for logf.
19348         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19349         * sysdeps/x86_64/fpu/Versions: New versions added.
19350         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19351         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19352         build of SSE, AVX2 and AVX512 IFUNC versions.
19353         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19354         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19356         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19357         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19358         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19359         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19360         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19361         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19362         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19363         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19364         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19365         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19366         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19367         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19368         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19369         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19370         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19371         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19372         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19373         * NEWS: Mention addition of x86_64 vector logf.
19375         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19376         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19377         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19378         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19379         redirections for log.
19380         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19381         * sysdeps/x86_64/fpu/Versions: New versions added.
19382         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19383         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19384         build of SSE, AVX2 and AVX512 IFUNC versions.
19385         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19386         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19387         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19388         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19389         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19390         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19391         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19392         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19393         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19394         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19395         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19396         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19397         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19398         test.
19399         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19400         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19401         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19402         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19403         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19404         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19405         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19406         * NEWS: Mention addition of x86_64 vector log.
19408 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19410         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19411         cfi_adjust_cfa_offset argument.
19412         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19413         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19415         [BZ #18034]
19416         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19417         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19418         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19419         ordering using ldar.
19420         (_dl_tlsdesc_dynamic): Likewise.
19421         (_dl_tlsdesc_return_lazy): Likewise.
19422         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19423         relaxed atomics instead of volatile and synchronize with release store.
19424         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19425         volatile.
19426         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19428 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19430         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19431         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19432         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19433         * sysdeps/x86_64/fpu/Versions: New versions added.
19434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19435         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19436         build of SSE, AVX2 and AVX512 IFUNC versions.
19437         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19438         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19439         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19440         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19441         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19442         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19443         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19444         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19445         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19446         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19447         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19448         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19449         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19450         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19451         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19452         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19453         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19454         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19455         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19456         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19457         * NEWS: Mention addition of x86_64 vector sinf.
19459 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19461         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19462         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19463         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19464         Remove variable.
19465         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19466         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19468 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19470         [BZ #18530]
19471         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19472         strong alias of _IO_fputs.  Use libc_hidden_def.
19473         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19474         and define as weak alias of __fputs_unlocked.  Use
19475         libc_hidden_weak.
19476         * include/stdio.h (__fputs_unlocked): Declare.  Use
19477         libc_hidden_proto.
19478         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19479         fputs_unlocked.
19481         [BZ #18529]
19482         * resolv/netdb.h [__USE_POSIX]: Change condition to
19483         [__USE_XOPEN2K].
19484         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19485         not expect.
19486         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19487         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19488         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19489         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19490         [XPG4 || UNIX98] (AI_ALL): Likewise.
19491         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19492         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19493         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19494         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19495         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19496         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19497         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19498         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19499         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19500         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19501         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19502         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19503         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19504         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19505         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19506         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19507         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19508         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19509         [XPG4 || UNIX98] (gai_strerror): Likewise.
19510         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19511         [XPG4 || UNIX98] (getnameinfo): Likewise.
19513         [BZ #18528]
19514         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19515         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19516         __USE_XOPEN2K8].
19517         (getgrent): Likewise.
19518         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19519         expect.
19520         [XPG3 || POSIX2008] (endgrent): Likewise.
19521         [XPG3] (setgrent): Likewise.
19522         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19523         variable.
19524         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19526         [BZ #18527]
19527         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19528         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19529         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19530         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19531         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19532         * include/unistd.h (__getlogin_r): Declare.  Use
19533         libc_hidden_proto.
19534         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19535         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19536         variable.
19537         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19538         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19539         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19541 2015-06-12  Martin Sebor  <msebor@redhat.com>
19543         [BZ #18512]
19544         * Makerules (check-install-supported): New target.
19545         (install): Add check-install-supported as a dependency.
19546         * manual/install.texi (Installing the C Library): Document
19547         that overriding prefix and exec_prefix is not supported.
19548         Mention DESTDIR.
19549         * INSTALL: Regenerate from the above.
19551 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19553         [BZ #18519]
19554         * posix/Versions (libc): Export __libc_pread at version
19555         GLIBC_PRIVATE.
19556         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19557         instead of pread.
19558         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19559         variable.
19561         [BZ #18522]
19562         * misc/efgcvt_r.c
19563         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19564         (cvt_symbol): Use weak_alias instead of strong_alias.
19565         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19566         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19567         Remove variable.
19568         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19569         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19571         [BZ #18520]
19572         * inet/herrno.c (h_errno): Rename to __h_errno.
19573         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19574         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19575         to __h_errno instead of h_errno.
19576         * nptl/herrno.c (h_errno): Rename to __h_errno.
19577         (__h_errno_location): Refer to __h_errno not h_errno.
19578         * resolv/Versions (h_errno): Rename to __h_errno.
19579         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19580         Remove variable.
19581         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19583 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19585         * configure.ac: More strict check for AVX512 assembler support.
19586         * configure: Regenerated.
19588         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19589         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19590         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19591         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19592         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19593         * sysdeps/x86_64/fpu/Versions: New versions added.
19594         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19595         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19596         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19597         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19598         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19599         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19600         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19601         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19602         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19603         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19604         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19605         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19606         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19607         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19608         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19609         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19610         test.
19611         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19613         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19614         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19615         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19616         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19617         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19618         * NEWS: Mention addition of x86_64 vector sin.
19620 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19622         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19623         comment.
19625 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19627         [BZ #18479]
19628         * nptl/pt-interp.c: New file.
19629         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19630         Add pt-interp.
19631         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19632         $(common-objpfx)runtime-linker.h.
19634 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19636         * Makeconfig (+interp): Remove unused variable.
19637         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19638         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19639         $(elf-objpfx)runtime-linker.h.
19640         ($(elf-objpfx)runtime-linker.h): Rename to
19641         $(common-objpfx)runtime-linker.h and move ...
19642         * Makerules [$(build-shared) = yes]: ... here.
19643         * elf/interp.c: Include <runtime-linker.h> instead of
19644         <elf/runtime-linker.h>.
19646 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19648         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19649         (__gettimeofday_syscall): Remove vsyscall fallback.
19650         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19651         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19652         Add syscall fallback function.
19653         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19654         if vDSO is not present.
19655         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19656         fallback function.
19657         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19658         present.
19659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19660         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19662 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19664         [BZ #18497]
19665         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19666         of wcscmp.
19667         (wcscmp): Define as weak alias of WCSCMP.
19668         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19669         wcscoll.
19670         (USE_HIDDEN_DEF): Define.
19671         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19672         __wcscoll.  Don't use libc_hidden_weak.
19673         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19674         wcscmp.
19675         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19676         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19677         __GI_wcscmp.
19678         (weak_alias): Undefine and redefine.
19679         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19680         __wcscmp and define as weak alias of __wcscmp.
19681         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19682         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19683         (__wcscoll): Likewise.
19684         (wcscmp): Don't use libc_hidden_proto.
19685         (wcscoll): Likewise.
19686         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19687         wcscoll.
19688         * posix/regexec.c (check_node_accept_bytes): Likewise.
19689         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19690         variable.
19691         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19692         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19694         [BZ #18507]
19695         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19696         __fstatvfs and define as weak alias of __fstatvfs.  Use
19697         libc_hidden_weak.
19698         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19699         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19700         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19701         Define as alias of __fstatvfs, not fstatvfs.
19702         (fstatvfs64): Likewise.
19703         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19704         Define as alias of __statvfs, not statvfs.
19705         (statvfs64): Likewise.
19706         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19707         Remove variable.
19709 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19712         (HAVE_GETCPU_VSYSCALL): Define.
19713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19714         (HAVE_GETCPU_VSYSCALL): Likewise.
19715         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19716         * sysdeps/unix/sysv/linux/sched_getcpu.c
19717         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19718         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19719         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19720         prototype.
19721         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19722         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19723         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19724         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19725         Define.
19726         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19727         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19728         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19729         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19731 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19733         * sysdeps/x86_64/fpu/Makefile: New file.
19734         * sysdeps/x86_64/fpu/Versions: New file.
19735         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19736         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19737         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19738         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19739         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19740         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19741         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19742         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19743         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19744         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19745         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19746         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19748         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19749         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19750         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19751         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19752         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19753         * sysdeps/x86_64/configure: Regenerated.
19754         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19755         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19756         * manual/install.texi (Configuring and compiling): Document
19757         --disable-mathvec.
19758         * INSTALL: Regenerated.
19759         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19761         * math/Makefile: Added rules for vector tests.
19762         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19763         declaration under condition.
19764         * math/test-double-vlen2.h: New file.
19765         * math/test-double-vlen4.h: New file.
19766         * math/test-double-vlen8.h: New file.
19767         * math/test-vec-loop.h: Added initialization macro.
19768         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19769         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19770         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19771         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19772         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19773         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19775         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19776         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19777         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19778         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19780         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19781         * sysdeps/x86_64/fpu/Versions: New versions added.
19782         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19783         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19784         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19785         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19786         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19787         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19788         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19789         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19790         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19791         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19792         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19793         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19794         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19795         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19796         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19797         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19798         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19799         * NEWS: Mention addition of x86_64 vector cosf.
19801         * math/Makefile: Added CFLAGS for new tests.
19802         * math/test-float-vlen16.h: New file.
19803         * math/test-float-vlen4.h: New file.
19804         * math/test-float-vlen8.h: New file.
19805         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19806         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19807         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19808         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19809         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19810         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19811         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19812         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19813         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19814         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19815         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19817 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19819         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19820         * locale/programs/ld-ctype.c: Likewise.
19822 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19824         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19825         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19826         bit_ZMM16_31_state): New macro.
19827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19828         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19830 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19832         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19834 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19836         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19838 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19840         [BZ #18498]
19841         * libio/memstream.c (open_memstream): Rename to __open_memstream
19842         and define as weak alias of __open_memstream.
19843         * include/stdio.h (__open_memstream): Declare.  Use
19844         libc_hidden_proto.
19845         (open_memstream): Don't use libc_hidden_proto.
19846         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19847         open_memstream.
19848         * posix/getopt.c (_getopt_internal_r): Likewise.
19849         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19850         variable.
19851         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19852         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19853         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19855         [BZ #18496]
19856         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19857         instead of wcrtomb.
19859         [BZ #18483]
19860         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19861         [__USE_XOPEN2K8].  Remove redundant #endif.
19862         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19863         Remove redundant #if.
19864         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19865         Remove variable.
19866         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19867         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19869         [BZ #18495]
19870         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19871         (__iswlower): Likewise.
19872         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19873         (__iswlower): Likewise.
19874         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19875         instead of towlower.
19876         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19877         instead of iswlower.  Call __towupper instead of towupper.
19878         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19879         instead of iswalnum.
19881 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19883         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19884         errors to stderr.
19886 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19888         [BZ #15661]
19889         [BZ #17322]
19890         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19891         Check for overflow properly.  Check for O_APPEND.  Ignore large
19892         file system block sizes.  Add comments about problems.
19893         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19894         * manual/filesys.texi (Storage Allocation): New node.
19896 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19898         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19899         cancellable syscalls.
19900         (SYS_ify): Add guard to no redefine it.
19901         (INLINE_SYSCALL): Likewise.
19902         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19903         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19904         SYSCALL_CANCEL instead.
19905         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19906         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19907         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19908         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19909         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19910         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19911         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19912         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19913         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19914         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19915         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19916         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19917         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19918         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19919         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19920         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19921         Likewise.
19922         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19923         (__libc_pread64): Likewise.
19924         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19925         (__libc_preadv): Likewise.
19926         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19927         (__libc_readv64): Likewise.
19928         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19929         (__libc_pwrite): Likewise.
19930         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19931         (__libc_pwrite64): Likewise.
19932         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19933         (__libc_pwritev): Likewise.
19934         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19935         (__libc_pwritev64): Likewise.
19936         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19937         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19938         (sync_file_range): Likewise.
19939         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19940         Likewise.
19941         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19942         Likewise.
19943         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19944         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19945         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19946         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19947         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19948         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19949         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19950         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19952         Likewise.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19954         (__libc_read64): Likewise.
19955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19956         Likewise.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19958         Likewise.
19959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19960         Likewise.
19961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19962         Likewise.
19963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19964         (__libc_pread64): Likewise.
19965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19966         Likewise.
19967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19968         (__libc_pwrite64): Likewise.
19969         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19970         (sync_file_range): Likewise.
19971         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19972         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19973         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19974         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19975         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19976         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19977         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19978         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19979         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19980         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19981         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19982         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19983         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19984         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19985         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19986         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19987         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19988         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19989         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19990         Likewise.
19991         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19992         Likewise.
19993         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19994         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19995         Likewise.
19996         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19997         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19998         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19999         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20000         Likewise.
20001         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20002         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20003         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20004         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20005         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20007 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20009         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20010         Include dl-vdso.
20011         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20012         Use VDSO routines for gettimeofday, clock_gettime if
20013         available.
20014         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20015         Declare VDSO symbols.
20016         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20017         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20018         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20019         * sysdeps/unix/sysv/linux/arm/Versions: Add
20020         __vdso_clock_gettime.
20022 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20024         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20025         be an inline implementation regardless of library is built within.
20026         (open_not_cancel_2): Likewise.
20027         (__read_nocancel): Likewise.
20028         (__write_nocancel): Likewise.
20029         (openat_not_cancel): Likewise.
20030         (openat_not_cancel_3): Likewise.
20031         (openat64_not_cancel): Likewise.
20032         (openat64_not_cancel_3): Likewise.
20033         (__close_nocancel): Likewise.
20034         (pause_not_cancel): Likewise.
20035         (nanosleep_not_cancel): Likewise.
20036         (sigsuspend_not_cancel): Likewise.
20038 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20040         [BZ #14958]
20041         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20042         wake-up.
20043         (__pthread_rwlock_rdlock_slow): Likewise.
20044         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20045         Likewise.
20046         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20047         Likewise.
20048         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20049         * nptl/tst-rwlock16.c: New file.
20050         * nptl/Makefile (tests): Add new test.
20052 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20054         [BZ #18324]
20055         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20056         missing wake-up of readers.
20057         * nptl/tst-rwlock15.c: New file.
20058         * nptl/Makefile (tests): Add new test.
20060 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20062         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20063         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20064         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20065         and __nacl_supply_interface_rtld.
20066         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20067         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20068         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20069         Add __nacl_supply_interface_rtld.
20070         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20072 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20074         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20075         isfinite.
20076         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20077         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20079 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20081         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20082         __signbit* with standard C99 macros.
20083         * math/e_exp10l.c: Likewise.
20084         * math/e_exp2l.c: Likewise.
20085         * math/e_scalb.c: Likewise.
20086         * math/e_scalbf.c: Likewise.
20087         * math/e_scalbl.c: Likewise.
20088         * math/s_ldexp.c: Likewise.
20089         * math/s_ldexpf.c: Likewise.
20090         * math/s_ldexpl.c: Likewise.
20091         * math/w_atan2.c: Likewise.
20092         * math/w_atan2f.c: Likewise.
20093         * math/w_atan2l.c: Likewise.
20094         * math/w_cosh.c: Likewise.
20095         * math/w_coshf.c: Likewise.
20096         * math/w_coshl.c: Likewise.
20097         * math/w_exp10.c: Likewise.
20098         * math/w_exp10f.c: Likewise.
20099         * math/w_exp10l.c: Likewise.
20100         * math/w_exp2.c: Likewise.
20101         * math/w_exp2f.c: Likewise.
20102         * math/w_exp2l.c: Likewise.
20103         * math/w_fmod.c: Likewise.
20104         * math/w_fmodf.c: Likewise.
20105         * math/w_fmodl.c: Likewise.
20106         * math/w_hypot.c: Likewise.
20107         * math/w_hypotf.c: Likewise.
20108         * math/w_hypotl.c: Likewise.
20109         * math/w_jnl.c: Likewise.
20110         * math/w_lgamma.c: Likewise.
20111         * math/w_lgamma_r.c: Likewise.
20112         * math/w_lgammaf.c: Likewise.
20113         * math/w_lgammaf_r.c: Likewise.
20114         * math/w_lgammal.c: Likewise.
20115         * math/w_lgammal_r.c: Likewise.
20116         * math/w_pow.c: Likewise.
20117         * math/w_powf.c: Likewise.
20118         * math/w_powl.c: Likewise.
20119         * math/w_remainder.c: Likewise.
20120         * math/w_remainderf.c: Likewise.
20121         * math/w_remainderl.c: Likewise.
20122         * math/w_scalb.c: Likewise.
20123         * math/w_scalbf.c: Likewise.
20124         * math/w_scalbl.c: Likewise.
20125         * math/w_scalbln.c: Likewise.
20126         * math/w_scalblnf.c: Likewise.
20127         * math/w_scalblnl.c: Likewise.
20128         * math/w_sinh.c: Likewise.
20129         * math/w_sinhf.c: Likewise.
20130         * math/w_sinhl.c: Likewise.
20131         * math/w_tgamma.c: Likewise.
20132         * math/w_tgammaf.c: Likewise.
20133         * math/w_tgammal.c: Likewise.
20134         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20135         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20136         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20137         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20138         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20139         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20140         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20141         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20142         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20143         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20144         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20145         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20146         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20147         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20148         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20149         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20150         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20151         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20152         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20153         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20154         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20155         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20158         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20159         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20160         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20161         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20162         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20163         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20164         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20165         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20166         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20167         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20168         * stdio-common/printf_fp.c: Likewise.
20169         * stdio-common/printf_fphex.c: Likewise.
20170         * stdio-common/printf_size.c: Likewise.
20172 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20174         [BZ #18470]
20175         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20176         strnlen.
20177         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20178         Remove variable.
20179         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20180         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20181         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20182         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20183         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20184         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20185         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20186         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20187         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20188         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20190         [BZ #18468]
20191         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20192         weak alias of __wmemchr.  Use libc_hidden_weak.
20193         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20194         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20195         instead of wmemchr.
20197 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20199         [BZ #18383]
20200         * elf/tst-tlsalign-extern.c: New file.
20201         * elf/tst-tlsalign-extern-static.c: New file.
20202         * elf/tst-tlsalign-vars.c: New file.
20203         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20204         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20205         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20206         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20207         (test-xfail-tst-tlsalign-extern-static): New variable.
20209 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20211         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20212         Use variable name _sc_err instead of err.
20213         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20214         instead of ret.
20215         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20216         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20217         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20218         (INLINE_SYSCALL): Likewise.
20220         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20221         * include/string.h (__strnlen): Use libc_hidden_proto.
20222         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20223         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20224         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20225         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20226         (libc_hidden_def): Undefine and redefine.
20227         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20228         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20229         __GI_strnlen.
20230         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20231         libc_hidden_def.
20232         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20234         [BZ #18469]
20235         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20236         weak alias of __towlower.  Use libc_hidden_weak.
20237         (towupper): Rename to __towupper and define as weak alias of
20238         __towupper.  Use libc_hidden_weak.
20239         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20240         (__towupper): Likewise.
20241         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20242         __towlower instead of towlower.
20244 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20246         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20247         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20249 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20251         * sysdeps/aarch64/libm-test-ulps: Update.
20253 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20255         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20256         Define.
20257         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20258         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20259         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20260         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20261         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20262         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20263         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20265 2015-06-01  Martin Sebor  <msebor@redhat.com>
20267         [BZ #18116]
20268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20269         (__setcontext): Use extended four-operand version of mtsf whenever
20270         possible.
20271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20272         (__novec_swapcontext): Likewise.
20274 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20276         * benchtests/scripts/compare_bench.py: New file.
20277         * benchtests/scripts/import_bench.py (mean): New function.
20278         (split_list): Likewise.
20279         (do_for_all_timings): Likewise.
20280         (compress_timings): Likewise.
20282         * benchtests/scripts/import_bench.py: New file.
20283         * benchtests/scripts/validate_benchout.py: Import import_bench
20284         instead of jsonschema.
20285         (validate_bench): Remove function.
20286         (main): Use import_bench.
20288 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20290         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20291         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20293 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20297 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20299         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20300         set THREAD_SELF->tid to a magic value and futex-wake it.
20301         Pass its address to the thread_exit system call.
20302         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20303         bit is clear.
20304         * sysdeps/nacl/lowlevellock.h: New file.
20305         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20307         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20308         Add TIMEOUT to current time, don't subtract it.
20310 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20312         [BZ #2981]
20313         [BZ #18422]
20314         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20315         ($(objpfx)tst-audit2.out): Also depend on
20316         $(objpfx)tst-auditmod9b.so.
20317         * elf/tst-audit2.c: Include <dlfcn.h>.
20318         (calloc_called): New.
20319         (calloc): Allow to be called more than once.
20320         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20322 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20324         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20325         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20327 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20329         * stdlib/monetary.h: Fix comment.
20331 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20333         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20334         Avoid using variables in #defines that might cause shadowing.
20335         (INTERNAL_VSYSCALL_CALL): Likewise.
20337 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20339         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20341         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20342         * nptl/lll_timedlock_wait.c: ... to this new file.
20343         * nptl/Makefile (libpthread-routines): Add it.
20344         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20345         * nptl/lll_timedwait_tid.c: ... to this new file.
20346         * nptl/Makefile (libpthread-routines): Add it.
20347         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20348         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20349         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20350         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20351         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20352         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20353         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20354         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20355         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20356         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20358 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20360         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20361         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20362         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20364         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20365         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20366         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20368         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20369         * sysdeps/unix/sysv/linux/tile/sysdep.h
20370         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20371         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20372         using vDSO syscall macro.
20374 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20376         [BZ #17293]
20377         * uk_UA: Fix sorting order for Ukrainian locale
20379 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20381         * stdlib/monetary.h: Fix comment.
20383 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20385         [BZ #18234]
20386         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20387         st_mtim and st_ctim members.
20388         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20389         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20390         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20391         (struct stat64): Likewise.
20392         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20393         (struct stat64): Likewise.
20394         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20395         (struct stat64): Likewise.
20397 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20399         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20400         Define and include sysdep-vdso.h.
20401         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20402         Likewise.
20403         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20404         Likewise.
20405         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20406         Define with VDSO_SYMBOL and use PTR_MANGLE.
20407         (__vdso_clock_gettime): Likewise.
20408         (__vdso_clock_getres): Likewise.
20409         (_libc_vdso_platform_setup): Likewise.
20410         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20411         Likewise.
20412         (_libc_vdso_platform_setup): Likewise.
20413         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20414         Likewise.
20415         (__vdso_clock_gettime): Likewise.
20416         (__vdso_clock_getres): Likewise.
20417         (__vdso_get_tbfreq): Likewise.
20418         (__vdso_getcpu): Likewise.
20419         (__vdso_time): Likewise.
20420         (__vdso_sigtramp_rt64): Likewise.
20421         (__vdso_signtramp32): Likewise.
20422         (__vdso_sigtramp_rt32): Likewise.
20423         (_libc_vdso_platform_setup): Likewise.
20424         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20425         Likewise.
20426         (__vdso_clock_gettime): Likewise.
20427         (__vdso_clock_getres): Likewise.
20428         (_libc_vdso_platform_setup): Likewise.
20429         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20430         Likewise.
20431         (__vdso_clock_gettime): Likewise.
20432         (_libc_vdso_platform_setup): Likewise.
20433         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20434         Likewise.
20435         (__vdso_getcpu): Likewise.
20436         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20437         Use VDSO_SYMBOL macro to define.
20438         (__vdso_clock_gettime): Likewise.
20439         (__vdso_clock_getres): Likewise.
20440         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20441         Likewise.
20442         (__vdso_clock_gettime): Likewise.
20443         (__vdso_clock_getres): Likewise.
20444         (__vdso_get_tbfreq): Likewise.
20445         (__vdso_getcpu): Likewise.
20446         (__vdso_time): Likewise.
20447         (__vdso_sigtramp_rt64): Likewise.
20448         (__vdso_signtramp32): Likewise.
20449         (__vdso_sigtramp_rt32): Likewise.
20450         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20451         Likewise.
20452         (__vdso_clock_gettime): Likewise.
20453         (__vdso_clock_getres): Likewise.
20454         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20455         Likewise.
20456         (__vdso_clock_gettime): Likewise.
20457         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20458         Likewise.
20459         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20460         macro.
20461         (INTERNAL_VSYSCALL): Likewise.
20462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20463         Remove macro.
20464         (INTERNAL_VSYSCALL): Likewise.
20465         (INTERNAL_VSYSCALL_NCS): Likewise.
20466         (INTERNAL_VSYSCALL_CALL): New macro.
20467         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20468         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20469         Likewise.
20470         (INTERNAL_VSYSCALL): Likewise.
20471         (INTERNAL_VSYSCALL_NCS): Likewise.
20472         (INTERNAL_VSYSCALL_CALL): New macro.
20473         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20475         (INLINE_VSYSCALL): Remove macro.
20476         (INTERNAL_VSYSCALL): Remove macro.
20477         (INTERNAL_VSYSCALL_NCS): Remove macro.
20478         (INTERNAL_VSYSCALL_CALL): New macro.
20479         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20480         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20481         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20482         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20483         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20485         (INLINE_VSYSCALL): Remove macro.
20486         (INTERNAL_VSYSCALL): Likewise.
20487         (INTERNAL_VSYSCALL_NCS): Likewise.
20488         (INTERNAL_VSYSCALL_CALL): New macro.
20489         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20490         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20491         PTR_DEMANGLE on vDSO pointer.
20492         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20493         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20494         macro.
20495         (INTERNAL_SYSCALL): Likewise.
20496         (INTERNAL_VSYSCALL_NCS): Remove macro.
20497         (INTERNAL_VSYSCALL_CALL): New macro.
20498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20499         Remove macro.
20500         (INTERNAL_VSYSCALL): Likewise.
20501         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20502         sysdep-vdso.h instead of libc-vdso.h.
20503         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20504         definition.
20505         (INLINE_VSYSCALL): Likewise.
20506         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20507         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20508         definition.
20509         (INLINE_VSYSCALL): Likewise.
20510         (INTERNAL_VSYSCALL): Likewise.
20511         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20512         * sysdeps/unix/sysv/linux/timespec_get.c
20513         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20514         (timespec_get): Use ANSI prototype.
20515         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20516         and definition for Linux.
20518 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20520         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20521         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20523 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20525         [BZ #2981]
20526         [BZ #18410]
20527         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20528         for missing DT_PLTRELSZ.
20530 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20532         Remove obsolete aliases that broke 'locale -a'
20533         [BZ #18412]
20534         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20535         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20536         breaking some applications that use 'locale -a' output.
20537         Change the encoding of this file from Latin-1 to ASCII to avoid
20538         other potential problems with people grepping this file.
20540 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20542         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20543         -fasynchronous-unwind-tables.
20544         (CFLAGS-sendto.c): Likewise.
20545         (CFLAGS-sendmsg.c): Likewise.
20546         (CFLAGS-connect.c): Likewise.
20547         (CFLAGS-recvmsg.c): Likewise.
20548         (CFLAGS-recvfrom.c): Likewise.
20549         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20550         (SOCKETCALL): New macro: non-cancellable socketcall.
20551         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20552         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20553         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20554         * sysdeps/unix/sysv/linux/accept.c: New file.
20555         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20556         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20557         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20558         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20559         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20560         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20561         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20562         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20563         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20564         * sysdeps/unix/sysv/linux/send.c: Likewise.
20565         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20566         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20567         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20568         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20569         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20570         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20571         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20572         prototype.
20573         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20574         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20575         instead of __internal_xxx function.
20576         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20577         prototype.
20578         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20579         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20580         instead of __internal_xxx function.
20581         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20582         prototype.
20583         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20584         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20585         instead of __internal_xxx function.
20586         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20587         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20588         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20589         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20590         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20591         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20592         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20593         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20594         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20595         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20596         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20597         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20598         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20599         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20600         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20601         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20602         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20603         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20604         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20605         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20608         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20609         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20610         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20611         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20612         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20613         * sysdeps/unix/sysv/linux/send.S: Likewise.
20614         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20615         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20616         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20617         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20618         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20619         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20620         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20621         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20622         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20623         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20624         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20625         socketcall is implemented in GLIBC.
20627 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20629         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20630         (__fma): Ignore uninitialized warnings around packing.
20631         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20632         (__fmaf): Ignore uninitialized warnings around packing.
20633         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20634         (__fmal): Ignore uninitialized warnings around packing.
20636         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20637         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20638         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20639         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20641         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20642         switch statement into default case.
20643         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20645         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20646         a conditional in forcing "inexact".
20647         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20648         Likewise.
20650 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20652         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20653         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20654         for each INTERNAL_SYSCALL use.
20656 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20658         [BZ #438]
20659         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20660         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20661         variable.
20663         [BZ #18444]
20664         * string/basename.c (basename): Rename to __basename and define as
20665         weak alias of __basename.  Use libc_hidden_weak.
20666         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20667         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20668         __basename instead of basename.
20669         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20670         Remove variable.
20671         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20673 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20675         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20676         (_IO_JUMPS_FILE_plus): New.
20677         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20678         _IO_CAST_FIELD_ACCESS.
20679         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20680         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20681         * libio/freopen.c (freopen): Likewise.
20682         * libio/freopen64.c (freopen64): Likewise.
20683         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20684         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20685         * libio/iofwide.c (_IO_fwide): Likewise.
20686         * libio/memstream.c (open_memstream): Likewise.
20687         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20688         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20689         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20691 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20693         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20694         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20695         NADJ.
20696         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20697         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20698         NADJ.
20699         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20700         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20701         NADJ.
20703         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20704         (p == 4) case.
20706         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20707         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20708         Remove variable.
20709         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20710         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20711         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20713 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20715         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20716         Adjust jump table label generation macros.
20718 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20720         * stdio-common/vfprintf.c (vfprintf): Move local variables
20721         args_malloced, specs, specs_malloced, and the code after
20722         do_positional to the printf_positional function.
20723         (printf_positional): New function.
20725 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20727         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20728         function.
20729         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20730         STEP4_TABLE, process_arg): Move macro definitions
20731         out of the vfprintf function.  (Cosmetic change only.)
20733 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20735         * benchtests/Makefile (stdio-common-bench): Define.
20736         (benchset): Add stdio-common-bench.
20737         * sprintf-inputs: New file.
20738         * sprintf-source.c: New file.
20740 2015-05-21  Andreas Schwab  <schwab@suse.de>
20742         [BZ #13028]
20743         [BZ #17053]
20744         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20745         of struct __res_state.
20746         * resolv/res_send.c (__libc_res_nsend): Likewise.
20747         (get_nsaddr): New function.
20748         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20749         statp directly.
20751 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20753         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20754         -D_POSIX_C_SOURCE=199506L.
20756         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20758         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20759         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20760         Do not mention otherwise.
20761         [POSIX] (_XOPEN_VERSION): Do not expect.
20762         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20763         [POSIX] (_POSIX2_C_BIND): Likewise.
20764         [POSIX] (_POSIX2_VERSION): Likewise.
20765         [POSIX] (_XOPEN_XPG2): Likewise.
20766         [POSIX] (_XOPEN_XPG3): Likewise.
20767         [POSIX] (_XOPEN_XPG4): Likewise.
20768         [POSIX] (_XOPEN_UNIX): Likewise.
20769         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20770         [POSIX] (_POSIX_BARRIERS): Likewise.
20771         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20772         [POSIX] (_POSIX_CPUTIME): Likewise.
20773         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20774         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20775         [POSIX] (_POSIX_SHELL): Likewise.
20776         [POSIX] (_POSIX_SPAWN): Likewise.
20777         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20778         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20779         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20780         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20781         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20782         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20783         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20784         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20785         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20786         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20787         [POSIX] (_POSIX2_PBS): Likewise.
20788         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20789         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20790         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20791         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20792         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20793         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20794         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20795         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20796         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20797         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20798         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20799         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20800         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20801         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20802         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20803         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20804         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20805         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20806         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20807         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20808         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20809         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20810         [POSIX] (_SC_2_C_BIND): Likewise.
20811         [POSIX] (_SC_2_C_VERSION): Likewise.
20812         [POSIX] (_SC_2_PBS): Likewise.
20813         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20814         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20815         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20816         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20817         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20818         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20819         [POSIX] (_SC_BARRIERS): Likewise.
20820         [POSIX] (_SC_BASE): Likewise.
20821         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20822         [POSIX] (_SC_DEVICE_IO): Likewise.
20823         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20824         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20825         [POSIX] (_SC_FD_MGMT): Likewise.
20826         [POSIX] (_SC_FIFO): Likewise.
20827         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20828         [POSIX] (_SC_FILE_LOCKING): Likewise.
20829         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20830         [POSIX] (_SC_IOV_MAX): Likewise.
20831         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20832         [POSIX] (_SC_NETWORKING): Likewise.
20833         [POSIX] (_SC_PAGE_SIZE): Likewise.
20834         [POSIX] (_SC_PASS_MAX): Likewise.
20835         [POSIX] (_SC_PIPE): Likewise.
20836         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20837         [POSIX] (_SC_REGEXP): Likewise.
20838         [POSIX] (_SC_SHELL): Likewise.
20839         [POSIX] (_SC_SIGNALS): Likewise.
20840         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20841         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20842         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20843         [POSIX] (_SC_USER_GROUPS): Likewise.
20844         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20845         [POSIX] (_SC_STREAMS): Likewise.
20846         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20847         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20848         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20849         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20850         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20851         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20852         [POSIX] (_PC_FILESIZEBITS): Likewise.
20853         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20854         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20855         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20856         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20857         [POSIX] (uid_t): Likewise.
20858         [POSIX] (gid_t): Likewise.
20859         [POSIX] (off_t): Likewise.
20860         [POSIX] (pid_t): Likewise.
20861         [POSIX] (cuserid): Allow.
20862         (_SC_2_CHAR_TERM): Require constant.
20863         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20864         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20865         variable.
20867 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20869         * sysdeps/nacl/pthread-pids.h: New file.
20870         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20871         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20873         * nptl/pthread-pids.h: New file.
20874         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20875         * nptl/nptl-init.c: Include <pthread-pids.h>.
20876         (__pthread_initialize_minimal_internal):
20877         Call __pthread_initialize_pids instead of set_tid_address syscall.
20879         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20880         * sysdeps/posix/usleep.c: ... here.
20882 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20884         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20885         call_pselect6 object.
20886         [$(subdir) = io]: Remove call_sync_file_range object.
20887         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20888         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20889         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20890         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20892 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20894         * math/s_cproj.c: Add include "math_private.h".
20895         * math/s_cprojf.c: Likewise.
20896         * math/s_cprojl.c: Likewise.
20898 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20900         [BZ #18244]
20901         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20902         high mantissa bit when testing whether P is a NaN.
20903         * math/libm-test.inc (remainder_test_data): Add more tests.
20904         (remquo_test_data): Likewise.
20906         [BZ #18049]
20907         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20908         below -32, return the argument, with underflow if subnormal.
20909         * math/auto-libm-test-in: Add more tests of atanh.
20910         * math/auto-libm-test-out: Regenerated.
20912 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20914         [BZ #18434]
20915         * nptl/tst-sem15.c: New file.
20916         * nptl/Makefile (tests): Add it.
20917         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20918         s/<</>>/ to fix typo in EOVERFLOW check.
20919         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20921 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20923         * manual/strings.texi (envz_remove): Fix typo in safety
20924         annotations.
20926 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20927             Steve Ellcey  <sellcey@imgtec.com>
20929         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20930         in order to avoid strict alias warnings.
20931         (iruserok_af): Ditto for ra.
20933 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20935         [BZ #17581]
20936         * malloc/hooks.c
20937         (magicbyte): Convert to a function and avoid returning 0x01.
20938         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20939         (mem2chunk_check): Fix unsigned comparisons to zero.
20940         Hoist defs of sz and magic.
20942 2015-05-19  Richard Henderson  <rth@redhat.com>
20944         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20946         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20948 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20950         [BZ #16159]
20951         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20952         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20953         (reused_arena): Find a non-corrupt arena.
20954         (heap_trim): Pass arena to unlink.
20955         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20956         malloc_printerr.
20957         (top_check): Likewise.
20958         (free_check): Likewise.
20959         (realloc_check): Likewise.
20960         * malloc/malloc.c (malloc_printerr): Add arena argument.
20961         (unlink): Likewise.
20962         (munmap_chunk): Adjust.
20963         (ARENA_CORRUPTION_BIT): New macro.
20964         (arena_is_corrupt): Likewise.
20965         (set_arena_corrupt): Likewise.
20966         (sysmalloc): Use mmap if there are no usable arenas.
20967         (_int_malloc): Likewise.
20968         (__libc_malloc): Don't fail if arena_get returns NULL.
20969         (_mid_memalign): Likewise.
20970         (__libc_calloc): Likewise.
20971         (__libc_realloc): Adjust for additional argument to
20972         malloc_printerr.
20973         (_int_free): Likewise.
20974         (malloc_consolidate): Likewise.
20975         (_int_realloc): Likewise.
20976         (_int_memalign): Don't touch corrupt arenas.
20977         * malloc/tst-malloc-backtrace.c: New test case.
20979         * Makefile (summarize-tests): Fix return value on success.
20981         * manual/string.texi (Envz Functions): Add envz_remove.
20983 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20985         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20986         (invalid_name): New function, broken out of ...
20987         (__opendirat): ... here.  Call it.
20988         (need_isdir_precheck): New function, broken out of ...
20989         (__opendirat): ... here.  Call it.
20990         Use __fxstatat64, not __xstatat64.
20991         (opendir_oflags): New function, broken out of ...
20992         (__opendirat): ... here.  Call it.
20993         (opendir_tail): New function, broken out of ...
20994         (__opendirat): ... here.  Call it.
20995         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20996         opendir_tail, rather than punting to __opendirat.
20997         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20999 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21001         * .gitignore: Ignore generated *.pyc.
21003 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21005         * include/stdio.h: Define __need_wint_t.
21006         * test-skeleton.c: Avoid `for' loop initial declaration.
21007         * nptl/tst-initializers1.c: Use test-skeleton.c.
21009 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21011         [BZ #18418]
21012         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21014 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21016         [BZ #16352]
21017         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21018         (__ieee754_atanh): Force underflow exception for results with
21019         small absolute value.
21020         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21021         (__ieee754_atanhf): Force underflow exception for results with
21022         small absolute value.
21023         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21024         (__ieee754_atanh): Force underflow exception for results with
21025         small absolute value.
21026         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21027         (__ieee754_atanhf): Force underflow exception for results with
21028         small absolute value.
21029         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21030         (__ieee754_atanhl): Force underflow exception for results with
21031         small absolute value.
21032         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21033         (__ieee754_atanhl): Force underflow exception for results with
21034         small absolute value.
21035         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21036         (__ieee754_atanhl): Force underflow exception for results with
21037         small absolute value.
21038         * math/auto-libm-test-in: Do not allow missing underflow
21039         exceptions from atanh.
21040         * math/auto-libm-test-out: Regenerated.
21042         [BZ #18221]
21043         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21044         2**-28 as threshold for returning x or +/- 1/x.
21045         * math/auto-libm-test-in: Add more tests of tan.
21046         * math/auto-libm-test-out: Regenerated.
21048         [BZ #18220]
21049         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21050         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21051         * math/auto-libm-test-in: Add another test of lgamma.
21052         * math/auto-libm-test-out: Regenerated.
21054 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21056         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21057         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21058         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21059         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21060         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21061         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21062         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21063         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21065         (log1): Use fabs.  (my_log2): Use fabs.
21066         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21067         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21068         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21069         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21070         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21071         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21072         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21073         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21074         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21075         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21076         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21078 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21080         [BZ #18217]
21081         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21082         as threshold for returning 1 - x.
21083         * math/auto-libm-test-in: Add more tests of erfc.
21084         * math/auto-libm-test-out: Regenerated.
21086 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21088         [BZ #18196]
21089         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21090         threshold for large arguments.
21091         * math/auto-libm-test-in: Add another test of atan.
21092         * math/auto-libm-test-out: Regenerated.
21094         [BZ #16339]
21095         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21096         (__log1p): Force underflow exception for results with small
21097         absolute value.
21098         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21099         (__log1pf): Force underflow exception for results with small
21100         absolute value.
21101         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21102         (__log1p): Force underflow exception for results with small
21103         absolute value.
21104         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21105         (__log1pf): Force underflow exception for results with small
21106         absolute value.
21107         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21108         (__log1pl): Force underflow exception for results with small
21109         absolute value.
21110         * math/auto-libm-test-in: Do not allow missing underflow
21111         exceptions from log1p.
21112         * math/auto-libm-test-out: Regenerated.
21114 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21115             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21117         [BZ #16704]
21118         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21120 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21122         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21123         (libmvec): New variable.
21124         * configure.ac: Added option for mathvec build.
21125         * configure: Regenerated.
21126         * mathvec/Depend: New file.
21127         * mathvec/Makefile: New file.
21128         * shlib-versions: Added libmvec.
21129         * math/Makefile: Added rule for libm.so installation.
21131         * bits/math-vector.h: New file.
21132         * bits/libm-simd-decl-stubs.h: New header.
21133         * math/Makefile (headers): Added new header
21134         libm-simd-decl-stubs.h.
21135         * math/math.h (__MATHCALL_VEC): New macro.
21137         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21138         for conditions in testing functions.
21139         * math/Makefile: Added call of libm-have-vector-test.sh.
21140         * math/libm-test.inc (HAVE_VECTOR): New macros.
21142         * math/libm-test.inc: START refactored.
21143         * math/test-double.c (TEST_MATHVEC): Add define.
21144         * math/test-float.c: Likewise.
21145         * math/test-idouble.c: Likewise.
21146         * math/test-ifloat.c: Likewise.
21147         * math/test-ildoubl.c: Likewise.
21148         * math/test-ldouble.c: Likewise.
21149         * sysdeps/generic/math-tests-arch.h
21150         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21151         architecture check.
21153         * math/test-double.c (FUNC_TEST): New macro.
21154         * math/test-float.c: Likewise.
21155         * math/test-idouble.c: Likewise.
21156         * math/test-ifloat.c: Likewise.
21157         * math/test-ildoubl.c: Likewise.
21158         * math/test-ldouble.c: Likewise.
21159         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21161 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21163         * sysdeps/nacl/fdopendir.c: New file.
21165         * dirent/scandir-tail.c: New file.
21166         * dirent/scandir64-tail.c: New file.
21167         * dirent/Makefile (routines): Add them.
21168         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21169         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21170         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21171         [!SCANDIR] (SCANDIR_TAIL): New macro.
21172         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21173         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21174         (SCANDIRAT): Macro removed.
21175         (SCANDIR_TAIL): New macro.
21176         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21177         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21178         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21179         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21180         (READDIR): Macro removed.
21181         (SCANDIR_TAIL): New macro.
21182         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21183         (SCANDIR_TAIL): New macro.
21185         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21186         * dirent/scandir-cancel.c: ... to this new file.
21187         * dirent/Makefile (routines): Add it.
21188         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21189         * sysdeps/unix/sysv/linux/i386/scandir64.c
21190         (SKIP_SCANDIR_CANCEL): Macro removed.
21191         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21193         * dirent/tst-scandir.c: New file.
21194         * dirent/tst-scandir64.c: New file.
21195         * dirent/Makefile (tests): Add them.
21197 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21199         [BZ #18409]
21200         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21202 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21204         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21205         list.
21207 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21209         * benchtests/bench-strcoll.c: New benchmark.
21210         * benchtests/Makefile: Generate locales and run benchmark.
21211         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21212         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21213         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21214         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21215         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21216         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21217         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21218         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21219         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21220         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21221         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21222         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21223         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21224         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21225         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21226         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21227         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21228         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21229         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21230         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21231         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21232         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21233         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21234         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21236 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21238         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21239         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21241 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21243         * posix/uname-values.h: New file.
21244         * posix/uname.c: Include that instead of <config-name.h>.
21245         * sysdeps/nacl/uname-values.h: New file.
21246         * sysdeps/arm/nacl/uname-values.h: New file.
21248 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21250         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21251         splitting into fields.
21253 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21255         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21256         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21257         * locale/localeinfo.h: Add enum collation_encoding_type.
21258         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21259         * programs/ld-collate.c (collate_output): Add encoding type info.
21260         * string/strcoll_l.c (STRDIFF): New function.
21261         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21262         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21264 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21266         [BZ #18397]
21267         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21268         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21269         <fpu_control.h> instead of <math/fpu_control.c>.
21270         * sysdeps/mips/mips32/fpu/Makefile: New file.
21272 2015-05-11  Andreas Schwab  <schwab@suse.de>
21274         [BZ #18007]
21275         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21276         nss_endgrent.
21277         (_nss_compat_endgrent): Call nss_endgrent.
21278         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21279         nss_endpwent.
21280         (_nss_compat_endpwent): Call nss_endpwent.
21281         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21282         needent, call nss_setspent only if non-zero.
21283         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21284         (internal_endspent): Don't call nss_endspent.
21285         (_nss_compat_endspent): Call nss_endspent.
21286         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21287         Remove.  All uses removed.
21288         (internal_setent): Remove parameter stayopen, add parameter
21289         stream.  Use it instead of global variable.
21290         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21291         (internal_endent, internal_getent): Add parameter stream.  Use it
21292         instead of global variable.
21293         (CONCAT(_nss_files_end,ENTNAME))
21294         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21295         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21296         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21297         uses removed.
21298         (internal_setent, internal_endent): Add parameter stream.  Use it
21299         instead of global variable.
21300         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21301         stream.
21302         (get_next_alias): Add parameter stream.
21303         (_nss_files_getaliasent_r): Pass global stream.
21304         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21305         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21306         (_nss_files_gethostbyname4_r): Pass local stream to
21307         internal_setent, internal_getent and internal_endent.  Remove
21308         locking.
21310 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21312         * tst-strfmon1.c (tests): Update expected currency symbol.
21314 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21316         * sysdeps/nacl/gethostname.c: New file.
21318 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21320         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21321         and sinh.
21322         * math/auto-libm-test-out: Regenerated.
21323         * sysdeps/i386/fpu/libm-test-ulps: Update.
21324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21326 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21328         [BZ #18125]
21329         * stdlib/tst-setcontext3.c: New file.
21330         * stdlib/tst-setcontext3.sh: New file.
21331         * stdlib/Makefile (tests): Add tst-setcontext3.
21332         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21333         to verify test program created output file.
21334         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21335         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21336         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21337         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21339 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21341         [BZ #18383]
21342         * elf/tst-tlsalign.c: New file.
21343         * elf/tst-tlsalign-static.c: New file.
21344         * elf/tst-tlsalign-lib.c: New file.
21345         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21346         (tests-static): Add tst-tlsalign-static.
21347         (modules-names): Add tst-tlsalign-lib.
21348         (test-xfail-tst-tlsalign): New variable.
21349         (test-xfail-tst-tlsalign-static): New variable.
21351         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21352         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21354 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21356         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21357         csqrt, erfc, sin and sincos.
21358         * math/auto-libm-test-out: Regenerated.
21359         * sysdeps/i386/fpu/libm-test-ulps: Update.
21360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21362 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21364         * sysdeps/aarch64/libm-test-ulps: Update.
21366 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21368         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21369         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21370         * math/auto-libm-test-out: Regenerated.
21371         * sysdeps/i386/fpu/libm-test-ulps: Update.
21372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21374 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21376         [BZ #18265]
21377         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21378         (wcsncpy): Likewise.
21380 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21382         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21383         Assume __ASSUME_FALLOCATE is always true.
21384         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21385         (__posix_fallocate64_l64): Likweise.
21386         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21387         (posix_fallocate): Likewise.
21388         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21389         (__posix_fallocate64_l64): Likewise.
21390         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21391         [!__ASSUME_FALLOCATE]: Add comment.
21393 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21395         * sysdeps/unix/sysv/linux/i386/Makefile
21396         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21397         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21398         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21399         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21400         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21401         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21402         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21404 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21406         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21407         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21408         tgamma.
21409         * math/auto-libm-test-out: Regenerated.
21410         * sysdeps/i386/fpu/libm-test-ulps: Update.
21411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21413 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21415         * math/auto-libm-test-in: Add more tests of tgamma.
21416         * math/auto-libm-test-out: Regenerated.
21417         * sysdeps/i386/fpu/libm-test-ulps: Update.
21418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21420         * math/auto-libm-test-in: Add more tests of tanh.
21421         * math/auto-libm-test-out: Regenerated.
21422         * sysdeps/i386/fpu/libm-test-ulps: Update.
21423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21425         * math/auto-libm-test-in: Add more tests of tan.
21426         * math/auto-libm-test-out: Regenerated.
21427         * sysdeps/i386/fpu/libm-test-ulps: Update.
21428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21430         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21431         * math/auto-libm-test-out: Regenerated.
21432         * sysdeps/i386/fpu/libm-test-ulps: Update.
21433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21435         * math/auto-libm-test-in: Add another test of pow.
21436         * math/auto-libm-test-out: Regenerated.
21437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21439         * math/auto-libm-test-in: Add more tests of lgamma.
21440         * math/auto-libm-test-out: Regenerated.
21441         * sysdeps/i386/fpu/libm-test-ulps: Update.
21442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21444         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21445         log1p.
21446         * math/auto-libm-test-out: Regenerated.
21447         * sysdeps/i386/fpu/libm-test-ulps: Update.
21448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21450 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21452         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21453         Elf64_Chdr structs and ELFCOMPRESS constants.
21455 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21457         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21458         expm1.
21459         * math/auto-libm-test-out: Regenerated.
21460         * sysdeps/i386/fpu/libm-test-ulps: Update.
21461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21463         * math/auto-libm-test-in: Add more tests of erf and erfc.
21464         * math/auto-libm-test-out: Regenerated.
21465         * sysdeps/i386/fpu/libm-test-ulps: Update.
21466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21468 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21470         * config.h.in (HAVE_AARCH64_BE): Add.
21472 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21474         * math/auto-libm-test-in: Add more tests of csqrt.
21475         * math/auto-libm-test-out: Regenerated.
21476         * sysdeps/i386/fpu/libm-test-ulps: Update.
21477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21479         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21480         * math/auto-libm-test-out: Regenerated.
21481         * sysdeps/i386/fpu/libm-test-ulps: Update.
21482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21484         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21486 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21488         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21489         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21491         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21492         (euidaccess, eaccess): Define as weak aliases.
21494         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21495         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21496         but __suseconds_t is often 'long int' so some sources assume that
21497         type is being used (e.g. they use %ld to print tv_usec).
21499 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21501         [BZ #18007]
21502         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21503         (CVE-2014-8121)
21504         * nss/tst-nss-getpwent.c: New file.
21505         * nss/Makefile (tests): Add new test.
21507 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21509         [BZ #18346]
21510         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21511         exponents less than 48 as cases where high part of mantissa needs
21512         examining to determine whether argument is integral.
21513         * math/libm-test.inc (round_test_data): Add more tests.
21515 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21517         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21519 2015-04-27  David S. Miller  <davem@davemloft.net>
21521         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21522         __tls_get_addr.
21523         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21525 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21527         [BZ#18333]
21528         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21530 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21532         [BZ#18333]
21533         * time/tzset.c (parse_tzname): Return error on memory allocation
21534         failure.
21535         * test-skeleton.c (struct temp_name_list): Change type of name
21536         member to non-const.
21537         (add_temp_file): Create a copy of the file name.
21538         (delete_temp_files): Deallocate memory.
21539         (create_temp_file): Add comment.
21541 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21543         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21544         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21546 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21548         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21549         * sysdeps/arm/configure: Regenerated.
21551 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21553         [BZ #17715]
21554         * time/tzfile.c (__tzfile_read): Check for large values of
21555         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21556         * time/tzset.c (__tzstring_len): New function, based on the old
21557         __tzstring function.
21558         (__tzstring): Call __tzstring_len.
21559         (parse_tzname): New helper function extracted from
21560         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21561         the input string.
21562         (parse_offset): New helper function extracted from
21563         __tzset_parse_tz.  Replace switch with fallthrough with
21564         initialization before sscanf.
21565         (parse_rule): Likewise.
21566         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21567         new-style function definition.
21568         * timezone/Makefile (tests): Add tst-tzset.
21569         (tst-tzset.out): Dependencies on time zone files.
21570         (tst-tzset-ENV): Set TZDIR.
21571         (testdata/XT%): Copy crafted time zone files.
21572         * timezone/README: Mention crafted time zone files.
21573         * timezone/testdata/XT1, timezone/testdata/XT2,
21574         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21575         files.
21576         * timezone/tst-tzset.c: New test.
21578 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21580         * Makeconfig (+gccwarn): Remove -Winline.
21582 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21584         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21586 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21588         * NEWS: Mention sysconf() cache information support for s390.
21589         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21591 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21593         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21594         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21595         (__nearbyint): Likewise.
21596         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21597         (copysignl): Likewise.
21599 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21601         [BZ #18287]
21602         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21603         based on padding.  (CVE-2015-1781)
21605 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21607         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21608         libc-vdso.h.
21609         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21610         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21611         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21612         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21613         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21614         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21615         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21616         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21617         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21618         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21619         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21620         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21621         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21622         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21623         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21624         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21625         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21626         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21627         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21628         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21629         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21630         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21631         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21633 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21635         * stdlib/setenv.c (__add_to_environ):
21636         Dump core quickly if setenv (..., NULL, ...) is called.
21637         This time, do it the right way, and pacify GCC with a pragma.
21639 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21641         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21642         IMAP->l_prev cannot be null, and #if out the code for the contrary
21643         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21644         believe that NS (&_dl_ns[NSID]) could point outside the array.
21646         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21647         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21648         before using NSID as an index.
21650 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21652         [BZ #17825]
21653         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21654         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21655         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21657 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21659         Add preliminary port to Google Native Client on ARM.
21660         * abi-tags (.*-.*-nacl.*): New entry.
21661         * sysdeps/arm/nacl: New directory.
21662         * sysdeps/nacl: New directory.
21664 2015-04-16  David S. Miller  <davem@davemloft.net>
21666         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21667         lowlevellock-futex.h
21669 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21671         * sysdeps/tile/configure.ac: New file.
21672         * sysdeps/tile/configure: Regenerated.
21674 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21676         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21677         conditionals for weak_alias and libc_hidden_weak.
21678         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21679         libc_hidden_weak and weak_alias.
21680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21681         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21682         and weak_alias for static one.
21684 2015-04-15  David S. Miller  <davem@davemloft.net>
21686         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21688 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21690         [BZ #18206]
21691         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21692           Use signed comparision instead of substraction to avoid
21693           overflow bug.
21694         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21695           Take the sign of ret.
21696         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21697           Do not expect precise return values. Only the sign matters.
21698         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21699         * wcsmbs/test-wcsncmp.c: New File.
21700         * string/test-strncmp.c: Add wcsncmp support.
21702 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21704         [BZ #6792]
21705         * math/w_log1p.c: New file.
21706         * math/w_log1pf.c: Likewise.
21707         * math/w_log1pl.c: Likewise.
21708         * math/Makefile (libm-calls): Add w_log1p.
21709         * math/s_log1pl.c (log1pl): Remove weak_alias.
21710         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21711         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21712         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21713         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21714         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21715         [NO_LONG_DOUBLE] (log1pl): Likewise.
21716         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21717         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21718         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21719         (log1p): Remove long_double_symbol.
21720         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21721         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21722         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21723         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21724         remove weak_alias for corresponding log1p function.
21725         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21726         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21727         * sysdeps/ia64/fpu/w_log1p.c: New file.
21728         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21729         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21730         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21732 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21734         [BZ #18247]
21735         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21736         decimal exponent by 1.
21737         * stdlib/tst-strtod-round-data: Add more tests.
21738         * stdlib/tst-strtod-round.c (tests): Regenerated.
21740 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21742         * math/auto-libm-test-in: Add more tests of clog and clog10.
21743         * math/auto-libm-test-out: Regenerated.
21744         * sysdeps/i386/fpu/libm-test-ulps: Update.
21745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21747 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21749         * Makeconfig (module-cppflags): Exclude all .v.i files.
21750         (skip-module-cppflags): Variable removed.
21752         * configure.ac (libc_config_ok): Initialize before reading
21753         preconfigure scripts, not after.
21754         * configure: Regenerated.
21756         * test-skeleton.c (TIMEOUT): Move #define to top level.
21757         (main): Grok environment variable TEST_DIRECT.  If set, print
21758         test expectation details into that file and then behave as if
21759         given --direct.
21761 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21763         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21764         warning on 32-bit.
21766 2015-04-08  David S. Miller  <davem@davemloft.net>
21768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21770 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21772         * math/auto-libm-test-in: Add more tests of atanh.
21773         * math/auto-libm-test-out: Regenerated.
21774         * sysdeps/i386/fpu/libm-test-ulps: Update.
21775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21777         * math/auto-libm-test-in: Add more tests of atan.
21778         * math/auto-libm-test-out: Regenerated.
21779         * sysdeps/i386/fpu/libm-test-ulps: Update.
21780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21782 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21784         * elf/pldd.c (main): Rewrite to use struct
21785         scratch_buffer instead of extend_alloca.
21786         * elf/pldd-xx.c (find_maps): Likewise.
21787         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21788         <alloca.h>.
21789         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21790         scratch_buffer instead of extend_alloca.
21791         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21792         grp/compat-initgroups.c.
21793         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21794         Rewrite to use struct scratch_buffer instead of extend_alloca.
21795         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21796         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21798 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21800         * math/auto-libm-test-in: Add more tests of cbrt.
21801         * math/auto-libm-test-out: Regenerated.
21802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21804         * math/auto-libm-test-in: Add more tests of cabs.
21805         * math/auto-libm-test-out: Regenerated.
21806         * sysdeps/i386/fpu/libm-test-ulps: Update.
21807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21809         [BZ #18210]
21810         [BZ #18211]
21811         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21812         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21813         computations.
21814         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21815         clog10.
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 #18197]
21821         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21822         (atan): Set FE_TONEAREST mode for internal computations.
21823         * math/auto-libm-test-in: Add more tests of atan.
21824         * math/auto-libm-test-out: Regenerated.
21826 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21828         [BZ #17930]
21829         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21831 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21833         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21835 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21837         * include/scratch_buffer.h: New file.
21838         * malloc/scratch_buffer_grow.c: Likewise.
21839         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21840         * malloc/scratch_buffer_set_array_size.c: Likewise.
21841         * malloc/tst-scratch_buffer.c: Likewise.
21842         * malloc/Makefile (routines): Add scratch_buffer_grow.
21843         (tests): Add test case.
21844         * malloc/Versions (GLIBC_PRIVATE): Export
21845         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21846         __libc_scratch_buffer_set_array_size.
21848 2015-04-06  Richard Henderson  <rth@redhat.com>
21850         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21851         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21853         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21854         unsigned int before printing.
21856 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21858         [BZ #17596]
21859         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21860         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21862 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21864         * include/libc-internal.h (libc_max_align_t): Define.
21866 2015-04-02  Andreas Schwab  <schwab@suse.de>
21868         [BZ #16850]
21869         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21871 2015-04-02  Mel Gorman  <mgorman@suse.de>
21873         [BZ #17195]
21874         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21875         as well as the main arena.
21877 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21879         [BZ #18185]
21880         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21881         sharing L2 cache to 2 for Silvermont/Knights Landing.
21883 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21885         [BZ #17711]
21886         * config.make.in (have-protected-data): New.
21887         * configure.ac: Check linker support for protected data symbol.
21888         * configure: Regenerated.
21889         * elf/Makefile (modules-names): Add tst-protected1moda and
21890         tst-protected1modb if $(have-protected-data) is yes.
21891         (tests): Add tst-protected1a and tst-protected1b if
21892         $(have-protected-data) is yes.
21893         ($(objpfx)tst-protected1a): New.
21894         ($(objpfx)tst-protected1b): Likewise.
21895         (tst-protected1modb.so-no-z-defs): Likewise.
21896         * elf/tst-protected1a.c: New file.
21897         * elf/tst-protected1b.c: Likewise.
21898         * elf/tst-protected1mod.h: Likewise.
21899         * elf/tst-protected1moda.c: Likewise.
21900         * elf/tst-protected1modb.c: Likewise.
21902 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21904         [BZ #17711]
21905         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21906         indicates it is called from do_lookup_x on relocation against
21907         protected data, skip the data definion in the executable from
21908         copy reloc.
21909         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21910         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21911         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21912         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21913         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21914         otherwise to 0.
21915         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21916         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21917         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21918         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21919         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21920         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21922 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21924         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21925         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21927 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21929         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21930         THREAD_SETMEM_NC.
21931         * sysdeps/x86_64/nptl/tls.h: Ditto.
21933 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21935         * dlfcn/tststatic.c (main): Converted to ...
21936         (do_test): ... this.
21937         (TEST_FUNCTION): New macro.
21938         Include test-skeleton.c.
21940 2015-03-26  Alan Modra  <amodra@gmail.com>
21942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21943         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21944         zero for undefined weak.
21945         (elf_machine_plt_conflict): Similarly.
21947 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21949         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21950         atanh.
21951         * math/auto-libm-test-out: Regenerated.
21952         * sysdeps/i386/fpu/libm-test-ulps: Update.
21953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21955         * math/auto-libm-test-in: Add another test of asin.
21956         * math/auto-libm-test-out: Regenerated.
21957         * sysdeps/i386/fpu/libm-test-ulps: Update.
21958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21960         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21961         Remove macro.
21962         (LLL_EBX_REG): Likewise.
21963         (LLL_ENTER_KERNEL): Likewise.
21965         * math/auto-libm-test-in: Add more tests of asin.
21966         * math/auto-libm-test-out: Regenerated.
21967         * sysdeps/i386/fpu/libm-test-ulps: Update.
21968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21970         [BZ #18138]
21971         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21972         libc_do_syscall_args): New structure.
21973         (INTERNAL_SYSCALL_MAIN_0): New macro.
21974         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21975         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21976         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21977         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21978         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21979         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21980         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21981         Replace conditional definitions by conditional definitions of ....
21982         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21983         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21984         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21985         (libpthread-sysdep_routines): Add libc-do-syscall.
21986         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21987         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21988         to __NR_futex not 240.
21990 2015-03-25  Alan Modra  <amodra@gmail.com>
21992         * NEWS: Advertise TLS optimization.
21993         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21994         (DT_PPC_NUM): Increment.
21995         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21996         (CHECK_STATIC_TLS): Use here.
21997         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21998         TLS descriptors.
21999         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22000         * sysdeps/powerpc/dl-tls.c: New file.
22001         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22002         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22003         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22004         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22009 2015-03-25  Alan Modra  <amodra@gmail.com>
22011         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22012         for overlapping .opd entries" to "support...".
22013         * sysdeps/powerpc/powerpc64/configure: Regenerate
22015 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22017         * math/auto-libm-test-in: Add more tests of acos.
22018         * math/auto-libm-test-out: Regenerated.
22019         * sysdeps/i386/fpu/libm-test-ulps: Update.
22020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22022         * math/auto-libm-test-in: Add more tests of expm1.
22023         * math/auto-libm-test-out: Regenerated.
22024         * sysdeps/i386/fpu/libm-test-ulps: Update.
22025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22027 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22029         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22030         * math/auto-libm-test-out: Regenerated.
22031         * sysdeps/i386/fpu/libm-test-ulps: Update.
22032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22034         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22037         * math/auto-libm-test-in: Add more tests of log2.
22038         * math/auto-libm-test-out: Regenerated.
22039         * sysdeps/i386/fpu/libm-test-ulps: Update.
22040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22042 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22044         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22045         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22046         _IO_IS_APPENDING bit in READ_WRITE instead.
22048 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22050         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22051         (__determine_cpumask_size): Replace extend_alloca with a
22052         variable-length array.  Do not treat res == 0 as an error.
22054 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22056         [BZ #18100]
22057         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22058         and integer overflow.
22059         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22060         (main): Add integer overflow tests.
22061         * manual/pattern.texi (Calling Wordexp): Document additional use
22062         for WRDE_SYNTAX.
22064 2015-03-23  Alan Modra  <amodra@gmail.com>
22066         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22067         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22068         and false branch of conditional.
22069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22070         Likewise.
22072 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22074         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22075         libc-modules.h
22076         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22077         unused declaration of _hurd_intr_rpc_msg_in_trap.
22078         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22079         defined instead of whether it is non-zero.
22080         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22081         input constraint instead of both input and output constraint.  Use ecx
22082         clobber instead of %ecx.
22083         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22084         mutex_unlock): Use a statement expression instead of an expression list.
22085         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22086         type to vm_size_t instead of vm_address_t.
22087         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22088         defined instead of whether it is non-zero.
22089         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22090         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22091         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22092         comparisons with mapaddr.
22093         * nscd/nscd-client.h: Include <time.h>.
22094         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22095         9th parameter to __vm_region instead of int.
22096         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22097         * scripts/check-local-headers.sh (exclude): Add device/,
22098         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22099         cthreads.h.
22101 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22103         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22104         to account for alignment padding.
22105         * sysdeps/arm/memmove.S: Likewise.
22107 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22109         * sysdeps/unix/sysv/linux/generic/README: New file.
22111 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22113         [BZ #18138]
22114         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22115         (futex_abstimed_wait)
22116         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22117         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22118         of lll_futex_timed_wait.
22120 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22122         [BZ #17542]
22123         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22125 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22127         [BZ #17090]
22128         [BZ #17620]
22129         [BZ #17621]
22130         [BZ #17628]
22131         * NEWS: Update.
22132         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22133         entries with Static TLS too.  Skip entries past the end of the
22134         allocated DTV, from Alan Modra.
22135         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22136         Static TLS DTV entry set up from...
22137         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22138         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22139         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22140         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22141         for Static TLS.
22142         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22143         that the slot we find is associated with the given map before
22144         using its generation count.
22145         * nptl_db/db_info.c: Include ldsodefs.h.
22146         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22147         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22148         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22149         (link_map::l_tls_offset): New struct field.
22150         (dtv_t::counter): Likewise.
22151         (rtld_global): New struct.
22152         (_rtld_global): New rtld variable.
22153         (dl_tls_dtv_slotinfo_list): New rtld global field.
22154         (dtv_slotinfo_list): New struct.
22155         (dtv_slotinfo): Likewise.
22156         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22157         (td_lookup): Rename to...
22158         (td_mod_lookup): ... this.  Use new mod parameter instead of
22159         LIBPTHREAD_SO.
22160         * nptl_db/td_thr_tlsbase.c: Include link.h.
22161         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22162         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22163         addresses even if the DTV is out of date or missing them.
22164         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22165         index zero-length arrays.
22166         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22167         (td_lookup): Make it a macro implemented in terms of...
22168         (td_mod_lookup): ... this declaration.
22169         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22170         (DB_MAIN_VARIABLE): Likewise.
22172 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22174         [BZ #18134]
22175         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22177 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22179         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22181 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22183         [BZ #18128]
22184         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22185         (atomic_add, atomic_increment_and_test)
22186         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22188 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22190         * stdlib/setenv.c (__add_to_environ):
22191         Dump core quickly if setenv (..., NULL, ...) is called.
22193 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22195         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22196         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22197         all the necessary asm magic in one place.
22198         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22199         using those.
22201 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22203         [BZ #14906]
22204         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22205         traced file mtime. Use consistent log message.
22206         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22207         (register_traced_file): Call install_watches. Always set mtime.
22208         (invalidate_cache): Iterate over all trace files. Call install_watches.
22209         (inotify_check_files): Don't inline. Handle watching parent
22210         directories and configuration file movement in and out.
22211         (handle_inotify_events): New function.
22212         (main_loop_poll): Call handle_inotify_events.
22213         (main_loop_epoll): Likewise.
22214         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22215         (struct traced_file): Use array of inotify fds. Add parent directory,
22216         and basename.
22217         (struct database_dyn): Remove unused file_mtime.
22218         (init_traced_file): New inline function.
22219         (define_traced_file): New macro.
22220         * nss/nss_db/db-init.c: Use define_traced_file.
22221         (_nss_db_init): Use init_traced_file.
22222         * nss/nss_files/files-init.c: Use define_traced_file.
22223         (_nss_files_init): Use init_traced_file.
22225 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22227         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22228         [_LIBC]: Do not include <stdlib.h>.
22229         [!_LIBC] (abort): Remove declaration.
22230         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22231         _FP_STATIC_ASSERT instead of conditionally calling abort.
22232         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22233         (_FP_EXTEND_CNAN): Likewise.
22234         (FP_TRUNC): Likewise.
22235         (__FP_CLZ): Likewise.
22236         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22238 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22240         * manual/string.texi (XPG basename): Fix prototype.
22242 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22244         [BZ #18080]
22245         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22246         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22247         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22248         (__setcontext): Likewise.
22249         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22250         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22251         Call rt_sigprocmask syscall one time to set new signal mask
22252         and retrieve the current signal mask instead of two calls.
22253         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22254         (__swapcontext): Likewise.
22255         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22256         * stdlib/tst-setcontext2.c: New file.
22258 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22260         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22262 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22264         [BZ #18093]
22265         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22266         the wrong size.
22268 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22270         [BZ #18043]
22271         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22273 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22275         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22276         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22277         Remove define.
22278         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22279         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22280         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22281         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22282         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22283         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22284         define.
22285         * nptl_db/td_symbol_list.c (td_lookup): Remove
22286         HAVE_ASM_GLOBAL_DOT_NAME code.
22287         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22288         HAVE_ASM_GLOBAL_DOT_NAME check.
22289         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22290         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22291         (DOT_LABEL): Remove define.
22292         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22293         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22294         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22295         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22296         (__TLS_GET_ADDR): Likewise.
22297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22298         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22300 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22302         [BZ #18111]
22303         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22304         (_FPU_SETCW): Initialize cw from fpsr before storing.
22305         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22306         (fesetexceptflag): Rewrite using fpu_control.h.
22307         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22309 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22311         [BZ #18110]
22312         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22313         asms.
22314         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22316 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22318         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22319         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22320         abort.
22321         (_FP_FMA): Likewise.
22322         (_FP_DIV): Likewise.
22324 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22326         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22327         with 0 in that case.
22328         * Makefile (summarize-tests): New canned sequence, factored out of
22329         commands for targets tests and xtests.  Display summary lines that
22330         don't start with PASS: or XFAIL: rather than ones that do start with
22331         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22332         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22333         do start with ERROR: or FAIL:.
22334         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22335         (except for [$(build-shared) = yes]).
22336         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22337         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22338         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22339         * nptl/Makefile: Revert 2015-03-04 changes.
22340         [$(CXX) empty] (tests-unsupported): New variable.
22341         * debug/Makefile: Likewise.
22343         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22344         gnulib file.  Replace __attribute with __attribute__ throughout.
22346 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22348         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22350 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22352         [BZ #18104]
22353         * math/auto-libm-test-in: Add another test of pow.
22354         * math/auto-libm-test-out: Regenerated.
22356 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22358         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22359         $(config-cflags-nofma).
22361 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22363         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22364         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22365         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22366         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22367         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22368         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22369         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22370         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22371         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22372         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22373         Add comment on closing #endif.
22375 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22377         * posix/wordexp.c (CHAR_IN_SET): New macro.
22378         (parse_param): Use it.
22380 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22382         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22384 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22386         [BZ #18043]
22387         * posix/wordexp.c (parse_param): Fix buffer overflow.
22388         * posix/wordexp-test.c (test_case): Add test case.
22390 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22392         [BZ #18042]
22393         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22394         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22396 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22398         [BZ #18043]
22399         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22400         (do_bz18043): Delete.
22401         (at_page_end): New.
22402         (testit): Refactor to have words at the edge of unreadable page.
22404 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22406         [BZ #16734]
22407         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22408         Cleanup read-only streams as well.
22409         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22411 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22413         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22414         <bits/libc-lockP.h>
22416 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22418         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22419         on [__KERNEL__].
22420         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22421         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22422         * soft-fp/op-common.h (_FP_DECL): Likewise.
22424 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22426         * elf/ifuncdep2.c (global): Replace
22427         __attribute__((visibility("protected"))) with
22428         asm (".protected global").
22429         * elf/ifuncmod1.c (global): Likewise.
22430         * elf/ifuncmod5.c (global): Likewise.
22432 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22434         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22435         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22437 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22439         * manual/install.texi (Configuring and compiling):
22440         Document test-wrapper-env-only.
22441         * INSTALL: Regenerated.
22443 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22445         [BZ #18043]
22446         * posix/wordexp.c (parse_param): Fix buffer overflow.
22447         * posix/wordexp-test.c (do_bz18043): Add test case.
22449 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22451         * time/tst-strptime2.c (do_test): Ensure failing tests are
22452         reported correctly.
22453         * time/tst-strptime3.c (do_test): Likewise.
22455 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22457         Fix aio_error thread-safety.
22458         * sysdeps/pthread/aio_error.c: New file
22459         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22460         synchronization.
22462 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22464         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22465         (group_number, vfprintf): Use it.
22466         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22467         (JUMP, REF): Use it.
22468         (WORK_BUFFER_SIZE): New enum constant.
22469         (process_arg, vfprintf): Use it.
22471 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22473         * manual/errno.texi (Error Messages): Complete example function
22474         by adding missing #define.
22475         (program_invocation_name): Add statement indicating GNU
22476         extension and reference which header file declares the variable.
22477         (program_invocation_short_name): Likewise.
22479 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22481         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22482         compatibility note.
22484 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22486         * Makeconfig (test-wrapper-env-only): New variable.
22487         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22488         then use that with $(test-wrapper-env-only) rather than using
22489         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22491 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22493         [BZ #18082]
22494         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22495         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22496         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22497         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22498         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22499         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22500         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22501         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22502         Likewise.
22503         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22504         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22505         Likewise.
22506         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22507         Likewise.
22508         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22509         Likewise.
22510         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22511         Likewise.
22512         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22513         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22514         Likewise.
22515         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22516         Likewise.
22517         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22518         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22520 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22522         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22523         (ETH_ALEN): New macro.
22524         (struct ether_addr): Use it for length of ether_addr_octet.
22526         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22527         (setdb): Don't call __nss_configure_lookup for "rpc".
22528         (do_test): Don't call test_rpc.
22529         (output_rpcent, test_rpc): Functions moved ...
22530         * sunrpc/test-rpcent.c: ... to this new file.
22531         * sunrpc/Makefile (tests): Add it.
22533         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22534         __xpg_sigpause.
22535         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22536         * nptl/tst-signal6.c: Likewise.
22537         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22538         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22540         * configure.ac (libc_cv_cxx_link_ok): New check.
22541         Reset CXX to empty if it fails to link.
22542         * configure: Regenerated.
22543         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22544         bug-atexit3-lib only if $(CXX) is nonempty.
22545         * nptl/Makefile (tests): Likewise for tst-cancel24.
22546         (tests, tests-static): Likewise for tst-cancel24-static.
22547         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22548         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22549         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22550         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22552 2015-03-04  Andreas Schwab  <schwab@suse.de>
22554         [BZ #17631]
22555         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22556         for non-GCC compilers.
22557         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22558         Likewise.
22560 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22562         [BZ #17776]
22563         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22564         integer before bitwise and assembly operations.
22565         (feclearexcept): Likewise.
22566         * math/test-fenvinline.c: New file.
22567         * math/Makefile: Add test-fenvinline test.
22569 2015-03-03  Alan Modra  <amodra@gmail.com>
22571         [BZ #16512]
22572         * scripts/localplt.awk: Strip off symbol version.
22573         * NEWS: Mention bug fix.
22575 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22577         * sysdeps/pthread/timer_routines.c
22578         (timer_free_list, thread_free_list, thread_active_list): Make static.
22580 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22582         [BZ #17779]
22583         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22584         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22585         Undefine.
22586         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22587         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22588         Likewise.
22589         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22590         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22591         Likewise.
22593 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22595         [BZ #18036]
22596         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22597         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22599 2015-03-02  Andreas Schwab  <schwab@suse.de>
22601         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22602         variable name.
22604 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22606         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22607         Return error status.
22609 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22611         [BZ #15969]
22612         * locale/findlocale.c (_nl_find_locale): Introduce const
22613         version of loc_name and drop unsafe type casts.
22615 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22617         * dlfcn/tststatic2.c (main): Converted to ...
22618         (do_test): ... this.
22619         (TEST_FUNCTION): New macro.
22620         Include test-skeleton.c.
22622 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22624         [BZ #17711]
22625         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22626         (tests-pie): Add vismain.
22627         (CFLAGS-vismain.c): New.
22628         * elf/vismain.c: Add comments for PIE requirement.
22630 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22632         [BZ #18046]
22633         [BZ #18047]
22634         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22635         0x1p-56L as threshold for just returning the argument.
22636         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22637         0x1p-32L as threshold for just returning the argument.
22638         * math/auto-libm-test-in: Add more tests of atanh.
22639         * math/auto-libm-test-out: Regenerated.
22640         * sysdeps/i386/fpu/libm-test-ulps: Update.
22641         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22643 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22645         * string/bcopy.c (bcopy): Call memmove for performance.
22647 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22649         * string/bzero.c (__bzero): Call memset for performance.
22651 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22653         [BZ #18068]
22654         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22655         to 00100000.
22657 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22659         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22661 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22663         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22664         (__kernel_standard): Use CSTR macro when setting exc.name.
22665         * sysdeps/ieee754/Makefile [$(subdir) = math]
22666         (CFLAGS-k_standard.c): Remove variable.
22668         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22669         setting p and q from "else if" to "else".
22670         (qzero): Likewise.
22671         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22672         (qone): Likewise.
22673         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22674         (qzerof): Likewise.
22675         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22676         (qonef): Likewise.
22677         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22678         (qzero): Likewise.
22679         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22680         (qone): Likewise.
22682         [BZ #18038]
22683         [BZ #18039]
22684         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22685         return pi/2 for arguments below 0x1p-113L.
22686         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22687         return pi/2 for arguments below 0x1p-106L.
22688         * math/auto-libm-test-in: Add more tests of acos.
22689         * math/auto-libm-test-out: Regenerated.
22691         [BZ #16351]
22692         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22693         (MO): New macro.
22694         (__ieee754_asin): Force underflow exception for results with small
22695         absolute value.
22696         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22697         (MO): New macro.
22698         (__ieee754_asinf): Force underflow exception for results with
22699         small absolute value.
22700         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22701         (__ieee754_asin): Force underflow exception for results with small
22702         absolute value.
22703         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22704         (__ieee754_asinf): Force underflow exception for results with
22705         small absolute value.
22706         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22707         (__ieee754_asinl): Force underflow exception for results with
22708         small absolute value.
22709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22710         (__ieee754_asinl): Force underflow exception for results with
22711         small absolute value.
22712         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22713         (__ieee754_asinl): Force underflow exception for results with
22714         small absolute value.
22715         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22716         Include <math.h>.
22717         * math/auto-libm-test-in: Do not mark underflow exceptions as
22718         possibly missing for bug 16351.
22719         * math/auto-libm-test-out: Regenerated.
22721         [BZ #18030]
22722         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22723         of power of 2 down when low part has opposite sign.
22724         * math/libm-test.inc (logb_test_data): Add more tests.
22726 2015-02-26  Andreas Schwab  <schwab@suse.de>
22728         [BZ #18032]
22729         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22730         over collating symbol inside a bracket expression.  Minor cleanup.
22731         * posix/tst-fnmatch3.c (do_test): Add test case.
22733 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22735         [BZ #18029]
22736         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22737         Adjust exponent of power of 2 down when low part has opposite
22738         sign.
22739         * math/libm-test.inc (ilogb_test_data): Add more tests.
22741 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22743         [BZ #15969]
22744         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22745         the previous change.
22747         [BZ #15969]
22748         * locale/findlocale.c (_nl_find_locale): Retry archive search
22749         after alias expansion.
22751 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22753         * iconv/tst-iconv3.c (main): Converted to ...
22754         (do_test): ... this.
22755         (TEST_FUNCTION): New macro.
22756         Include test-skeleton.c.
22758         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22759         (convert): Make function static.
22760         (test_unalign): Likewise.  Add const to argument pointee types.
22761         (main): Replace with static function do_test.
22762         Print "Succeeded." only if RET is zero.
22763         (TEST_FUNCTION): New macro.
22764         Include test-skeleton.c.
22766         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22767         returns a null pointer.
22769 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22771         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22772         to __memcpy_ppc only for static builds.
22774 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22776         [BZ #18020]
22777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22778         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22779         * math/auto-libm-test-in: Add more tests of asinh.
22780         * math/auto-libm-test-out: Regenerated.
22781         * sysdeps/i386/fpu/libm-test-ulps: Update.
22782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22784 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22786         [BZ #15850]
22787         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22788         and ip6_mtuinfo definitions here.
22789         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22790         in this define too.  Update comment.
22792 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22794         * elf/sprof.c (load_shobj): Tweak error message to match others.
22796 2015-02-24  Kevin Easton  <kevin@guarana.org>
22798         [BZ #16145] (partial fix)
22799         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22800         to reduce lock contention.
22802 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22804         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22805         (struct timex): Update time comment.
22806         (ADJ_SETOFFSET): Define.
22808 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22810         [BZ #18019]
22811         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22812         2**56 not 2**28 as threshold for log (2x) formula.
22813         * math/auto-libm-test-in: Add more tests of acosh.
22814         * math/auto-libm-test-out: Regenerated.
22815         * sysdeps/i386/fpu/libm-test-ulps: Update.
22816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22818 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22820         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22821         parenthesis around the buf assignment.
22822         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22824 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22826         [BZ #16783]
22827         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22828         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22829         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22830         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22831         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22832         * math/libm-test.inc (scalb_test_data): Add more tests.
22834 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22836         [BZ #17916]
22837         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22838         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22840 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22842         [BZ #17523]
22843         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22844         * io/bits/fcntl2.h (open): Use it.
22845         (openat): Likewise.
22846         * io/open.c (__libc_open): Likewise.
22847         * io/open64.c (__libc_open64): Likewise.
22848         * io/open64_2.c (__open64_2): Likewise.
22849         * io/open_2.c (__open_2): Likewise.
22850         * io/openat.c (__openat): Likewise.
22851         * io/openat64.c (__openat64): Likewise.
22852         * io/openat64_2.c (__openat64_2): Likewise.
22853         * io/openat_2.c (__openat_2): Likewise.
22854         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22855         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22856         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22857         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22858         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22859         (__open_nocancel): Likewise.
22860         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22861         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22862         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22864 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22866         [BZ #14841]
22867         * resolv/gethnamaddr.c (getanswer): Skip logging if
22868         RES_USE_DNSSEC is set.
22869         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22871 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22873         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22875 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22877         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22878         201304L, for Unicode 7.
22880 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22882         [BZ #17836]
22883         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22884         shared library.  Add gmon-start.os otherwise.
22885         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22886         $(objpfx)gmon-start.os if builing shared library.
22887         ($(objpfx)g$(static-start-installed-name)): Likewise.
22889 2015-02-23  Andreas Schwab  <schwab@suse.de>
22891         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22893 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22895         [BZ #17269]
22896         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22897         (enlarge_userbuf): Likewise.
22899 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22901         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22902         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22903         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22904         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22906 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22908         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22909         expression inside statement expression.
22911 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22913         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22914         <sysdeps/nptl/lowlevellock.h> and remove macros and
22915         functions that are now defined there.
22916         (SYS_futex): Remove.
22917         (lll_compare_and_swap): Remove.
22918         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22920 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22922         [BZ #17999]
22923         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22924         instead of scandirat.
22925         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22926         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22927         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22928         __scandirat.
22929         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22930         (__scandirat): Declare.  Use libc_hidden_proto.
22931         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22932         Remove variable.
22933         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22935 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22937         [BZ #15319]
22938         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22939         (MO): New macro.
22940         (__ieee754_atan2): For results with small absolute value, force
22941         underflow exception and remove excess range and precision from
22942         return value.
22943         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22944         (MO): New macro.
22945         (__ieee754_atan2f): For results with small absolute value, force
22946         underflow exception and remove excess range and precision from
22947         return value.
22948         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22949         (MO): New macro.
22950         (__atan): For results with small absolute value, force underflow
22951         exception and remove excess range and precision from return value.
22952         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22953         (MO): New macro.
22954         (__atanf): For results with small absolute value, force underflow
22955         exception and remove excess range and precision from return value.
22956         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22957         <math.h>.
22958         (__ieee754_atan2): Force underflow exception for results with
22959         small absolute value.
22960         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22961         <math_private.h>.
22962         (atan): Force underflow exception for results with small absolute
22963         value.
22964         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22965         (__atanf): Force underflow exception for results with small
22966         absolute value.
22967         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22968         <math.h>.
22969         (__atanl): Force underflow exception for results with small
22970         absolute value.
22971         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22972         (__atanl): Force underflow exception for results with small
22973         absolute value.
22974         * sysdeps/x86/fpu/bits/mathinline.h
22975         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22976         (__ieee754_atan2): Only define inline for long double.
22977         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22978         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22979         * math/auto-libm-test-in: Do not mark underflow exceptions as
22980         possibly missing for bug 15319.  Add more tests of atan2.
22981         * math/auto-libm-test-out: Regenerated.
22982         * math/libm-test.inc (casin_test_data): Do not mark underflow
22983         exceptions as possibly missing for bug 15319.
22984         (casinh_test_data): Likewise.
22985         * sysdeps/i386/fpu/libm-test-ulps: Update.
22987 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22989         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22990         * sysdeps/mips/bits/endian.h: Fix comments.
22992 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22994         [BZ #17996]
22995         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22996         (hdestroy_r): Likewise.
22997         (hsearch_r): Likewise.
22998         (__hcreate_r): Declare and use libc_hidden_proto.
22999         (__hdestroy_r): Likewise.
23000         (__hsearch_r): Likewise.
23001         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23002         (hcreate): Call __hcreate_r instead of hcreate_r.
23003         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23004         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23005         as weak alias of __hcreate_r.
23006         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23007         __hdestroy_r.
23008         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23009         __hsearch_r.
23010         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23011         Remove variable.
23012         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23013         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23014         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23015         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23017 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23019         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23020         arena_lock into a single arena_get.
23022 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23024         * dl-reloc.c: Inlucde libc-internal.h.
23025         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23026         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23027         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23028         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23029         (grow_heap): Likewise.
23030         * malloc/malloc.c: Include libc-internal.h.
23031         (do_check_malloc): Call powerof2.
23032         (sysmalloc): Use pagesize. Call ALIGN_UP.
23033         (systrim): Use pagesize.
23034         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23035         (__libc_valloc): Use pagesize.
23036         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23038 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23040         [BZ #17991]
23041         * include/sys/resource.h (__getrlimit64): Declare.  Use
23042         libc_hidden_proto.
23043         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23044         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23045         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23046         getrlimit64.
23047         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23048         __getrlimit64.
23049         [!getrlimit64] (getrlimit64): Define as weak alias of
23050         __getrlimit64.  Use libc_hidden_weak.
23051         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23052         using __getrlimit64 not __new_getrlimit64.
23053         (__GI_getrlimit64): Likewise.
23054         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23055         Likewise.
23056         (__GI_getrlimit64): Likewise.
23057         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23059         (getrlimit): Add __getrlimit64 alias.
23060         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23061         Likewise.
23062         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23063         Remove variable.
23064         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23065         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23067 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23069         * libio/fileops.c: Add missing sys/mman.h
23070         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23072 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23074         * manual/math.texi (Errors in Math Functions): Clarify goals
23075         regarding inexact and underflow exceptions.
23077 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23079         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23080         * sysdeps/mips/memset.S: Ditto.
23082 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23084         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23086 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23088         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23089         (__v1longjmp): Remove versioned symbol.
23090         (__v1siglongjmp): Remove alias and versioned symbol.
23091         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23092         (__v2siglongjmp): Likewise.
23094 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23096         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23098 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23100         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23102 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23104         [BZ #17987]
23105         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23106         zero result does not depend on the sign resulting from
23107         subtraction.
23108         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23109         Likewise.
23110         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23111         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23112         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23113         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23114         * math/libm-test.inc (remquo_test_data): Add more tests.
23116 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23118         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23119         Problem reported by J William Piggott.
23121 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23123         [BZ #17978]
23124         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23125         products 4 * y and 2 * y where those would overflow.
23126         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23127         Likewise.
23128         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23129         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23130         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23131         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23132         * math/libm-test.inc (remquo_test_data): Add more tests.
23134         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23136         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23137         [defined _COMPILING_NEWLIB].
23138         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23139         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23141         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23142         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23144 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23146         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23147         acquired.
23149 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23151         [BZ #17792]
23152         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23153         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23154         HOST_STACK_END_ADDR): Likewise.
23156 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23158         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23159         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23160         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23162 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23164         * sysdeps/generic/c++-types.data: New file.
23165         * sysdeps/generic/ld.abilist: New file.
23166         * sysdeps/generic/libBrokenLocale.abilist: New file.
23167         * sysdeps/generic/libanl.abilist: New file.
23168         * sysdeps/generic/libc.abilist: New file.
23169         * sysdeps/generic/libcrypt.abilist: New file.
23170         * sysdeps/generic/libdl.abilist: New file.
23171         * sysdeps/generic/libm.abilist: New file.
23172         * sysdeps/generic/libpthread.abilist: New file.
23173         * sysdeps/generic/libresolv.abilist: New file.
23174         * sysdeps/generic/librt.abilist: New file.
23176 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23178         [BZ #17569]
23179         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23180         Compute absolute value of x as modified by fmod, not original
23181         value of x.
23182         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23183         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23184         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23185         RUN_TEST_ffI_f1_mod8.
23186         (remquo_test_data): Add more tests.
23188 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23190         * sysdeps/init_array/pt-crti.S: New file.
23192 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23194         [BZ #17967]
23195         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23196         __builtin_fmaf instead of relying on contraction of a * b + c.
23198 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23200         [BZ #17969]
23201         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23202         node.
23204 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23206         [BZ #17964]
23207         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23208         __builtin_fma instead of relying on contraction of a * b + c.
23210 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23212         * Makeconfig (ASFLAGS): Add -Werror=undef.
23213         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23214         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23215         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23217         * Makeconfig (after-link): New variable.
23218         (+link-pie, +link-pie-tests): Use it.
23219         (+link-static, +link-static-tests): Likewise.
23220         (+link, +link-tests): Likewise.
23221         * Makerules (build-module, build-module-asneeded): Likewise.
23222         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23223         Likewise.
23224         * elf/Makefile ($(objpfx)ld.so): Likewise.
23226 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23228         [BZ #17965]
23229         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23230         both struct timeval and struct timespec.
23232 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23234         [BZ #16560]
23235         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23236         and redefine.
23237         (__ieee754_exp2l): Do not multiply small fractional parts by
23238         M_LN2l.
23239         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23240         small argument.
23241         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23242         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23243         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23244         * math/auto-libm-test-in: Add more tests of exp2.
23245         * math/auto-libm-test-out: Regenerated.
23247 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23249         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23250         unaligned path.
23252 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23254         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23255         little endian.
23257 2015-02-12  Andreas Schwab  <schwab@suse.de>
23259         [BZ #15790]
23260         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23261         Filter out elision flags from value returned in kind.
23262         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23263         * nptl/tst-pthread-mutexattr.c: New file.
23265 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23267         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23268         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23269         into gnu-gnu, and update comment to refer to abi-tags.
23271 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23273         [BZ #15467]
23274         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23275         (__sincos): Set errno to EDOM for infinite argument.
23276         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23277         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23278         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23279         (__sincosl): Set errno to EDOM for infinite argument.
23280         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23281         (__sincosl): Set errno to EDOM for infinite argument.
23282         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23283         (__sincosl): Set errno to EDOM for infinite argument.
23284         * math/libm-test.inc (sincos_test_data): Test errno setting.
23286 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23288         * string/strxfrm_l.c: Remove #define STRCMP.
23289         * string/strcoll_l.c: Remove #define STRLEN.
23290         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23291         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23293 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23295         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23296         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23297         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23298         * sysdeps/mips/mips64/Makefile: ... here.
23299         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23300         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23301         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23302         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23303         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23304         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23305         * sysdeps/mips/mips64/n64/Implies: Likewise.
23307 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23309         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23310         <sys/time.h>, <string.h>, and <errno.h>.
23311         (dest_offset, dest_address, value, zero): Remove unused variables.
23312         (ldouble): Remove typedef.
23313         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23314         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23315         1).  Fix code style.
23316         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23317         (check): Function removed.
23318         (CHECK): New macro.
23319         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23320         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23321         Don't call set_sigaction_FP and remove_sigaction_FP here.
23322         (ldouble_test): Just use 'long double' as macro argument, no need for
23323         the 'ldouble' typedef.
23324         (do_test): Set up SIGFPE handler at start, using plain signal rather
23325         than sigaction.  Fix code style.
23327 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23329         [BZ #17949]
23330         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23331         jump label.
23333 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23335         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23336         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23338         * sysdeps/powerpc/configure.ac: Remove file.
23339         * sysdeps/powerpc/configure: Likewise.
23341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23342         [sysdep_routines]: Remove wordcopy-power6 object.
23343         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23344         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23345         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23346         (__memmove_ppc32): Likewise.
23347         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23348         file.
23349         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23350         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23351         Remove preprocessor.
23353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23354         [sysdep_routines]: Remove wide chars objects.
23355         [wcsmbs]: New rule for wide char objects.
23357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23358         Remove wordcopy-power6 obejct.
23359         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23360         Use local call for wordcopy and memcpy symbols.
23361         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23362         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23363         implementation for loader.
23364         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23366         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23367         Remove wordcopy-power7 object.
23368         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23369         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23370         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23371         (_wordcopy_fwd_dest_aligned): Likewise.
23372         (_wordcopy_bwd_aligned): Likewise.
23373         (_wordcopy_bwd_dest_aligned): Likewise.
23375         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23376         Rewrite to call __memmove_ppc instead of include default
23377         implementation.
23379         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23380         Remove wide chars objects.
23381         [wcsmbs]: New rule for wide char objects.
23383 2015-02-09  Andreas Schwab  <schwab@suse.de>
23385         [BZ #17912]
23386         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23387         in terms of __O_DIRECTORY.
23389 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23391         * time/getdate.c: Include <stdbool.h>.
23392         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23393         call PTR_MANGLE.
23394         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23395         PTR_DEMANGLE.
23397 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23399         Add ersatz _Static_assert on older C hosts
23400         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23401         pre-C11 C platform that is not known to support _Static_assert.
23403 2015-02-07  Richard Braun  <rbraun@sceen.net>
23405         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23406         sigstate.
23407         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23409 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23411         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23412         priority against unexistent AIO_PRIO_DELTA_MAX.
23413         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23414         instead of int.
23415         * misc/fchflags.c (fchflags): Likewise.
23416         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23417         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23418         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23419         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23420         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23421         Declare macros.
23422         [__USE_MISC] (chflags, fchflags): Declare functions.
23423         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23424         EINVAL when nfds is greater than FD_SETSIZE.
23425         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23426         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23427         45.
23428         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23429         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23430         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23431         MACH_RCV_TIMED_OUT.
23432         * hurd/hurd/signal.h (_hurd_self_sigstate,
23433         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23434         Explicit casts from void *.
23435         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23436         * abi-tags: Rename gnu-gnu os into gnu.
23438         [BZ #4719]
23439         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23440         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23441         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23442         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23443         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23444         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23446         [BZ #17944]
23447         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23448         duplicates ADDR->sun_path with sockaddr LEN limitation.
23449         * sysdeps/mach/hurd/connect.c: Include <string.h>
23450         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23451         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23452         * sysdeps/mach/hurd/sendto.c: Likewise.
23453         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23454         implementing it by hand.
23456 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23458         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23459         Use sfi_breg on ldr.
23460         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23461         Likewise.
23463         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23464         it's defined.
23465         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23466         Test SIGSETXID only if it's defined.
23468         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23470         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23471         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23473         * nptl/tst-align2.c: Moved ...
23474         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23475         * nptl/Makefile (tests): Remove tst-align2.
23476         * sysdeps/unix/sysv/linux/Makefile
23477         [$(subdir) = nptl] (tests): Add tst-align-clone.
23478         * nptl/tst-getpid1.c: Moved ...
23479         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23480         * nptl/tst-getpid2.c: Moved ...
23481         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23482         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23483         * sysdeps/unix/sysv/linux/Makefile
23484         [$(subdir) = nptl] (tests): ... here.
23485         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23486         * sysdeps/unix/sysv/linux/Makefile
23487         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23489         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23490         Drop trailing \n from perror argument.  Use return rather than exit.
23492         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23493         on [SA_SIGINFO].
23494         * nptl/tst-cancel21.c (do_test): Likewise.
23495         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23496         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23497         [!SA_SIGINFO]: Make it a stub test.
23499         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23500         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23502         * posix/tst-getlogin.c: Move to ...
23503         * login/tst-getlogin.c: ... here.
23504         * posix/Makefile (tests): Move tst-getlogin to ...
23505         * login/Makefile (tests): ... here.
23507         * libio/tst-atime.c (do_test): Move local variables SV and E
23508         inside [ST_NOATIME] conditional.
23510         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23512         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23514         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23515         (wait_code): New function replaces macro.
23516         Call nanosleep rather than syscall.
23518         * nptl/pt-system.c: Rewritten.  Put everything under
23519         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23520         Use IFUNC to redirect when possible.
23522         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23523         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23524         Use IFUNC to redirect when possible.
23526         * nptl/pt-fork.c: Rewritten.  Put everything under
23527         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23528         Use IFUNC to redirect when possible.
23529         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23531         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23532         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23533         unconditionally nowadays.  This included the only reference to
23534         __vdso_clock_gettime that appears outside libc proper.
23535         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23536         Remove version set (containing only __vdso_clock_gettime).
23537         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23538         Add attribute_hidden.
23539         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23540         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23541         libc_hidden_data_def.
23542         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23543         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23545         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23546         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23547         setrpcent, and getrpcport to ...
23548         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23549         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23550         getrpcbynumber_r, and getrpcent_r to ...
23551         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23552         * inet/getrpcbyname.c: Moved ...
23553         * sunrpc/getrpcbyname.c: ... here.
23554         * inet/getrpcbyname_r.c: Moved ...
23555         * sunrpc/getrpcbyname_r.c: ... here.
23556         * inet/getrpcbynumber.c: Moved ...
23557         * sunrpc/getrpcbynumber.c: ... here.
23558         * inet/getrpcbynumber_r.c: Moved ...
23559         * sunrpc/getrpcbynumber_r.c: ... here.
23560         * inet/getrpcent.c: Moved ...
23561         * sunrpc/getrpcent.c: ... here.
23562         * inet/getrpcent_r.c: Moved ...
23563         * sunrpc/getrpcent_r.c: ... here.
23564         * inet/Makefile (routines): Move those to ...
23565         * sunrpc/Makefile (routines): ... here.
23566         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23567         the $(subdirs) list.
23568         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23569         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23570         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23571         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23573         * elf/Makefile (routines): Include $(all-dl-routines), not just
23574         $(dl-routines).
23575         (rtld-routines): Likewise.  Use = rather than :=.
23576         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23577         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23578         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23579         * sysdeps/arm/Makefile: Likewise.
23580         * sysdeps/i386/Makefile: Likewise.
23581         * sysdeps/x86_64/Makefile: Likewise.
23582         * sysdeps/hppa/Makefile [$(subdir) = elf]
23583         (sysdep_routines, sysdep-rtld-routines): Don't add
23584         $(sysdep-dl-routines) to these.
23585         * sysdeps/ia64/Makefile: Likewise.
23586         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23587         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23588         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23589         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23590         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23591         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23592         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23593         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23594         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23595         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23596         these; sysdep-dl-routines alone is enough.
23598 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23600         [BZ #17932]
23601         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23602         where multiplication results in zero and third argument is finite
23603         and nonzero.
23604         * math/auto-libm-test-in: Add more tests of fma.
23605         * math/auto-libm-test-out: Regenerated.
23607         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23608         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23609         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23610         (_FP_CMP_EQ): Likewise.
23611         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23613         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23614         extra argument CHECK_NAN.  Redefine as wrapper around
23615         _FP_EXTEND_CNAN.
23617 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23619         * version.h (RELEASE): Set to "stable".
23620         (VERSION): Set to "2.21"
23621         * include/features.h (__GLIBC_MINOR__): Set to 21.
23623         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23625 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23626             Paul Eggert  <eggert@cs.ucla.edu>
23628         [BZ #16618]
23629         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23630         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23631         size in bytes. Store needed elements in wpmax. Use needed size
23632         in bytes for extend_alloca.
23634 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23636         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23637         binutls 2.25, and texinfo 5.2.
23638         * INSTALL: Regenerate.
23639         * sysdeps/nios2/configure: Regenerate.
23640         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23641         * manual/contrib.texi: Update.
23642         * po/be.po: Update.
23643         * po/bg.po: Update.
23644         * po/ca.po: Update.
23645         * po/cs.po: Update.
23646         * po/da.po: Update.
23647         * po/de.po: Update.
23648         * po/el.po: Update.
23649         * po/eo.po: Update.
23650         * po/es.po: Update.
23651         * po/fi.po: Update.
23652         * po/fr.po: Update.
23653         * po/gl.po: Update.
23654         * po/hr.po: Update.
23655         * po/hu.po: Update.
23656         * po/ia.po: Update.
23657         * po/id.po: Update.
23658         * po/it.po: Update.
23659         * po/ja.po: Update.
23660         * po/ko.po: Update.
23661         * po/lt.po: Update.
23662         * po/nb.po: Update.
23663         * po/nl.po: Update.
23664         * po/pl.po: Update.
23665         * po/pt_BR.po: Update.
23666         * po/ru.po: Update.
23667         * po/rw.po: Update.
23668         * po/sk.po: Update.
23669         * po/sl.po: Update.
23670         * po/sv.po: Update.
23671         * po/tr.po: Update.
23672         * po/uk.po: Update.
23673         * po/vi.po: Update.
23674         * po/zh_CN.po: Update.
23675         * po/zh_TW.po: Update.
23677         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23678         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23679         * sysdeps/hppa/dl-irel.h: Remove #warning.
23680         * sysdeps/hppa/entry.h: Provide prototype for
23681         __canonicalize_funcptr_for_compare and cast argument.
23682         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23683         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23684         * sysdeps/hppa/sotruss-lib.c: New file.
23685         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23686         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23687         (atomic_compare_and_exchange_bool_acq): Likewise.
23688         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23689         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23691         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23692         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23693         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23695 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23697         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23698         called function in non-PIC case.
23700 2015-01-31  David S. Miller  <davem@davemloft.net>
23702         * sysdeps/sparc/sparc32/bits/atomic.h
23703         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23704         unlock not after it.
23705         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23706         volatile register usage warnings from the compiler.
23708         * sysdeps/sparc/nptl/sem_init.c: Delete.
23709         * sysdeps/sparc/nptl/sem_post.c: Delete.
23710         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23711         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23712         * sysdeps/sparc/sparc32/sem_init.c: New file.
23713         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23714         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23715         padding explicitly initialized.
23716         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23717         padding for in-semaphore spinlock.
23718         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23719         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23720         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23721         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23722         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23723         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23724         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23725         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23726         version.
23727         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23728         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23730 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23732         [BZ #17801]
23733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23734         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23735         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23736         New.
23737         (index_AVX_Fast_Unaligned_Load): Likewise.
23738         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23739         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23740         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23741         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23742         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23743         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23744         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23745         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23746         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23748 2015-01-29  Andreas Schwab  <schwab@suse.de>
23750         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23752 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23754         [BZ #17892]
23755         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23757 2015-01-28  Martin Sebor  <msebor@redhat.com>
23759         * math/README.libm-test: Clarify. Add "How to read the test output."
23761 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23763         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23764         Define to 0.
23766 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23768         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23769         (__HAVE_64B_ATOMICS): Define to 0.
23771 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23773         [BZ #17885]
23774         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23775         value to set as new flag.
23777         [BZ #16576]
23778         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23779         and use _ARCH_PPCSQ instead.
23780         (__ieee754_sqrt): Likewise.
23781         (__ieee754_sqrtf): Likewise.
23782         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23783         _ARCH_PPCSQ is defined.
23784         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23785         fsqrt instruction.
23786         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23787         _ARCH_PPCSQ is defined.
23788         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23789         fsqrts instruction.
23790         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23792 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23794         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23795         bug (GCC BZ #64739).
23797 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23799         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23800         Mark _retval as used.
23801         (lll_futex_wake_unlock): Likewise.
23802         (lll_futex_timed_wait_requeue_pi): Likewise.
23804         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23805         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23806         register variables.
23808         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23809         libm_hidden_def.
23811         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23812         (__bswap_64): Mark as __always_inline.
23814 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23816         [BZ #15378]
23817         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23818         when none of the search directories exist.
23820 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23822         [BZ #17869]
23823         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23824         power8 in .machine directive.
23826         [BZ #17868]
23827         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23828         set dependency from opd value.
23830 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23833         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23834         architecture.
23836 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23838         [BZ #17870]
23839         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23840         with uint64_t.
23841         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23842         (uint64_t) 1.
23843         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23844         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23845         Replace 1UL with (uint64_t) 1.
23846         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23847         int with uint64_t.
23849 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23851         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23852         (if_freenameindex): Likewise.
23854         * resource/getrlimit64.c: Add missing libc_hidden_def.
23856 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23858         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23859         __label__.
23860         (_FP_FMA): Likewise.
23861         (_FP_TO_INT_ROUND): Likewise.
23862         (_FP_FROM_INT): Likewise.
23864 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23866         [BZ #16418]
23867         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23868         Make code racy and cancel safe.
23870 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23872         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23873         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23874         attribution.
23876         * pwd/tst-getpw.c: Rewrite.
23878         [BZ #17702]
23879         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23880         (modules-names): Add moddummy1 and moddummy2.
23881         ($(objpfx)tst-rec-dlopen): Define.
23882         * dlfcn/moddummy1.c: New file.
23883         * dlfcn/moddummy2.c: New file.
23884         * dlfcn/tst-rec-dlopen.c: New file.
23885         * elf/dl-cache.c (_dl_load_cache_lookup):
23886         Return char*. Copy result with alloca/strcpy/strdup.
23887         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23888         returns char*. Free cached. If not saving realname
23889         free cached.
23890         * elf/dl-open.c (dl_open_worker): Do not assert that
23891         _r_debug->r_state is RT_CONSISTENT.
23892         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23893         returns char*.
23895 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23896             Carlos O'Donell  <carlos@redhat.com>
23898         [BZ #12674]
23899         * nptl/sem_waitcommon.c: New file.
23900         * nptl/sem_wait.c: Include sem_waitcommon.c.
23901         (__sem_wait_cleanup, do_futex_wait): Remove.
23902         (__new_sem_wait): Adapt.
23903         (__new_sem_trywait): New function.
23904         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23905         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23906         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23907         (sem_timedwait): Adapt.
23908         * nptl/sem_post.c (__new_sem_post): Adapt.
23909         (futex_wake): New function.
23910         (__old_sem_post): Add release MO fence.
23911         * nptl/sem_open.c (sem_open): Adapt.
23912         * nptl/sem_init.c (__new_sem_init): Adapt.
23913         (futex_private_if_supported): New function.
23914         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23915         (__old_sem_getvalue): Add using previous code.
23916         * sysdeps/nptl/internaltypes.h: Adapt.
23917         * nptl/tst-sem13.c (do_test): Adapt.
23918         * nptl/tst-sem11.c (main): Adapt.
23919         * nptl/sem_trywait.c: Remove.
23920         * nptl/DESIGN-sem.txt: Remove.
23921         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23922         (gen-as-const-headers): Remove structsem.sym.
23923         * nptl/structsem.sym: Remove.
23924         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23925         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23926         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23927         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23928         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23929         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23930         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23931         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23932         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23933         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23934         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23935         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23936         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23937         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23938         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23939         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23940         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23941         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23942         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23943         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23944         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23945         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23947 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23949         * INSTALL: Regenerated.
23951         * po/libc.pot: Regenerated.
23953 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23954             Sandra Loosemore  <sandra@codesourcery.com>
23955             Andrew Jenner  <andrew@codesourcery.com>
23956             Joseph Myers  <joseph@codesourcery.com>
23957             Nathan Sidwell  <nathan@codesourcery.com>
23959         * NEWS: Mention new Nios II port.
23960         * sysdeps/nios2/Implies: New file.
23961         * sysdeps/nios2/Makefile: New file.
23962         * sysdeps/nios2/Subdirs: New file.
23963         * sysdeps/nios2/Versions: New file.
23964         * sysdeps/nios2/__longjmp.S: New file.
23965         * sysdeps/nios2/abort-instr.h: New file.
23966         * sysdeps/nios2/backtrace.c: New file.
23967         * sysdeps/nios2/bits/endian.h: New file.
23968         * sysdeps/nios2/bits/fenv.h: New file.
23969         * sysdeps/nios2/bits/link.h: New file.
23970         * sysdeps/nios2/bits/setjmp.h: New file.
23971         * sysdeps/nios2/bsd-_setjmp.S: New file.
23972         * sysdeps/nios2/bsd-setjmp.S: New file.
23973         * sysdeps/nios2/configure: New generated file.
23974         * sysdeps/nios2/configure.ac: New file.
23975         * sysdeps/nios2/crti.S: New file.
23976         * sysdeps/nios2/crtn.S: New file.
23977         * sysdeps/nios2/dl-init.c: New file.
23978         * sysdeps/nios2/dl-machine.h: New file.
23979         * sysdeps/nios2/dl-sysdep.h: New file.
23980         * sysdeps/nios2/dl-tls.h: New file.
23981         * sysdeps/nios2/dl-trampoline.S: New file.
23982         * sysdeps/nios2/gccframe.h: New file.
23983         * sysdeps/nios2/gmp-mparam.h: New file.
23984         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23985         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23986         * sysdeps/nios2/ldsodefs.h: New file.
23987         * sysdeps/nios2/libc-tls.c: New file.
23988         * sysdeps/nios2/libm-test-ulps: New file.
23989         * sysdeps/nios2/machine-gmon.h: New file.
23990         * sysdeps/nios2/math-tests.h: New file.
23991         * sysdeps/nios2/math_private.h: New file.
23992         * sysdeps/nios2/memusage.h: New file.
23993         * sysdeps/nios2/nptl/Makefile: New file.
23994         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23995         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23996         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23997         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23998         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23999         * sysdeps/nios2/nptl/tls.h: New file.
24000         * sysdeps/nios2/preconfigure: New file.
24001         * sysdeps/nios2/s_fma.c: New file.
24002         * sysdeps/nios2/s_fmaf.c: New file.
24003         * sysdeps/nios2/setjmp.S: New file.
24004         * sysdeps/nios2/sfp-machine.h: New file.
24005         * sysdeps/nios2/sotruss-lib.c: New file.
24006         * sysdeps/nios2/stackguard-macros.h: New file.
24007         * sysdeps/nios2/stackinfo.h: New file.
24008         * sysdeps/nios2/start.S: New file.
24009         * sysdeps/nios2/sysdep.h: New file.
24010         * sysdeps/nios2/tls-macros.h: New file.
24011         * sysdeps/nios2/tst-audit.h: New file.
24012         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24013         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24014         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24015         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24016         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24017         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24018         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24019         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24020         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24021         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24022         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24023         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24024         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24025         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24026         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24027         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24028         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24029         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24030         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24031         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24032         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24033         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24034         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24035         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24036         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24037         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24038         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24039         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24040         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24041         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24042         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24043         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24044         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24045         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24046         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24047         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24048         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24049         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24050         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24051         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24052         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24053         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24054         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24055         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24057 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24059         [BZ #17844]
24060         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24061         (getutent): Use weak_alias in non SHARED case
24062         and default_symbol_version in SHARED case.
24063         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24064         (getutent_r, pututline): Likewise.
24065         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24066         (getutid): Likewise.
24067         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24068         (getutid_r): Likewise.
24069         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24070         (getutline): Likewise.
24071         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24072         (getutline_r): Likewise.
24073         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24074         (updwtmp): Likewise.
24076 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24078         [BZ #17848]
24079         * sysdeps/s390/s390-32/memcmp.S
24080         (memcmp_g5): Rename to __memcmp_g5.
24081         * sysdeps/s390/s390-32/memcpy.S
24082         (memcpy_g5): Rename to __memcpy_g5.
24083         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24084         (memcpy_mvcle) Rename to __memcpy_mvcle.
24085         * sysdeps/s390/s390-32/memset.S
24086         (memset_g5): Rename to __memset_g5.
24087         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24088         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24089         and use prefixed functions.
24090         * sysdeps/s390/s390-32/multiarch/memcmp.S
24091         (memcmp_z196): Rename to __memcmp_z196.
24092         (memcmp_z10): Rename to __memcmp_z10.
24093         (memcmp): Set alias to __memcmp_g5.
24094         (bcmp): Set alias to __memcmp_g5.
24095         * sysdeps/s390/s390-32/multiarch/memcpy.S
24096         (memcpy_z196): Rename to __memcpy_z196.
24097         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24098         (memcpy_z10): Rename to __memcpy_z10.
24099         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24100         (memcpy): Set alias to __memcpy_g5.
24101         * sysdeps/s390/s390-32/multiarch/memset.S
24102         (memset_z196): Rename to __memset_z196.
24103         Jump to __memset_mvcle instead of memset_mvcle.
24104         (memset_z10): Rename to __memset_z10.
24105         Jump to __memset_mvcle instead of memset_mvcle.
24106         (memset_mvcle) Rename to __memset_mvcle.
24107         (memset): Set alias to __memset_g5.
24108         * sysdeps/s390/s390-64/memcmp.S
24109         (memcmp_z900): Rename to __memcmp_z900.
24110         * sysdeps/s390/s390-64/memcpy.S
24111         (memcpy_z900): Rename to __memcpy_z900.
24112         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24113         (memcpy_mvcle) Rename to __memcpy_mvcle.
24114         * sysdeps/s390/s390-64/memset.S
24115         (memset_z900): Rename to __memset_z900.
24116         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24117         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24118         and use prefixed functions.
24119         * sysdeps/s390/s390-64/multiarch/memcmp.S
24120         (memcmp_z196): Rename to __memcmp_z196.
24121         (memcmp_z10): Rename to __memcmp_z10.
24122         (memcmp): Set alias to __memcmp_z900.
24123         (bcmp): Set alias to __memcmp_z900.
24124         * sysdeps/s390/s390-64/multiarch/memcpy.S
24125         (memcpy_z196): Rename to __memcpy_z196.
24126         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24127         (memcpy_z10): Rename to __memcpy_z10.
24128         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24129         (memcpy): Set alias to __memcpy_z900.
24130         * sysdeps/s390/s390-64/multiarch/memset.S
24131         (memset_z196): Rename to __memset_z196.
24132         Jump to __memset_mvcle instead of memset_mvcle.
24133         (memset_z10): Rename to __memset_z10.
24134         Jump to __memset_mvcle instead of memset_mvcle.
24135         (memset_mvcle) Rename to __memset_mvcle.
24136         (memset): Set alias to __memset_z900.
24138 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24140         [BZ #17748]
24141         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24142         __fesetenv instead of fesetenv.
24144 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24146         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24147         macro.
24149 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24151         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24152         regression on LE.
24154         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24155         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24156         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24157         strncmp-power8 object.
24158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24159         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24160         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24161         * NEWS: Update.
24163 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24164             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24166         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24167         trailing byte check.
24169 2015-01-13  David S. Miller  <davem@davemloft.net>
24171         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24173 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24175         * login/logout.c (logout): Use memset rather than bzero.
24176         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24177         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24178         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24179         (_gethtbyaddr): Likewise.
24180         * locale/programs/simple-hash.c (bcopy): Macro removed.
24182 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24184         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24185         Add strcmp-power8 object.
24186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24187         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24188         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24189         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24190         __strcmp_power8 implementation.
24191         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24192         * NEWS: Update.
24194         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24195         Add strncpy-power8 and stpncpy-power8 objects.
24196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24197         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24198         implementations.
24199         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24200         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24201         __stpncpy_power8 implementation.
24202         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24203         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24204         __strncpy_power8 implementation.
24205         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24206         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24207         * NEWS: Update.
24209         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24210         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24211         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24213         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24214         strncat-power8 object.
24215         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24216         __strcat_power8 implementation.
24217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24218         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24219         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24220         optimized strcat for power8.
24222         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24223         strcpy-power8 and stpcpy-power8 objects.
24224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24225         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24226         implementations.
24227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24228         multiarch stpcpy implementation for POWER8.
24229         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24230         multiarch strcpy implementation for POWER8.
24231         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24232         __strcpy_power8 function.
24233         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24234         stpcpy for POWER8.
24235         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24236         strcpy for POWER8.
24237         * NEWS: Update.
24239 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24241         [BZ #16009]
24242         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24243         weights and rules. Use do_xfrm_cached if data fits in cache,
24244         do_xfrm otherwise.  Moved former main loop to...
24245         * (do_xfrm_cached): New function.
24246         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24247         find_idx, find_position and stack_push.
24248         * (find_idx): New function.
24249         * (find_position): Likewise.
24250         * localedata/sort-test.sh: Added test run for do_xfrm.
24251         * localedata/xfrm-test.c (main): Added command line option
24252         -nocache to run the test with strings that are too large for
24253         the STRXFRM cache.
24255 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24257         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24258         variable to lll_futex_wake call, not the value itself.
24260 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24262         [BZ #17803]
24263         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24264         twom64.  Adjust value to 0x1p-64L.
24265         (__scalblnl): Only return standard underflowing result for K <=
24266         -64 not K <= -63; adjust exponent for underflowing result by 64
24267         not 63.
24268         * math/libm-test.inc (scalbn_test_data): Add more tests.
24269         (scalbln_test_data): Likewise.
24271         [BZ #17834]
24272         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24273         0x1p63L.
24274         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24275         not HX.
24276         * math/libm-test.inc (scalbn_test_data): Add more tests.
24277         (scalbln_test_data): Likewise.
24279 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24280             Stefani Seibold  <stefani@seibold.net>
24282         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24283         (sysdep_routines): Add dl-vdso here, ...
24284         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24285         (sysdep_routines): ... not here.
24286         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24287         fallback when vDSO is not presented.
24288         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24289         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24290         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24291         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24292         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24293         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24294         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24295         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24296         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24297         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24298         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24299         fallback configurable symbol when vDSO is not available.
24300         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24301         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24302         be able to redefine fallback symbol when vDSO is not available.
24303         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24304         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24306 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24308         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24309         (TLS_INIT_TP): Add tm_capable initialization.
24310         (TLS_DEFINE_INIT_TP): Likewise.
24311         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24312         TCB.
24313         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24314         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24315         calculation.
24316         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24317         transactoion is lock elision is built and TCB tm_capable is set.
24318         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24320         (INTERNAL_SYSCALL_NCS): Likewise.
24321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24322         (INTERNAL_SYSCALL_NCS): Likewise.
24323         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24325         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24326         for powerpc.
24327         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24328         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24329         and remove it for 32 bits case.
24330         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24332         initialization.
24333         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24334         Disable lock elision with rdlocks if elision is not available.
24336         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24337         (sysdep_routines): Add lock elision objects.
24338         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24339         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24340         [pthread_mutex_t] (__elision): Add field.
24341         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24342         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24343         elision definitions for powerpc.
24344         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24345         implementation of lock elision for powerpc.
24346         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24347         implementation of timed lock elision for powerpc.
24348         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24349         implementation of trylock with lock elision for powerpc.
24350         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24351         implementaion of unlock for lock elision for powerpc.
24352         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24353         automatic enable lock elision for mutexes.
24354         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24355         transaction execution definitions for powerpc.
24356         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24357         definitions.
24358         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24359         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24360         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24361         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24362         * NEWS: Update.
24364 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24366         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24367         for #include of <shm-directory.h>.
24369 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24371         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24372         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24374 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24376         [BZ #17791]
24377         * NEWS: Mention bug fix.
24378         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24379         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24380         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24382 2015-01-09  Torvald Riegel <triegel@redhat.com>
24384         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24386 2015-01-09  Torvald Riegel <triegel@redhat.com>
24388         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24390 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24392         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24393         pointer and cast to uintptr_t.
24395 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24397         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24398         removed.
24399         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24401 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24403         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24404         of 0.
24406 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24408         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24409         <nptl/pthreadP.h> instead.
24410         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24412         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24413         already defined.
24414         [__SIGRTMIN] (init): Function removed.
24415         [__SIGRTMIN] (initialized): Variable removed.
24416         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24417         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24418         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24419         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24420         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24421         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24422         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24423         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24424         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24425         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24426         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24427         * sysdeps/nptl/allocrtsig.c: New file.
24428         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24429         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24430         * sysdeps/generic/testrtsig.h: File removed.
24432         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24433         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24435         * nptl/nptl-init.c (pthread_functions): Conditionalize
24436         .ptr__nptl_setxid initialization on [SIGSETXID].
24438         * sysdeps/nptl/sys/procfs.h: New file.
24439         * nptl_db/Makefile (headers): Add it.
24440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24442         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24443         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24444         * nptl/pthread_attr_setaffinity.c: Include it.
24445         * nptl/pthread_setattr_default_np.c: Likewise.
24446         * nptl/check-cpuset.h: New file.
24448 2015-01-08  Richard Henderson  <rth@redhat.com>
24450         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24451         (CFLAGS-tst-execstack-prog.c): Likewise.
24452         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24454 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24455             Sandra Loosemore  <sandra@codesourcery.com>
24456             Andrew Jenner  <andrew@codesourcery.com>
24457             Joseph Myers  <joseph@codesourcery.com>
24458             Nathan Sidwell  <nathan@codesourcery.com>
24460         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24461         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24462         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24463         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24464         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24465         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24466         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24467         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24468         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24469         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24470         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24471         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24472         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24473         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24474         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24475         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24476         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24478 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24480         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24481         timespec struct member in syscall macro.
24482         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24483         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24484         first timeval struct member in syscall macro.
24485         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24487 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24489         [BZ #17748]
24490         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24491         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24492         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24493         __feupdateenv and define as weak alias of __feupdateenv.  Use
24494         libm_hidden_weak.
24495         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24496         libm_hidden_def.
24497         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24498         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24499         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24500         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24501         libm_hidden_def.
24502         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24503         __feupdateenv and define as weak alias of __feupdateenv.  Use
24504         libm_hidden_weak.
24505         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24506         libm_hidden_def.
24507         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24508         __feupdateenv and define as weak alias of __feupdateenv.  Use
24509         libm_hidden_weak.
24510         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24511         libm_hidden_def.
24512         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24513         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24514         (__feupdateenv): Likewise.
24515         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24516         __feupdateenv and define as weak alias of __feupdateenv.  Use
24517         libm_hidden_weak.
24518         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24519         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24520         libm_hidden_def.
24521         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24522         function.
24523         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24524         libm_hidden_def.
24525         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24526         __feupdateenv instead of feupdateenv.
24527         (default_libc_feupdateenv_test): Likewise.
24528         (libc_feresetround_ctx): Likewise.
24530 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24532         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24533         prototype.
24535 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24537         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24538         COLL_SYM in a couple of places to avoid uninitialized variable
24539         wanings on tilegx gcc 4.8.2.
24541 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24543         * sysdeps/aarch64/strcpy.S: New file.
24544         * sysdeps/aarch64/stpcpy.S: New file.
24545         * NEWS: Updated.
24547 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24549         * sysdeps/aarch64/strrchr.S: New file.
24550         * NEWS: Updated.
24552 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24554         [BZ #17658]
24555         * stdlib/setenv.c: Fix memory leak when setting large,
24556         duplicate string.
24558 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24560         [BZ #17273]
24561         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24562         and tabs from buffer before parsing fstab entry.
24563         * misc/tst-mntent.c (main): Add test for mount entry with
24564         trailing spaces and tabs.
24566 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24568         [BZ #17748]
24569         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24570         * math/fesetround.c (fesetround): Rename to __fesetround and
24571         define as weak alias of __fesetround.  Use libm_hidden_weak.
24572         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24573         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24574         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24575         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24576         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24577         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24578         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24579         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24580         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24581         __fesetround_inline.
24582         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24583         __fesetround_inline instead of __fesetround.
24584         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24585         __fesetround and define as weak alias of __fesetround.  Use
24586         libm_hidden_weak.  Call __fesetround_inline instead of
24587         __fesetround.
24588         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24589         __fesetround and define as weak alias of __fesetround.  Use
24590         libm_hidden_weak.
24591         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24592         Likewise.
24593         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24594         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24595         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24596         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24597         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24598         __fesetround and define as weak alias of __fesetround.  Use
24599         libm_hidden_weak.
24600         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24601         __fesetround instead of fesetround.
24602         (default_libc_feholdexcept_setround): Likewise.
24603         (libc_feholdsetround_ctx): Likewise.
24604         (libc_feholdsetround_noex_ctx): Likewise.
24606         [BZ #17748]
24607         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24608         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24609         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24610         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24611         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24612         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24613         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24614         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24615         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24616         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24617         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24618         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24619         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24620         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24621         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24622         libm_hidden_def.
24623         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24624         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24625         Likewise.
24626         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24627         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24628         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24629         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24630         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24631         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24632         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24633         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24634         __fesetenv instead of fesetenv.
24635         (libc_feresetround_noex_ctx): Likewise.
24636         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24637         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24638         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24639         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24640         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24641         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24642         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24643         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24644         (__feupdateenv): Likewise.
24645         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24646         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24647         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24648         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24650 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24652         [BZ #17806]
24653         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24654         addresses have been freed.
24656 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24658         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24659         and nservall.
24661 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24663         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24664         Clean up check_pf allocation pattern. addresses
24666 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24668         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24669         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24670         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24671         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24672         * nptl/pthread_join.c (pthread_join): Likewise.
24673         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24674         * sysdeps/posix/waitid.c (__waitid): Likewise.
24675         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24676         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24677         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24678         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24679         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24680         Likewise.
24681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24682         (__libc_pread64): Likewise.
24683         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24684         (__libc_pwrite): Likewise.
24685         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24686         (__libc_pwrite64): Likewsie.
24687         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24688         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24689         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24690         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24691         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24692         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24693         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24695         Likewise.
24696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24697         (__libc_pread64): Likewise.
24698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24699         Likewise.
24700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24701         (__libc_pwrite64): Likewise.
24702         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24703         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24704         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24705         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24706         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24707         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24708         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24709         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24710         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24711         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24712         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24713         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24714         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24715         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24716         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24717         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24718         Likewise.
24720 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24722         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24723         (CFLAGS-test-double.c): Likewise.
24724         (CFLAGS-test-ldouble.c): Likewise.
24725         (CPPFLAGS-test-ifloat.c): Likewise.
24726         (CPPFLAGS-test-idouble.c): Likewise.
24727         (CPPFLAGS-test-ildoubl.c): Likewise.
24728         (CFLAGS-test-test-fenv.c): Remove variable.
24729         (CFLAGS-test-misc.c): Likewise.
24731 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24733         [BZ #17797]
24734         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24735         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24736         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24737         CLOCKS_PER_SEC == 1000000.
24738         * time/clocktest.c (main): Replace %ld with %jd and cast to
24739         intmax_t.
24741 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24743         * sysdeps/generic/unwind-resume.h: New file.
24744         * sysdeps/gnu/unwind-resume.c: Include it.
24745         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24746         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24747         argument list.
24748         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24749         global rather than static.
24750         (_Unwind_Resume): Update user.
24751         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24752         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24753         rather than static.  Add __attribute__ ((cold)).
24754         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24755         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24756         * sysdeps/arm/arm-unwind-resume.S: New file.
24757         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24758         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24759         * sysdeps/arm/Makefile [$(subdir) = csu]
24760         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24761         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24762         Add rt-arm-unwind-resume.
24763         [$(subdir) = nptl]
24764         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24765         Add pt-arm-unwind-resume.
24766         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24767         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24769 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24771         [BZ #17748]
24772         * include/fenv.h (__feholdexcept): Declare.  Use
24773         libm_hidden_proto.
24774         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24775         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24776         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24777         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24778         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24779         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24780         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24781         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24782         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24783         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24784         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24785         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24786         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24787         (feholdexcept): Likewise.
24788         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24789         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24790         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24791         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24792         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24793         __feholdexcept instead of feholdexcept.
24794         (default_libc_feholdexcept_setround): Likewise.
24796 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24798         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24799         to avoid using stl/str to align destination.
24801 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24803         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24805 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24807         [BZ #17796]
24808         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24809         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24810         Define as weak alias not strong alias.
24812 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24814         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24815         bltzal with addiupc.
24816         (RTLD_START): Ditto.
24818 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24820         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24821         for __vdso_* functions in declarations.
24822         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24823         definitions.
24824         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24825         INTERNAL_VSYSCALL): Use struct return types to check for error.
24827         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24828         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24829         function with cast from llround().
24830         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24831         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24832         Define.
24834 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24836         [BZ #17793]
24837         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24838         Define as weak alias not strong alias.
24840         [BZ #17635]
24841         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24842         ...
24843         * ctype/ctype-extn.c: ... here.
24844         (__isblank_l): Move to ...
24845         * ctype/ctype-c99_l.c: ... here.  New file.
24846         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24847         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24848         Remove variable.
24849         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24850         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24851         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24852         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24853         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24855         [BZ #17777]
24856         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24857         (posix_fadvise64): Define as weak alias not strong alias.
24858         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24859         (posix_fallocate64): Likewise.
24860         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24861         Remove variable.
24862         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24863         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24864         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24865         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24866         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24868 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24870         [BZ #16191]
24871         * NEWS: Mention bug fix.
24872         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24873         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24874         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24875         (HOST_STACK_END_ADDR): Likewise.
24877 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24879         [BZ #17748]
24880         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24881         * math/fegetround.c (fegetround): Rename to __fegetround and
24882         define as weak alias of __fegetround.  Use libm_hidden_weak.
24883         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24884         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24885         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24886         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24887         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24888         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24889         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24890         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24891         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24892         Undefine after rather than before function definition; use
24893         parentheses around function name in definition.
24894         (__fegetround): Also undefine macro after function definition.
24895         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24896         __fegetround and define as weak alias of __fegetround.  Use
24897         libm_hidden_weak.  Do not undefine as macro.
24898         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24899         Likewise.
24900         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24901         __fegetround and define as weak alias of __fegetround.  Use
24902         libm_hidden_weak.
24903         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24904         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24905         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24906         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24907         __fegetround and define as weak alias of __fegetround.  Use
24908         libm_hidden_weak.
24909         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24910         __fegetround instead of fegetround.
24912         [BZ #17782]
24913         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24914         Condition macro definition on [__USE_MISC].
24916         [BZ #17781]
24917         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24918         (struct sigaction): Change type of sa_flags field to int.
24920         [BZ #17780]
24921         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24922         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24923         __glibc_reserved0.
24925         * nptl/version.c (banner): Use single year in copyright notice.
24927         * NEWS: Update copyright dates.
24928         * catgets/gencat.c (print_version): Likewise.
24929         * csu/version.c (banner): Likewise.
24930         * debug/catchsegv.sh: Likewise.
24931         * debug/pcprofiledump.c (print_version): Likewise.
24932         * debug/xtrace.sh (do_version): Likewise.
24933         * elf/ldconfig.c (print_version): Likewise.
24934         * elf/ldd.bash.in: Likewise.
24935         * elf/pldd.c (print_version): Likewise.
24936         * elf/sotruss.sh: Likewise.
24937         * elf/sprof.c (print_version): Likewise.
24938         * iconv/iconv_prog.c (print_version): Likewise.
24939         * iconv/iconvconfig.c (print_version): Likewise.
24940         * locale/programs/locale.c (print_version): Likewise.
24941         * locale/programs/localedef.c (print_version): Likewise.
24942         * login/programs/pt_chown.c (print_version): Likewise.
24943         * malloc/memusage.sh (do_version): Likewise.
24944         * malloc/memusagestat.c (print_version): Likewise.
24945         * malloc/mtrace.pl: Likewise.
24946         * manual/libc.texinfo: Likewise.
24947         * nptl/version.c (banner): Likewise.
24948         * nscd/nscd.c (print_version): Likewise.
24949         * nss/getent.c (print_version): Likewise.
24950         * nss/makedb.c (print_version): Likewise.
24951         * posix/getconf.c (main): Likewise.
24952         * scripts/test-installation.pl: Likewise.
24953         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24955 2015-01-02  Will Newton  <will.newton@linaro.org>
24957         * sysdeps/arm/armv7/configure: Removed.
24958         * sysdeps/arm/armv7/configure.ac: Likewise.
24960 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24962         * All files with FSF copyright notices: Update copyright dates
24963         using scripts/update-copyrights.
24964         * intl/plural.c: Regenerated.
24965         * locale/programs/charmap-kw.h: Likewise.
24966         * locale/programs/locfile-kw.h: Likewise.
24968 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24970         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24972 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24974         [BZ #17748]
24975         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24976         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24977         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24978         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24979         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24980         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24981         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24982         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24983         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24984         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24985         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24986         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24987         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24988         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24989         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24990         libm_hidden_def.
24991         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24992         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24993         Likewise.
24994         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24995         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24996         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24997         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24998         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24999         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25000         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25001         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25002         __fegetenv instead of fegetenv.
25003         (libc_feholdsetround_noex_ctx): Likewise.
25005 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25007         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25008         (Elf_MIPS_ABIFlags_v0): New structure.
25009         (EF_MIPS_FP64): Define.
25010         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25011         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25012         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25013         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25014         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25015         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25016         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25017         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25018         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25019         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25020         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25021         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25022         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25023         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25024         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25025         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25026         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25027         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25028         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25029         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25030         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25031         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25032         field.
25033         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25034         EF_MIPS_FP64.
25035         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25036         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25037         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25038         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25039         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25040         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25041         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25042         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25043         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25044         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25045         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25046         record the current FP ABI extension.
25047         (mips-mode-switch): Define to show if kernel headers support mode
25048         switching.
25049         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25050         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25051         supported SYSV ABI version to 3.
25052         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25053         feature.
25055 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25056             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25058         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25059         path.
25060         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25062 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25064         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25065         __fegetround and redefine to call __fegetround.  Remove condition
25066         on [!__NO_MATH_INLINES].
25067         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25068         function.
25069         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25070         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25071         Remove macro.
25072         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25073         instead of <fenv_libc.h>.
25074         (__llrintl): Call fegetround instead of __fegetround.
25075         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25076         instead of <fenv_libc.h>.
25077         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25078         (__lrintl): Call fegetround instead of __fegetround.
25079         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25080         instead of <fenv_libc.h>.
25081         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25082         (__rintl): Call fegetround instead of __fegetround.
25084 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25086         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25087         arrays.
25089 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25091         [BZ #17775]
25092         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25093         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25094         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25096 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25098         * sysdeps/i386/tls-macros.h: Include <features.h>.
25099         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25100         (TLS_IE): Likewise.
25101         (TLS_LD): Likewise.
25102         (TLS_GD): Likewise.
25103         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25104         define for GCC >= 5.0.
25106 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25108         * math/test-fenv.c (test_single_exception, set_single_exc,
25109         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25110         feexcp_mask_test, feenable_test, fe_single_test): Add
25111         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25112         case where they are not used.
25113         * math/libm-test.inc: Likewise.
25114         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25115         unused in the absence of FP rounding/exception support.
25116         * stdio-common/tst-printf-round.c: Likewise.
25117         * stdlib/tst-strtod-round.c: Likewise.
25118         * stdlib/tst-strtod-underflow.c: Likewise.
25120 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25122         [BZ #17723]
25123         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25124         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25125         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25126         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25127         libm_hidden_weak.
25128         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25129         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25130         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25131         libm_hidden_def.
25132         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25133         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25134         libm_hidden_weak.
25135         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25136         Likewise.
25137         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25138         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25139         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25140         libm_hidden_weak.
25141         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25142         libm_hidden_def.
25143         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25144         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25145         (__feraiseexcept): Likewise.
25146         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25147         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25148         libm_hidden_weak.
25149         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25150         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25151         libm_hidden_def.
25152         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25153         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25154         Use libm_hidden_def.
25155         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25156         libm_hidden_def.
25157         (feraiseexcept): Define as weak not strong alias.  Use
25158         libm_hidden_weak.
25159         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25160         New inline function.  Factored out of ...
25161         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25162         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25163         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25164         feraiseexcept.
25165         * math/w_acos.c (__acos): Likewise.
25166         * math/w_asin.c (__asin): Likewise.
25167         * math/w_ilogb.c (__ilogb): Likewise.
25168         * math/w_j0.c (y0): Likewise.
25169         * math/w_j1.c (y1): Likewise.
25170         * math/w_jn.c (yn): Likewise.
25171         * math/w_log.c (__log): Likewise.
25172         * math/w_log10.c (__log10): Likewise.
25173         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25174         * sysdeps/aarch64/fpu/math_private.h
25175         (libc_feupdateenv_test_aarch64): Likewise.
25176         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25177         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25178         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25179         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25180         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25181         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25182         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25183         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25184         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25185         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25187 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25189         [BZ #17732]
25190         * io/test-utime.c (main): Replace %ld with %jd and cast to
25191         intmax_t.
25192         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25193         * nptl/tst-mutex5.c: Include <stdint.h>.
25194         (do_test): Replace %ld with %jd and cast to intmax_t.
25195         * posix/tst-regex.c (run_test): Likewise.
25196         (run_test_backwards): Likewise.
25197         * rt/tst-clock.c: Include <stdint.h>.
25198         (clock_test): Replace %ld with %jd and cast to intmax_t.
25199         * rt/tst-cpuclock1.c: Include <stdint.h>.
25200         (do_test): Replace %lu with %ju and cast to uintmax_t.
25201         * rt/tst-cpuclock2.c: Include <stdint.h>.
25202         (do_test): Replace %lu with %ju and cast to uintmax_t.
25203         * rt/tst-mqueue1.c: Include <stdint.h>.
25204         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25205         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25206         intmax_t.
25207         * rt/tst-mqueue4.c (do_test): Likewise.
25208         * rt/tst-timer4.c: Include <stdint.h>.
25209         (check_ts): Replace %ld with %jd and cast to intmax_t.
25210         (do_test): Likewise.
25211         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25212         and cast to intmax_t.
25213         * sysdeps/pthread/tst-timer.c (main): Likewise.
25214         * time/clocktest.c (main): Likewise.
25215         * time/tst-posixtz.c (do_test): Likewise.
25216         * timezone/tst-timezone.c (main): Likewise.
25218 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25219             H.J. Lu  <hongjiu.lu@intel.com>
25221         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25222         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25223         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25224         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25225         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25226         version if bit_Fast_Unaligned_Load is set.
25227         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25228         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25229         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25230         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25231         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25232         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25234         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25235         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25236         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25237         to 4.
25238         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25239         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25240         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25241         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25243 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25245         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25246         instead of #if to avoid a Wundef warning.
25247         * stdlib/tst-limits.c (do_test): Likewise.
25249         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25250         parallel other exception macros.
25251         (fegetenv): Convert from macro to extern inline so that it applies
25252         retroactively to inline functions already seen by the compiler.
25253         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25255         * posix/Makefile (before-compile): Use $(objpfx) for
25256         posix-conf-vars-def.h.
25258 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25260         * posix/getconf.c (main): Use size_t for type of I.
25261         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25262         NSPEC.
25264         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25265         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25266         * posix/posix-envs.def: Likewise.
25267         * sysdeps/posix/sysconf.c: Likewise.
25268         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25269         (specs): Remove array.
25270         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25271         array.
25273         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25274         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25275         (__sysconf): Use CONF_IS_* macros.
25277         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25278         ($(objpfx)posix-conf-vars-def.h): New target.
25279         * posix/posix-conf-vars.list: New file.
25280         * posix/posix-conf-vars.h: New file.
25281         * posix/confstr.c: Include posix-conf-vars.h.
25282         (confstr): Use CONF_IS_* macros.
25283         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25284         CONF_IS_* macros.
25285         * scripts/gen-posix-conf-vars.awk: New file.
25287 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25289         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25290         fegetround): Add no-op macros to avoid linknamespace issues.
25292         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25293         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25295         * sysdeps/unix/sysv/linux/tile/sysdep.h
25296         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25297         assembly-specific section to avoid a redefinition warning.
25299         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25300         long before casting to pointer to avoid a cast warning.
25302 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25304         * sysdeps/tile/tilegx/Implies: New file.
25306 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25308         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25310 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25312         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25314 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25317         not define.
25318         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25319         <kernel-features.h>.
25320         (__utimes) [__NR_utimes]: Make code unconditional.
25321         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25322         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25323         (__ASSUME_UTIMES): Do not undefine.
25324         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25325         (__ASSUME_UTIMES): Likewise.
25326         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25327         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25328         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25329         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25331 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25333         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25335 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25337         [BZ #17747]
25338         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25339         alias to weak alias for j0l, y0l.
25340         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25341         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25343         [BZ #17746]
25344         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25345         conversion.
25347 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25349         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25350         to zero if not already defined.
25352 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25354         [BZ #17724]
25355         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25356         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25357         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25358         (char *) casts added.
25359         * sysdeps/ieee754/k_standardf.c: New file.
25360         * sysdeps/ieee754/k_standardl.c: Likewise.
25361         * math/Makefile (libm-support): Remove k_standard.
25362         (libm-calls): Add k_standard.
25364 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25366         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25367         Optimize to avoid an unnecessary FPCR read.
25369 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25371         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25372         Optimize to reduce FPCR/FPSR accesses.
25374 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25376         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25377         Call libc_fetestexcept_aarch64.
25379 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25381         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25382         Call libc_fesetround_aarch64.
25384 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25386         [BZ #17733]
25387         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25388         (__bind): Do not define as weak alias.
25389         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25390         define.
25391         (__getsockname): Do not define as weak alias.
25393 2014-12-22  Will Newton  <will.newton@linaro.org>
25395         * manual/install.texi: Document that we require bison 2.7
25396         or above.
25397         * INSTALL: Regenerate.
25398         * configure.ac: Use AC_CHECK_PROG_VER instead of
25399         AC_PATH_PROG when checking for bison and check for
25400         version 2.7 or above.
25401         * configure: Regenerate.
25403 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25405         [BZ #17745]
25406         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25407         * sysdeps/tile/ffsll.c (ffsll): To here.
25409         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25411 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25413         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25414         if not defined.
25415         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25416         definition.
25417         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25418         hidden ___tls_get_addr.
25419         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25420         hidden __tls_get_addr.
25421         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25422         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25423         Likewise.
25425 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25427         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25428         _dl_init call.
25430 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25432         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25433         from "call _dl_init@PLT".
25434         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25436 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25438         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25439         guarantees.
25441 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25443         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25445 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25447         [BZ #17744]
25448         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25449         strnlen.
25451 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25453         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25454         of multu on MIPSr6.
25455         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25456         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25457         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25458         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25459         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25461 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25463         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25464         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25465         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25466         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25467         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25468         mips32r6/mips64r6.
25469         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25471 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25473         * string/strncat.c (STRNCAT): Simplify implementation.
25475 2014-12-19  David S. Miller  <davem@davemloft.net>
25477         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25478         access the quad as both a long double and as a series of 4 words.
25480         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25481         link_map->l_info array access.
25483 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25485         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25487         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25488         * math/atest-exp2.c (TIMEOUT): Likewise.
25489         * math/atest-sincos.c (TIMEOUT): Likewise.
25491 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25493         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25494         -Wno-error with -fno-builtin-lround.
25496 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25498         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25499         Contains futex constants and functions moved over from ...
25500         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25501         <lowlevellock-futex.h>.
25502         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25503         (lll_timedwait_tid): Add comments and parentheses around macro
25504         arguments.
25506 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25509         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25510         (__lll_private_flag): Remove.
25511         (lll_futex_wait): Likewise.
25512         (lll_futex_timed_wait): Likewise.
25513         (lll_futex_wake): Likewise.
25514         (lll_futex_requeue): Likewise.
25515         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25516         (__lll_timedwait_tid): Spell out argument names.
25517         (lll_timedwait_tid): Add comments and parentheses around macro
25518         arguments.
25519         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25520         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25522 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25524         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25525         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25526         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25527         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25528         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25529         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25530         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25531         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25532         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25533         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25535         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25536         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25538         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25539         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25540         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25541         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25542         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25544 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25546         * sysdeps/x86_64/x32/Makefile: New file.
25548 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25550         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25551         1L with (mp_limb_t) 1.
25553 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25555         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25556         * nptl/libc_pthread_init.c: ... here.
25557         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25558         * nptl/register-atfork.c: ... here.
25560         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25561         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25562         Use assert_perror to check its return value.
25563         (__gai_create_helper_thread): Likewise.
25565         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25567         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25569 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25571         [BZ #17725]
25572         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25573         __profil_counter.
25574         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25575         Likewise.
25576         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25577         Likewise.
25578         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25579         Likewise.
25580         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25581         (profil_counter): Likewise.
25582         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25583         (profil_counter): Likewise.
25584         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25585         Likewise.
25586         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25587         Likewise.
25588         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25589         (profil_counter): Likewise.
25590         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25591         Likewise.
25592         [!__profil_counter] (profil_counter): Define as weak alias of
25593         __profil_counter.
25594         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25595         (profil_counter): Rename to __profil_counter.
25596         [!__profil_counter] (profil_counter): Define as weak alias of
25597         __profil_counter.
25598         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25599         (profil_counter): Rename to __profil_counter.
25600         [!__profil_counter] (profil_counter): Define as weak alias of
25601         __profil_counter.
25602         * sysdeps/posix/profil.c: Update comment referring to
25603         profil_counter.
25604         (__profil): Use __profil_counter instead of profil_counter.
25605         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25606         __profil_counter.  Use __profil_counter_ushort and
25607         __profil_counter_uint in definitions.
25608         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25609         instead of profil_counter_uint and profil_counter_ushort.
25611         [BZ #17722]
25612         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25613         define as weak alias of __inet_makeaddr.
25614         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25615         as weak alias of __inet_addr.
25616         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25617         as weak alias of __inet_pton.  Use libc_hidden_weak.
25618         * include/arpa/inet.h (__inet_pton): Declare.  Use
25619         libc_hidden_proto.
25620         (inet_makeaddr): Don't use libc_hidden_proto.
25621         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25622         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25623         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25624         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25625         Remove variable.
25626         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25627         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25629 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25631         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25633 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25635         * stdio-common/bug-vfprintf-nargs.c (do_test):
25636         Cast value to intptr_t to avoid format warning
25637         for usage with PRIdPTR printing macro.
25639 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25641         * libio/tst-widetext.c (do_test):
25642         Use format type %td instead of %Zd for ptrdiff_t
25643         in order to avoid format warning.
25645 2014-12-17  Andreas Schwab  <schwab@suse.de>
25647         * nscd/mem.c (gc): Add size_t cast to match printf format.
25649 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25651         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25652         (init): Apply PTR_MANGLE to pointers before storing them.
25653         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25654         before using them.
25656 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25658         [BZ #17719]
25659         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25660         define as weak alias of __memrchr.
25661         (__memrchr): Do not define as strong alias of memrchr.
25662         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25663         Remove variable.
25664         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25665         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25666         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25668         [BZ #17717]
25669         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25670         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25671         (if_indextoname): Rename to __if_indextoname and define as weak
25672         alias of __if_indextoname.  Use libc_hidden_weak.
25673         (if_freenameindex): Rename to __if_freenameindex and define as
25674         weak alias of __if_freenameindex.
25675         (if_nameindex): Rename to __if_nameindex and define as weak alias
25676         of __if_nameindex.
25677         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25678         __if_nametoindex and define as weak alias of __if_nametoindex.
25679         Use libc_hidden_weak.
25680         (if_freenameindex): Rename to __if_freenameindex and define as
25681         weak alias of __if_freenameindex.
25682         (if_nameindex): Rename to __if_nameindex and define as weak alias
25683         of __if_nameindex.
25684         (if_indextoname): Rename to __if_indextoname and define as weak
25685         alias of __if_indextoname.  Use libc_hidden_weak.
25686         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25687         __if_nametoindex and define as weak alias of __if_nametoindex.
25688         Use libc_hidden_weak.
25689         (if_freenameindex): Rename to __if_freenameindex and define as
25690         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25691         (if_nameindex_netlink): Use __if_freenameindex instead of
25692         if_freenameindex.
25693         (if_nameindex): Rename to __if_nameindex and define as weak alias
25694         of __if_nameindex.  Use libc_hidden_weak.
25695         (if_indextoname): Rename to __if_indextoname and define as weak
25696         alias of __if_indextoname.  Use libc_hidden_weak.
25697         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25698         libc_hidden_proto.
25699         [!_ISOMAC] (__if_freenameindex): Likewise.
25700         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25701         if_nametoindex.
25702         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25703         variable.
25704         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25705         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25706         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25707         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25708         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25709         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25710         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25712         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25713         Remove variable.
25714         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25715         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25717 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25719         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25720         subscript above bounds'
25722         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25723         bounds.
25725 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25727         * libio/tst-fopenloc.c: Use test-skeleton.c.
25729         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25730         (entry): Rename to ITEM.
25731         (do_test, comp): Adjust.
25733         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25735 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25737         * string/tester.c: Include <libc-internal.h>.
25738         (test_memset): Ignore -Wmemset-transposed-args.
25740 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25742         * misc/tst-mntent2.c (do_test): Fix warning.
25744 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25746         * elf/tst-unique4lib.cc(a): Mark as used.
25748 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25750         [BZ #17630]
25751         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25752         names.
25754 2014-12-16  Allan McRae  <allan@archlinux.org>
25756         * stdio-common/Makefile (tests): Re-add bug26.
25758 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25760         [BZ #17657]
25761         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25762         static array.
25764 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25766         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25767         (__lll_lock_wait): Likewise.
25768         (__lll_timedlock_wait): Likewise.
25769         (__lll_timedwait_tid): Likewise.
25770         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25771         (__lll_robust_timedlock_wait): Likewise.
25772         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25773         (lll_cond_trylock): Likewise.
25774         (__lll_lock): Likewise.
25775         (__lll_robust_lock): Likewise.
25776         (__lll_cond_lock): Likewise.
25777         (lll_robust_cond_lock): Likewise.
25778         (__lll_timedlock): Likewise.
25779         (__lll_robust_timedlock): Likewise.
25780         (__lll_unlock): Likewise.
25781         (__lll_robust_unlock): Likewise.
25782         (lll_wait_tid): Likewise.
25783         (lll_timedwait_tid): Likewise.
25785 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25787         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25789 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25791         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25793 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25795         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25796         * stdio-common/tst-sprintf.c: Likewise.
25798 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25800         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25802 2014-12-15  Jeff Law  <law@redhat.com>
25804         [BZ #16617]
25805         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25806         on the heap.  (CVE-2012-3406)
25807         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25808         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25809         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25811 2014-12-15  Will Newton  <will.newton@linaro.org>
25813         * manual/install.texi: Bump required version of texinfo
25814         to 4.7 from 4.5.
25815         * INSTALL: Regenerated.
25816         * configure.ac: Check for makeinfo version 4.7 and above.
25817         * configure: Regenerated.
25819 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25821         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25822         PREFIX, string constant to insert between directory and name.
25823         * sysdeps/posix/shm_open.c: Update caller.
25824         * sysdeps/posix/shm_unlink.c: Likewise.
25825         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25826         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25827         (SEM_SHM_PREFIX): New macro.
25828         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25829         [$(have-thread-library) = no].
25830         * nptl/Makefile (libpthread-routines): Add shm-directory.
25831         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25832         * sysdeps/nptl/shm-directory.h: New file.
25833         * sysdeps/posix/shm-directory.c
25834         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25835         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25836         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25837         INTERNAL_SYSCALL.
25838         (__where_is_shmfs): Function removed.
25839         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25840         Variables removed.
25841         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25842         Use SHM_GET_NAME.
25843         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25845         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25846         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25847         unconditional for use inside libpthread.
25848         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25850 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25852         * nptl/pthread_getaffinity.c: New file.
25853         * nptl/pthread_setaffinity.c: New file.
25854         * nptl/pthread_getname.c: New file.
25855         * nptl/pthread_setname.c: New file.
25857         * nptl/pthread_create.c (START_THREAD_DEFN)
25858         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25860 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25861             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25863         * resolv/res_send.c (send_vc): Disable warning resplen may
25864         be used uninitialized.
25866 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25868         * nptl/tst-mutex6.c
25869         (ATTR_NULL): New define checks ATTR against NULL.
25870         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25871         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25873 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25875         [BZ #17581]
25876         * malloc/hooks.c
25877         (mem2mem_check): Revert my previous change.
25878         (malloc_check_get_size): Revert my previous change.
25879         (mem2chunk_check): Revert my previous change.
25881 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25883         * sysdeps/posix/shm-directory.c: New file.
25884         * sysdeps/posix/shm-directory.h: New file.
25885         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25886         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25887         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25888         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25889         Transmute EPERM to EACCES.
25890         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25891         from ...
25892         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25893         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25895 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25897         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25898         pointer and cast to uintptr_t.
25899         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25900         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25901         Add cast to avoid warning.
25902         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25904 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25906         * nptl/semaphore.h: Move to ...
25907         * sysdeps/pthread/semaphore.h: ... here.
25908         * Makefile (installed-headers): Change nptl/semaphore.h to
25909         sysdeps/pthread/semaphore.h.
25911 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25913         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25914         generated error format strings.
25916         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25917         -Wformat-extra-args warnings for scanf formats.
25918         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25919         test of zero-length format (duh).
25920         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25921         corner-case scanf format test.
25922         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25923         generated fprintf format string.
25924         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25925         corner-case sprintf format tests.
25926         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25927         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25928         -Wformat-extra-args warnings throughout.
25929         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25930         (CFLAGS-scanf4.c): Likewise.
25931         (CFLAGS-scanf7.c): Likewise.
25932         (CFLAGS-tst-sprintf.c): Likewise.
25933         (CFLAGS-tst-printf.c): Likewise.
25934         (CFLAGS-tst-printfsz.c): Likewise.
25936 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25938         * include/cpio.h: New file.
25939         * include/fmtmsg.h: Likewise.
25941         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25942         corresponding format argument to size_t.
25943         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25944         arguments.
25945         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25946         corresponding format argument to size_t.
25947         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25948         arguments.
25949         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25950         corresponding format argument to size_t.
25951         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25952         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25953         (CFLAGS-tst-mbswcs2.c): Likewise.
25954         (CFLAGS-tst-mbswcs3.c): Likewise.
25955         (CFLAGS-tst-mbswcs4.c): Likewise.
25956         (CFLAGS-tst-mbswcs5.c): Likewise.
25957         (CFLAGS-tst-trans.c): Likewise.
25959 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25961         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25962         rather than assuming they won't contain any '%'s.
25964 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25966         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25967         inhibit_loop_to_libcall to avoid recursive calls.
25968         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25969         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25971 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25973         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25974         prototype.
25976 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25978         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25979         integer value instead of boolean.
25981 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25983         * malloc/malloc.c: Fix powerof2 check.
25985 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25987         * locale/programs/locfile.h (maybe_swap_uint32):
25988         Remove inline and add unused attribute.
25990 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25992         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25993         Truncating assembler expression to a .long expression.
25995 2014-12-11  Andreas Schwab  <schwab@suse.de>
25997         * elf/rtld.c (struct map_args): Constify str member.
25998         (do_preload): Constify fname argument.
26000 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26002         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26003         constants definition.
26005 2014-12-11  Andreas Schwab  <schwab@suse.de>
26007         [BZ #16657]
26008         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26009         FORCE_ELISION instead of DO_ELISION.
26010         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26011         Remove.
26012         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26013         Likewise.
26015         * iconvdata/gconv-modules: Remove duplicate entry.
26017 2014-12-11  Will Newton  <will.newton@linaro.org>
26019         Merge gettext 0.19.3 into intl/.
26021         This involves a number of cosmetic changes to comments
26022         and ANSI function definitions and prototypes throughout
26023         all the files. The gettext copyright header is used but
26024         with the date ranges taken from the glibc copy.
26026         * NEWS: Add gettext merge to 2.21.
26027         * intl/bindtextdom.c: Switch to gettext copyright.
26028         Use ANSI definitions and prototypes.
26029         Use gl_* locking primitives rather than __libc_* ones.
26030         Use __builtin_expect rather than __glibc_likely/unlikely.
26031         * intl/dcgettext.c: Switch to gettext copyright.
26032         Use ANSI definitions and prototypes.
26033         * intl/dcigettext.c: Switch to gettext copyright.
26034         Use ANSI definitions and prototypes.
26035         (INTDIV0_RAISES_SIGFPE): New define.
26036         Use gl_* locking primitives rather than __libc_* ones.
26037         Include eval-plural.h instead of plural-eval.c.
26038         Use __builtin_expect rather than __glibc_likely/unlikely.
26039         * intl/dcngettext.c: Switch to gettext copyright.
26040         Use ANSI definitions and prototypes.
26041         * intl/dgettext.c: Likewise.
26042         * intl/dngettext.c: Likewise.
26043         * intl/plural-eval.c: Renamed to...
26044         * intl/eval-plural.h: ...this.
26045         * intl/explodename.c: Switch to gettext copyright.
26046         Use ANSI definitions and prototypes.
26047         (_nl_explode_name): Use strchr instead of __rawmemchr.
26048         * intl/finddomain.c: Switch to gettext copyright.
26049         Use ANSI definitions and prototypes.
26050         Use gl_* locking primitives rather than __libc_* ones.
26051         (_nl_find_domain): Use malloc rather than alloca for
26052         allocation of temporary locale name.
26053         * intl/gettext.c: Switch to gettext copyright.
26054         Use ANSI definitions and prototypes.
26055         * intl/gettextP.h: Switch to gettext copyright.
26056         Use ANSI definitions and prototypes.
26057         Use gl_* locking primitives rather than __libc_* ones.
26058         * intl/gmo.h: Switch to gettext copyright.
26059         (struct sysdep_string): Move struct segment_pair outside of
26060         struct definition.
26061         * intl/hash-string.c: Use ANSI definitions and prototypes.
26062         * intl/hash-string.h: Switch to gettext copyright.
26063         Use ANSI definitions and prototypes.
26064         * intl/l10nflist.c: Switch to gettext copyright.
26065         Use ANSI definitions and prototypes.
26066         (_nl_normalize_codeset): Avoid integer overflow.
26067         * intl/loadinfo.h: Switch to gettext copyright.
26068         Use ANSI definitions and prototypes.
26069         (LIBINTL_DLL_EXPORTED): New define.
26070         (PATH_SEPARATOR): New define.
26071         * intl/loadmsgcat.c: Switch to gettext copyright.
26072         * intl/localealias.c: Switch to gettext copyright.
26073         Use ANSI definitions and prototypes.
26074         (_nl_expand_alias): Use PATH_SEPARATOR.
26075         * intl/ngettext.c: Switch to gettext copyright.
26076         Use ANSI definitions and prototypes.
26077         * intl/plural-exp.c: Likewise.
26078         * intl/plural-exp.h: Switch to gettext copyright.
26079         Use ANSI definitions and prototypes.
26080         (struct expression): Move definition of enum operator outside
26081         of struct definition.
26082         * intl/plural.c: Regenerate.
26083         * intl/plural.y: Switch to gettext copyright.
26084         Use ANSI definitions and prototypes.
26085         Port to bison 3.0.
26086         * intl/textdomain.c: Switch to gettext copyright.
26087         Use ANSI definitions and prototypes.
26088         Use gl_* locking primitives rather than __libc_* ones.
26090 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26092         * debug/warning-nop.c: Add used atrribute.
26094 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26096         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26098         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26099         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26100         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26102 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26103             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26105         [BZ #17634]
26106         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26107         Undefine after defining function.  Define as weak alias of
26108         __wcschr.  Use libc_hidden_weak.
26109         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26110         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26111         (libc_hidden_def): Also define __GI___wcschr alias.
26112         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26113         __wcschr and define as weak alias of __wcschr.
26114         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26115         __wcschr.
26116         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26117         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26118         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26119         libc_hidden_weak.  Do not use libc_hidden_def.
26120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26121         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26122         __GI___wcschr alias.
26123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26124         [IS_IN (libc)] (wcschr): Define as macro expanding to
26125         __redirect_wcschr.
26126         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26127         [IS_IN (libc)] (__wcschr_power6): Likewise.
26128         [IS_IN (libc)] (__wcschr_power7): Likewise.
26129         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26130         instead of wcschr.
26131         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26132         __libc_wcschr.
26133         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26134         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26135         __wcschr and define as weak alias of __wcschr.  Use
26136         libc_hidden_builtin_def.
26137         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26138         as weak alias of __wcschr.  Use libc_hidden_weak.
26139         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26140         wcschr.
26141         * time/era.c (_nl_init_era_entries): Likewise.
26142         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26143         variable.
26144         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26145         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26147 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26149         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26150         format for long int variable.
26152 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26154         [BZ #10672]
26155         * manual/search.texi: (Array Sort Function): Remove claim how to make
26156         qsort stable.
26158 2014-12-10  Andreas Schwab  <schwab@suse.de>
26160         [BZ #12847]
26161         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26162         user-controlled locks.
26164 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26166         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26167         register.
26169 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26171         * configure.ac (--disable-werror): New configure option.
26172         (enable_werror): New AC_SUBST.
26173         * configure: Regenerated.
26174         * config.make.in (enable-werror): New variable.
26175         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26176         -Wno-error=undef.
26177         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26178         * manual/install.texi (Configuring and compiling): Document
26179         --disable-werror.
26180         * INSTALL: Regenerated.
26181         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26182         (CFLAGS-tst-chk2.c): Likewise.
26183         (CFLAGS-tst-chk3.c): Likewise.
26184         (CFLAGS-tst-chk4.cc): Likewise.
26185         (CFLAGS-tst-chk5.cc): Likewise.
26186         (CFLAGS-tst-chk6.cc): Likewise.
26187         (CFLAGS-tst-lfschk1.c): Likewise.
26188         (CFLAGS-tst-lfschk2.c): Likewise.
26189         (CFLAGS-tst-lfschk3.c): Likewise.
26190         (CFLAGS-tst-lfschk4.cc): Likewise.
26191         (CFLAGS-tst-lfschk5.cc): Likewise.
26192         (CFLAGS-tst-lfschk6.cc): Likewise.
26194         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26195         (main): Disable -Wdeprecated-declarations around calls to
26196         register_printf_function.
26198         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26199         (do_test): Disable -Wdiv-by-zero around some calls to
26200         fwrite_unlocked and fread_unlocked.
26202         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26203         (DIAG_POP_NEEDS_COMMENT): Likewise.
26204         (_DIAG_STR1): Likewise.
26205         (_DIAG_STR): Likewise.
26206         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26207         * stdio-common/bug21.c: Include <libc-internal.h>.
26208         (do_test): Disable -Wformat around call to sscanf.
26209         * stdio-common/scanf14.c: Include <libc-internal.h>.
26210         (main): Disable -Wformat around some calls to scanf functions.
26212 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26214         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26216 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26218         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26219         stack variable alignment.
26221 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26223         [BZ #17682]
26224         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26225         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26226         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26227         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26228         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26229         __getrlimit instead of getrlimit.
26230         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26231         __gettimeofday instead of gettimeofday.
26232         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26233         Likewise.
26234         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26235         Likewise.
26236         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26237         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26238         Remove variable.
26239         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26240         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26242 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26244         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26245         for wide-character tests.
26247 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26249         * io/openat64.c: #include <libc-internal.h>
26250         (__openat64): Prototypify.  Use ignore_value on MODE.
26251         * io/openat.c: Likewise.
26252         * misc/reboot.c: #include <libc-internal.h>
26253         (reboot): Prototypify.  Use ignore_value on HOWTO.
26254         * misc/ptrace.c: #include <libc-internal.h>
26255         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26257 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26259         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26260         XPG4, UNIX98 and XOPEN2K.
26261         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26262         Remove variable.
26263         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26265 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26267         * libio/fileops.c: Use ISO C style for function definitions.
26268         * libio/iofopen.c: Likewise.
26269         * libio/wfileops.c: Likewise.
26271         [BZ #17653]
26272         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26273         offset on EOF.
26274         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26275         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26276         (fgets_func): Function pointer to fgets and fgetws.
26277         (do_ftell_test): Add test to verify ftell value after read
26278         EOF.
26279         (do_test): Set fgets_func.
26281         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26282         O_TRUNC flag for w and w+ modes.
26283         (do_rewind_test): Likewise.
26284         (do_ftell_test): Likewise.
26285         (do_write_test): Likewise.
26287         [BZ #17647]
26288         * libio/fileops.c (do_ftell): Seek only when there are
26289         unflushed writes.
26290         * libio/wfileops.c (do_ftell_wide): Likewise.
26291         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26292         test case.
26293         (do_one_test): Call it.
26295 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26297         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26298         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26299         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26300         Remove variable.
26301         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26302         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26303         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26305 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26307         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26308         Remove variable.
26309         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26311         [BZ #17668]
26312         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26313         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26314         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26315         __freeifaddrs.  Use libc_hidden_weak.
26316         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26317         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26318         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26319         __freeifaddrs.  Use libc_hidden_weak.
26320         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26321         __getifaddrs and define as weak alias of __getifaddrs.  Use
26322         libc_hidden_weak.
26323         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26324         __freeifaddrs.  Use libc_hidden_weak.
26325         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26326         Remove variable.
26327         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26328         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26330 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26332         [BZ #17601]
26333         * sysdeps/mips/start.S (__start): Use indirect jump to call
26334         __libc_start_main.
26336 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26338         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26340         * nptl/tst-mutex1.c: Include <stdbool.h>.
26341         [!ATTR] (ATTR_NULL): New macro.
26342         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26343         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26344         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26346         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26347         to char *.
26349         [BZ #17665]
26350         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26351         Change conditional to [__USE_MISC].
26353         [BZ #17664]
26354         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26355         fgets_unlocked.
26356         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26357         __fgets_unlocked.
26358         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26359         fgets_unlocked.
26360         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26361         Remove variable.
26362         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26363         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26364         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26365         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26366         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26367         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26368         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26369         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26370         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26372         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26374 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26376         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26377         Remove strpbrk objects.
26378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26379         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26380         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26381         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26382         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26383         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26385         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26386         Remove strcspn objects.
26387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26388         (__libc_ifunc_impl_list): Remove strcspn implementation.
26389         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26390         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26391         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26392         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26394         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26395         Remove strspn objetcs.
26396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26397         (__libc_ifunc_impl_list): Remove strspn implementation.
26398         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26399         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26400         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26401         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26403 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26405         [BZ #17581]
26406         * malloc/hooks.c
26407         (mem2mem_check): Add a terminator to the chain of checking blocks.
26408         (malloc_check_get_size): Use it here.
26409         (mem2chunk_check): Ditto.
26411 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26413         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26414         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26416 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26418         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26420         * nptl/nptl-init.c: Include libc-internal.h.
26421         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26423         * elf/ldconfig.c (search_dir): Expand comment.
26425 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26427         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26428         variable.
26429         (linknamespace-symlist-stdlibs-tests): Likewise.
26430         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26431         instead of $(objpfx)symlist-stdlibs.
26432         (linknamespace-libs-isoc): New variable.
26433         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26434         (linknamespace-libs-ISO): New variable.
26435         (linknamespace-libs-ISO99): Likewise.
26436         (linknamespace-libs-ISO11): Likewise.
26437         (linknamespace-libs-XPG3): Likewise.
26438         (linknamespace-libs-XPG4): Likewise.
26439         (linknamespace-libs-POSIX): Likewise.
26440         (linknamespace-libs-UNIX98): Likewise.
26441         (linknamespace-libs-XOPEN2K): Likewise.
26442         (linknamespace-libs-POSIX2008): Likewise.
26443         (linknamespace-libs-XOPEN2K8): Likewise.
26444         ($(objpfx)symlist-stdlibs): Replace by
26445         $(linknamespace-symlist-stdlibs-tests).  Use
26446         $(linknamespace-libs-$*) as set of libraries.
26447         ($(linknamespace-header-tests)): Update dependencies.  Use
26448         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26449         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26450         * conform/linknamespace.pl: Remove comment about considering
26451         definitions of symbols from irrelevant libraries.
26453 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26455         [BZ #13862]
26456         * elf/dl-tls.c: Include <atomic.h>.
26457         (oom): Remove #ifdef SHARED/#endif.
26458         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26459         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26460         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26461         big enough.
26462         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26463         * nptl/Makefile (tests): Add tst-stack4.
26464         (modules-names): Add tst-stack4mod.
26465         ($(objpfx)tst-stack4): New.
26466         (tst-stack4mod.sos): Likewise.
26467         ($(objpfx)tst-stack4.out): Likewise.
26468         ($(tst-stack4mod.sos)): Likewise.
26469         (clean): Likewise.
26470         * nptl/tst-stack4.c: New file.
26471         * nptl/tst-stack4mod.c: Likewise.
26473 2014-11-27  J. Brown  <jb999@gmx.de>
26475         * sysdeps/x86/bits/string.h: Add recent CPUs.
26477 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26479         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26480         sigblock.
26482         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26483         feof.
26485         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26486         variable.
26488 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26490         * nscd/connections.c: Include libc-internal.h because of macro
26491         usage ignore_value.
26493 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26495         * string/bits/string3.h (__warn_memset_zero_len): Don't
26496         declare for gcc newer than 5.0.
26497         (memset): Don't test for zero-length __LEN for gcc newer than
26498         5.0.
26500 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26502         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26503         size_t for %zu format.
26505         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26506         difference, not %ju.
26508 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26510         * include/libc-internal.h (ignore_value): New macro.
26511         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26512         with ignore_value.
26514         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26515         definition.
26517         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26518         pthread_cleanup_push to void *.
26520         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26521         Undefine.
26523         [BZ #16619]
26524         [BZ #16740]
26525         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26526         instead of 1L << 52.
26528         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26529         * libio/bug-rewind2.c (do_test): Likewise.
26531         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26532         * debug/test-strcpy_chk-ifunc.c: Likewise.
26533         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26534         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26535         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26536         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26537         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26538         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26539         * Rules [$(multi-arch) = no] (tests): Do not filter out
26540         $(tests-ifunc).
26541         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26542         * debug/Makefile (tests-ifunc): Remove variable.
26543         (tests): Do not add $(tests-ifunc).
26544         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26545         (tests): Do not add $(tests-ifunc).
26546         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26547         [TEST_IFUNC]: Remove conditionals.
26548         * string/test-string.h (TEST_IFUNC): Remove macro.
26549         [TEST_IFUNC]: Remove conditionals.
26551         * string/test-strchr.c [!WIDE] (L): New macro.
26552         [WIDE] (L): Likewise.
26553         (check1): Use CHAR instead of char.  Use L on string and character
26554         constants.
26556 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26558         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26559         tests.
26560         * sysdeps/powerpc/bits/atomic.h
26561         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26562         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26563         (atomic_exchange_and_add_acq): Likewise.
26564         (atomic_exchange_and_add_rel): Likewise.
26565         * sysdeps/powerpc/powerpc32/bits/atomic.h
26566         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26567         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26568         * sysdeps/powerpc/powerpc64/bits/atomic.h
26569         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26570         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26572 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26574         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26575         Change synchronization of __sched_fifo_min_prio and
26576         __sched_fifo_max_prio.
26577         * nptl/pthread_mutexattr_getprioceiling.c
26578         (pthread_mutexattr_getprioceiling): Likewise.
26579         * nptl/pthread_mutexattr_setprioceiling.c
26580         (pthread_mutexattr_setprioceiling): Likewise.
26581         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26582         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26583         Likewise.
26585 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26587         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26588         void.
26590 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26592         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26593         third argument const.
26595 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26597         fnmatch: work around GCC compiler warning bug with uninit var
26598         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26599         This works around a bug with x86-64 GCC 4.9.2 and earlier
26600         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26601         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26602         used uninitialized in this function [-Wmaybe-uninitialized]".
26604 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26606         * posix/bug-regex31.c (main): Return RES not 0.
26608 2014-11-25  Anton Blanchard <anton@samba.org>
26610         * sysdeps/powerpc/bits/atomic.h
26611         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26613 2014-11-24  Sterling Augustine  <saugustine@google.com>
26615         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26617 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26619         [BZ #17608]
26620         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26622 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26624         [BZ #17633]
26625         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26626         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26627         variable.
26628         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26629         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26631 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26633         * string/strncpy.c (strncpy): Improve performance by using memset.
26635 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26637         * string/strcpy.c (strcpy):
26638         Improve performance by using strlen and memcpy.
26640 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26642         * string/strcoll_l.c (get_next_seq): __always_inline.
26643         * string/strcoll_l.c (do_compare): __always_inline.
26645 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26647         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26648         defined.
26649         * include/mqueue.h: Likewise.
26650         * include/stdlib.h: Likewise.
26652         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26653         (get_null_defines): Adjust.
26654         * sunrpc/Makefile: Adjust comment.
26655         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26656         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26657         (CFLAGS-interp.c): Likewise.
26658         (CFLAGS-ldconfig.c): Likewise.
26659         (CPPFLAGS-.os): Likewise.
26660         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26661         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26662         * extra-modules.mk (extra-modules.mk): Likewise.
26663         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26664         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26665         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26666         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26667         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26668         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26669         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26670         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26671         * iconvdata/Makefile (CPPFLAGS): Likewise.
26672         (cpp-srcs-left): Add libof for all iconvdata routines.
26673         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26674         * include/assert.h: Likewise.
26675         * include/ctype.h: Likewise.
26676         * include/errno.h: Likewise.
26677         * include/libc-symbols.h: Likewise.
26678         * include/math.h: Likewise.
26679         * include/netdb.h: Likewise.
26680         * include/resolv.h: Likewise.
26681         * include/stdio.h: Likewise.
26682         * include/stdlib.h: Likewise.
26683         * include/string.h: Likewise.
26684         * include/sys/stat.h: Likewise.
26685         * include/wctype.h: Likewise.
26686         * intl/l10nflist.c: Likewise.
26687         * libidn/idn-stub.c: Likewise.
26688         * libio/libioP.h: Likewise.
26689         * nptl/libc_multiple_threads.c: Likewise.
26690         * nptl/pthreadP.h: Likewise.
26691         * posix/regex_internal.h: Likewise.
26692         * resolv/res_hconf.c: Likewise.
26693         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26694         * sysdeps/arm/memmove.S: Likewise.
26695         * sysdeps/arm/sysdep.h: Likewise.
26696         * sysdeps/generic/_itoa.h: Likewise.
26697         * sysdeps/generic/symbol-hacks.h: Likewise.
26698         * sysdeps/gnu/errlist.awk: Likewise.
26699         * sysdeps/gnu/errlist.c: Likewise.
26700         * sysdeps/i386/i586/memcpy.S: Likewise.
26701         * sysdeps/i386/i586/memset.S: Likewise.
26702         * sysdeps/i386/i686/memcpy.S: Likewise.
26703         * sysdeps/i386/i686/memmove.S: Likewise.
26704         * sysdeps/i386/i686/mempcpy.S: Likewise.
26705         * sysdeps/i386/i686/memset.S: Likewise.
26706         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26707         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26708         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26709         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26710         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26711         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26712         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26713         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26714         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26715         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26716         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26717         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26718         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26719         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26720         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26721         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26722         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26723         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26724         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26725         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26726         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26727         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26728         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26729         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26730         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26731         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26732         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26733         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26734         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26735         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26736         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26737         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26738         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26739         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26740         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26741         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26742         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26743         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26744         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26745         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26746         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26747         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26748         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26749         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26750         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26751         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26752         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26753         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26754         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26755         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26756         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26757         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26758         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26759         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26760         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26761         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26762         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26763         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26764         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26765         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26766         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26767         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26768         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26769         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26770         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26771         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26772         * sysdeps/posix/closedir.c: Likewise.
26773         * sysdeps/posix/opendir.c: Likewise.
26774         * sysdeps/posix/readdir.c: Likewise.
26775         * sysdeps/posix/rewinddir.c: Likewise.
26776         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26777         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26778         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26779         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26780         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26781         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26782         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26785         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26787         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26788         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26789         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26790         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26791         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26792         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26793         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26794         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26795         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26796         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26797         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26798         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26799         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26800         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26801         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26804         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26811         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26812         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26813         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26814         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26815         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26816         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26817         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26818         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26819         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26820         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26821         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26822         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26823         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26824         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26825         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26826         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26827         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26828         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26829         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26830         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26831         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26832         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26833         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26834         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26835         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26836         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26837         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26838         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26839         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26840         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26841         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26842         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26843         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26844         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26845         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26846         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26847         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26848         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26849         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26850         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26851         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26852         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26853         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26854         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26855         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26856         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26857         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26858         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26859         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26860         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26861         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26862         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26863         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26864         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26865         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26866         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26867         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26868         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26869         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26870         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26872         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26874         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26875         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26876         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26877         * sysdeps/unix/alpha/sysdep.S: Likewise.
26878         * sysdeps/unix/alpha/sysdep.h: Likewise.
26879         * sysdeps/unix/make-syscalls.sh: Likewise.
26880         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26881         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26882         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26883         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26884         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26885         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26886         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26887         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26888         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26889         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26890         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26891         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26892         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26893         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26894         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26895         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26896         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26897         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26898         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26899         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26900         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26901         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26902         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26903         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26904         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26905         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26906         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26909         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26910         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26911         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26912         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26914         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26916         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26918         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26919         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26920         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26921         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26922         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26923         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26924         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26925         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26926         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26927         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26929         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26930         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26931         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26932         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26933         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26934         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26935         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26936         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26938         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26939         * sysdeps/x86_64/memcpy.S: Likewise.
26940         * sysdeps/x86_64/memmove.c: Likewise.
26941         * sysdeps/x86_64/memset.S: Likewise.
26942         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26943         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26944         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26945         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26946         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26947         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26948         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26949         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26950         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26951         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26952         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26953         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26954         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26955         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26956         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26957         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26958         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26959         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26960         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26961         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26962         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26963         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26964         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26965         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26966         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26967         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26968         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26969         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26970         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26971         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26972         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26973         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26974         * sysdeps/x86_64/strcmp.S: Likewise.
26976         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26978         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26979         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26980         * elf/rtld-Rules: Likewise.
26981         * elf/setup-vdso.h: Likewise.
26982         * include/assert.h: Likewise.
26983         * include/bits/stdlib-float.h: Likewise.
26984         * include/errno.h: Likewise.
26985         * include/sys/stat.h: Likewise.
26986         * include/unistd.h: Likewise.
26987         * sysdeps/aarch64/setjmp.S: Likewise.
26988         * sysdeps/alpha/setjmp.S: Likewise.
26989         * sysdeps/arm/__longjmp.S: Likewise.
26990         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26991         * sysdeps/arm/setjmp.S: Likewise.
26992         * sysdeps/arm/sysdep.h: Likewise.
26993         * sysdeps/generic/_itoa.h: Likewise.
26994         * sysdeps/generic/dl-sysdep.h: Likewise.
26995         * sysdeps/generic/ldsodefs.h: Likewise.
26996         * sysdeps/i386/dl-tls.h: Likewise.
26997         * sysdeps/i386/setjmp.S: Likewise.
26998         * sysdeps/m68k/setjmp.c: Likewise.
26999         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27000         * sysdeps/mach/hurd/opendir.c: Likewise.
27001         * sysdeps/posix/getcwd.c: Likewise.
27002         * sysdeps/posix/opendir.c: Likewise.
27003         * sysdeps/posix/profil.c: Likewise.
27004         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27005         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27006         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27007         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27008         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27009         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27010         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27011         * sysdeps/s390/dl-tls.h: Likewise.
27012         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27013         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27014         * sysdeps/sh/sh3/setjmp.S: Likewise.
27015         * sysdeps/sh/sh4/setjmp.S: Likewise.
27016         * sysdeps/unix/alpha/sysdep.h: Likewise.
27017         * sysdeps/unix/arm/sysdep.S: Likewise.
27018         * sysdeps/unix/i386/sysdep.S: Likewise.
27019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27020         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27021         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27022         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27023         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27024         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27025         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27026         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27027         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27028         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27029         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27030         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27031         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27034         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27035         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27036         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27037         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27038         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27039         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27041         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27042         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27043         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27044         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27046         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27047         * sysdeps/x86_64/setjmp.S: Likewise.
27049         * include/math.h: Use IS_IN instead of IS_IN_libm.
27050         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27051         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27052         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27053         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27054         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27055         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27056         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27057         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27058         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27059         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27060         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27061         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27062         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27063         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27064         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27065         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27066         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27067         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27068         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27069         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27070         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27071         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27072         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27073         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27074         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27075         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27076         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27077         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27078         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27079         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27080         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27081         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27082         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27084         Likewise.
27085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27086         Likewise.
27087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27088         Likewise.
27089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27090         Likewise.
27091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27092         Likewise.
27093         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27094         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27095         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27096         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27097         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27098         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27104         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27105         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27106         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27107         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27108         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27109         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27110         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27111         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27112         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27113         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27114         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27115         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27116         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27117         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27119         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27121         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27122         * nptl/pthreadP.h: Likewise.
27123         * nptl_db/structs.def: Likewise.
27124         * sysdeps/arm/sysdep.h: Likewise.
27125         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27126         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27127         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27128         * sysdeps/unix/alpha/sysdep.h: Likewise.
27129         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27130         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27131         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27132         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27133         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27134         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27135         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27136         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27137         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27138         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27139         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27140         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27141         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27142         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27147         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27150         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27151         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27152         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27153         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27154         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27156         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27157         * nptl/pthreadP.h: Likewise.
27158         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27159         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27160         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27161         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27162         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27163         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27164         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27165         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27166         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27167         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27168         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27169         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27171         Likewise.
27172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27173         Likewise.
27174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27176         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27177         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27179         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27180         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27181         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27183         * dlfcn/dladdr.c: Use IS_IN.
27184         * dlfcn/dladdr1.c: Likewise.
27185         * dlfcn/dlclose.c: Likewise.
27186         * dlfcn/dlerror.c: Likewise.
27187         * dlfcn/dlinfo.c: Likewise.
27188         * dlfcn/dlmopen.c: Likewise.
27189         * dlfcn/dlopen.c: Likewise.
27190         * dlfcn/dlsym.c: Likewise.
27191         * dlfcn/dlvsym.c: Likewise.
27193         * include/ifaddrs.h: Use IS_IN.
27194         * inet/check_pf.c: Likewise.
27195         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27196         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27198         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27199         IS_IN_ldconfig.
27200         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27201         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27203         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27204         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27205         IS_IN (libc).
27207         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27209         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27210         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27211         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27212         * include/libc-symbols.h (IS_IN_LIB): New macro.
27213         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27214         * include/netdb.h: Likewise.
27215         * include/stap-probe.h: Remove all uses of IN_LIB.
27217         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27218         instead of IN_MODULE.
27219         * include/libc-symbols.h (IN_MODULE): Define using
27220         MODULE_NAME.
27221         (PASTE_NAME, PASTE_NAME1): New macros.
27222         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27223         of IN_LIB.
27224         (STAP_PROBE_ASM): Likewise.
27226 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27228         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27229         __mach_init in dlopened libc.
27231 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27233         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27234         * sysdeps/arm/preconfigure: Regenerate.
27236 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27238         * nptl/pthread_create.c (__pthread_create_2_1): Set
27239         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27240         when copying values from IATTR into PD.
27242 2014-11-21  Will Newton  <will.newton@linaro.org>
27243             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27245         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27246         Refactor inline-asm.  Also add comment.
27248         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27249         ElfW macro instead of hardcoded Elf64 types.
27250         (la_aarch64_gnu_pltenter): Likewise.
27251         * sysdeps/aarch64/dl-machine.h
27252         (elf_machine_runtime_setup): Use ElfW(Addr).
27254         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27255         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27256         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27257         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27258         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27259         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27260         (R_AARCH64_TLS_DTPMOD): This.
27261         (R_AARCH64_TLS_DTPREL64): Rename to ...
27262         (R_AARCH64_TLS_DTPREL): This.
27263         (R_AARCH64_TLS_TPREL64): Rename to ...
27264         (R_AARCH64_TLS_TPREL): This.
27265         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27266         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27267         R_AARCH64_TLS_TPREL64.
27268         (elf_machine_rela): Likewise.
27270 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27272         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27273         by setting it to 0.  64b atomics are not supported currently.
27275 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27277         [BZ #16469]
27278         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27279         search domain names.
27281 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27283         [BZ #16469]
27284         * NEWS: Update.
27285         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27286         trailing dot.
27287         * posix/tst-getaddrinfo5.c: New.
27288         * posix/Makefile (tests): Add it.
27290 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27292         [BZ #14498]
27293         * NEWS: Fixed.
27294         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27295         after parsing line but before break_if_match.
27296         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27297         if there is a protocol mismatch.
27299 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27301         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27302         because the potential race is on the user-supplied stream.
27304 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27306         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27307         string literal if not passed a buffer.
27308         * manual/job.texi (ctermid): Update reasoning, note deviation
27309         from posix, suggest mtasurace when not passed a buffer, for
27310         future non-preliminary safety notes.
27312 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27314         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27315         of not passing it a buffer.
27316         Reported by Peng Haitao.
27318 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27320         * manual/Makefile ($(objpfx)stamp-summary): Require
27321         check-safety.sh to pass.
27322         * manual/check-safety.sh: Wish for verification that every
27323         @deftypefn and @deftypefun is followed by a @safety remark.
27325 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27327         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27329         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27330         PTHREAD_CANCEL_ASYNCHRONOUS.
27331         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27332         send SIGCANCEL.
27334         * nptl/default-sched.h: New file.
27335         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27336         * nptl/pthread_create.c: Include it.
27337         (__pthread_create_2_1): Use collect_default_sched instead of making
27338         Linux syscalls here directly.
27340 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27342         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27343         __pthread_once): Use C11 atomics.
27345 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27347         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27349 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27351         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27352         atomic_thread_fence_acquire, atomic_thread_fence_release,
27353         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27354         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27355         atomic_compare_exchange_weak_relaxed,
27356         atomic_compare_exchange_weak_acquire,
27357         atomic_compare_exchange_weak_release,
27358         atomic_exchange_acquire, atomic_exchange_release,
27359         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27360         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27361         atomic_fetch_and_acquire,
27362         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27364 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27366         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27367         USE_ATOMIC_COMPILER_BUILTINS): Define.
27368         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27369         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27370         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27372         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27374         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27375         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27376         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27377         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27378         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27379         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27380         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27381         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27382         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27383         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27384         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27386         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27387         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27388         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27389         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27390         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27391         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27392         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27393         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27394         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27395         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27396         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27397         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27398         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27399         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27400         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27401         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27402         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27403         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27404         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27405         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27406         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27407         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27409 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27411         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27412         the sched_priority value here.  It was already checked when the user
27413         called pthread_attr_setschedparam.
27415         * nptl/tst-bad-schedattr.c: New file.
27416         * nptl/Makefile (tests): Add it.
27418 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27419             Florian Weimer  <fweimer@redhat.com>
27420             Joseph Myers  <joseph@codesourcery.com>
27421             Adam Conrad  <adconrad@0c3.net>
27422             Andreas Schwab  <schwab@suse.de>
27423             Brooks  <bmoses@google.com>
27425         [BZ #17625]
27426         * wordexp-test.c (__dso_handle): Add prototype.
27427         (__register_atfork): Likewise.
27428         (__app_register_atfork): New function.
27429         (registered_forks): New global.
27430         (register_fork): New function.
27431         (test_case): Add 3 new tests for WRDE_CMDSUB.
27432         (main): Call __app_register_atfork.
27433         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27434         fork count is non-zero fail the test.
27435         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27436         is set.
27437         (parse_dollars): Remove check for WRDE_NOCMD.
27438         (parse_dquote): Likewise.
27440 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27442         * Makeconfig (built-modules): List non-library modules to be
27443         built.
27444         (module-cppflags): Include libc-modules.h for
27445         everything except shlib-versions.v.i.
27446         (CPPFLAGS): Use it.
27447         (before-compile): Add libc-modules.h.
27448         ($(common-objpfx)libc-modules.h,
27449         $(common-objpfx)libc-modules.stmp): New targets.
27450         (common-generated): Add libc-modules.h and libc-modules.stmp.
27451         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27452         * include/libc-symbols.h: Don't include libc-modules.h.
27453         * include/libc-modules.h: Remove file.
27454         * scripts/gen-libc-modules.awk: New script to generate
27455         libc-modules.h.
27456         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27457         Depend on libc-modules.stmp.
27459         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27461         * Makeconfig (in-module): Get value of libof set for the
27462         translation unit.
27463         (CPPFLAGS): Use $(in-module).
27464         * Makerules: Don't suffix routine names for nonlib.
27465         * include/libc-modules.h: New file.
27466         * include/libc-symbols.h: Include libc-modules.h
27467         (IS_IN): New macro to replace IS_IN_* macros.
27468         * elf/Makefile: Set libof-* for each routine.
27469         * elf/rtld-Rules: Likewise.
27470         * extra-modules.mk: Likewise.
27471         * iconv/Makefile: Likewise.
27472         * iconvdata/Makefile: Likewise.
27473         * locale/Makefile: Likewise.
27474         * malloc/Makefile: Likewise.
27475         * nss/Makefile: Likewise.
27476         * sysdeps/gnu/Makefile: Likewise.
27477         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27478         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27479         * sysdeps/s390/s390-64/Makefile: Likewise.
27480         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27481         CPPFLAGS for nscd instead of nonlib.
27483 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27485         * nptl/createthread.c: New file.
27487         * nptl/createthread.c: Moved ...
27488         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27490         * nptl/createthread.c: Add proper top-line comment.
27491         (do_clone): Folded into ...
27492         (create_thread): ... here.  Take new arguments STOPPED_START and
27493         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27494         increment __nptl_threads, do event-reporting logic, do
27495         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27496         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27497         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27498         just send SIGCANCEL.
27499         * nptl/pthread_create.c: Forward-declare create_thread before
27500         including createthread.c.
27501         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27502         declaration, and new macro START_THREAD_SELF to replace argument.
27503         Remove return statement.
27504         (report_thread_creation): New function.
27505         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27506         synchronization logic, and __nptl_nthreads increment here, around
27507         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27508         PD->parent_cancelhandling here, before create_thread.  When
27509         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27510         __deallocate_stack, and ENOMEM translation here.
27512 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27514         [BZ #17616]
27515         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27516         (mptwo): Rename to __mptwo.
27517         (__inv): Use __mptwo instead of mptwo.
27518         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27519         (mptwo): Rename to __mptwo.
27520         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27521         of mpone and __mptwo instead of mptwo.
27522         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27523         instead of mpone.
27524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27525         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27526         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27527         of mpone and __mptwo instead of mptwo.
27528         (__mpranred): Use __mpone instead of mpone.
27529         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27530         variable.
27531         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27532         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27533         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27534         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27535         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27536         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27537         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27538         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27539         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27540         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27541         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27542         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27543         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27544         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27545         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27546         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27547         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27548         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27549         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27551 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27553         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27554         replace BSD Handler xref with BSD Signal Handling.
27556 2014-11-17  Richard Henderson  <rth@redhat.com>
27558         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27559         (_FP_PACK_RAW_2): Remove.
27560         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27561         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27562         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27563         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27564         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27565         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27566         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27567         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27568         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27569         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27570         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27571         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27572         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27573         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27574         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27575         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27577 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27579         * signal/signal.h [__USE_MISC]
27580         (struct sigvec): Remove type.
27581         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27582         (sigvec): Remove declaration.
27583         * sysdeps/posix/sigvec.c: Moved ...
27584         * signal/sigvec.c: ... here, replacing old file.
27585         (struct sigvec): New type, copied from old signal.h definition.
27586         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27587         (__sigvec): Convert definition to prototype.
27588         (sigvec): Replace weak_alias with compat_symbol.
27589         * signal/Versions (libc: GLIBC_2.21): New version set.
27590         * include/signal.h: Remove __sigvec declaration.
27591         * sysdeps/unix/bsd/sigvec.c: Remove file.
27592         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27593         * manual/signal.texi (BSD Handler): Remove subsection.
27594         Move siginterrupt up to ...
27595         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27596         (Blocking in BSD): Fold subsection into its parent.
27597         * NEWS: Mention sigvec removal.
27599 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27601         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27602         (DLA_FMS): Make definition conditional only on [__FMA4__].
27603         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27604         definition.
27606         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27607         Make definition conditional only on [PROF].
27608         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27609         definition.
27610         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27611         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27613         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27614         !__GNUC__].
27615         * include/signal.h (__sigpause): Move declaration above call to
27616         libc_hidden_proto.
27617         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27618         variable.
27619         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27620         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27622 2014-11-14  David S. Miller  <davem@davemloft.net>
27624         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27625         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27627 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27629         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27630         * configure: Regenerated.
27631         * manual/install.texi (Tools for Compilation): Document a
27632         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27633         compiler verified to work.
27634         * INSTALL: Regenerated.
27636         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27637         redeclare with asm name.
27638         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27639         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27640         including <string.h>.
27641         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27642         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27643         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27644         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27645         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27646         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27647         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27649 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27651         * stdlib/strtol.c (__strtol): Use prototype definition.
27653         [BZ #17594]
27654         * stdlib/strtol.c (SYM__): New macro.
27655         (SYM__1): Likewise.
27656         (__strtol): Likewise.
27657         (strtol): Rename to __strtol and define as weak alias of
27658         __strtol.  Use libc_hidden_weak.
27660 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27662         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27663         Use numbered labels in inline assembly.
27665 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27667         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27668         Add setjmp LIBC_PROBE.
27669         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27670         Likewise.
27671         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27672         Add longjmp, longjmp_target LIBC_PROBE.
27673         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27674         Likewise.
27676 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27678         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27679         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27680         to get rid of unused variable warning.
27682 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27684         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27685         Check for unwind_backtrace ==  NULL only in SHARED case.
27686         (__backchain_backtrace): Compile only in SHARED case.
27687         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27688         Likewise.
27689         (__backchain_backtrace): Declare as static.
27691 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27693         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27694         (__libc_multiple_threads_ptr): Variable moved ...
27695         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27697 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27699         * conform/GlibcConform.pm: New file.
27700         * conform/conformtest.pl: Use GlibcConform module.
27701         * conform/linknamespace.pl: New file.
27702         * conform/list-header-symbols.pl: Likewise.
27703         * conform/Makefile (linknamespace-symlists-base): New variable.
27704         (linknamespace-symlists-tests): Likewise.
27705         (linknamespace-header-base): Likewise.
27706         (linknamespace-header-tests): Likewise.
27707         (tests-special): Add new tests.
27708         ($(linknamespace-symlists-tests)): New rule.
27709         (linknamespace-libs): New variable.
27710         ($(objpfx)symlist-stdlibs): New rule.
27711         ($(linknamespace-header-tests)): Likewise.
27712         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27713         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27714         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27715         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27716         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27717         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27718         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27719         (test-xfail-ISO/math.h/linknamespace): Likewise.
27720         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27721         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27722         (test-xfail-ISO/time.h/linknamespace): Likewise.
27723         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27724         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27725         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27726         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27727         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27728         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27729         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27730         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27731         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27732         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27733         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27734         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27735         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27736         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27737         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27738         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27739         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27740         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27741         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27742         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27743         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27744         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27745         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27746         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27747         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27748         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27749         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27750         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27751         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27752         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27753         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27754         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27755         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27756         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27757         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27758         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27759         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27760         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27761         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27762         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27763         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27764         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27765         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27766         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27767         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27768         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27769         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27770         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27771         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27772         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27773         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27774         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27775         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27776         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27777         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27778         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27779         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27780         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27781         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27782         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27783         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27784         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27785         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27786         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27787         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27788         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27789         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27790         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27791         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27792         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27793         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27794         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27795         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27796         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27797         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27798         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27799         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27800         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27801         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27802         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27803         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27804         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27805         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27806         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27807         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27808         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27809         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27810         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27811         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27812         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27813         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27814         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27815         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27816         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27817         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27818         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27819         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27820         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27821         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27822         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27823         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27824         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27825         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27826         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27827         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27828         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27829         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27830         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27831         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27832         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27833         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27834         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27835         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27836         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27837         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27838         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27839         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27840         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27841         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27842         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27843         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27844         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27845         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27846         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27847         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27848         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27849         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27850         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27851         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27852         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27853         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27854         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27855         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27856         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27857         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27858         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27859         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27860         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27861         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27862         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27863         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27864         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27865         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27866         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27867         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27868         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27869         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27870         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27871         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27872         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27874         [BZ #17589]
27875         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27876         of fgets_unlocked.
27878         [BZ #17585]
27879         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27880         (memmem): Rename to __memmem and define as weak alias of
27881         __memmem.  Use libc_hidden_weak.
27882         (__memmem): Use libc_hidden_def.
27883         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27884         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27885         memmem.
27887         [BZ #17582]
27888         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27889         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27890         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27891         and define as weak alias of __fgets_unlocked.  Use
27892         libc_hidden_weak.
27893         (__fgets_unlocked): Use libc_hidden_def.
27894         * include/stdio.h (__fgets_unlocked): Declare.  Use
27895         libc_hidden_proto.
27896         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27897         __fgets_unlocked instead of fgets_unlocked.
27898         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27899         (GET_NPROCS_CONF_PARSER): Likewise.
27900         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27901         (GET_NPROCS_CONF_PARSER): Likewise.
27903         [BZ #17574]
27904         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27905         weak alias of __wmemset.  Use libc_hidden_weak.
27906         (__wmemset): Use libc_hidden_def.
27907         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27908         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27909         of wmemset.
27911         [BZ #17573]
27912         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27913         with asm name __mempcpy.
27914         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27916         [BZ #17572]
27917         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27918         and define as weak alias of __rawmemchr.
27919         (__rawmemchr): Do not define as strong alias of rawmemchr.
27921         [BZ #17571]
27922         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27923         alias of __qsort_r.
27924         (qsort): Call __qsort_r instead of qsort_r.
27925         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27926         (__qsort_r): Declare.  Call libc_hidden_proto.
27927         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27928         instead of qsort_r.
27929         * nscd/gai.c (__qsort_r): Define to qsort_r.
27930         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27931         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27932         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27934         [BZ #17570]
27935         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27936         define as weak alias of __malloc_info.
27938         [BZ #17584]
27939         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27940         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27941         (__rewinddir): Use libc_hidden_def.
27942         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27943         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27944         (__rewinddir): Use libc_hidden_def.
27945         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27946         weak alias of __rewinddir.  Don't use libc_hidden_def.
27947         (__rewinddir): Use libc_hidden_def.
27948         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27949         (__rewinddir): Use libc_hidden_proto.
27950         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27951         rewinddir.
27952         (__getcwd): Use __rewinddir instead of rewinddir.
27954         [BZ #17583]
27955         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27956         alias of __fileno.  Use libc_hidden_weak.
27957         (__fileno): Use libc_hidden_def.
27958         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27959         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27960         alias of __ftello.
27961         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27962         __ftello.
27963         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27964         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27965         libc_hidden_def.
27966         (fread_unlocked): Don't use libc_hidden_ver.
27967         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27968         and define as weak alias of __fread_unlocked.  Don't use
27969         libc_hidden_def.
27970         (__fread_unlocked): Use libc_hidden_def.
27971         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27972         (ftello): Don't use libc_hidden_proto.
27973         (__ftello): Declare.  Use libc_hidden_proto.
27974         (fread_unlocked): Don't use libc_hidden_proto.
27975         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27976         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27977         and __ftello instead of fileno, fread_unlocked and ftello.
27979 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27981         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27982         GOT12.
27983         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27984         Likewise.
27985         (_dl_start_user): Likewise.
27986         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27988 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27989             Siddhesh Poyarekar  <siddhesh@redhat.com>
27991         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27992         Move argv and envp down instead of moving argc up.
27993         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27995 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27997         [BZ #17506]
27998         * test-skeleton.c (main): Return successful if one of
27999         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28000         * string/tst-strcoll-overflow.c: Define expected status.
28002 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28004         [BZ #17475]
28005         * locale/iso-639.def: Define Bhili and Tulu language codes.
28007 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28009         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28011 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28013         [BZ #17555]
28014         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28016 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28018         * configure.ac: Updated check of minimal required version to
28019         2.22.
28020         * manual/install.texi (Tools for Compilation): Updated version
28021         number.
28022         * configure: Regenerated.
28023         * INSTALL: Likewise.
28025 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28027         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28028         __tls_get_addr.
28030 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28032         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28033         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28034         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28035         libc_hidden_weak.
28036         (waitpid): Define as alias of __waitpid.
28037         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28038         __waitpid.
28039         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28040         libc_hidden_weak.
28041         (waitpid): Define as alias of __waitpid.
28042         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28043         __libc_waitpid alias.
28044         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28045         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28046         Likewise.
28047         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28048         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28049         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28050         alias.
28051         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28052         __waitpid.
28053         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28054         libc_hidden_weak.
28055         (waitpid): Define as alias of __waitpid.
28057 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28059         * manual/llio.texi: Add comment that write safety has been
28060         fixed in Linux.
28062         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28063         (localplt-build-dso): Add elf/ld.so.
28064         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28065         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28066         and free for ld.so.
28067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28068         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28070         Likewise.
28071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28072         Likewise.
28073         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28074         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28075         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28076         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28077         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28078         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28079         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28080         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28081         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28082         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28083         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28085 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28087         [BZ #14132]
28088         * include/libc-symbols.h (INTUSE): Remove macro.
28089         (INTDEF): Likewise.
28090         (INTVARDEF): Likewise.
28091         (_INTVARDEF): Likewise.
28092         (INTDEF2): Likewise.
28093         (INTVARDEF2): Likewise.
28094         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28095         rtld_hidden_def instead of INTVARDEF.
28096         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28097         (_dl_starting_up_internal): Remove declaration.
28098         (_dl_starting_up): Use rtld_hidden_proto.
28099         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28100         declaration.
28101         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28102         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28103         _dl_starting_up.
28104         * elf/dl-writev.h (_dl_writev): Likewise.
28105         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28106         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28107         _dl_starting_up_internal.
28109 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28111         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28112         test-skeleton.c.
28114 2014-11-05  Will Newton  <will.newton@linaro.org>
28116         * benchtests/Makefile: (bench-malloc): Add malloc thread
28117         scalability benchmark.
28118         * benchtests/bench-malloc-threads.c: New file.
28120 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28122         * sysdeps/aarch64/strchrnul.S: New file.
28124 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28126         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28127         definition.
28128         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28129         Likwise.
28130         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28131         Likewise.
28132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28133         Likewise.
28134         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28135         Likewise.
28136         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28137         Likewise.
28139 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28141         * catgets/test-gencat.c: Use test-skeleton.c.
28142         * catgets/tst-catgets.c: Likewise.
28143         * csu/tst-empty.c: Likewise.
28144         * elf/tst-audit2.c: Likewise.
28145         * elf/tst-global1.c: Likewise.
28146         * elf/tst-pathopt.c: Likewise.
28147         * elf/tst-piemod1.c: Likewise.
28148         * elf/tst-tls10.c: Likewise.
28149         * elf/tst-tls11.c: Likewise.
28150         * elf/tst-tls12.c: Likewise.
28151         * gnulib/tst-gcc.c: Likewise.
28152         * iconvdata/tst-e2big.c: Likewise.
28153         * iconvdata/tst-loading.c: Likewise.
28154         * iconv/tst-iconv1.c: Likewise.
28155         * iconv/tst-iconv2.c: Likewise.
28156         * inet/test-inet6_opt.c: Likewise.
28157         * inet/tst-gethnm.c: Likewise.
28158         * inet/tst-network.c: Likewise.
28159         * inet/tst-ntoa.c: Likewise.
28160         * intl/tst-codeset.c: Likewise.
28161         * intl/tst-gettext2.c: Likewise.
28162         * intl/tst-gettext3.c: Likewise.
28163         * intl/tst-ngettext.c: Likewise.
28164         * intl/tst-translit.c: Likewise.
28165         * io/test-stat.c: Likewise.
28166         * libio/test-fmemopen.c: Likewise.
28167         * libio/tst-freopen.c: Likewise.
28168         * libio/tst-sscanf.c: Likewise.
28169         * libio/tst-ungetwc1.c: Likewise.
28170         * libio/tst-ungetwc2.c: Likewise.
28171         * libio/tst-widetext.c: Likewise.
28172         * localedata/tst-ctype.c: Likewise.
28173         * localedata/tst-digits.c: Likewise.
28174         * localedata/tst-leaks.c: Likewise.
28175         * localedata/tst-mbswcs1.c: Likewise.
28176         * localedata/tst-mbswcs2.c: Likewise.
28177         * localedata/tst-mbswcs3.c: Likewise.
28178         * localedata/tst-mbswcs4.c: Likewise.
28179         * localedata/tst-mbswcs5.c: Likewise.
28180         * localedata/tst-setlocale.c: Likewise.
28181         * localedata/tst-trans.c: Likewise.
28182         * localedata/tst-wctype.c: Likewise.
28183         * localedata/tst-xlocale1.c: Likewise.
28184         * login/tst-grantpt.c: Likewise.
28185         * malloc/tst-calloc.c: Likewise.
28186         * malloc/tst-malloc.c: Likewise.
28187         * malloc/tst-mallocstate.c: Likewise.
28188         * malloc/tst-mcheck.c: Likewise.
28189         * malloc/tst-mtrace.c: Likewise.
28190         * malloc/tst-obstack.c: Likewise.
28191         * math/atest-exp2.c: Likewise.
28192         * math/atest-exp.c: Likewise.
28193         * math/atest-sincos.c: Likewise.
28194         * math/test-matherr.c: Likewise.
28195         * math/test-misc.c: Likewise.
28196         * math/test-powl.c: Likewise.
28197         * math/tst-definitions.c: Likewise.
28198         * misc/tst-dirname.c: Likewise.
28199         * misc/tst-efgcvt.c: Likewise.
28200         * misc/tst-fdset.c: Likewise.
28201         * misc/tst-hsearch.c: Likewise.
28202         * misc/tst-mntent2.c: Likewise.
28203         * nptl/tst-sem7.c: Likewise.
28204         * nptl/tst-sem8.c: Likewise.
28205         * nptl/tst-sem9.c: Likewise.
28206         * nss/test-netdb.c: Likewise.
28207         * posix/tst-fnmatch.c: Likewise.
28208         * posix/tst-getlogin.c: Likewise.
28209         * posix/tst-gnuglob.c: Likewise.
28210         * posix/tst-mmap.c: Likewise.
28211         * pwd/tst-getpw.c: Likewise.
28212         * resolv/tst-inet_ntop.c: Likewise.
28213         * rt/tst-timer.c: Likewise.
28214         * stdio-common/test-fseek.c: Likewise.
28215         * stdio-common/test-popen.c: Likewise.
28216         * stdio-common/test-vfprintf.c: Likewise.
28217         * stdio-common/tst-cookie.c: Likewise.
28218         * stdio-common/tst-fileno.c: Likewise.
28219         * stdio-common/tst-gets.c: Likewise.
28220         * stdio-common/tst-obprintf.c: Likewise.
28221         * stdio-common/tst-perror.c: Likewise.
28222         * stdio-common/tst-sprintf2.c: Likewise.
28223         * stdio-common/tst-sprintf3.c: Likewise.
28224         * stdio-common/tst-sprintf.c: Likewise.
28225         * stdio-common/tst-swprintf.c: Likewise.
28226         * stdio-common/tst-tmpnam.c: Likewise.
28227         * stdio-common/tst-unbputc.c: Likewise.
28228         * stdio-common/tst-wc-printf.c: Likewise.
28229         * stdlib/tst-environ.c: Likewise.
28230         * stdlib/tst-fmtmsg.c: Likewise.
28231         * stdlib/tst-limits.c: Likewise.
28232         * stdlib/tst-rand48-2.c: Likewise.
28233         * stdlib/tst-rand48.c: Likewise.
28234         * stdlib/tst-random2.c: Likewise.
28235         * stdlib/tst-random.c: Likewise.
28236         * stdlib/tst-strtol.c: Likewise.
28237         * stdlib/tst-strtoll.c: Likewise.
28238         * stdlib/tst-tls-atexit.c: Likewise.
28239         * stdlib/tst-xpg-basename.c: Likewise.
28240         * string/test-ffs.c: Likewise.
28241         * string/tst-bswap.c: Likewise.
28242         * string/tst-inlcall.c: Likewise.
28243         * string/tst-strtok.c: Likewise.
28244         * string/tst-strxfrm.c: Likewise.
28245         * sysdeps/x86_64/tst-audit10.c: Likewise.
28246         * sysdeps/x86_64/tst-audit3.c: Likewise.
28247         * sysdeps/x86_64/tst-audit4.c: Likewise.
28248         * sysdeps/x86_64/tst-audit5.c: Likewise.
28249         * time/tst-ftime_l.c: Likewise.
28250         * time/tst-getdate.c: Likewise.
28251         * time/tst-mktime3.c: Likewise.
28252         * time/tst-mktime.c: Likewise.
28253         * time/tst-posixtz.c: Likewise.
28254         * time/tst-strptime2.c: Likewise.
28255         * time/tst-strptime3.c: Likewise.
28256         * wcsmbs/tst-btowc.c: Likewise.
28257         * wcsmbs/tst-mbrtowc.c: Likewise.
28258         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28259         * wcsmbs/tst-wchar-h.c: Likewise.
28260         * wcsmbs/tst-wcpncpy.c: Likewise.
28261         * wcsmbs/tst-wcrtomb.c: Likewise.
28262         * wcsmbs/tst-wcsnlen.c: Likewise.
28263         * wcsmbs/tst-wcstof.c: Likewise.
28265 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28267         [BZ #14132]
28268         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28269         INTDEF.
28270         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28271         declaration.
28272         (_dl_mcount): Use rtld_hidden_proto.
28273         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28274         _dl_mcount.
28275         * elf/rtld.c (_rtld_global_ro): Likewise.
28277         [BZ #14132]
28278         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28279         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28280         of _dl_init_internal.
28281         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28282         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28283         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28284         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28285         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28286         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28287         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28288         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28289         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28290         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28291         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28292         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28293         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28294         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28295         * sysdeps/tile/dl-start.S (_start): Likewise.
28296         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28297         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28299         [BZ #14132]
28300         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28301         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28302         (rtld_progname): Make macro definition unconditional.
28303         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28304         INTDEF.
28305         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28306         (dl_main): Likewise.
28307         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28308         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28309         instead of _dl_argv_internal.
28310         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28311         __GI__dl_argv instead of INTUSE(_dl_argv).
28312         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28313         __GI__dl_argv instead of _dl_argv_internal.
28315         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28316         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28317         macro.
28318         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28319         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28320         New macro.
28321         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28322         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28323         macro.
28324         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28325         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28327 2014-11-04  Andreas Schwab  <schwab@suse.de>
28329         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28331 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28333         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28334         mtvsrd instruction in binary form.
28336 2014-11-03  Andreas Schwab  <schwab@suse.de>
28338         [BZ #17522]
28339         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28340         for less than MB_LEN_MAX use a local buffer of that size.
28341         * libio/tst-fputws.c: New file.
28342         * libio/Makefile (tests): Add tst-fputws.
28344 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28346         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28347         the size of the fpu_fr.fpu_dregs[] array.
28349 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28351         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28352         (__nanosleep): Do not define as alias.
28353         (nanosleep): Define as alias of __nanosleep.
28354         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28355         __libc_nanosleep name.
28357 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28359         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28360         install.texi in comment.
28362 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28364         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28365         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28366         ... add here and use lwsync or sync ...
28367         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28368         ... and add here using lwsync.
28370 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28372         * elf/dl-machine-reject-phdr.h: New file.
28373         * elf/dl-load.c: #include that.
28374         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28375         if that returned true.
28377 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28379         [BZ #17496]
28380         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28381         gen-as-const-headers chunk.  Add a big scare comment after the last
28382         safe place to touch before-compile.
28384 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28386         * manual/install.texi (Tools for Compilation): Update autoconf
28387         version requirements.
28388         * INSTALL: Regenerated.
28390         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28391         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28392         (__libc_pselect): Likewise.
28394         [BZ #14138]
28395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28400 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28402         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28403         correct barrier instruction.
28404         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28405         Likewise.
28406         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28407         Likewise.
28409 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28411         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28412         after defining inlines.  Instead, just use parens to defeat macro
28413         expansion of __isctype in its declaration.
28415 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28417         * include/sys/uio.h (__libc_readv): Remove declaration.
28418         (__libc_writev): Likewise.
28419         * misc/readv.c (__libc_readv): Rename to __readv.
28420         (__readv): Do not define as alias.
28421         (readv): Define as alias of __readv.
28422         * misc/writev.c (__libc_writev): Rename to __writev.
28423         (__writev): Do not define as alias.
28424         (writev): Define as alias of __writev.
28425         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28426         (__readv): Do not define as alias.
28427         (readv): Define unconditionally as alias of __readv.
28428         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28429         (__writev): Do not define as alias.
28430         (writev): Define unconditionally as alias of __writev.
28431         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28432         name.
28433         (writev): Do not define __libc_writev name.
28435 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28437         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28438         (convert_charseq): New function, broken out of ...
28439         (use_from_charmap): ... here.  Call it.
28440         (use_to_charmap): Use convert_charseq and free instead of duplicating
28441         its code with a variable-length stack struct.
28443 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28445         * include/fcntl.h (__libc_creat): Remove declaration.
28446         * io/creat.c (__libc_creat): Rename to creat.
28447         (creat): Do not define as alias.
28448         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28449         of creat instead of __libc_creat.
28450         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28451         to creat.
28452         (creat): Do not define as alias.
28453         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28454         __libc_creat.
28455         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28456         __libc_creat name.
28457         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28458         Likewise.
28460 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28462         * manual/llio.texi: Add comments discussing why write() may be
28463         considered MT-unsafe on Linux.
28465 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28467         * dl-load.c (local_strdup): Remove.
28468         (expand_dynamic_string_token): Use __strdup.
28469         (decompose_rpath): Likewise.
28470         (_dl_map_object): Likewise.
28472 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28474         [BZ #14132]
28475         * sysdeps/generic/unwind-dw2-fde.c
28476         (__register_frame_info_bases_internal): Do not declare.
28477         (__register_frame_info_table_bases_internal): Likewise.
28478         (__deregister_frame_info_bases_internal): Likewise.
28479         (__register_frame_info_bases): Declare and use hidden_proto before
28480         definition.  Use hidden_def instead of INTDEF.
28481         (__register_frame_info_table_bases): Likewise.
28482         (__deregister_frame_info_bases): Likewise.
28483         (__register_frame_info): Do not use INTUSE.
28484         (__register_frame): Likewise.
28485         (__register_frame_info_table): Likewise.
28486         (__register_frame_table): Likewise.
28487         (__deregister_frame_info): Likewise.
28488         (__deregister_frame): Likewise.
28490 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28492         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28493         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28494         not undefine.
28495         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28496         Likewise.
28497         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28498         Likewise.
28500 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28502         [BZ #14138]
28503         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28504         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28505         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28506         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28507         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28508         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28509         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28510         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28511         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28512         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28513         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28514         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28515         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28516         syscall.
28517         (setfsuid): Likewise.
28518         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28519         (setfsuid): Likewise.
28520         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28521         (setfsuid): Likewise.
28522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28523         Likewise.
28524         (setfsuid): Likewise.
28525         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28526         (setfsuid): Likewise.
28527         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28528         Likewise.
28529         (setfsuid): Likewise.
28531 2014-10-27  Andreas Schwab  <schwab@suse.de>
28533         [BZ #17501]
28534         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28535         check for Slow_SSE4_2 feature bit.
28536         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28537         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28538         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28539         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28541 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28543         * configure.ac: Validate compiler version with a empirical test of
28544         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28545         $CC -v output.
28546         * configure: Regenerated.
28548         * inet/htons.c (htons): Prototypify.
28549         * inet/htonl.c (htonl): Likewise.
28551 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28553         * string/strncat.c (strncat): Improve performance by using strlen.
28555 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28557         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28559 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28561         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28562         Call libc_fetestexcept_aarch64.
28564 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28566         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28567         Call libc_feholdexcept_aarch64.
28569 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28571         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28572         Call get_rounding_mode.
28574 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28576         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28577         Simplify logic.
28579 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28581         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28582         Simplify logic.
28584 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28586         [BZ #14138]
28587         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28588         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28589         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28590         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28591         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28592         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28593         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28594         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28595         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28596         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28597         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28598         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28599         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28600         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28601         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28602         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28603         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28604         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28605         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28606         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28607         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28608         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28609         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28610         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28611         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28612         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28613         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28614         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28615         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28616         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28617         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28618         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28619         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28620         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28621         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28622         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28623         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28624         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28625         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28626         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28627         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28628         syscall.
28629         (geteuid): Likewise.
28630         (getgid): Likewise.
28631         (getuid): Likewise.
28632         (getresgid): Likewise.
28633         (getresuid): Likewise.
28634         (getgroups): Likewise.
28635         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28636         (geteuid): Likewise.
28637         (getgid): Likewise.
28638         (getuid): Likewise.
28639         (getresgid): Likewise.
28640         (getresuid): Likewise.
28641         (getgroups): Likewise.
28642         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28643         (geteuid): Likewise.
28644         (getgid): Likewise.
28645         (getuid): Likewise.
28646         (getresgid): Likewise.
28647         (getresuid): Likewise.
28648         (getgroups): Likewise.
28649         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28650         Likewise.
28651         (geteuid): Likewise.
28652         (getgid): Likewise.
28653         (getuid): Likewise.
28654         (getresgid): Likewise.
28655         (getresuid): Likewise.
28656         (getgroups): Likewise.
28657         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28658         (geteuid): Likewise.
28659         (getgid): Likewise.
28660         (getuid): Likewise.
28661         (getresgid): Likewise.
28662         (getresuid): Likewise.
28663         (getgroups): Likewise.
28664         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28665         Likewise.
28666         (geteuid): Likewise.
28667         (getgid): Likewise.
28668         (getuid): Likewise.
28669         (getgroups): Likewise.
28671         [BZ #14138]
28672         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28673         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28674         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28675         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28676         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28677         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28678         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28679         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28680         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28681         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28682         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28683         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28684         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28685         __chown.
28686         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28687         (lchown): Likewise.
28688         (fchown): Likewise.
28689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28690         Likewise.
28691         (lchown): Likewise.
28692         (fchown): Likewise.
28693         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28694         (lchown): Likewise.
28695         (fchown): Likewise.
28696         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28697         Likewise.
28698         (lchown): Likewise.
28699         (fchown): Likewise.
28701 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28703         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28704         Simplify logic.
28706 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28708         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28709         Cleanup logic.
28711 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28713         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28714         Remove unused include.
28716 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28718         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28719         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28720         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28721         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28723 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28724             Helge Deller <deller@gmx.de>
28726         [BZ #17508]
28727         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28728         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28729         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28731 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28733         [BZ #14132]
28734         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28735         Remove macro definition.
28736         (__ashrdi3_v_glibc20): Likewise.
28737         (__lshrdi3_v_glibc20): Likewise.
28738         (__cmpdi2_v_glibc20): Likewise.
28739         (__ucmpdi2_v_glibc20): Likewise.
28740         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28741         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28742         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28743         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28744         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28745         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28747 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28749         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28750         old GNU extension [0] syntax.
28751         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28752         alloca rather than an array member with variable length.
28753         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28754         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28755         (parse_opt): ... here.  Likewise use alloca there.
28756         Validate the -i argument before checking for rootness.
28757         (send_shutdown): New function, broken out of ...
28758         (parse_opt): ... here.
28760 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28762         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28763         macro to get at the _rt_local_ro field.
28764         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28765         ([PIC] case) or _dl_hwcap ([!PIC] case).
28766         * sysdeps/arm/setjmp.S: Likewise.
28768         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28769         * sysdeps/arm/configure.ac: New check to define it.
28770         * sysdeps/arm/configure: Regenerated.
28771         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28772         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28773         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28774         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28775         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28776         Use move/movt pair instead of a load.
28777         (LDST_GLOBAL): Macro removed.
28778         (LDR_GLOBAL): New macro replaces it.
28779         (LDR_HIDDEN): New macro.
28780         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28781         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28783         * setjmp/tst-setjmp-static.c: New file.
28784         * setjmp/Makefile (tests): Add it.
28785         (tests-static): New variable.
28787 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28789         [BZ #17485]
28790         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28792 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28794         [BZ #14132]
28795         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28797 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28799         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28801 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28803         * io/fts.c (dirent_not_directory): New function.
28804         (fts_build): Call it.
28806 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28808         * nptl/version.c (__nptl_main): Use normal __write rather than
28809         INTERNAL_SYSCALL.
28810         (banner): Update copyright years.
28812         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28813         gettimeofday.
28814         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28815         * nptl/pthread_cond_timedwait.c: Likewise.
28816         * nptl/pthread_mutex_timedlock.c: Likewise.
28817         * nptl/sem_timedwait.c: Likewise.
28819         * sysdeps/nptl/bits/libc-lock.h
28820         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28821         (__libc_lock_init_recursive): Return void, not 0.
28822         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28823         (__libc_rwlock_init): Likewise.
28824         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28826 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28828         [BZ #15215]
28829         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28830         (__pthread_once_slow): ... here.
28831         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28832         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28834 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28836         [BZ #15215]
28837         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28838         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28839         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28840         * nptl/pthread_once.c (__pthread_once): Likewise.
28841         Update comments.
28843 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28845         [BZ #14138]
28846         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28847         name.
28848         (writev): Use __libc_writev as strong name.
28849         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28850         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28852 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28854         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28856         * sysdeps/i386/nptl/tls.h
28857         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28858         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28859         New macros.
28860         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28861         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28862         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28863         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28864         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28865         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28867         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28868         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28869         on [__NR_futex].
28870         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28871         broken out of ...
28872         (__pthread_mutex_init): ... here.  Call it.
28873         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28874         Conditionalize PI cases on [__NR_futex].
28875         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28876         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28877         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28879         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28880         conditional on [SIGSETXID].
28881         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28882         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28883         is defined.  Likewise for SIGSETXID.
28884         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28885         Conditionalize definitions on [SIGSETXID].
28886         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28887         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28888         unblocking on [SIGCANCEL].
28890         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28891         [__NR_set_robust_list].
28893 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28895         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28896         (do_compare): Likewise.
28898 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28900         [BZ #15884]
28901         * string/strcoll_l.c: Don't include stdio.h.
28902         (coll_seq): Remove members idxarr and rulearr.
28903         (get_next_seq_cached): Remove function.
28904         (get_next_seq): Likewise.
28905         (get_next_seq_nocache): Rename to get_next_seq.
28906         (do_compare): Remove function.
28907         (do_compare_nocache): Rename to do_compare.
28908         (STRCOLL): Remove weight and rules cache.
28910 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28912         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28913         * sysdeps/arm/sfp-machine.h: ... to here.
28914         * sysdeps/arm/Implies: Remove arm/soft-fp.
28916 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28918         * conform/data/sys/utsname.h-data (*_t): Allow.
28919         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28920         [POSIX] (WEXITED): Do not expect constant.
28921         [POSIX] (WSTOPPED): Likewise.
28922         [POSIX] (WNOHANG): Likewise.
28923         [POSIX] (WNOWAIT): Likewise.
28924         [POSIX] (siginfo_t): Do not expect type or elements.
28925         [POSIX] (pid_t): Do not expect type.
28926         [POSIX] (signal.h): Do not allow header.
28927         [POSIX] (sys/resource.h): Likewise.
28928         [POSIX] (si_*): Do not allow pattern.
28929         [POSIX] (W*): Likewise.
28930         [POSIX] (P_*): Likewise.
28931         [POSIX] (BUS_*): Likewise.
28932         [POSIX] (CLD_*): Likewise.
28933         [POSIX] (FPE_*): Likewise.
28934         [POSIX] (ILL_*): Likewise.
28935         [POSIX] (POLL_*): Likewise.
28936         [POSIX] (SEGV_*): Likewise.
28937         [POSIX] (SI_*): Likewise.
28938         [POSIX] (TRAP_*): Likewise.
28939         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28940         variable.
28942 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28944         [BZ #12926]
28945         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28946         infinite loop when __recvmsg returns 0.
28948 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28950         * CANCEL-FCT-WAIVE: Remove file.
28951         * CANCEL-FILE-WAIVE: Likewise.
28953         [BZ #14132]
28954         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28955         instead of INTVARDEF.
28956         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28957         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28958         rtld_hidden_data_def instead of INTVARDEF.
28959         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28960         * elf/dl-deps.c (expand_dst): Likewise.
28961         * elf/dl-load.c (_dl_dst_count): Likewise.
28962         (_dl_dst_substitute): Likewise.
28963         (decompose_rpath): Likewise.
28964         (_dl_init_paths): Likewise.
28965         (open_path): Likewise.
28966         (_dl_map_object): Likewise.
28967         * elf/rtld.c (dl_main): Likewise.
28968         (process_dl_audit): Likewise.
28969         (process_envvars): Likewise.
28970         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28971         Remove declaration.
28972         (__libc_enable_secure): Use rtld_hidden_proto.
28974 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28976         * elf/dl-load.c
28977         (add_path): New function broken out of _dl_rtld_di_serinfo.
28978         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28980 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28982         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28983         parentheses around macro arguments.
28984         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28985         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28986         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28987         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28988         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28991         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28994         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28995         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28996         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28997         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28998         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28999         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29000         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29001         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29003         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29004         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29005         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29006         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29009         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29012         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29013         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29014         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29015         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29016         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29017         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29018         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29019         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29020         Likewise.
29021         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29022         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29023         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29024         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29025         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29028         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29029         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29030         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29031         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29032         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29033         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29034         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29035         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29038         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29039         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29042         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29043         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29044         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29045         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29046         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29047         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29048         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29049         (_FP_FRAC_SRS_1): Likewise.
29050         (_FP_FRAC_CLZ_1): Likewise.
29051         (_FP_MUL_MEAT_1_imm): Likewise.
29052         (_FP_MUL_MEAT_1_wide): Likewise.
29053         (_FP_MUL_MEAT_1_hard): Likewise.
29054         (_FP_SQRT_MEAT_1): Likewise.
29055         (_FP_FRAC_ASSEMBLE_1): Likewise.
29056         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29057         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29058         (__FP_CLZ_2): Likewise.
29059         (_FP_MUL_MEAT_2_wide): Likewise.
29060         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29061         (_FP_MUL_MEAT_2_gmp): Likewise.
29062         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29063         (_FP_SQRT_MEAT_2): Likewise.
29064         (_FP_FRAC_ASSEMBLE_2): Likewise.
29065         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29066         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29067         (_FP_FRAC_CLZ_4): Likewise.
29068         (_FP_MUL_MEAT_4_wide): Likewise.
29069         (_FP_MUL_MEAT_4_gmp): Likewise.
29070         (_FP_SQRT_MEAT_4): Likewise.
29071         (_FP_FRAC_ASSEMBLE_4): Likewise.
29072         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29073         * soft-fp/op-common.h (_FP_CMP): Likewise.
29074         (_FP_CMP_EQ): Likewise.
29075         (_FP_CMP_UNORD): Likewise.
29076         (_FP_TO_INT): Likewise.
29077         (_FP_FROM_INT): Likewise.
29078         [!__FP_CLZ] (__FP_CLZ): Likewise.
29079         (_FP_DIV_HELP_imm): Likewise.
29080         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29081         Likewise.
29082         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29083         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29084         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29085         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29086         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29089         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29093         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29094         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29095         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29096         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29097         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29098         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29099         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29100         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29101         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29102         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29103         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29104         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29107         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29111         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29112         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29113         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29114         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29115         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29116         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29117         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29118         (FP_UNPACK_RAW_SP): Likewise.
29119         (FP_PACK_RAW_S): Likewise.
29120         (FP_PACK_RAW_SP): Likewise.
29121         (FP_UNPACK_S): Likewise.
29122         (FP_UNPACK_SP): Likewise.
29123         (FP_UNPACK_SEMIRAW_S): Likewise.
29124         (FP_UNPACK_SEMIRAW_SP): Likewise.
29125         (FP_PACK_S): Likewise.
29126         (FP_PACK_SP): Likewise.
29127         (FP_PACK_SEMIRAW_S): Likewise.
29128         (FP_PACK_SEMIRAW_SP): Likewise.
29129         (_FP_SQRT_MEAT_S): Likewise.
29130         (FP_CMP_S): Likewise.
29131         (FP_CMP_EQ_S): Likewise.
29132         (FP_CMP_UNORD_S): Likewise.
29133         (FP_TO_INT_S): Likewise.
29134         (FP_FROM_INT_S): Likewise.
29136         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29138         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29139         (FP_EX_INVALID_IMZ): Likewise.
29140         (FP_EX_INVALID_IMZ_FMA): Likewise.
29141         (FP_EX_INVALID_ISI): Likewise.
29142         (FP_EX_INVALID_ZDZ): Likewise.
29143         (FP_EX_INVALID_IDI): Likewise.
29144         (FP_EX_INVALID_SQRT): Likewise.
29145         (FP_EX_INVALID_CVI): Likewise.
29146         (FP_EX_INVALID_VC): Likewise.
29147         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29148         "invalid" exceptions.
29149         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29150         (_FP_ADD_INTERNAL): Likewise.
29151         (_FP_MUL): Likewise.
29152         (_FP_FMA): Likewise.
29153         (_FP_DIV): Likewise.
29154         (_FP_CMP_CHECK_NAN): Likewise.
29155         (_FP_SQRT): Likewise.
29156         (_FP_TO_INT): Likewise.
29157         (FP_EXTEND): Likewise.
29159 2014-10-09  Allan McRae  <allan@archlinux.org>
29161         * po/fr.po: Update French translation from translation project.
29163 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29165         [BZ #14132]
29166         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29167         of INTDEF.
29168         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29169         (__cxa_atexit): Use libc_hidden_proto.
29170         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29172         [BZ #14132]
29173         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29174         declaration.
29175         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29176         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29177         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29178         [!_ISOMAC] (__iswctype_internal): Likewise.
29179         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29180         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29181         alias.
29182         (fcntl): Remove __fcntl_internal alias.
29183         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29184         __connect_internal alias.
29185         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29186         Likewise.
29188         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29189         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29190         FP_DENORM_ZERO.
29191         (_FP_CHECK_FLUSH_ZERO): New macro.
29192         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29193         (_FP_CMP): Likewise.
29194         (_FP_CMP_EQ): Likewise.
29195         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29196         FP_DENORM_ZERO.
29197         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29198         (FP_TRUNC): Likewise.
29200         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29201         treated as invalid conversion, not as normal exponent.
29203         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29204         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29205         (_FP_CMP_EQ): Likewise.
29206         (_FP_CMP_UNORD): Likewise.
29207         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29208         (FP_CMP_EQ_D): Likewise.
29209         (FP_CMP_UNORD_D): Likewise.
29210         * soft-fp/extended.h (FP_CMP_E): Likewise.
29211         (FP_CMP_EQ_E): Likewise.
29212         (FP_CMP_UNORD_E): Likewise.
29213         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29214         (FP_CMP_EQ_Q): Likewise.
29215         (FP_CMP_UNORD_Q): Likewise.
29216         * soft-fp/single.h (FP_CMP_S): Likewise.
29217         (FP_CMP_EQ_S): Likewise.
29218         (FP_CMP_UNORD_S): Likewise.
29219         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29220         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29221         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29222         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29223         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29224         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29225         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29226         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29227         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29228         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29229         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29230         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29231         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29232         to FP_CMP_Q.
29233         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29234         FP_CMP_Q.
29235         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29236         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29237         FP_CMP_EQ_Q.
29238         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29239         FP_CMP_Q.
29240         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29241         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29242         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29243         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29244         FP_CMP_EQ_Q.
29245         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29246         FP_CMP_Q.
29247         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29248         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29249         FP_CMP_EQ_Q.
29250         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29251         FP_CMP_Q.
29252         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29253         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29254         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29255         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29256         FP_CMP_EQ_Q.
29258         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29259         a subnormal result, set the underflow exception if trapping on
29260         underflow is enabled.
29261         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29262         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29263         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29264         redefine to 0.
29265         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29266         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29267         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29268         * soft-fp/extendxftf2.c (__extendxftf2): Use
29269         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29271         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29272         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29273         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29274         FP_HANDLE_EXCEPTIONS.
29275         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29276         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29277         FP_HANDLE_EXCEPTIONS.
29278         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29279         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29280         FP_HANDLE_EXCEPTIONS.
29281         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29282         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29283         FP_HANDLE_EXCEPTIONS.
29285 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29287         [BZ #14132]
29288         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29289         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29290         use INTUSE.
29291         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29292         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29293         Remove alias.
29294         (__adjtimex): Define using libc_hidden_ver.
29295         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29296         Remove declaration.
29297         (ntp_gettime): Call __adjtimex directly.
29298         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29299         Remove declaration.
29300         (ntp_gettimex): Call __adjtimex directly.
29301         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29302         __adjtimex_internal alias.
29304 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29306         [BZ #17460]
29307         * nscd/nscd.c (more_help): Rewrite list of tables collection
29308         using xstrdup and asprintf.
29310         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29312 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29313             Roland McGrath  <roland@hack.frob.com>
29315         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29316         (do_lookup_unique): ... local function 'enter' here; update callers.
29318 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29320         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29321         compat_symbol calls on [SHARED].
29322         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29323         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29324         Remove.
29325         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29326         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29327         (oldsetrlimit): Remove.
29328         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29330         (lchown): New syscall entry.
29331         (oldsetrlimit): Remove.
29332         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29333         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29334         (oldsetrlimit): Remove.
29335         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29337         [BZ #14138]
29338         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29339         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29340         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29341         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29342         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29343         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29344         (fchown): Likewise.
29345         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29346         (fchown): Likewise.
29347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29348         Likewise.
29350 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29352         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29353         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29354         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29355         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29356         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29357         Likewise.
29358         (__old_sem_post): Likewise.
29360 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29362         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29363         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29364         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29365         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29366         Use INLINE_VSYSCALL macro.
29367         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29368         __vdso_clock_gettime.
29369         * sysdeps/unix/sysv/linux/tile/init-first.c
29370         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29371         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29372         __vdso_clock_gettime.
29374         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29375         to set up frame more cleanly.
29377         * sysdeps/tile/memcmp.c: New file.
29379         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29381         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29382         * sysdeps/tile/tilegx/strcasestr.c: New file.
29383         * sysdeps/tile/tilegx/strnlen.c: New file.
29384         * sysdeps/tile/tilegx/strstr.c: New file.
29386         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29388 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29390         * nptl/tst-setuid3.c: Write errors to stdout.
29392 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29394         * elf/dl-deps.c
29395         (preload): New functions broken out of _dl_map_object_deps.
29396         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29398 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29400         [BZ #14138]
29401         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29402         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29404 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29406         * sysdeps/mips/strcmp.S: New.
29408 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29410         [BZ #14138]
29411         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29412         (linkat): Likewise.
29413         (mkdirat): Likewise.
29414         (readlinkat): Likewise.
29415         (renameat): Likewise.
29416         (symlinkat): Likewise.
29417         (unlinkat): Likewise.
29418         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29419         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29420         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29421         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29422         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29423         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29424         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29426 2014-09-30  Will Newton  <will.newton@linaro.org>
29428         * math/math.h: Define long double math functions if
29429         _LIBC_TEST is defined.
29430         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29432         * localedata/Makefile: Move assignment to tests-special
29433         into an ifdef testing run-built-tests.
29434         * timezone/Makefile: Likewise.
29436 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29438         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29439         with $(BASH) not $(SHELL).
29441 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29442             Matthew LeGendre  <legendre1@llnl.gov>
29444         [BZ #17411]
29445         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29446         l_reloc_result.
29448 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29450         * stdio-common/printf_fp.c
29451         (hack_digit): New function, broken out of ...
29452         (__printf_fp): ... local function here.  Update call sites.
29453         hack_digit now takes an additional parameter that is a pointer
29454         to a struct of the referenced locals.  Those locals moved inside
29455         the struct and references updated.
29457 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29459         * aclocal.m4: Require autoconf 2.69.
29460         * configure: Regenerated.
29461         * sysdeps/aarch64/configure: Likewise.
29462         * sysdeps/alpha/configure: Likewise.
29463         * sysdeps/arm/armv7/configure: Likewise.
29464         * sysdeps/arm/configure: Likewise.
29465         * sysdeps/ia64/configure: Likewise.
29466         * sysdeps/mach/configure: Likewise.
29467         * sysdeps/mips/configure: Likewise.
29468         * sysdeps/s390/configure: Likewise.
29469         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29472         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29473         file.
29474         * sysdeps/ia64/configure.ac: Likewise.
29476 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29479         specify symbol version for ld.so.  Do not include entry for
29480         libpthread.
29481         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29482         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29483         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29485         [BZ #14171]
29486         * Makeconfig [$(build-shared) = yes]
29487         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29488         makefiles.
29489         [$(build-shared) = yes && $(soversions.mk-done) = t]
29490         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29491         [$(build-shared) = yes && $(soversions.mk-done) = t]
29492         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29493         to Makerules.
29494         [$(build-shared) = yes && $(soversions.mk-done) = t]
29495         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29496         here.
29497         [$(build-shared) = yes && $(soversions.mk-done) = t]
29498         (common-generated): Don't append gnu/lib-names.h and
29499         gnu/lib-names.stmp here.
29500         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29501         (lib-names-h-abi): New variable.
29502         [$(build-shared) = yes && $(soversions.mk-done) = t]
29503         (lib-names-stmp-abi): Likewise.
29504         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29505         abi-variants] (before-compile): Append
29506         $(common-objpfx)$(lib-names-h-abi).
29507         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29508         abi-variants] (common-generated): Append gnu/lib-names.h.
29509         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29510         abi-variants] (install-others-nosubdir): Depend on
29511         $(inst_includedir)/$(lib-names-h-abi).
29512         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29513         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29514         [$(build-shared) = yes && $(soversions.mk-done) = t]
29515         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29516         [$(build-shared) = yes && $(soversions.mk-done) = t]
29517         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29518         [$(build-shared) = yes && $(soversions.mk-done) = t]
29519         (common-generated): Append $(lib-names-h-abi) and
29520         $(lib-names-stmp-abi).
29521         * scripts/lib-names.awk: Do not handle multi being set.
29522         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29523         Remove variable.
29524         (abi-lp64_be-ld-soname): Likewise.
29525         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29526         Likewise.
29527         (abi-hard-ld-soname): Likewise.
29528         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29529         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29530         Remove variable.
29531         (abi-o32_hard-ld-soname): Likewise.
29532         (abi-o32_soft_2008-ld-soname): Likewise.
29533         (abi-o32_hard_2008-ld-soname): Likewise.
29534         (abi-n32_soft-ld-soname): Likewise.
29535         (abi-n32_hard-ld-soname): Likewise.
29536         (abi-n32_soft_2008-ld-soname): Likewise.
29537         (abi-n32_hard_2008-ld-soname): Likewise.
29538         (abi-n64_soft-ld-soname): Likewise.
29539         (abi-n64_hard-ld-soname): Likewise.
29540         (abi-n64_soft_2008-ld-soname): Likewise.
29541         (abi-n64_hard_2008-ld-soname): Likewise.
29542         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29543         Likewise.
29544         (abi-64-v2-ld-soname): Likewise.
29545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29546         ld.so entries.
29547         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29548         variable.
29549         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29550         entry.
29551         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29552         variable.
29553         (abi-64-ld-soname): Likewise.
29554         (abi-x32-ld-soname): Likewise.
29555         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29556         entry.
29557         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29559 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29561         [BZ #14138]
29562         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29563         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29564         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29565         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29566         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29567         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29568         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29569         syscall entry for GLIBC_2.2 symbol version.
29570         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29571         Likewise.
29572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29573         (setrlimit): Likewise.
29574         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29575         Likewise.
29577 2014-09-23  Will Newton  <will.newton@linaro.org>
29579         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29580         _LINUX_ARM_SYSDEP_H include guard too.
29581         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29582         define.
29584 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29586         * sysdeps/unix/sysv/linux/eventfd.c:
29587         Make first argument unsigned.
29588         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29589         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29591 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29593         [BZ #16852]
29594         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29595         * socket/sys/socket.h: Likewise.
29596         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29598 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29600         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29602 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29604         * time/tst-ftime.c: New test.
29605         * time/Makefile (tests): Add tst-ftime.
29607 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29609         * soft-fp/extended.h: Fix comment formatting.
29610         * soft-fp/op-1.h: Likewise.
29611         * soft-fp/op-2.h: Likewise.
29612         * soft-fp/op-4.h: Likewise.
29613         * soft-fp/op-8.h: Likewise.
29614         * soft-fp/op-common.h: Likewise.
29615         * soft-fp/soft-fp.h: Likewise.
29617         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29619 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29621         [BZ #6652]
29622         * Makeconfig (soversions-default-setname): Remove variable.
29623         ($(common-objpfx)soversions.i): Don't pass default_setname to
29624         soversions.awk.
29625         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29626         oldest_abi to abi-versions.awk.
29627         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29628         * config.make.in (oldest-abi): Remove variable.
29629         * configure.ac (--enable-oldest-abi): Remove configure option.
29630         * configure: Regenerated.
29631         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29632         text.
29633         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29634         * scripts/soversions.awk: Do not handle default_setname variable.
29635         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29636         variable.
29637         * sysdeps/mach/hurd/configure: Regenerated.
29638         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29639         variable.
29640         * sysdeps/unix/sysv/linux/configure: Regenerated.
29642 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29644         * elf/Makefile (CFLAGS-interp.c): Remove.
29645         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29646         path string.
29647         * elf/interp.c: Include generated runtime-linker.h
29649         * Makerules (lib%.so): Don't include $(+interp) in
29650         prerequisites.
29651         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29652         * dlfcn/eval.c: Remove file.
29654         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29655         macros.
29657         [BZ #17266]
29658         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29659         4.2 and newer.
29661         [BZ #17370]
29662         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29664 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29665             Jakub Jelinek  <jakub@redhat.com>
29667         [BZ #17266]
29668         * libio/stdio.h: Check definition of __fortify_function
29669         instead of __extern_always_inline to include bits/stdio2.h.
29670         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29671         check if __extern_always_inline is defined.
29672         [__USE_MISC || __USE_XOPEN]: Likewise.
29673         [__USE_ISOC99] Likewise.
29674         * misc/sys/cdefs.h (__fortify_function): Define only if
29675         __extern_always_inline is defined.
29676         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29677         __extern_always_inline and __extern_inline only for g++-4.3
29678         and newer or a compatible gcc.
29680 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29682         [BZ #17371]
29683         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29684         last change to handle zero prefix length.
29686 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29688         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29689         _SC_REGEX_VERSION.
29691         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29692         _POSIX_RAW_SOCKETS.
29694 2014-09-13  Allan McRae  <allan@archlinux.org>
29696         * po/ru.po: Update Russian translation from translation project.
29698 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29700         * locale/programs/locale.c (show_locale_vars): Inline local function
29701         into its sole call site.  Clean up some style nits.
29702         (print_item): New function, broken out of ...
29703         (show_info): ... local function here.  Clean up style nits.
29705         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29706         out of ...
29707         (set_class_defaults): ... local function set_default here.
29708         Define set_default as a macro locally to pass constant parameters.
29709         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29710         rather than a shared local.
29712         * stdlib/rpmatch.c (try): New function, broken out of ...
29713         (rpmatch): ... local function here.  Also, prototypify definition.
29715 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29717         * scripts/soversions.awk: Do not handle configuration names.
29718         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29719         vendor and os variables to soversions.awk.
29720         * configure.ac: Do not modify gnu-* host_os.
29721         * configure: Regenerated
29722         * shlib-versions: Remove first column with configuration names.
29723         * nptl/shlib-versions: Likewise.
29724         * nptl_db/shlib-versions: Likewise.
29725         * sysdeps/hppa/shlib-versions: Likewise.
29726         * sysdeps/m68k/shlib-versions: Likewise.
29727         * sysdeps/mach/hurd/shlib-versions: Likewise.
29728         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29729         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29730         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29731         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29732         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29733         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29734         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29735         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29737         Likewise.
29738         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29739         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29740         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29741         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29742         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29743         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29744         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29745         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29748         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29750         Regenerated.
29751         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29753         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29755         * shlib-versions: Remove OS-specific entries.  Moved to files in
29756         sysdeps.
29757         * sysdeps/mach/hurd/shlib-versions: New file.
29758         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29760         * nptl/shlib-versions: Remove architecture-specific entries.
29761         Moved to files in sysdeps.
29762         * shlib-versions: Likewise.
29763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29764         file.
29765         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29766         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29767         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29768         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29770         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29771         (UDP_NO_CHECK6_RX): Likewise.
29773 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29775         * sysdeps/posix/sysconf.c (__sysconf): Spell
29776         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29778 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29780         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29781         loading.
29782         * iconv/Versions (__gconv_transliterate): Export for use from
29783         gconv modules.
29784         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29785         (struct __gconv_trans_data, __gconv_trans_fct,
29786         __gconv_trans_context_fct, __gconv_trans_query_fct,
29787         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29788         definitions.
29789         (struct __gconv_step_data): Remove __trans member.
29790         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29791         longer hidden.  Remove unused trans_data argument.
29792         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29793         (__gconv_translit_find): Remove declaration.
29794         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29795         prototype.
29796         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29797         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29798         trans_data argument.  Add hidden definition.
29799         (__gconv_translit_find): Remove.
29800         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29801         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29802         * iconv/skeleton.c: Remove transliteration initialization.
29803         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29804         __gconv_step_data initialization.
29805         * libio/iofwide.c (__libio_translit_): Remove.
29806         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29807         * wcsmbs/btowc.c (__btowc): Likewise.
29808         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29809         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29810         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29811         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29812         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29813         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29814         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29815         * wcsmbs/wctob.c (wctob): Likewise.
29817 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29819         [BZ #16194]
29820         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29821         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29822         register usage.
29823         * sysdeps/x86/Makefile: Adjust.
29825 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29826             Roland McGrath  <roland@hack.frob.com>
29828         * locale/weight.h: Add include guard.
29829         (findidx): Make static rather than auto; take new parameters
29830         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29831         * locale/weightwc.h: Likewise.
29832         * posix/fnmatch_loop.c
29833         (FCT): Change type of EXTRA from int32_t to wint_t.
29834         Don't include either header inside the function.
29835         Call FINDIDX rather than findidx, and pass new arguments.
29836         #undef FINDIDX at the end of the file.
29837         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29838         FINDIDX before including fnmatch_loop.c for the non-wide version.
29839         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29840         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29841         for the wide version.
29842         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29843         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29844         Pass new arguments to findidx.
29845         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29846         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29847         Don't #include it inside the function.  Pass new arguments to findidx.
29848         * posix/regex_internal.h
29849         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29850         (re_string_elem_size_at): Don't #include it inside the function.
29851         Pass new arguments to findidx.
29852         * string/strcoll_l.c: #include WEIGHT_H at top level.
29853         (get_next_seq): Don't #include it inside the function.
29854         Pass new arguments to findidx.
29855         (get_next_seq_nocache): Likewise.
29856         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29857         (STRXFRM): Don't #include it inside the function.
29858         Pass new arguments to findidx.
29860 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29862         [BZ #17344]
29863         * malloc/malloc.c (unlink): Turn asserts into a call to
29864         malloc_printerr.
29866 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29868         [BZ #17370]
29869         * libio/wfileops (do_ftell_wide): Free OUT.
29871 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29873         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29875 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29877         [BZ #17363]
29878         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29879         group if the current group is empty.
29881 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29883         * benchtests/bench-memset.c (test_main): Add more test from size
29884         from 32 to 512 bytes.
29885         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29886         Add POWER8 memset object.
29887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29888         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29889         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29890         implementation.
29891         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29892         Likewise.
29893         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29894         multiarch POWER8 memset optimization.
29895         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29896         POWER8 memset optimization.
29898         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29899         Remove bzero multiarch objects.
29900         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29901         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29902         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29903         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29904         Remove define.
29905         [__bzero]: Redefine to specific name.
29906         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29907         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29908         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29909         define.
29910         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29911         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29913 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29915         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29916         warnings into errors.
29918         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29919         __cxa_thread_atexit_impl prototype.
29921 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29923         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29924         Fix capitalization of error message.
29926 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29928         * sysdeps/mips/preconfigure: Modify ABI tests.
29930 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29932         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29934 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29935             Carlos O'Donell  <carlos@systemhalted.org>
29937         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29938         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29939         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29940         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29941         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29942         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29943         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29944         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29945         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29946         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29947         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29948         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29949         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29950         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29951         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29952         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29953         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29954         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29955         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29956         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29957         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29958         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29959         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29960         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29961         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29962         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29963         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29964         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29965         Deconditionalize the code that was previously under [RESET_PID].
29966         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29967         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29968         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29969         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29970         include sysdep.h.
29972 2014-09-08  Allan McRae  <allan@archlinux.org>
29974         * version.h (RELEASE): Set to "development".
29975         (VERSION): Set to "2.20.90"
29977 2014-09-07  Allan McRae  <allan@archlinux.org
29979         * version.h (RELEASE): Set to "stable".
29980         (VERSION): Set to "2.20"
29981         * include/features.h (__GLIBC_MINOR__): Set to 20.
29983         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29984         Liebler.
29986         * po/ko.po: Update Korean translation from translation project.
29988 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29990         [BZ #17354]
29991         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29992         macro for handling signed relocations.
29994 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29996         [BZ #17325]
29997         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29998         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29999         assert.
30000         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30001         * iconvdata/ibm935.c (BODY): Likewise.
30002         * iconvdata/ibm937.c (BODY): Likewise.
30003         * iconvdata/ibm939.c (BODY): Likewise.
30004         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30005         assert.
30006         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30007         script.
30008         * iconvdata/run-iconv-test.sh: New test loop for checking for
30009         decoder crashers.
30011 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30013         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30014         libm_hidden_ver.
30016 2014-09-01  Allan McRae  <allan@archlinux.org>
30018         * po/eo.po: Update Esperanto translation from translation project.
30020         * po/ca.po: Update Catalan translation from translation project.
30022 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30024         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30025         __proc_dostop call.
30027 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30029         [BZ #17319]
30030         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30031         to call set_thread_area instead of hand written asm.
30032         (__NR_set_thread_area): Removed define.
30033         (TLS_FLAG_WRITABLE): Likewise.
30034         (__ASSUME_SET_THREAD_AREA): Remove check.
30035         (TLS_EBX_ARG): Remove define.
30036         (TLS_LOAD_EBX): Likewise.
30038 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30040         Simplify atomicity of socket creation in bind.
30042         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30043         looking up the name after linking the file.
30045 2014-08-27  Allan McRae  <allan@archlinux.org>
30047         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30049 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30051         [BZ #17187]
30052         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30053         trans_compare, open_translit, __gconv_translit_find):
30054         Remove module loading code.
30056 2014-08-26  Allan McRae  <allan@archlinux.org>
30058         * po/vi.po: Update Vietnamese translation from translation project.
30060         * po/uk.po: Update Ukrainian translation from translation project.
30062         * po/fr.po: Update French translation from translation project.
30064         * po/ru.po: Update Russian translation from translation project.
30066         * po/pl.po: Update Polish translation from translation project.
30068         * po/cs.po: Update Czech translation from translation project.
30070         * po/de.po: Update German translation from translation project.
30072         * po/bg.po: Update Bulgarian translation from translation project.
30074         * po/sv.po: Update Sweedish translation from translation project.
30076         * po/nl.po: Update Dutch translation from translation project.
30078         * po/es.po: Update Spanish translation from translation project.
30080 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30082         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30084         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30085         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30086         (CPPFLAGS-iconvconfig): Likewise.
30087         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30089         * include/libc-symbols.h: Remove unnecessary check for
30090         NOT_IN_libc.
30091         * nptl/pthreadP.h: Likewise.
30092         * sysdeps/aarch64/setjmp.S: Likewise.
30093         * sysdeps/alpha/setjmp.S: Likewise.
30094         * sysdeps/arm/sysdep.h: Likewise.
30095         * sysdeps/i386/setjmp.S: Likewise.
30096         * sysdeps/m68k/setjmp.c: Likewise.
30097         * sysdeps/posix/getcwd.c: Likewise.
30098         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30099         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30100         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30101         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30102         * sysdeps/sh/sh3/setjmp.S: Likewise.
30103         * sysdeps/sh/sh4/setjmp.S: Likewise.
30104         * sysdeps/unix/alpha/sysdep.h: Likewise.
30105         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30106         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30107         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30108         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30112         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30113         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30116         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30117         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30118         * sysdeps/x86_64/setjmp.S: Likewise.
30120 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30122         [BZ #17263]
30123         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30124         <stdint.h>.
30125         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30126         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30128 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30130         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30132         [BZ #17262]
30133         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30134         and __x86_64__ when disabling x87 inline functions.
30136 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30138         [BZ #17259]
30139         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30140         asm statement with __cpuid_count.
30142 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30144         * configure.ac: Change __ehdr_start code to dereference the struct.
30145         Run readelf on the output to look for relocations.
30146         * configure: Regenerated.
30148 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30150         [BZ #17261]
30151         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30152         value to 0.
30153         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30155 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30157         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30159 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30161         [BZ #16892]
30162         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30163         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30165 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30167         * malloc/malloc.c: Fix typo in comment.
30169 2014-08-09  Allan McRae  <allan@archlinux.org>
30171         * Regenerate libc.po.
30173 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30175         * intl/tst-gettext2.sh: Check every lang file for creation.
30177 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30179         * sysdeps/aarch64/fpu/math_private.h
30180         (libc_feholdsetround_noex_aarch64_ctx): New function.
30182 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30184         * sysdeps/arm/armv6/strcpy.S (strcpy):
30185         Fix performance issue in misaligned cases.
30187 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30189         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30190         Move definition from termios.h.
30191         (struct termio): Likewise.
30192         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30193         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30194         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30195         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30196         Likewise.
30197         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30198         Move definition to ioctl-types.h
30199         (struct termio): Likewise.
30200         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30201         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30202         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30203         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30204         Likewise.
30206 2014-08-05  Richard Henderson  <rth@redhat.com>
30208         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30209         exceptions.
30210         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30211         Add fraiseexcpt.
30212         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30213         Use __feraiseexcept.
30214         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30215         Protect libm symbols with IS_IN_libm.
30217         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30219 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30221         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30223 2014-08-04  Will Newton  <will.newton@linaro.org>
30225         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30226         file.
30228 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30230         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30231         variants for each function.
30233 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30235         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30236         appended ...
30237         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30238         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30239         appended ...
30240         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30241         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30242         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30243         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30244         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30245         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30246         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30247         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30248         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30249         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30250         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30251         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30252         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30253         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30254         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30255         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30256         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30257         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30258         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30259         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30260         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30261         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30262         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30263         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30264         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30265         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30266         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30267         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30268         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30269         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30270         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30271         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30272         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30273         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30274         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30275         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30276         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30277         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30278         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30279         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30280         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30281         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30282         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30283         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30284         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30285         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30286         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30287         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30288         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30290         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30291         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30292         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30293         Update #include.
30294         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30295         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30297 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30299         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30300         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30301         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30302         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30303         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30304         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30306 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30308         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30309         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30310         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30311         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30313 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30315         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30316         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30317         (__libc_vfork): Define function under this name.
30318         (__vfork): Define as an alias.
30319         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30320         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30322 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30324         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30325         that was previously under [RESET_PID].
30326         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30328 2014-08-04  Andreas Schwab  <schwab@suse.de>
30330         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30332 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30334         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30335         (main): Likewise.
30337 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30339         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30341 2014-08-01  Richard Henderon  <rth@redhat.com>
30343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30344         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30345         typo in exact zero test.
30346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30347         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30350 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30352         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30353         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30354         * sysdeps/arm/sysdep.h: ... here.
30355         [!__ASSEMBLER__]: Include <stdint.h>.
30357 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30360         (HAVE_WCTYPE_H): Likewise.
30361         (HAVE_ISWCTYPE): Likewise.
30362         (ENABLE_NLS): Likewise.
30363         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30364         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30366         * posix/regex_internal.c: Check if DEBUG is defined and is
30367         set.
30369         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30370         (HAVE_MBSRTOWCS): Likewise.
30371         * posix/fnmatch.c: Include string.h unconditionally.
30373 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30375         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30376         reversal.
30378 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30380         * sysdeps/generic/safe-fatal.h: New file.
30381         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30382         * nptl/forward.c: Include it.
30383         (__pthread_unwind): Use __safe_fatal as default action, rather
30384         than a bogus use of INTERNAL_SYSCALL that could never work.
30386         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30387         * configure.ac (libc_cv_builtin_trap): New test.
30388         * configure: Regenerated.
30389         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30390         (ABORT_INSTRUCTION): Define using __builtin_trap.
30392         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30393         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30394         * sysdeps/nptl/nptl-signals.h: New file.
30395         * nptl/pthreadP.h: Include <nptl-signals.h>.
30397 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30399         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30400         (ONE_DIRECTION): Define.
30401         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30402         (ONE_DIRECTION): Define.
30403         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30404         (ONE_DIRECTION): Define.
30406 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30408         * sysdeps/s390/Makefile: Delete file.
30409         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30410         * sysdeps/s390/__longjmp.c: Delete file.
30411         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30412         Remove fields __flags and __reserved.
30413         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30414         and add versioning.
30415         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30416         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30417         * sysdeps/s390/rtld-setjmp.S: Likewise.
30418         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30419         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30420         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30421         * sysdeps/s390/s390-32/setjmp.S: ... here.
30422         Add versioning.
30423         (__sigsetjmp): Remove setting __flags field.
30424         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30425         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30426         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30427         * sysdeps/s390/s390-64/setjmp.S: ... here.
30428         Add versioning.
30429         (__sigsetjmp): Remove setting __flags field.
30430         * sysdeps/s390/setjmp.S: Delete file.
30431         * sysdeps/s390/sigjmp.c: Likewise.
30432         * sysdeps/s390/v1-longjmp.c: Likewise.
30433         * sysdeps/s390/v1-setjmp.h: Likewise.
30434         * sysdeps/s390/v1-sigjmp.c: Likewise.
30435         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30436         Remove v1-longjmp_chk.
30437         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30438         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30439         Include debug/longjmp_chk.c and add versioning.
30440         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30441         Include nptl/pt-longjmp.c and add versioning.
30442         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30443         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30444         Include __longjmp.c.
30445         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30446         Move to ...
30447         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30448         (__getcontext): Remove setting __flags field.
30449         Add versioning.
30450         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30451         Don't restore upper high grps.
30452         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30453         Likewise.
30454         (__swapcontext): Remove setting uc_flags field.
30455         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30456         Delete file.
30457         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30458         Include __longjmp.c.
30459         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30460         Move to ...
30461         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30462         (__getcontext): Remove setting __flags field.
30463         Add versioning.
30464         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30465         (__swapcontext): Remove setting uc_flags field.
30466         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30467         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30468         Remove fields uc_high_gprs and __reserved.
30469         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30470         New file with reverted content.
30471         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30472         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30473         Regenerated.
30474         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30475         Regenerated.
30477 2014-07-31  Andreas Schwab  <schwab@suse.de>
30479         * config.h.in (HAVE_IFUNC): Define to 0.
30480         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30481         definedness.
30483 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30486         memmove-avx-unaligned, memcpy-avx-unaligned and
30487         mempcpy-avx-unaligned.
30488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30489         Add tests for AVX memcpy functions.
30490         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30491         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30492         memcpy_chk.
30493         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30494         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30495         memmove_chk.
30496         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30497         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30498         mempcpy_chk.
30499         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30500         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30501         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30503 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30505         [BZ #17213]
30506         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30507         powerpc64le.
30509 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30511         [BZ #16839]
30512         * manual/llio.texi: Add section about open file description locks.
30513         * manual/examples/ofdlocks.c: Example of open file description
30514         lock usage.
30515         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30516         F_OFD_SETLK, and F_OFD_SETLKW.
30518 2014-07-23  Allan McRae  <allan@archlinux.org>
30520         * po/es.po: Update Spanish translation from translation project.
30522 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30524         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30526 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30528         [BZ #17078]
30529         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30530         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30531         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30533 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30535         [BZ #17088]
30536         * math/fesetenv.c (__fesetenv)
30537         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30538         * math/feupdateenv.c (__feupdateenv)
30539         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30541         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30542         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30543         (__ASSUME_SOCKETCALL): Do not define.
30545         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30546         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30547         (__ASSUME_SOCKETCALL): Do not define.
30548         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30549         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30550         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30551         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30552         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30553         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30554         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30555         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30557         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30558         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30559         (__ASSUME_SOCKETCALL): Do not define.
30560         (__ASSUME_IPC64): Define unconditionally.
30561         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30562         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30563         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30564         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30565         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30566         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30567         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30568         Likewise.
30570         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30571         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30572         (__ASSUME_SOCKETCALL): Do not define.
30573         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30574         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30575         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30576         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30577         (__ASSUME_REQUEUE_PI): Define unconditionally.
30578         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30579         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30580         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30581         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30582         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30583         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30585         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30586         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30587         (__ASSUME_SOCKETCALL): Do not define.
30588         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30590         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30591         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30592         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30593         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30595         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30596         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30597         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30598         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30599         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30600         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30601         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30602         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30603         (__ASSUME_GETCPU_SYSCALL): Likewise.
30605         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30606         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30607         cases for individual architectures.
30608         * sysdeps/gnu/configure: Regenerated.
30609         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30610         LIBC_SLIBDIR_RTLDDIR.
30611         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30612         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30613         LIBC_SLIBDIR_RTLDDIR.
30614         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30616         LIBC_SLIBDIR_RTLDDIR.
30617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30618         Regenerated.
30619         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30620         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30621         file.
30622         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30623         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30624         file.
30625         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30626         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30627         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30628         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30630         * sysdeps/aarch64/shlib-versions: Move to ...
30631         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30632         * sysdeps/alpha/shlib-versions: Move to ...
30633         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30634         * sysdeps/arm/shlib-versions: Move to ...
30635         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30636         * sysdeps/hppa/shlib-versions: Move all contents except for
30637         libgcc_s entry to ...
30638         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30639         entry from ...
30640         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30641         * sysdeps/ia64/shlib-versions: Move to ...
30642         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30643         entry from ...
30644         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30645         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30646         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30647         * sysdeps/microblaze/shlib-versions: Move to ...
30648         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30649         * sysdeps/mips/shlib-versions: Move to ...
30650         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30651         entry from ...
30652         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30653         * sysdeps/tile/shlib-versions: Move to ...
30654         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30655         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30656         from ...
30657         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30658         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30659         entry from ...
30660         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30662 2014-07-17  Will Newton  <will.newton@linaro.org>
30664         * sysdeps/arm/bits/atomic.h
30665         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30666         (__arch_compare_and_exchange_bool_16_int): Likewise.
30667         (__arch_compare_and_exchange_bool_64_int): Likewise.
30669         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30670         into an #else block.
30672 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30674         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30675         just Linux configurations.  Test empirically that the compiler sets
30676         __ARM_EABI__, rather than using the tuple to decide.
30677         * sysdeps/arm/preconfigure: Regenerated.
30678         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30679         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30680         contents appended ...
30681         * sysdeps/arm/configure.ac: ... here.
30682         * sysdeps/arm/configure: Regenerated.
30684 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30686         * nptl/pthread_kill.c: New file.
30687         * nptl/pthread_sigmask.c: New file.
30688         * nptl/pthread_sigqueue.c: New file.
30690         * sysdeps/nptl/lowlevellock.h: New file.
30691         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30692         * sysdeps/nptl/lowlevellock-futex.h: New file.
30694         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30695         Remove dead declarations.
30697 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30699         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30700         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30701         config-cflags-avx2.
30702         * sysdeps/x86_64/configure.ac: Likewise.
30703         * sysdeps/i386/configure: Regenerated.
30704         * sysdeps/x86_64/configure: Likewise.
30705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30706         memset-avx2 only if config-cflags-avx2 is yes.
30707         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30708         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30709         defined.
30710         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30711         only if HAVE_AVX2_SUPPORT is defined.
30712         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30714 2014-07-14  Alan Modra  <amodra@gmail.com>
30716         [BZ #17153]
30717         * elf/elf.h (DT_PPC64_NUM): Correct value.
30718         * NEWS: Add to fixed bug list.
30720 2014-07-13  Jim Meyering  <meyering@fb.com>
30722         [BZ 17150]
30723         regex: don't deref NULL upon heap allocation failure
30724         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30725         failure in one more place.
30726         To trigger the segfault, configure grep -with-included-regex,
30727         build it, and run these commands:
30728         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30730 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30732         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30734 2014-07-11  Richard Henderson  <rth@redhat.com>
30736         * sysdeps/aarch64/libm-test-ulps: Update.
30738 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30740         [BZ #17135]
30741         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30742         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30743         (__nptl_setxid): Initialize error member.  Call
30744         __nptl_setxid_error.
30745         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30746         * nptl/descr.h (struct xid_command): Add error member.
30747         * nptl/tst-setuid3.c: New file.
30748         * nptl/Makefile (tests): Add it.
30750 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30752         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30753         New define.
30754         (__lll_trylock): Use __lll_base_trylock.
30755         (__lll_cond_trylock): Likewise.
30757 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30759         * nptl/pthread_create.c (start_thread): Use atomic_or and
30760         lll_futex_wake directly rather than lll_robust_dead.
30761         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30762         (lll_robust_dead): Macro removed.
30763         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30764         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30765         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30766         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30767         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30768         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30769         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30770         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30771         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30772         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30773         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30774         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30775         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30776         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30777         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30779         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30780         Use atomic_compare_and_exchange_val_acq directly rather than
30781         lll_robust_trylock.
30782         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30783         (__lll_robust_trylock, lll_robust_trylock): Removed.
30784         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30785         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30786         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30787         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30788         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30789         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30790         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30791         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30792         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30793         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30794         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30795         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30796         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30797         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30799 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30801         * manual/locale.texi (Locale Names): New section documenting
30802         locale name syntax.  Adjust menu and node chaining accordingly.
30803         (Choosing Locale): Reference Locale Names, Locale Categories.
30804         Mention setting LC_ALL=C.  Reflect that name syntax is now
30805         documented.
30806         (Locale Categories): New section title.  Reference Locale Names.
30807         LC_ALL is an environment variable, but not a category.
30808         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30809         description, now in Locale Name.  Reference that section.  Locale
30810         name syntax is now documented.
30812 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30814         [BZ #17137]
30815         * locale/findlocale.c (name_present, valid_locale_name): New
30816         functions.
30817         (_nl_find_locale): Use the loc_name variable to store name
30818         candidates.  Call name_present and valid_locale_name to check and
30819         validate locale names.  Return an error if the locale is invalid.
30821 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30823         * locale/setlocale.c (setlocale): Use strdup for allocating
30824         composite name copy.
30826 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30828         Sync up with gnulib.
30829         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30830         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30831         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30832         and _GL_ARG_NONNULL.
30833         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30834         [!_LIBC]: Include code for Windows and Cygwin.
30835         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30836         Include prototype for int strerror_r.
30837         [!_LIBC] (is_open): New function.
30838         (flush_stdout): New function.
30839         (print_errno_message): Use it.
30840         (error): Likewise.
30841         (error_at_line): Likewise.
30842         (error_tail) Add function attribute macros.  Use
30843         __builtin_expect.
30845         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30847         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30849         * io/ftw.c: Include sys/param.h unconditionally.
30851         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30853         [BZ #17125]
30854         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30855         libc_freeres_ptr.
30856         (freecache): New function to free CACHE on exit.
30858         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30859         initialization.
30861 2014-07-09  David S. Miller  <davem@davemloft.net>
30863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30865         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30866         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30867         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30868         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30869         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30870         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30871         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30872         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30873         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30874         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30875         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30876         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30877         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30879 2014-07-09  Andreas Schwab  <schwab@suse.de>
30881         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30882         output.
30883         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30884         (do_test): Likewise.
30886         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30888 2014-07-09  Will Newton  <will.newton@linaro.org>
30890         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30891         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30892         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30893         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30894         * sysdeps/hppa/start.S (_start): Likewise.
30896 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30898         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30900         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30901         defined.
30903 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30905         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30906         after checking that it is non-NULL.
30908         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30910 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30912         * sysdeps/powerpc/memmove.c: Remove file.
30913         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30914         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30915         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30916         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30917         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30918         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30919         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30920         string memmove instead of removed powerpc one.
30922         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30923         [weak_alias]: Fix compiler warning due trailing data.
30924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30925         [weak_alias]: Likewise.
30926         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30927         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30930         (__libc_ifunc_impl_list): Add memmove functions.
30932 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30934         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30935         Remove code.
30936         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30937         Likewise.
30938         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30939         Likewise.
30940         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30941         Likewise.
30942         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30943         Likewise.
30944         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30945         Likewise.
30946         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30947         Likewise.
30948         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30949         Likewise.
30950         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30951         Likewise.
30952         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30953         Likewise.
30954         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30955         Likewise.
30956         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30957         Likewise.
30958         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30959         Likewise.
30960         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30961         Likewise.
30962         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30963         Likewise.
30964         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30965         Likewise.
30966         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30967         Likewise.
30969 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30971         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30972         to avoid alignment traps in non-cacheable memory.
30973         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30976         multiarch objects.
30977         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30978         file: multiarch power7 memmove.
30979         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30980         multiarch default memmove.
30981         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30982         multiarch memove for powerpc32/power4.
30984         * string/bcopy.c: Use full path to include memmove.c.
30985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30986         multiarch objects.
30987         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30988         bcopy for powerpc64.
30989         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30990         bcopy for powerpc64.
30991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30992         and memmove implementations.
30993         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30994         optimized multiarch memmove for POWER7/powerpc64.
30995         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30996         default multiarch memmove for powerpc64.
30997         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30998         multiarch for powerpc64.
30999         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31000         for POWER7/powerpc64.
31001         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31002         memmove for POWER7/powerpc64.
31004         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31005         glibc default one.
31007         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31008         __ELF_NATIVE_CLASS equal to 64.
31010 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31012         * sysdeps/nptl/lowlevellock.h: File removed.
31014         * NEWS: NPTL is no longer an add-on!
31015         * nptl/internaltypes.h: Moved ...
31016         * sysdeps/nptl/internaltypes.h: ... here.
31017         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31018         * sysdeps/nptl/fork.c: Likewise.
31019         * sysdeps/nptl/gai_misc.h: Likewise.
31020         * sysdeps/nptl/librt-cancellation.c: Likewise.
31021         * sysdeps/nptl/jmp-unwind.c: Likewise.
31022         * sysdeps/nptl/setxid.h: Likewise.
31023         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31024         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31025         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31026         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31027         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31028         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31029         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31030         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31031         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31032         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31033         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31034         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31035         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31036         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31037         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31038         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31039         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31040         * nptl/Makeconfig: Moved ...
31041         * sysdeps/nptl/Makeconfig: ... here.
31042         * nptl/configure: File removed.
31043         * nptl/ANNOUNCE: File removed.
31044         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31045         * sysdeps/unix/sysv/linux/configure: Regenerated.
31047         * nptl/Makefile (routines): Add libc_pthread_init,
31048         libc_multiple_threads, register-atfork and unregister-atfork.
31049         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31050         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31051         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31052         pthread-pi-defines.sym, structsem.sym.
31053         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31054         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31055         [$(subdir) = nptl] (tests): Add tst-setgetname.
31056         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31057         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31058         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31059         [!LIBC_SIGACTION]: Remove aliases.
31060         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31061         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31062         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31063         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31064         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31065         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31066         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31067         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31068         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31069         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31070         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31071         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31072         __libc_allocate_rtsig_private.
31073         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31074         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31075         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31076         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31077         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31078         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31079         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31080         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31081         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31082         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31083         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31084         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31085         * nptl/internaltypes.h: ... here.
31086         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31087         * sysdeps/nptl/jmp-unwind.c: ... here.
31088         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31089         * nptl/libc-lowlevellock.c: ... here.
31090         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31091         * nptl/libc_multiple_threads.c: ... here.
31092         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31093         * nptl/libc_pthread_init.c: ... here.
31094         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31095         * nptl/lowlevelbarrier.sym: ... here.
31096         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31097         * nptl/lowlevelcond.sym: ... here.
31098         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31099         * nptl/lowlevellock.c: ... here.
31100         * nptl/lowlevellock.h: Moved ...
31101         * sysdeps/nptl/lowlevellock.h: ... here.
31102         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31103         * nptl/lowlevelrobustlock.c: ... here.
31104         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31105         * nptl/lowlevelrobustlock.sym: ... here.
31106         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31107         * nptl/lowlevelrwlock.sym: ... here.
31108         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31109         * nptl/pt-fork.c: ... here.
31110         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31111         * nptl/pthread-pi-defines.sym: ... here.
31112         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31113         * nptl/pthread_attr_getaffinity.c: ... here.
31114         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31115         * nptl/pthread_attr_setaffinity.c: ... here.
31116         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31117         * nptl/pthread_mutex_cond_lock.c: ... here.
31118         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31119         Update #include.
31120         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31121         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31122         * nptl/pthread_once.c: ... here, replacing old file.
31123         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31124         * nptl/pthread_yield.c: ... here.
31125         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31126         * nptl/register-atfork.c: ... here.
31127         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31128         * nptl/sem_post.c: ... here.
31129         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31130         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31131         * nptl/sem_timedwait.c: ... here.
31132         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31133         * nptl/sem_trywait.c: ... here.
31134         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31135         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31136         * nptl/sem_wait.c: ... here.
31137         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31138         * nptl/structsem.sym: ... here.
31139         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31140         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31141         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31142         * nptl/unregister-atfork.c: ... here.
31143         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31144         * nptl/unwindbuf.sym: ... here.
31145         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31146         * sysdeps/nptl/fork.c: ... here.
31147         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31148         * sysdeps/nptl/fork.h: ... here.
31149         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31150         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31151         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31152         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31153         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31154         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31155         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31156         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31157         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31158         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31159         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31160         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31161         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31162         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31163         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31164         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31165         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31166         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31167         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31168         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31169         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31170         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31171         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31172         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31173         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31174         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31175         * sysdeps/unix/sysv/linux/raise.c: ... here.
31176         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31177         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31178         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31179         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31180         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31181         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31182         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31183         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31184         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31185         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31186         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31187         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31188         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31189         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31190         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31192 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31194         * sysdeps/generic/memcopy.h: Add comment for
31195         MEMCPY_OK_FOR_FWD_MEMMOVE.
31197 2014-07-04  Will Newton  <will.newton@linaro.org>
31199         * string/memchr.c: Merge from gnulib.
31200         [_LIBC]: Remove conditionals.
31201         (__ptr_t): Remove define.
31202         (LONG_MAX_32_BITS): Likewise.
31203         (LONG_MAX): Likewise.
31204         (MEMCHR): Use ANSI prototype and optimize algorithm.
31206         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31208 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31210         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31211         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31213         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31214         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31215         in a bare environment with no <stdlib.h> installed.
31216         * sysdeps/nptl/configure: Regenerated.
31218         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31220         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31221         AC_EGREP_CPP for kernel header checks, so they only succeed if
31222         including <linux/version.h> actually works right.
31223         * sysdeps/unix/sysv/linux/configure: Regenerated.
31225         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31226         value so it's not diagnosed as unused.
31228         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31229         thing) with "ifeq ($(subdir),rt)".
31231 2014-07-03  Richard Henderson  <rth@redhat.com>
31233         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31234         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31235         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31237         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31238         (math_force_eval): New.
31240         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31241         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31243         * sysdeps/alpha/fpu/s_round.c: Remove file.
31244         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31246         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31247         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31248         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31249         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31250         (_dl_start, print_statistics): Likewise.
31251         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31252         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31254         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31255         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31256         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31257         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31258         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31259         (HP_SMALL_TIMING_AVAIL): Define.
31260         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31261         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31262         (HP_SMALL_TIMING_AVAIL): Define.
31263         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31264         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31266         * sysdeps/aarch64/hp-timing.h: New file.
31268         * sysdeps/generic/hp-timing.h: Remove dead comment.
31269         * sysdeps/generic/hp-timing-common.h: New file.
31270         * sysdeps/alpha/hp-timing.h: Include it.
31271         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31272         * sysdeps/i386/i686/hp-timing.h: Likewise.
31273         * sysdeps/ia64/hp-timing.h: Likewise.
31274         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31275         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31276         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31277         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31278         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31279         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31280         (hp_timing_t): New.
31282         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31283         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31284         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31285         * elf/rtld.c (_dl_start_final): Likewise.
31286         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31287         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31288         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31289         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31290         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31291         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31292         (HP_TIMING_DIFF_INIT): Remove.
31293         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31294         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31295         (HP_TIMING_DIFF_INIT): Remove.
31296         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31297         * sysdeps/i386/i686/hp-timing.c: Remove file.
31298         * sysdeps/x86_64/hp-timing.c: Remove file.
31299         * sysdeps/ia64/hp-timing.c: Remove file.
31300         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31301         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31302         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31303         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31305         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31306         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31307         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31308         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31310         (HP_TIMING_ACCUM): Remove.
31311         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31312         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31313         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31315         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31316         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31317         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31318         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31319         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31320         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31321         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31322         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31324         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31326 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31328         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31330 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31332         Sync up with gettext.
31333         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31334         [_MSC_VER]: Include malloc.h
31335         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31336         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31337         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31338         TEMP_FAILURE_RETRY.  Cast return of alloca.
31339         [!_LIBC] Call gl_rwlock_init.
31340         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31342 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31344         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31345         before checking its value.
31347 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31349         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31351         * debug/memcpy_chk.c: Don't include pagecopy.h.
31352         * debug/mempcpy_chk.c: Likewise.
31353         * string/memcpy.c: Likewise.
31354         * string/memmove.c: Likewise.
31355         * sysdeps/powerpc/memmove.c: Likewise.
31356         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31357         definition of PAGE_COPY_FWD_MAYBE here...
31358         * sysdeps/generic/pagecopy.h: ... from here.
31359         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31361 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31362             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31364         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31366         optimizations.
31367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31368         (__libc_ifunc_impl_list): Likewise.
31369         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31370         multiarch strcat for PPC64.
31371         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31372         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31374 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31376         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31378 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31380         * intl/loadmsgcat.c: Remove declaration of
31381         get_sysdep_segment_value.
31382         (get_sysdep_segment_value): Use ISO C style.
31383         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31384         semicolon.  Fix typo and formatting in comment.
31385         (_nl_unload_domain): Use ISO C style.
31387         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31389 2014-07-02  Will Newton  <will.newton@linaro.org>
31391         * malloc/obstack.c: Merge from gnulib master.
31392         [HAVE_CONFIG_H]: Remove conditional code.
31393         [!_LIBC]: Include config.h.
31394         [!ELIDE_CODE]: Don't include inttypes.h, include
31395         stdint.h unconditionally.
31396         (print_and_abort): Mark as _Noreturn.
31397         (_obstack_allocated_p): Mark as __attribute_pure__.
31398         (obstack_free): Rename to __obstack_free.
31399         [!__attribute__]: Remove conditional code.
31400         * malloc/obstack.h: Merge from gnulib master.
31401         [__cplusplus]: Move conditional down.
31402         [!__attribute_pure__]: Define __attribute_pure__ here
31403         if it is not already defined.
31404         (_obstack_memory_used): Mark as __attribute_pure__.
31405         [!__obstack_free]: Define as obstack_free.
31406         [__GNUC__]: Remove check for ancient NeXT gcc.
31408 2014-07-02  Will Newton  <will.newton@linaro.org>
31409             Paul Eggert  <eggert@cs.ucla.edu>
31411         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31413 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31415         * resolv/gethnamaddr.c: Add comment warning that the file is
31416         not maintained.
31418 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31420         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31421         entries.
31423         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31424         entry for aio_cancel and aio_cancel64.
31425         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31426         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31427         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31428         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31429         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31430         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31431         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31432         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31433         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31434         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31435         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31436         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31437         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31439 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31441         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31442         * nptl/pthread_mutex_lock.c: Likewise.
31443         * nptl/pthread_mutex_timedlock.c: Likewise.
31444         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31446 2014-07-01  Richard henderson  <rth@redhat.com>
31448         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31449         (__isnan, __isnanl): Remove.
31450         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31452         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31454 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31456         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31458 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31460         * resolv/nss_dns/dns-host.c (getanswer_r)
31461         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31463 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31466         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31467         undefine.
31468         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31469         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31471 2014-07-01  Roland McGrath <roland@hack.frob.com>
31473         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31474         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31476         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31477         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31479         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31480         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31481         ... here.
31482         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31483         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31485         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31486         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31487         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31488         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31490         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31491         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31492         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31493         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31494         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31495         Moved ...
31496         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31497         ... here.
31498         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31499         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31500         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31501         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31502         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31503         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31504         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31505         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31506         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31507         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31508         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31509         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31510         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31511         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31512         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31513         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31514         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31515         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31516         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31517         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31518         ... here.
31519         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31520         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31521         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31522         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31523         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31524         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31525         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31526         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31528 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31530         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31531         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31532         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31533         Add sysdep.
31535 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31539 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31541         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31542         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31544         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31546         * sysdeps/arm/libm-test-ulps: Regenerated.
31548 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31549             Roland McGrath <roland@hack.frob.com>
31551         * test-skeleton.c (signal_handler): Kill the whole process group
31552         before killing the child individually.
31553         (main): Report any failure on `setpgid'.
31555 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31557         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31558         from _TLS_H to _ARM_NPTL_TLS_H.
31559         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31560         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31562 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31564         [BZ #16539]
31565         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31566         (__expm1l): Return argument unchanged when small but not
31567         subnormal.
31569         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31570         include macro name.
31571         (_FP_UNPACK_RAW_1_P): Likewise.
31572         (_FP_PACK_RAW_1): Likewise.
31573         (_FP_PACK_RAW_1_P): Likewise.
31574         (_FP_MUL_MEAT_1_wide): Likewise.
31575         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31576         (_FP_MUL_MEAT_1_hard): Likewise.
31577         (_FP_DIV_MEAT_1_imm): Likewise.
31578         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31579         (_FP_DIV_MEAT_1_udiv): Likewise.
31580         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31581         (_FP_UNPACK_RAW_2): Likewise.
31582         (_FP_UNPACK_RAW_2_P): Likewise.
31583         (_FP_PACK_RAW_2): Likewise.
31584         (_FP_PACK_RAW_2_P): Likewise.
31585         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31586         (_FP_MUL_MEAT_2_wide): Likewise.
31587         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31588         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31589         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31590         (_FP_MUL_MEAT_2_gmp): Likewise.
31591         (_FP_DIV_MEAT_2_udiv): Likewise.
31592         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31593         (_FP_FRAC_SRL_4): Likewise.
31594         (_FP_FRAC_SRST_4): Likewise.
31595         (_FP_FRAC_SRS_4): Likewise.
31596         (_FP_UNPACK_RAW_4): Likewise.
31597         (_FP_UNPACK_RAW_4_P): Likewise.
31598         (_FP_PACK_RAW_4): Likewise.
31599         (_FP_PACK_RAW_4_P): Likewise.
31600         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31601         (_FP_MUL_MEAT_4_wide): Likewise.
31602         (_FP_MUL_MEAT_4_gmp): Likewise.
31603         (umul_ppppmnnn): Likewise.
31604         (_FP_DIV_MEAT_4_udiv): Likewise.
31605         (__FP_FRAC_ADD_4): Likewise.
31606         (__FP_FRAC_SUB_3): Likewise.
31607         (__FP_FRAC_SUB_4): Likewise.
31608         (__FP_FRAC_DEC_3): Likewise.
31609         (__FP_FRAC_DEC_4): Likewise.
31610         (__FP_FRAC_ADDI_4): Likewise.
31611         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31612         (_FP_FRAC_SRL_8): Likewise.
31613         (_FP_FRAC_SRS_8): Likewise.
31615         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31616         include macro name.
31617         (FP_UNPACK_RAW_EP): Likewise.
31618         (FP_PACK_RAW_E): Likewise.
31619         (FP_PACK_RAW_EP): Likewise.
31620         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31621         (_FP_ISSIGNAN): Likewise.
31622         (_FP_ADD_INTERNAL): Likewise.
31623         (_FP_FMA): Likewise.
31624         (_FP_CMP): Likewise.
31625         (_FP_SQRT): Likewise.
31626         (_FP_TO_INT): Likewise.
31627         (_FP_FROM_INT): Likewise.
31628         (FP_EXTEND): Likewise.
31629         (_FP_DIV_MEAT_N_loop): Likewise.
31631 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31633         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31634         throughout.
31636 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31638         [BZ #17097]
31639         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31640         result with correct sign in case of exponents that produce
31641         overflow except for X very close to 1.
31643 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31645         mktime: merge #if/#ifdef usage from glibc
31646         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31647         as that works with both Glibc's and Gnulib's style.
31648         See thread starting at Siddhesh Poyarekar's bug report at:
31649         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31651 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31653         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31654         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31655         * sysdeps/tile/tilegx/memmove.c: Remove file.
31657 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31659         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31660         abi-name definition.
31661         * scripts/soversions.awk: Do not handle or generate ABI lines.
31662         * shlib-versions: Remove ABI entries.
31663         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31664         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31666 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31669         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31670         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31671         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31673         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31675         Moved ...
31676         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31677         ... here.
31678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31679         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31681         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31683         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31684         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31685         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31686         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31687         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31689         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31691         Moved ...
31692         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31693         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31694         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31695         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31696         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31697         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31698         Moved ...
31699         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31700         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31701         Moved ...
31702         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31703         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31704         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31705         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31706         Moved ...
31707         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31708         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31709         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31710         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31711         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31712         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31713         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31714         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31715         Moved ...
31716         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31718         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31719         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31720         Moved ...
31721         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31722         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31723         Moved ...
31724         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31725         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31726         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31727         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31728         Moved ...
31729         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31730         ... here.
31731         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31732         Identical file removed.
31733         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31734         Moved ...
31735         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31736         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31737         Identical file removed.
31738         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31739         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31740         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31741         Moved ...
31742         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31744         Identical file removed.
31745         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31746         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31747         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31748         Identical file removed.
31749         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31750         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31751         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31752         Identical file removed.
31753         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31754         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31755         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31756         Identical file removed.
31757         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31758         Moved ...
31759         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31760         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31761         Identical file removed.
31762         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31763         Moved ...
31764         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31765         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31766         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31767         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31768         Identical file removed.
31769         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31770         Moved ...
31771         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31772         ... here.
31773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31774         Identical file removed.
31775         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31776         Moved ...
31777         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31778         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31779         Identical file removed.
31780         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31781         Moved ...
31782         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31783         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31784         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31785         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31786         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31787         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31788         Moved ...
31789         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31790         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31791         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31793         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31794         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31795         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31796         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31797         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31799 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31801         [BZ #17092]
31802         * nscd/nscd.c (monitor_child): Return exit status of child
31803         instead of return value from wait syscall.
31805 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31807         * configure.ac (libc_commonpagesize): Remove variable.
31808         (libc_relro_required): Likewise.
31809         (libc_cv_z_relro): Remove configure test.
31810         * configure: Regenerated.
31811         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31812         variable.
31813         (libc_relro_required): Likewise.
31814         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31815         (libc_relro_required): Likewise.
31816         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31817         (libc_relro_required): Likewise.
31818         * sysdeps/arm/preconfigure: Regenerated.
31819         * sysdeps/ia64/preconfigure: Remove file.
31820         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31821         variable.
31822         (libc_relro_required): Likewise.
31824         [BZ #16561]
31825         [BZ #16562]
31826         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31827         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31828         recompute overflowing results in original rounding mode.
31829         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31830         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31831         recompute overflowing results in original rounding mode.
31832         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31833         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31834         recompute overflowing results in original rounding mode.
31835         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31836         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31837         recompute overflowing results in original rounding mode.
31838         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31839         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31840         recompute overflowing results in original rounding mode.
31841         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31842         (libc_feholdsetround_ctx): New macro.
31843         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31844         * sysdeps/i386/fpu/libm-test-ulps: Update.
31845         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31847 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31849         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31850         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31851         corresponding .cpsetup call.
31853 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31855         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31856         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31857         * sysdeps/arm/Makefile [$(subdir) = csu]
31858         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31859         (static-only-routines): Add aeabi_read_tp here.
31860         (shared-only-routines): Add libc-aeabi_read_tp here.
31861         (CFLAGS-libc-start.c): Add -fexceptions here.
31862         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31863         (sysdep_routines, static-only-routines, shared-only-routines):
31864         Don't add to these here.
31865         (CFLAGS-libc-start.c): Likewise.
31867         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31868         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31869         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31870         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31871         * sysdeps/arm/Makefile [$(subdir) = rt]
31872         (librt-sysdep_routines, librt-shared-only-routines):
31873         Append rt-aeabi_unwind_cpp_pr1 here.
31874         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31875         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31876         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31877         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31878         Append nptl-aeabi_unwind_cpp_pr1 here.
31879         (tests): Filter out tst-cleanupx4 here.
31880         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31881         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31882         Don't do those here.
31884 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31886         * scripts/list-sources.sh: Do not handle ports specially.
31888 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31890         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31891         * sysdeps/arm/feupdateenv.c: Likewise.
31893         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31895 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31897         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31898         trailing whitespace removed.
31899         * scripts/config.guess: Update to version 2014-03-23.
31900         * scripts/config.sub: Update to version 2014-05-01
31901         * scripts/install-sh: Update to version 2013-12-25.23.
31902         * scripts/move-if-change: Update from gnulib.
31904 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31906         * debug/memmove_chk.c: Remove pagecopy.h include.
31908 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31910         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31911         identical to gnulib mktime.
31913 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31915         * configure.ac: Do not test for machine being rs6000.  Do not test
31916         for powerpc*-*soft.
31917         * configure: Regenerated.
31919         [BZ #11505]
31920         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31921         test.
31922         * configure: Regenerated.
31923         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31924         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31925         Remove configure test.
31926         * sysdeps/arm/configure: Regenerated.
31927         * sysdeps/nptl/configure.ac: Do not check
31928         libc_cv_asm_cfi_directives.
31929         * sysdeps/nptl/configure: Regenerated.
31930         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31931         * sysdeps/x86_64/nptl/configure: Remove generated file.
31932         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31933         unconditional.
31934         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31936 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31938         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31939         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31940         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31941         it is defined.
31943         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31944         instead of whether it is defined.
31945         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31946         * sysdeps/hppa/dl-machine.h: Likewise.
31947         * sysdeps/ia64/dl-machine.h: Likewise.
31948         * sysdeps/m68k/dl-machine.h: Likewise.
31949         * sysdeps/microblaze/dl-machine.h: Likewise.
31950         * sysdeps/mips/dl-machine.: Likewise.
31951         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31952         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31953         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31954         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31955         * sysdeps/sh/dl-machine.h: Likewise.
31956         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31957         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31958         * sysdeps/tile/dl-machine.h: Likewise.
31959         * sysdeps/x86_64/dl-machine.h: Likewise.
31961         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31962         code.
31963         (verify_persistent_db): Likewise.
31965 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31968         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31970         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31972         Moved ...
31973         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31974         ... here.
31975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31976         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31978         Identical file removed.
31979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31980         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31982         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31984         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31986         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31988         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31990         Moved ...
31991         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31993         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31995         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31997         Moved ...
31998         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32000         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32002         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32004         Identical file removed.
32005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32006         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32008         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32010         Moved ...
32011         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32012         ... here.
32013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32014         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32016         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32018         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32020         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32022         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32024         Moved ...
32025         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32027         Moved ...
32028         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32030         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32032         Moved ...
32033         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32035         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32037         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32038         folded into ...
32039         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32040         * sysdeps/unix/sysv/linux/s390/Versions
32041         (libpthread: GLIBC_2.19): New version set.
32042         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32043         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32044         (librt: GLIBC_2.3.3): New version set.
32045         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32046         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32047         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32048         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32049         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32050         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32051         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32052         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32053         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32054         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32055         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32056         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32057         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32058         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32059         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32060         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32061         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32062         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32063         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32064         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32065         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32066         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32067         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32068         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32069         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32070         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32071         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32072         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32073         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32074         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32075         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32076         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32078         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32079         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32081         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32083         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32084         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32085         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32086         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32087         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32088         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32089         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32091         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32092         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32093         (__libc_vfork): Define the function under this name.
32094         [!NOT_IN_libc] (__vfork): Make this an alias.
32095         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32096         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32097         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32098         (__libc_vfork): Define the function under this name.
32099         [!NOT_IN_libc] (__vfork): Make this an alias.
32100         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32101         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32102         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32103         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32104         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32105         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32107         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32108         code that was previously under [RESET_PID].
32109         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32110         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32111         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32113         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32114         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32115         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32116         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32117         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32118         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32119         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32120         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32121         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32122         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32123         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32124         Moved ...
32125         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32126         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32127         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32128         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32129         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32130         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32131         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32132         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32133         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32134         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32135         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32136         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32137         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32138         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32139         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32140         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32141         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32142         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32143         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32144         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32145         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32146         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32147         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32148         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32149         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32150         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32151         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32153         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32155 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32157         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32158         that was previously under [RESET_PID].
32159         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32161 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32163         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32164         not undefine and redefine.
32165         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32166         [O_CLOEXEC]: Make code unconditional.
32167         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32168         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32169         <kernel-features.h>.
32170         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32171         conditional variable definition.
32172         (shm_open) [O_CLOEXEC]: Make code unconditional.
32173         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32174         code.
32176         * configure.ac (USE_REGPARMS): Don't define here.
32177         * configure: Regenerated.
32178         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32179         * sysdeps/i386/configure: Regenerated.
32181         * nptl/createthread.c: Don't include kernel-features.h.
32182         * nptl/pthread_cancel.c: Likewise.
32183         * nptl/pthread_condattr_setclock.c: Likewise.
32184         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32185         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32186         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32187         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32188         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32189         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32190         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32191         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32193         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32194         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32195         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32196         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32197         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32198         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32199         * nscd/gai.c: Likewise.
32200         * nss/nss_db/db-open.c: Likewise.
32201         * sysdeps/generic/ldsodefs.h: Likewise.
32202         * sysdeps/sh/nptl/tls.h: Likewise.
32203         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32204         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32205         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32206         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32207         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32208         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32209         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32210         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32211         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32212         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32213         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32214         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32215         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32216         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32217         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32218         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32219         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32220         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32221         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32222         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32223         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32225         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32226         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32227         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32231         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32232         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32233         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32234         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32235         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32236         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32237         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32238         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32239         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32240         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32241         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32242         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32243         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32244         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32245         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32246         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32247         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32248         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32249         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32250         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32251         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32252         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32253         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32254         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32255         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32256         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32257         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32258         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32259         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32260         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32283         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32284         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32285         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32286         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32287         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32288         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32289         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32290         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32291         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32292         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32293         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32294         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32295         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32296         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32297         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32298         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32299         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32300         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32301         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32302         * sysdeps/unix/sysv/linux/system.c: Likewise.
32303         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32304         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32305         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32306         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32307         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32308         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32309         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32311         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32312         * configure: Regenerated.
32313         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32315         * configure.ac (base_machine): Do not set specially for particular
32316         machines here.
32317         * configure: Regenerated.
32318         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32319         settings from configure.ac.
32320         * sysdeps/i386/preconfigure: New file.
32321         * sysdeps/s390/preconfigure: Likewise.
32322         * sysdeps/sh/preconfigure: Likewise.
32323         * sysdeps/sparc/preconfigure: Likewise.
32325 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32327         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32328         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32329         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32330         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32331         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32332         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32333         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32334         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32335         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32336         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32337         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32338         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32339         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32340         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32341         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32342         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32344         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32345         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32347         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32348         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32349         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32350         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32351         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32352         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32353         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32354         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32355         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32356         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32357         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32358         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32359         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32360         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32361         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32362         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32363         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32364         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32365         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32366         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32367         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32368         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32369         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32370         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32371         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32372         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32373         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32374         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32375         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32376         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32377         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32378         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32379         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32380         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32381         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32382         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32383         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32384         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32387         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32389         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32391         Moved ...
32392         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32393         ... here.
32394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32395         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32397         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32399         Moved ...
32400         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32402         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32404         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32406         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32408         Moved ...
32409         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32411         Moved ...
32412         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32414         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32416         Moved ...
32417         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32419         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32421         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32423         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32425         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32427         Moved ...
32428         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32429         ... here.
32430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32431         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32433         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32435         Moved ...
32436         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32438         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32440         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32442         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32444         Moved ...
32445         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32447         Moved ...
32448         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32450         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32452         Moved ...
32453         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32455         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32457         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32459 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32461         * timezone/checktab.awk: Update from tzcode 2014e.
32462         * timezone/private.h: Likewise.
32463         * timezone/tzfile.h: Likewise.
32464         * timezone/zdump.c: Likewise.
32465         * timezone/zic.c: Likewise.
32467         * sysdeps/unix/sysv/linux/kernel-features.h
32468         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32469         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32470         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32471         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32472         Remove conditional code.
32474 2014-06-25  Will Newton  <will.newton@linaro.org>
32476         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32477         (_dl_arm_cap_flags): Add HWCAP2 values.
32478         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32479         (_DL_HWCAP_COUNT): Increase to 37.
32480         (_DL_HWCAP_LAST): New define.
32481         (_DL_HWCAP2_LAST): New define.
32482         (_dl_procinfo): Add support for printing
32483         AT_HWCAP2 entries.
32484         (_dl_string_hwcap): Use _dl_hwcap_string.
32486 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32490 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32492         * README: Do not mention ports directory.
32494         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32495         Remove macro.
32496         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32497         <kernel-features.h>.
32498         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32499         conditional variable definition.
32500         (__futimes): Update comment.
32501         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32502         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32504         [BZ #16560]
32505         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32506         arguments close to 0.
32507         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32508         Likewise.
32509         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32510         Likewise.
32511         * math/auto-libm-test-in: Add more tests of exp10.
32512         * math/auto-libm-test-out: Regenerated.
32513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32515         * sysdeps/unix/sysv/linux/kernel-features.h
32516         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32517         * sysdeps/unix/sysv/linux/readv.c: Do not include
32518         <kernel-features.h>.
32519         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32520         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32521         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32522         unconditional.
32523         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32524         conditional code.
32525         * sysdeps/unix/sysv/linux/writev.c: Do not include
32526         <kernel-features.h>.
32527         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32528         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32529         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32530         unconditional.
32531         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32532         conditional code.
32534 2014-06-25  Will Newton  <will.newton@linaro.org>
32536         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32537         comment changes throughout the file.  Remove checks
32538         for HAVE_*_H definitions that are not required.
32539         (__gen_tempname): Call abort if an unknown kind value is
32540         passed.
32542 2014-06-25  Andreas Schwab  <schwab@suse.de>
32544         [BZ #17086]
32545         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32546         scalbln, scalblnf, scalblnl in libc.
32548 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32550         [BZ #17086]
32551         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32552         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32553         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32555 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32557         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32558         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32559         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32560         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32561         Update #include.
32562         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32563         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32564         Update #include.
32565         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32566         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32567         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32568         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32569         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32570         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32571         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32572         * sysdeps/x86/bits/semaphore.h: ... here.
32573         * sysdeps/x86/nptl/elide.h: Moved ...
32574         * sysdeps/x86/elide.h: ... here.
32575         * sysdeps/x86_64/nptl/Implies: File removed.
32576         * sysdeps/i386/nptl/Implies: File removed.
32578 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32580         [BZ #16539]
32581         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32582         return the argument for normal arguments with exponent below -64.
32583         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32584         Likewise.
32585         * math/auto-libm-test-in: Add another test of expm1.
32586         * math/auto-libm-test-out: Regenerated.
32588         [BZ #16287]
32589         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32590         calling __erfcl for arguments at least 16.
32591         * math/auto-libm-test-in: Add more tests of erf.
32592         * math/auto-libm-test-out: Regenerated.
32594         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32595         individual architectures.
32596         * sysdeps/unix/sysv/linux/configure: Regenerated.
32597         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32598         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32599         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32600         (ldd_rewrite_script): Define variable.
32601         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32603         file.
32604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32605         generated file.
32606         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32607         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32608         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32609         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32610         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32611         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32612         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32613         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32615 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32617         [BZ #17084]
32618         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32619         Rename member __data.d to __data.__elision_data.
32621 2014-06-24  Wilco  <wdijkstr@arm.com>
32623         * NEWS: Add 16918 to fixed bug list.
32625 2014-06-24  Wilco  <wdijkstr@arm.com>
32627         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32629 2014-06-24  Wilco  <wdijkstr@arm.com>
32631         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32632         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32633         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32634         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32635         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32636         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32637         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32638         Use _FPU_MASK_RM.
32640 2014-06-24  Wilco  <wdijkstr@arm.com>
32642         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32644 2014-06-24  Wilco  <wdijkstr@arm.com>
32646         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32647         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32648         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32649         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32651 2014-06-24  Wilco  <wdijkstr@arm.com>
32653         [BZ #16918]
32654         * sysdeps/arm/feupdateenv.c (feupdateenv):
32655         Rewrite to reduce FPSCR accesses and fix return value.
32657 2014-06-24  Wilco  <wdijkstr@arm.com>
32659         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32660         Optimize to avoid unnecessary FPSCR writes.
32661         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32662         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32663         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32664         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32666 2014-06-24  Wilco  <wdijkstr@arm.com>
32668         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32669         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32670         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32671         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32672         Call libc_fetestexcept_vfp.
32673         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32674         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32675         __SOFTFP__ ifdef so that they can be built for softfp.
32677 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32679         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32680         argument type signed char.
32682         * Makerules (check-abi): Dump diff of symlist if the test
32683         fails.
32685 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32687         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32688         using abort.
32690         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32691         Remove unused variable ST.
32693 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32695         [BZ #16354]
32696         [BZ #17061]
32697         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32698         small arguments before calling __expm1.
32699         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32700         small arguments before calling __expm1f.
32701         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32702         small arguments before calling __expm1l.
32703         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32704         Likewise.
32705         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32706         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32707         spurious underflow for some cosh tests.
32708         * math/auto-libm-test-out: Regenerated.
32709         * sysdeps/i386/fpu/libm-test-ulps: Update.
32711         [BZ #17050]
32712         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32713         (__ieee754_y1): Set errno if return value overflows.
32714         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32715         (__ieee754_y1f): Set errno if return value overflows.
32716         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32717         (__ieee754_y1l): Set errno if return value overflows.
32718         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32719         (__ieee754_y1l): Set errno if return value overflows.
32720         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32721         * math/auto-libm-test-out: Regenerated.
32723         * math/gen-auto-libm-tests.c: Document use of
32724         ignore-zero-inf-sign.
32725         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32726         (input_flags): Add ignore-zero-inf-sign.
32727         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32728         * math/gen-libm-test.pl (generate_testfile): Handle
32729         ignore-zero-inf-sign.
32730         * math/auto-libm-test-in: Mark some cpow tests with
32731         ignore-zero-inf-sign and some with xfail-rounding.
32732         * math/auto-libm-test-out: Regenerated.
32733         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32734         * sysdeps/i386/fpu/libm-test-ulps: Update.
32735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32737         [BZ #16315]
32738         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32739         overflowing or underflowing operations take place with sign of
32740         result.
32741         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32742         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32743         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32744         (__ieee754_pow): Recompute overflowing and underflowing results in
32745         original rounding mode.
32746         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32747         (__powl_helper): Allow negative argument X and scale negated value
32748         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32749         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32750         overflowing or underflowing operations take place with sign of
32751         result.
32752         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32753         Include <math.h>.
32754         * math/auto-libm-test-in: Add more tests of pow.
32755         * math/auto-libm-test-out: Regenerated.
32756         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32757         (pow_tonearest_test_data): Remove.
32758         (pow_test_tonearest): Likewise.
32759         (pow_towardzero_test_data): Likewise.
32760         (pow_test_towardzero): Likewise.
32761         (pow_downward_test_data): Likewise.
32762         (pow_test_downward): Likewise.
32763         (pow_upward_test_data): Likewise.
32764         (pow_test_upward): Likewise.
32765         (main): Don't call removed functions.
32766         * sysdeps/i386/fpu/libm-test-ulps: Update.
32767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32769 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32772         Moved ...
32773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32775         Moved ...
32776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32778         Moved ...
32779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32781         Moved ...
32782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32784         File removed.
32785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32786         File removed.
32787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32788         File removed.
32789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32790         File removed.
32791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32792         File removed.
32793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32794         File removed.
32795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32796         File removed.
32797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32798         File removed.
32799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32800         File removed.
32801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32802         File removed.
32803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32804         File removed.
32805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32806         File removed.
32807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32808         Moved ...
32809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32811         Moved ...
32812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32813         ... here.
32814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32815         Moved ...
32816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32818         Moved ...
32819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32821         Moved ...
32822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32824         Moved ...
32825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32827         Moved ...
32828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32830         Moved ...
32831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32833         Moved ...
32834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32837         ... here.
32838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32839         Moved ...
32840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32842         Moved ...
32843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32844         ... here.
32845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32846         Moved ...
32847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32848         ... here.
32849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32850         Moved ...
32851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32852         ... here.
32853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32854         Moved ...
32855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32857         Moved ...
32858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32862         Moved ...
32863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32864         ... here.
32865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32866         Moved ...
32867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32868         ... here.
32869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32870         Moved ...
32871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32873         Moved ...
32874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32876         Moved ...
32877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32879         Moved ...
32880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32882         Moved ...
32883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32884         ... here.
32885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32886         Moved ...
32887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32889         Moved ...
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32892         Moved ...
32893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32895         Moved ...
32896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32900         Moved ...
32901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32903         Moved ...
32904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32906         Moved ...
32907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32908         ... here.
32909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32910         Moved ...
32911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32912         ... here.
32913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32914         Moved ...
32915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32916         ... here.
32917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32918         Moved ...
32919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32921         Moved ...
32922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32924         Moved ...
32925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32927         Moved ...
32928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32929         ... here.
32930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32931         Moved ...
32932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32933         ... here.
32934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32935         Moved ...
32936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32937         ... here.
32938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32939         Moved ...
32940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32942         Moved ...
32943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32945 2014-06-23  Will Newton  <will.newton@linaro.org>
32946             Wilco  <wdijkstr@arm.com>
32948         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32949         implementation.  Include get-rounding-mode.h.
32950         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32951         [!libc_feholdsetround_noex_ctx]: Define
32952         libc_feholdsetround_noex_ctx.
32953         [!libc_feholdsetround_noexf_ctx]: Define
32954         libc_feholdsetround_noexf_ctx.
32955         [!libc_feholdsetround_noexl_ctx]: Define
32956         libc_feholdsetround_noexl_ctx.
32957         (libc_feholdsetround_ctx): New function.
32958         (libc_feresetround_ctx): New function.
32959         (libc_feholdsetround_noex_ctx): New function.
32960         (libc_feresetround_noex_ctx): New function.
32962 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32964         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32965         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32966         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32967         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32968         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32969         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32971         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32972         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32973         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32974         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32975         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32976         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32977         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32978         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32979         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32980         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32981         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32982         Moved ...
32983         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32984         ... here.
32985         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32986         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32987         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32988         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32989         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32990         Moved ...
32991         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32992         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32993         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32994         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32995         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32996         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32997         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32998         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32999         Moved ...
33000         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33001         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33002         Moved ...
33003         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33004         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33005         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33006         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33007         Moved ...
33008         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33009         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33010         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33011         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33012         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33013         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33014         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33015         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33016         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33017         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33018         Moved ...
33019         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33020         ... here.
33021         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33022         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33023         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33024         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33025         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33026         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33027         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33028         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33029         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33030         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33031         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33032         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33033         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33034         Moved ...
33035         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33036         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33037         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33038         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33039         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33040         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33041         Moved ...
33042         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33043         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33044         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33046         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33048         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33049         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33050         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33051         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33052         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33053         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33054         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33055         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33056         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33057         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33058         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33059         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33060         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33061         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33062         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33063         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33064         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33065         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33066         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33067         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33068         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33069         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33070         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33071         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33072         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33073         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33074         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33075         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33077 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33080         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33081         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33082         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33083         (IPV6_PMTUDISC_INTERFACE): Likewise.
33084         (IPV6_PMTUDISC_OMIT): Likewise.
33086 2014-06-23  Andreas Schwab  <schwab@suse.de>
33088         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33089         Remove unused errout label.
33091 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33093         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33094         macro: hardware supports Vector Crypto instructions.
33096 2014-06-23  Will Newton  <will.newton@linaro.org>
33098         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33099         rather than __builtin_expect.
33101         * elf/dl-lookup.c (undefined_msg): Remove variable.
33102         (_dl_lookup_symbol_x): Replace undefined_msg with string
33103         literal.
33105         * elf/dl-lookup.c (do_lookup_unique): New function.
33106         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33107         to a separate function.
33109 2014-06-23  Andreas Schwab  <schwab@suse.de>
33111         [BZ #17079]
33112         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33113         before reading the next line.
33115 2014-06-23  Will Newton  <will.newton@linaro.org>
33117         * test-skeleton.c (signal_handler): Use printf and %m
33118         rather than perror.  Use printf rather than fprintf to
33119         stderr.  Use puts rather than fputs to stderr.
33120         (main): Likewise.
33122 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33124         * nscd/nscd.c (thread_info_t): Remove typedef.
33125         (thread_info): Remove variable.
33127 2014-06-21  Allan McRae  <allan@archlinux.org>
33129         * NEWS: Mention CVE-2014-4043.
33131 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33133         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33134         * nptl/smp.h: ... here.
33136         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33138         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33139         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33140         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33141         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33143         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33144         * nptl/stack-aliasing.h: New file.
33145         * sysdeps/i386/i686/stack-aliasing.h: New file.
33146         * sysdeps/i386/i686/nptl/Makefile: File removed.
33147         * sysdeps/x86_64/stack-aliasing.h: New file.
33148         * sysdeps/x86_64/nptl/Makefile
33149         (CFLAGS-pthread_create.c): Variable removed.
33151         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33152         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33153         old file.
33154         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33155         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33156         old file.
33158 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33160         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33161         (__ASSUME_SIGFRAME_V2): Remove macro.
33162         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33163         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33164         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33165         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33166         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33167         Declare as function.  Remove conditional macro definitions.
33168         (__default_rt_sa_restorer): Likewise.
33169         (__default_sa_restorer_v1): Remove declaration.
33170         (__default_sa_restorer_v2): Likewise.
33171         (__default_rt_sa_restorer_v1): Likewise.
33172         (__default_rt_sa_restorer_v2): Likewise.
33173         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33174         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33175         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33177 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33179         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33180         (libpthread-routines): Add sysdep.
33181         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33182         * sysdeps/unix/sysv/linux/sparc/Versions
33183         (libpthread: GLIBC_2.3.3): New version set.
33184         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33185         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33186         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33187         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33188         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33189         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33190         Moved ...
33191         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33192         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33193         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33194         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33195         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33196         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33197         * sysdeps/sparc/nptl/sem_init.c: ... here.
33198         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33199         * sysdeps/sparc/nptl/sem_post.c: ... here.
33200         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33201         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33202         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33203         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33204         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33205         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33206         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33207         (libpthread-routines): Add cpu_relax.
33208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33209         File removed.
33210         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33211         (librt: GLIBC_2.3.3): New version set.
33212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33213         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33214         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33215         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33218         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33220         Moved ...
33221         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33223         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33225         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33227         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33229         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33231         Moved ...
33232         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33233         Update #include.
33234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33235         Moved ...
33236         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33237         Update #include.
33238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33239         Moved ...
33240         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33241         Update #include.
33242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33243         Moved ...
33244         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33245         Update #include.
33246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33247         Moved ...
33248         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33249         Update #include.
33250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33251         Moved ...
33252         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33253         Update #include.
33254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33255         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33257         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33259         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33261         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33263         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33265         Moved ...
33266         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33268         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33270         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33272 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33274         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33275         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33276         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33277         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33278         * nscd/nscd.c: Likewise.
33279         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33280         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33281         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33282         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33284         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33285         <kernel-features.h>.
33286         (init_mq_netlink): Remove conditional have_sock_cloexec
33287         definitions.  Remove code conditional on have_sock_cloexec < 0.
33288         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33289         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33290         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33291         <kernel-features.h>.
33292         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33293         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33295 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33298         Add tests for memset_chk and memset.
33300         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33301         with AVX2_Usable.
33303 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33305         [BZ #16046]
33306         * elf/tst-dl-iter-static.c: New file.
33307         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33309         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33310         error.
33312 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33314         * sysdeps/unix/sysv/linux/kernel-features.h
33315         (__ASSUME_F_GETOWN_EX): Remove macro.
33316         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33317         <kernel-features.h>.
33318         (miss_F_GETOWN_EX): Remove variable or macro.
33319         (do_fcntl): Do not check miss_F_GETOWN_EX.
33320         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33323         Remove macro.
33324         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33325         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33326         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33328         * sysdeps/unix/sysv/linux/kernel-features.h
33329         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33330         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33331         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33332         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33334 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33336         [BZ #17075]
33337         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33338         Fix calculation of the symbol's value.
33339         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33340         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33341         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33342         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33343         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33344         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33345         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33346         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33347         (modules-names): Add `tst-armtlsdescmod',
33348         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33349         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33350         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33351         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33352         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33353         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33354         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33355         ($(objpfx)tst-armtlsdescloc): New dependency.
33356         ($(objpfx)tst-armtlsdescextnow): Likewise.
33357         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33358         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33359         TLS scheme support.
33360         * sysdeps/arm/configure: Regenerate.
33362 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33364         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33365         (__atfct_seterrno_2): Likewise.
33366         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33367         <kernel-features.h>.
33368         (__ASSUME_ATFCTS): Do not undefine and redefine.
33369         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33370         (__have_atfcts): Remove conditional definition.
33371         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33372         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33373         unreachable if [__ASSUME_ATFCTS].
33374         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33375         not undefine and redefine.
33376         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33377         <kernel-features.h>.
33378         (faccessat) [__NR_faccessat]: Make code unconditional.
33379         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33380         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33381         <kernel-features.h>.
33382         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33383         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33384         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33385         <kernel-features.h>.
33386         (fchownat) [__NR_fchownat]: Make code unconditional.
33387         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33388         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33389         <kernel-features.h>.
33390         (futimesat) [__NR_futimesat]: Make code unconditional.
33391         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33392         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33393         <kernel-features.h>.
33394         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33395         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33396         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33397         <kernel-features.h>.
33398         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33399         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33400         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33401         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33402         <kernel-features.h>.
33403         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33404         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33405         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33406         <kernel-features.h>.
33407         (linkat) [__NR_linkat]: Make code unconditional.
33408         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33409         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33410         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33411         <kernel-features.h>.
33412         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33413         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33414         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33415         <kernel-features.h>.
33416         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33417         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33418         * sysdeps/unix/sysv/linux/openat.c: Do not include
33419         <kernel-features.h>.
33420         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33421         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33422         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33423         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33424         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33425         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33426         <kernel-features.h>.
33427         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33428         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33429         result of INLINE_SYSCALL directly, not via int variable.
33430         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33431         <kernel-features.h>.
33432         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33433         (renameat) [__NR_renameat]: Make code unconditional.
33434         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33435         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33436         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33437         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33438         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33439         (__ASSUME_ATFCTS): Do not undefine and redefine.
33440         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33441         <kernel-features.h>.
33442         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33443         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33444         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33445         <kernel-features.h>.
33446         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33447         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33448         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33449         (__ASSUME_ATFCTS): Do not undefine and redefine.
33450         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33451         <kernel-features.h>.
33452         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33453         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33454         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33455         <kernel-features.h>.
33456         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33457         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33459 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33461         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33463 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33465         [BZ #17069]
33466         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33467         constructed tree before returning error.
33468         * posix/bug-regexp36.c: Expand test case.
33470 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33472         [BZ #6803]
33473         * math/libm-test.inc (scalbln_test_date):
33474         Add errno expectations.
33475         * math/w_scalblnf.c: New File.
33476         Add wrapper which checks for setting errno to ERANGE.
33477         Add weak_alias for corresponding scalbln function.
33478         * math/w_scalbln.c: Likewise.
33479         * math/w_scalblnl.c: Likewise.
33480         * math/Makefile (libm-calls): Add w_scalbln.
33481         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33482         Remove weak_alias for corresponding scalbln function.
33483         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33484         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33485         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33486         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33487         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33488         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33489         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33490         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33491         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33492         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33493         Remove long_double_symbol for scalblnl function in libm, libc.
33494         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33495         Add wrapper which checks for setting errno to ERANGE.
33496         Add long_double_symbol for scalblnl function in libm, libc.
33497         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33498         Remove long_double_symbol for scalblnl in libm.
33499         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33500         Add wrapper which checks for setting errno to ERANGE.
33501         Add long_double_symbol for scalblnl function in libm.
33502         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33503         Do not use wrapper because of own implementation.
33505 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33507         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33508         3 bytes for __pad1 for x32.
33509         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33511 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33512             H.J. Lu  <hongjiu.lu@intel.com>
33514         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33515         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33516         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33517         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33518         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33520 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33522         [BZ #17069]
33523         * posix/regcomp.c (parse_expression): Deallocate partially
33524         constructed tree before returning error.
33525         * posix/Makefile.c (tests): Add bug-regex36.
33526         (generated): Add bug-regex36.mtrace.
33527         (tests-special): Add $(objpfx)bug-regex36-mem.out
33528         (bug-regex36-ENV): New variable.
33529         ($(objpfx)bug-regex36-mem.out): New rule.
33530         * posix/bug-regex36.c: New file.
33532 2014-06-19  Will Newton  <will.newton@linaro.org>
33534         * malloc/malloc.c (systrim): If extra is zero then return
33535         early.
33537 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33539         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33541 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33543         * sysdeps/aarch64/strchr.S: New file.
33545 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33547         [BZ #17022]
33548         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33549         from arguments -2 or below.
33550         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33551         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33553 2014-06-18  Andreas Schwab  <schwab@suse.de>
33555         [BZ #17062]
33556         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33557         of a bracket expr not to run off the end of the string.
33558         * posix/Makefile (tests): Add tst-fnmatch3.
33559         * posix/tst-fnmatch3.c: New file.
33561 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33563         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33564         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33565         [$(cross-compiling) = no]: Likewise.
33566         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33567         [$(cross-compiling) = no]: Likewise.
33569 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33571         [BZ #17031]
33572         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33573         double, adjusted for any remainder from the high double.
33574         * math/libm-test.inc (nearbyint): Add tests.
33575         (rint): Likewise.
33577 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33579         * nptl/sysdeps/powerpc/Makefile: Moved ...
33580         * sysdeps/powerpc/nptl/Makefile: ... here.
33581         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33582         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33583         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33584         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33585         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33586         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33587         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33588         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33589         * nptl/sysdeps/powerpc/tls.h: Moved ...
33590         * sysdeps/powerpc/nptl/tls.h: ... here.
33592 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33594         [BZ #16681]
33595         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33596         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33597         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33598         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33599         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33600         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33601         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33602         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33603         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33605 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33607         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33609 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33611         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33612         defined operator.
33614         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33615         $TIMEOUTFACTOR.
33617 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33619         [BZ #17058]
33620         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33621         non-executed part of the test.
33623 2014-06-16  Andreas Schwab  <schwab@suse.de>
33625         * string/bits/string2.h (strdup, strndup): Update feature guard.
33627 2014-06-14  David S. Miller  <davem@davemloft.net>
33629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33631 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33633         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33634         that was previously under [RESET_PID].
33635         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33637         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33638         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33639         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33640         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33641         (__libc_vfork): New strong alias.
33642         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33644 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33646         * sysdeps/generic/elide.h: New file.
33648 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33650         * Makefile (installed-headers): Adjust path of pthread.h header.
33652 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33654         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33655         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33656         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33657         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33659         * nptl/sysdeps/s390/Makefile: Moved ...
33660         * sysdeps/s390/nptl/Makefile: ... here.
33661         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33662         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33663         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33664         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33665         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33666         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33667         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33668         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33669         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33670         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33671         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33672         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33673         * nptl/sysdeps/s390/tls.h: Moved ...
33674         * sysdeps/s390/nptl/tls.h: ... here.
33676         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33677         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33679 2014-06-13  David S. Miller  <davem@davemloft.net>
33681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33684         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33688         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33689         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33690         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33691         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33692         Remove RESET_PID cpp guards.
33693         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33694         Remove RESET_PID cpp guards.
33695         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33697 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33699         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33700         __sp to uintptr_t.
33702 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33704         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33705         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33706         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33707         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33708         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33709         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33710         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33711         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33712         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33713         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33714         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33715         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33716         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33717         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33718         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33719         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33720         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33721         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33723         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33725         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33726         (pthread_rwlock_rdlock): Add elision.
33727         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33728         (pthread_rwlock_wrlock): Add elision.
33729         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33730         (pthread_rwlock_trywrlock): Add elision.
33731         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33732         (pthread_rwlock_tryrdlock): Add elision.
33733         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33734         (pthread_rwlock_tryrdlock): Add elision unlock.
33735         * nptl/sysdeps/pthread/pthread.h:
33736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33737         (PTHREAD_RWLOCK_INITIALIZER,
33738         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33739         Handle new elision field.
33740         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33741         * sysdeps/arm/nptl/bits/pthreadtypes.h
33742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33743         * sysdeps/sh/nptl/bits/pthreadtypes.h
33744         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33745         * sysdeps/tile/nptl/bits/pthreadtypes.h
33746         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33747         * sysdeps/a/nptl/bits/pthreadtypes.h
33748         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33749         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33750         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33751         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33752         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33753         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33754         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33755         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33756         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33757         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33758         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33759         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33760         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33761         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33762         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33763         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33764         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33765         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33766         (elision_init): Set try_xbegin to zero when no RTM.
33767         * sysdeps/x86/nptl/bits/pthreadtypes.h
33768         (pthread_rwlock_t): Change __pad1 to __rwelision.
33769         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33771 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33773         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33774         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33775         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33776         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33778 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33780         [BZ #16996]
33781         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33782         that the cached result has been set before returning it.
33784 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33786         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33787         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33788         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33789         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33790         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33791         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33793         * nptl/sysdeps/sparc/Makefile: Moved ...
33794         * sysdeps/sparc/nptl/Makefile: ... here.
33795         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33796         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33797         * nptl/sysdeps/sparc/tls.h: Moved ...
33798         * sysdeps/sparc/nptl/tls.h: ... here.
33799         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33800         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33801         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33802         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33803         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33804         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33805         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33806         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33807         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33808         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33809         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33810         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33811         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33812         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33813         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33814         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33815         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33816         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33817         Update #include.
33818         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33819         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33820         Update #include.
33821         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33822         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33823         Update #include.
33824         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33825         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33826         Update #include.
33828         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33830         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33831         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33833         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33834         (struct list_links): Type removed.
33835         (struct thread_node, struct timer_node): Replace struct list_links
33836         with struct list_head.
33837         (list_unlink_ip): Likewise.
33838         * sysdeps/pthread/timer_routines.c
33839         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33840         (list_append, list_insbefore): Likewise.
33841         (list_init): Function removed.
33842         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33843         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33844         * sysdeps/pthread/Makefile: ... here, new file.
33846         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33847         * sysdeps/nptl/Implies: ... here.
33848         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33849         * nptl/sysdeps/pthread/list.h: Moved ...
33850         * include/list.h: ... here.
33851         * nptl/sysdeps/pthread/createthread.c: Moved ...
33852         * nptl/createthread.c: ... here.
33853         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33854         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33855         * nptl/pt-longjmp.c: ... here.
33856         * nptl/sysdeps/pthread/Makefile: Moved ...
33857         * sysdeps/nptl/Makefile: ... here.
33858         * nptl/sysdeps/pthread/Subdirs: Moved ...
33859         * sysdeps/nptl/Subdirs: ... here.
33860         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33861         * sysdeps/nptl/aio_misc.h: ... here.
33862         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33863         * sysdeps/nptl/bits/libc-lock.h: ... here.
33864         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33865         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33866         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33867         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33868         * nptl/sysdeps/pthread/configure: Moved ...
33869         * sysdeps/nptl/configure: ... here.
33870         * nptl/sysdeps/pthread/configure.ac: Moved ...
33871         * sysdeps/nptl/configure.ac: ... here.
33872         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33873         * sysdeps/nptl/gai_misc.h: ... here.
33874         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33875         * sysdeps/nptl/librt-cancellation.c: ... here.
33876         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33877         * sysdeps/nptl/malloc-machine.h: ... here.
33878         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33879         * sysdeps/nptl/pthread-functions.h: ... here.
33880         * nptl/sysdeps/pthread/pthread.h: Moved ...
33881         * sysdeps/nptl/pthread.h: ... here.
33882         * nptl/sysdeps/pthread/setxid.h: Moved ...
33883         * sysdeps/nptl/setxid.h: ... here.
33884         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33885         * sysdeps/nptl/sigfillset.c: ... here.
33886         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33887         * sysdeps/nptl/tcb-offsets.h: ... here.
33888         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33889         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33890         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33891         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33892         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33893         * sysdeps/pthread/allocalim.h: ... here.
33894         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33895         * sysdeps/pthread/bits/sigthread.h: ... here.
33896         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33897         * sysdeps/pthread/flockfile.c: ... here.
33898         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33899         * sysdeps/pthread/ftrylockfile.c: ... here.
33900         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33901         * sysdeps/pthread/funlockfile.c: ... here.
33902         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33903         * sysdeps/pthread/posix-timer.h: ... here.
33904         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33905         * sysdeps/pthread/timer_create.c: ... here.
33906         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33907         * sysdeps/pthread/timer_delete.c: ... here.
33908         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33909         * sysdeps/pthread/timer_getoverr.c: ... here.
33910         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33911         * sysdeps/pthread/timer_gettime.c: ... here.
33912         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33913         * sysdeps/pthread/timer_routines.c: ... here.
33914         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33915         * sysdeps/pthread/timer_settime.c: ... here.
33916         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33917         * sysdeps/pthread/tst-timer.c: ... here.
33918         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33919         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33921         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33922         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33924         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33925         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33926         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33927         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33928         Update #include target.
33929         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33930         * sysdeps/i386/i686/nptl/Makefile: ... here.
33931         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33932         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33933         Update #include target.
33934         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33935         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33936         * nptl/sysdeps/i386/Makefile: Moved ...
33937         * sysdeps/i386/nptl/Makefile: ... here.
33938         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33939         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33940         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33941         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33942         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33943         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33944         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33945         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33946         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33947         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33948         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33949         * nptl/sysdeps/i386/tls.h: Moved ...
33950         * sysdeps/i386/nptl/tls.h: ... here.
33952         * sysdeps/sh/Makefile [$(subdir) = csu]
33953         (gen-as-const-headers): Add tcb-offsets.sym.
33954         * nptl/sysdeps/sh/Makefile: File removed.
33955         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33956         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33957         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33958         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33959         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33960         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33961         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33962         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33963         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33964         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33965         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33966         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33967         * nptl/sysdeps/sh/tls.h: Moved ...
33968         * sysdeps/sh/nptl/tls.h: ... here.
33969         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33970         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33971         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33972         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33973         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33974         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33975         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33976         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33977         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33978         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33979         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33980         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33981         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33982         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33983         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33984         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33985         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33986         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33987         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33988         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33989         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33990         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33991         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33992         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33993         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33994         Moved ...
33995         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33996         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33997         Moved ...
33998         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33999         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34000         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34001         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34002         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34003         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34004         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34005         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34006         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34007         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34008         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34009         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34010         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34011         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34012         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34013         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34014         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34015         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34016         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34018 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34020         * posix/spawn_faction_addopen.c: Include string.h.
34022 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34024         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34025         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34026         * nptl/sysdeps/x86_64/Makefile: Moved ...
34027         * sysdeps/x86_64/nptl/Makefile: ... here.
34028         * nptl/sysdeps/x86_64/configure: Moved ...
34029         * sysdeps/x86_64/nptl/configure: ... here.
34030         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34031         * sysdeps/x86_64/nptl/configure.ac: ... here.
34032         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34033         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34034         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34035         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34036         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34037         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34038         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34039         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34040         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34041         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34042         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34043         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34044         * nptl/sysdeps/x86_64/tls.h: Moved ...
34045         * sysdeps/x86_64/nptl/tls.h: ... here.
34046         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34047         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34048         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34049         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34051         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34053 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34057 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34059         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34060         type.
34061         [POSIX] (off_t): Likewise.
34062         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34063         [POSIX] (S_ISBLK): Require macro.
34064         [POSIX] (S_ISCHR): Likewise.
34065         [POSIX] (S_ISDIR): Likewise.
34066         [POSIX] (S_ISFIFO): Likewise.
34067         [POSIX] (S_ISREG): Likewise.
34068         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34069         optional-macro.
34070         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34071         type.
34072         [POSIX] (time_t): Likewise.
34073         [POSIX] (timer_t): Likewise.
34075 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34077         [BZ #17048]
34078         * posix/spawn_int.h (struct __spawn_action): Make the path string
34079         non-const to support deallocation.
34080         * posix/spawn_faction_addopen.c
34081         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34082         * posix/spawn_faction_destroy.c
34083         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34084         path in all spawn_do_open actions.
34085         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34086         posix_spawn_file_actions_addopen.
34088 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34090         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34091         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34092         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34093         conditional code always true.
34094         (__libc_vfork): New alias.
34096 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34098         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34099         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34101         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34103         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34104         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34106         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34107         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34109         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34110         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34112 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34114         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34115         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34116         multiarch strcmp for PPC64.
34117         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34118         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34120         multiarch optimizations.
34121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34122         (__libc_ifunc_impl_list): Likewise.
34124 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34126         * benchtests/scripts/validate_benchout.py: New script.
34127         * benchtests/Makefile (bench-func): Call it.
34128         * benchtests/scripts/benchout.schema.json: New file.
34130 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34132         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34133         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34134         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34135         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34136         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34137         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34138         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34139         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34140         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34141         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34142         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34143         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34144         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34145         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34146         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34147         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34149         Moved ...
34150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34151         ... here.
34152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34153         Moved ...
34154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34156         Moved ...
34157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34158         ... here.
34159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34160         Moved ...
34161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34162         ... here.
34163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34164         Moved ...
34165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34167         Moved ...
34168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34169         ... here.
34170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34171         Moved ...
34172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34173         ... here.
34174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34175         Moved ...
34176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34178         Moved ...
34179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34180         ... here.
34181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34182         Moved ...
34183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34184         ... here.
34185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34186         Moved ...
34187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34188         ... here.
34189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34190         Moved ...
34191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34193         Moved ...
34194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34195         ... here.
34196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34197         Moved ...
34198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34199         ... here.
34200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34201         Moved ...
34202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34203         ... here.
34204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34205         Moved ...
34206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34208         Moved ...
34209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34210         ... here.
34211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34212         Moved ...
34213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34214         ... here.
34215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34216         Moved ...
34217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34219         Moved ...
34220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34221         ... here.
34222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34223         Moved ...
34224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34226         Moved ...
34227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34229         Moved ...
34230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34231         ... here.
34232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34233         Moved ...
34234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34235         ... here.
34236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34237         Moved ...
34238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34239         ... here.
34240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34241         Moved ...
34242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34244         Moved ...
34245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34246         ... here.
34247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34248         Moved ...
34249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34250         ... here.
34251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34252         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34253         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34254         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34255         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34256         Moved ...
34257         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34258         ... here.
34259         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34260         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34261         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34262         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34263         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34264         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34265         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34266         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34267         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34268         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34269         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34270         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34271         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34272         Moved ...
34273         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34274         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34275         Moved ...
34276         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34277         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34278         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34279         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34280         Moved ...
34281         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34282         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34283         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34284         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34285         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34286         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34287         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34289 2014-06-10  Wilco  <wdijkstr@arm.com>
34291         * math/test-fenv-return.c: New file.
34292         * math/Makefile: Add new test test-fenv-return.
34294 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34296         [BZ #17042]
34297         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34298         when x - 1 is zero.
34299         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34300         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34301         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34302         0.0L for an argument of 1.0L.
34303         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34304         Likewise.
34305         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34306         value when x - 1 is zero.
34307         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34308         * sysdeps/i386/fpu/libm-test-ulps: Update.
34309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34311 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34313         [BZ #15119]
34314         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34316 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34318         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34319         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34321 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34323         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34324         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34326         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34327         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34329         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34330         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34332         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34333         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34335         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34336         if not already defined.
34337         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34338         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34339         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34340         (TLS_INIT_TP): Use it.
34341         (TLS_DEFINE_INIT_TP): New macro.
34342         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34344 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34346         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34347         constant.
34348         [POSIX] (IXANY): Likewise.
34349         [POSIX] (OLCUC): Likewise.
34350         [POSIX || POSIX2008] (CBAUD): Do not allow.
34351         [POSIX || POSIX2008] (DEFECHO): Likewise.
34352         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34353         [POSIX || POSIX2008] (ECHOKE): Likewise.
34354         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34355         [POSIX || POSIX2008] (EXTA): Likewise.
34356         [POSIX || POSIX2008] (EXTB): Likewise.
34357         [POSIX || POSIX2008] (FLUSHO): Likewise.
34358         [POSIX || POSIX2008] (LOBLK): Likewise.
34359         [POSIX || POSIX2008] (PENDIN): Likewise.
34360         [POSIX || POSIX2008] (SWTCH): Likewise.
34361         [POSIX || POSIX2008] (VDISCARD): Likewise.
34362         [POSIX || POSIX2008] (VDSUSP): Likewise.
34363         [POSIX || POSIX2008] (VLNEXT): Likewise.
34364         [POSIX || POSIX2008] (VREPRINT): Likewise.
34365         [POSIX || POSIX2008] (VSTATUS): Likewise.
34366         [POSIX || POSIX2008] (VWERASE): Likewise.
34367         (B*): Change to B[0123456789]*.
34368         * conform/data/time.h-data [POSIX || UNIX98]
34369         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34370         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34371         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34372         [POSIX] (tm_*): Do not allow.
34374 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34376         * Makefile (install): Don't set LANGUAGE.
34377         * Makefile.in (install): Likewise.
34378         * assert/Makefile (test-assert-ENV): Remove variable.
34379         (test-assert-perr-ENV): Likewise.
34380         * elf/Makefile (neededtest4-ENV): Likewise.
34381         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34382         [$(cross-compiling) = no]: Don't set LANGUAGE.
34383         * io/ftwtest-sh (LANG): Remove variable.
34384         * libio/Makefile (tst-widetext-ENV): Likewise.
34385         * manual/install.texi (Running make install): Don't refer to
34386         environment settings for make install.
34387         * INSTALL: Regenerated.
34388         * nptl/tst-tls6.sh: Don't set LANG.
34389         * posix/globtest.sh (LANG): Remove variable.
34390         * string/Makefile (tester-ENV): Likewise.
34391         (inl-tester-ENV): Likewise.
34392         (noinl-tester-ENV): Likewise.
34393         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34394         [$(cross-compiling) = no]: Don't set LANGUAGE.
34395         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34396         without explicit environment settings.
34398 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34400         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34401         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34402         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34403         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34405 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34407         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34408         other files in the crypt directory.
34409         * crypt/crypt.c: Remove duplicate includes.
34410         * crypt/crypt-entry.c: Likewise.
34411         * crypt/crypt_util.c: Likewise.
34413 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34415         * Makeconfig (run-program-env): New variable.
34416         (run-program-prefix-before-env): Likewise.
34417         (run-program-prefix-after-env): Likewise.
34418         (run-program-prefix): Define in terms of new variables.
34419         (built-program-cmd-before-env): New variable.
34420         (built-program-cmd-after-env): Likewise.
34421         (built-program-cmd): Define in terms of new variables.
34422         (test-program-prefix-before-env): New variable.
34423         (test-program-prefix-after-env): Likewise.
34424         (test-program-prefix): Define in terms of new variables.
34425         (test-program-cmd-before-env): New variable.
34426         (test-program-cmd-after-env): Likewise.
34427         (test-program-cmd): Define in terms of new variables.
34428         * Rules (make-test-out): Use $(run-program-env).
34429         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34430         (help): Do not mention environment variables.  Mention
34431         --timeoutfactor option.
34432         (timeoutfactor): New variable.
34433         (blacklist_exports): Remove function.
34434         (exports): Remove variable.
34435         (command): Do not include ${exports}.
34436         * manual/install.texi (Configuring and compiling): Do not mention
34437         test wrappers preserving environment variables.  Mention that last
34438         assignment to a variable must take precedence.
34439         * INSTALL: Regenerated.
34440         * benchtests/Makefile (run-bench): Use $(run-program-env).
34441         * catgets/Makefile ($(objpfx)test1.cat): Use
34442         $(built-program-cmd-before-env), $(run-program-env) and
34443         $(built-program-cmd-after-env).
34444         ($(objpfx)test2.cat): Do not specify environment variables
34445         explicitly.
34446         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34447         $(run-program-env) and $(built-program-cmd-after-env).
34448         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34449         $(run-program-env) and $(test-program-cmd-after-env).
34450         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34451         explicitly.
34452         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34453         run_program_env and test_program_cmd_after_env arguments.
34454         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34455         * elf/tst-pathopt.sh: Use run_program_env argument.
34456         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34457         $(test-wrapper-env) and $(run-program-env).
34458         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34459         run_program_env arguments.
34460         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34461         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34462         $(test-program-prefix-before-env), $(run-program-env) and
34463         $(test-program-prefix-after-env).
34464         ($(objpfx)tst-gettext2.out): Likewise.
34465         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34466         run_program_env and test_program_prefix_after_env arguments.
34467         * intl/tst-gettext2.sh: Likewise.
34468         * intl/tst-gettext4.sh: Do not set environment variables
34469         explicitly.
34470         * intl/tst-gettext6.sh: Likewise.
34471         * intl/tst-translit.sh: Likewise.
34472         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34473         $(test-program-prefix-before-env), $(run-program-env) and
34474         $(test-program-prefix-after-env).
34475         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34476         run_program_env and test_program_prefix_after_env arguments.
34477         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34478         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34479         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34480         explicitly with each use of ${test_wrapper_env}.
34481         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34482         $(test-program-prefix-before-env), $(run-program-env) and
34483         $(test-program-prefix-after-env).
34484         * posix/tst-getconf.sh: Do not set environment variables
34485         explicitly.
34486         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34487         run_program_env and test_program_prefix_after_env arguments.
34488         * stdio-common/tst-printf.sh: Do not set environment variables
34489         explicitly.
34490         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34491         $(test-program-prefix-before-env), $(run-program-env) and
34492         $(test-program-prefix-after-env).
34493         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34494         run_program_env and test_program_prefix_after_env arguments.
34495         Split $test calls into $test_pre and $test.
34496         * timezone/Makefile (build-testdata): Use
34497         $(built-program-cmd-before-env), $(run-program-env) and
34498         $(built-program-cmd-after-env).
34500 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34502         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34503         strlen for non SHARED builds.
34505 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34507         * nptl/allocatestack.c (check_list): Inlined function...
34508         (__reclaim_stacks): ... here.
34510 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34512         [BZ #15698]
34513         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34514         memory overrun.
34516 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34518         * Rules (make-test-out): Include
34519         LOCPATH=$(common-objpfx)localedata in default environment.
34520         * debug/Makefile (tst-chk1-ENV): Remove variable.
34521         (tst-chk2-ENV): Likewise.
34522         (tst-chk3-ENV): Likewise.
34523         (tst-chk4-ENV): Likewise.
34524         (tst-chk5-ENV): Likewise.
34525         (tst-chk6-ENV): Likewise.
34526         (tst-lfschk1-ENV): Likewise.
34527         (tst-lfschk2-ENV): Likewise.
34528         (tst-lfschk3-ENV): Likewise.
34529         (tst-lfschk4-ENV): Likewise.
34530         (tst-lfschk5-ENV): Likewise.
34531         (tst-lfschk6-ENV): Likewise.
34532         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34533         (tst-iconv7-ENV): Likewise.
34534         * intl/Makefile (LOCPATH-ENV): Likewise.
34535         (tst-codeset-ENV): Likewise.
34536         (tst-gettext3-ENV): Likewise.
34537         (tst-gettext5-ENV): Likewise.
34538         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34539         (tst-fopenloc-ENV): Likewise.
34540         (tst-fgetws-ENV): Remove variable.
34541         (tst-ungetwc1-ENV): Likewise.
34542         (tst-ungetwc2-ENV): Likewise.
34543         (bug-ungetwc2-ENV): Likewise.
34544         (tst-swscanf-ENV): Likewise.
34545         (bug-ftell-ENV): Likewise.
34546         (tst-fgetwc-ENV): Likewise.
34547         (tst-fseek-ENV): Likewise.
34548         (tst-ftell-partial-wide-ENV): Likewise.
34549         (tst-ftell-active-handler-ENV): Likewise.
34550         (tst-ftell-append-ENV): Likewise.
34551         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34552         (tst-regexloc-ENV): Likewise.
34553         (bug-regex1-ENV): Likewise.
34554         (tst-regex-ENV): Likewise.
34555         (tst-regex2-ENV): Likewise.
34556         (bug-regex5-ENV): Likewise.
34557         (bug-regex6-ENV): Likewise.
34558         (bug-regex17-ENV): Likewise.
34559         (bug-regex18-ENV): Likewise.
34560         (bug-regex19-ENV): Likewise.
34561         (bug-regex20-ENV): Likewise.
34562         (bug-regex22-ENV): Likewise.
34563         (bug-regex23-ENV): Likewise.
34564         (bug-regex25-ENV): Likewise.
34565         (bug-regex26-ENV): Likewise.
34566         (bug-regex30-ENV): Likewise.
34567         (bug-regex32-ENV): Likewise.
34568         (bug-regex33-ENV): Likewise.
34569         (bug-regex34-ENV): Likewise.
34570         (bug-regex35-ENV): Likewise.
34571         (tst-rxspencer-ENV): Likewise.
34572         (tst-rxspencer-no-utf8-ENV): Likewise.
34573         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34574         (tst-sscanf-ENV): Likewise.
34575         (tst-swprintf-ENV): Likewise.
34576         (tst-swscanf-ENV): Likewise.
34577         (test-vfprintf-ENV): Likewise.
34578         (scanf13-ENV): Likewise.
34579         (bug14-ENV): Likewise.
34580         (tst-grouping-ENV): Likewise.
34581         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34582         (tst-strtod3-ENV): Likewise.
34583         (tst-strtod4-ENV): Likewise.
34584         (tst-strtod5-ENV): Likewise.
34585         (testmb2-ENV): Likewise./
34586         * string/Makefile (tst-strxfrm-ENV): Likewise.
34587         (tst-strxfrm2-ENV): Likewise.
34588         (bug-strcoll1-ENV): Likewise.
34589         (test-strcasecmp-ENV): Likewise.
34590         (test-strncasecmp-ENV): Likewise.
34591         * time/Makefile (tst-strptime-ENV): Likewise.
34592         (tst-ftime_l-ENV): Likewise.
34593         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34594         (tst-mbrtowc-ENV): Likewise.
34595         (tst-wcrtomb-ENV): Likewise.
34596         (tst-mbrtowc2-ENV): Likewise.
34597         (tst-c16c32-1-ENV): Likewise.
34598         (tst-mbsnrtowcs-ENV): Likewise.
34600 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34602         * manual/resource.texi (How to get information about the memory
34603         subsystem?): Fix typo.
34604         Reported by Peon de la Parra Ivan <peon@keba.com>
34606 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34608         [BZ #16882]
34609         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34610         (pthread_spin_lock): Branch out of spin loop to proper location.
34611         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34612         (pthread_spin_lock): Likewise.
34614         * nptl/tst-spin4.c: New test.
34615         * nptl/Makefile (tests): Add tst-spin4.
34617 2014-06-03  Andreas Schwab  <schwab@suse.de>
34619         [BZ #15946]
34620         * resolv/res_send.c (send_dg): Reload file descriptor after
34621         calling reopen.
34623 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34625         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34627 2014-06-03  Richard Henderson  <rth@redhat.com>
34629         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34630         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34631         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34632         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34633         in the SAVE_PID block.
34634         (__libc_vfork): New alias.
34635         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34637         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34638         child in registers, not on the stack.  Remove RESET_PID conditionals.
34639         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34641 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34643         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34645 2014-06-03  Wilco  <wdijkstr@arm.com>
34647         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34648         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34649         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34650         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34651         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34652         Likewise.
34654 2014-06-03  Wilco  <wdijkstr@arm.com>
34656         * sysdeps/aarch64/fpu/math_private.h
34657         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34658         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34659         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34660         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34661         Fix declarations.
34663 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34665         * crypt/crypt-private.h: Include ufc-crypt.h.
34666         (__b64_from_24bit): Declare extern.
34667         * crypt/crypt_util.c(__b64_from_24bit): New function.
34668         (b64t): New static const variable.
34669         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34670         (b64t): Remove variable.
34671         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34672         * crypt/sha256-crypt.c: Include crypt-private.h.
34673         (b64t): Remove variable.
34674         (__sha256_crypt_r): Remove b64_from_24bit and replace
34675         with __b64_from_24bit.
34676         * crypt/sha512-crypt.c: Likewise.
34678 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34680         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34681         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34682         Label the code __libc_vfork rather than __vfork.
34683         [!NOT_IN_libc] (vfork): Define as weak alias.
34684         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34685         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34686         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34688 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34690         * malloc/malloc.c (malloc_info): Fix format specifier for
34691         n_mmaps.
34693 2014-06-02  Wilco  <wdijkstr@arm.com>
34695         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34696         FPCR write.
34698 2014-06-02  Wilco  <wdijkstr@arm.com>
34700         [BZ #17009]
34701         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34702         Rewrite to reduce FPCR/FPSR accesses.
34704 2014-06-01  David S. Miller  <davem@davemloft.net>
34706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34708 2014-05-31  David S. Miller  <davem@davemloft.net>
34710         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34711         to occur in round to nearest mode when |x| >= 2.0
34713 2014-05-30  Richard Henderson  <rth@twiddle.net>
34715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34716         (PSEUDO_RET_NOERRNO): Remove.
34717         (ret): Don't redefine.
34718         (ret_NOERRNO): Define in terms of ret.
34719         (ret_ERRVAL): Likewise.
34721         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34722         use of PSEUDO_RET; perform the error check directly.
34724 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34726         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34727         with __int128_t.
34729 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34731         * malloc/malloc (malloc_info): Fix formatting.
34733 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34734             Roland McGrath  <roland@hack.frob.com>
34736         * malloc/malloc (malloc_info): Also print mmapped statistics.
34738 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34740         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34741         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34743 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34745         * malloc/malloc.c (malloc_info): Inline mi_arena.
34747 2014-05-29  Richard Henderson  <rth@twiddle.net>
34749         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34750         Remove comma before expanding ASM_ARGS_##nr.
34751         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34752         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34753         of ASM_ARGS_##nr.
34754         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34755         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34756         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34757         (ASM_ARGS_1): Add leading comma.
34759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34760         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34761         to __errno_location.
34762         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34763         Remove the expected plt for __errno_location.
34765         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34766         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34767         call to __read_tp.
34769         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34770         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34771         it and break it down.
34772         (DOCARGS_0, DOCARGS_1): Do nothing.
34773         (DOCARGS_2): Update to store into the new stack frame.
34774         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34775         (UNDOCARGS_1): Update to restore from the new stack frame.
34776         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34777         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34779         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34780         (SINGLE_THREAD_P): New parameter for result regno.
34781         (PSEUDO): Update to match; use cbz instead of beq.
34783         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34784         Use ENTRY to define the _nocancel entry point.  Share the syscall
34785         and syscall error check paths with the cancel path.
34786         (PSEUDO_END): New.
34788         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34789         whitespace; tabs before and after asm mnemonics.
34791 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34793         [BZ #15132]
34794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34795         Call fstat64 or stat64 internally, depending on arguments passed.
34796         Replace stat buffer argument with file descriptor argument.
34797         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34798         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34799         Pass fd to __internal_statvfs instead of calling fstat64.
34800         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34801         Pass fd to __internal_statvfs64 instead of calling fstat64.
34802         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34803         Pass -1 to __internal_statvfs instead of calling stat64.
34804         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34805         Pass -1 to __internal_statvfs64 instead of calling stat64.
34807 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34809         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34810         that was previously under [RESET_PID].
34811         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34813         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34814         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34816 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34818         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34820         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34821         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34823 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34825         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34827 2014-05-27  Andreas Schwab  <schwab@suse.de>
34829         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34830         TLS_INIT_TP macro.
34831         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34832         * elf/rtld.c (init_tls, dl_main): Likewise.
34833         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34834         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34835         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34836         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34837         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34838         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34839         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34840         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34841         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34842         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34843         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34844         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34845         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34846         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34847         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34848         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34849         * sysdeps/generic/tls.h: Update description.
34851 2014-05-27  Will Newton  <will.newton@linaro.org>
34853         [BZ #16990]
34854         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34855         and restore r2 rather than just restoring.
34857 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34859         [BZ #16724]
34860         * libio/tst-ftell-append.c: New test case.
34861         * libio/Makefile (tests): Add test case.
34862         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34863         append mode.
34864         * libio/wfileops.c (do_ftell_wide): Likewise.
34866 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34870         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34871         ...
34872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34874         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34875         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34876         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34877         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34878         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34879         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34881         Moved ...
34882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34883         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34884         Moved ...
34885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34886         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34887         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34888         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34889         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34890         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34891         ...
34892         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34893         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34894         Moved ...
34895         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34896         here.
34897         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34898         ...
34899         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34900         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34901         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34903         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34904         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34905         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34906         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34909         merge into ...
34910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34912         ...
34913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34915         ...
34916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34918         Moved ...
34919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34920         here.
34921         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34922         Moved ...
34923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34924         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34925         Moved ...
34926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34929         conditional [RESET_PID].
34930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34932         removed.
34933         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34934         removed.
34936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34937         <tcb-offsets.h>.
34938         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34939         (__libc_vfork): New strong alias.
34940         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34941         removed.
34942         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34943         Removed.
34945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34946         <tcb-offsets.h>.
34947         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34948         (__libc_vfork): New strong alias.
34949         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34950         removed.
34951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34952         removed.
34954 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34956         * malloc/malloc.c (mi_arena): New function.
34957         (malloc_info): Remove nested function mi_arena. Call non-nosted
34958         function mi_arena.
34960 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34962         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34963         by insrwi.
34964         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34965         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34966         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34967         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34968         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34969         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34970         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34972 2014-05-26  Andreas Schwab  <schwab@suse.de>
34974         [BZ #16984]
34975         * locale/programs/repertoire.c (repertoire_read): Add slash
34976         between I18NPATH element and file name.
34977         * locale/programs/locfile.c (locfile_read): Likewise.
34979 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34981         * nptl/pthread_mutexattr_settype.c
34982         (__pthread_mutexattr_settype):
34983         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34985 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34987         * nptl/tst-mutex5 (do_test):
34988         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34990 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34992         * benchtests/README: Document 'init' directive.
34993         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34994         BENCH_INIT.
34995         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34996         (parse_file): Recognize 'init' directive.
34998 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35000         [BZ #16796]
35001         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35002         alignment of struct pthread.
35004 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35006         [BZ #16878]
35007         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35008         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35009         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35010         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35012 2014-05-25  Richard Henderson  <rth@twiddle.net>
35014         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35015         (SINGLE_THREAD_P_PIC): Remove.
35016         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35017         (SINGLE_THREAD_P_PIC): Remove.
35019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35020         branch to syscall error ...
35021         (PSEUDO): ... here.
35022         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35023         from __local_syscall_error to .Lsyscall_error.
35024         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35025         (SYSCALL_ERROR): Update label name.
35027         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35028         Do not use DOARGS/UNDOARGS.
35029         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35030         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35031         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35032         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35033         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35035         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35036         block comment.
35038         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35039         define if !NOT_IN_libc.
35040         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35041         define with non-default symbol versions.
35043 2014-05-23  Richard Henderson  <rth@twiddle.net>
35045         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35046         (vfork, __vfork): Define via compat_symbol.
35048         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35049         [!HAVE_IFUNC] (vfork_compat): Remove.
35050         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35052 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35054         [BZ #16978]
35055         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35056         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35057         variable.
35059 2014-05-23  Richard Henderson  <rth@twiddle.net>
35061         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35062         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35063         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35064         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35066         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35067         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35068         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35069         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35070         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35071         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35072         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35073         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35074         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35075         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35076         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35077         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35078         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35079         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35080         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35081         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35082         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35083         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35084         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35085         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35086         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35087         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35088         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35089         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35090         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35091         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35092         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35093         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35094         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35095         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35096         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35097         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35098         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35099         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35100         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35101         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35102         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35103         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35104         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35105         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35106         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35107         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35108         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35109         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35110         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35111         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35112         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35113         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35114         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35115         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35116         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35117         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35118         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35119         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35121         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35123         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35124         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35125         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35126         before exiting on error.
35127         (__libc_vfork): New strong alias.
35128         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35129         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35131         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35132         that was previously under [RESET_PID].
35133         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35135         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35137 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35139         [BZ #16977]
35140         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35141         value when x - 1 is zero.
35142         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35143         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35144         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35145         0.0L for an argument of 1.0L.
35146         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35147         Likewise.
35148         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35149         value when x - 1 is zero.
35150         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35151         * sysdeps/i386/fpu/libm-test-ulps: Update.
35152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35154 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35156         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35157         alphasort and versionsort.
35159 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35161         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35162         macro.
35163         [copysignf]: Likewise.
35165 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35167         * crypt/md5-crypt.c: Fix formatting.
35169 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35171         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35172         (b64_from_24bit): New function.
35174 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35176         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35177         libc_hidden_builtin_def to ifunc.
35178         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35179         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35181 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35183         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35184         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35186 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35188         * nscd/Depend (linuxthreads): Remove.
35189         (nptl): Add.
35190         * resolv/Depend (linuxthreads): Remove.
35191         * rt/Depend (linuxthreads): Remove.
35193         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35194         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35195         $(common-objpfx)elf/.
35196         (link-libc-before-gnulib): Likewise.
35197         (elfobjdir): Remove variable.
35198         * Makefile (install): Use $(elf-objpfx) instead of
35199         $(common-objpfx)elf/.
35200         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35201         $(elfobjdir)/.
35202         (link-libc-deps): Likewise.
35203         ($(common-objpfx)libc.so): Likewise.
35204         ($(common-objpfx)linkobj/libc.so): Likewise.
35205         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35206         instead of $(common-objpfx)elf/.
35207         (symbolic-link-list): Likewise.
35208         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35209         [$(cross-compiling) = no]: Likewise.
35210         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35211         $(elfobjdir)/.
35212         (static-gnulib-arch): Likewise.
35213         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35214         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35215         $(common-objpfx)elf/.
35217 2014-05-21  Richard Henderson  <rth@redhat.com>
35219         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35220         (SINGLE_THREAD_P): Use the correct width load.  Fold
35221         into the ldr offset.
35223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35224         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35226 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35228         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35229         (libgcc_s_resume): Use __attribute_used__.
35230         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35231         Likewise.
35233 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35235         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35236         optimization when used with float constants.
35238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35240 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35242         [BZ #16915]
35243         * locale/nl_langinfo_l.c: Make direct reference to every
35244         _nl_current_CATEGORY symbol.
35245         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35246         (tests-static): Add tst-langinfo-static.
35247         (tests-special): Add tst-langinfo-static.out.
35248         ($(objpfx)tst-langinfo.out): Redirect output.
35249         ($(objpfx)tst-langinfo-static.out): New.
35250         * localedata/tst-langinfo.sh: Send output to stdout.
35251         * localedata/tst-langinfo-static.c: New file.
35253         [BZ #16965]
35254         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35255         when the shift amount is modulo the limb size.
35257 2014-05-20  Richard Henderson  <rth@redhat.com>
35259         [BZ #16967]
35260         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35261         Change type of sa_flags from unsigned int to int.
35263         [BZ #16966]
35264         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35266         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35268 2014-05-20  Will Newton  <will.newton@linaro.org>
35270         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35271         Test the return value of the system call in the nocancel case.
35273 2014-05-20  Will Newton  <will.newton@linaro.org>
35274             Yvan Roux  <yvan.roux@linaro.org>
35276         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35277         #include of asm/ptrace.h.
35278         (PTRACE_GET_THREAD_AREA): Remove #undef.
35279         (PTRACE_GETHBPREGS): Likewise.
35280         (PTRACE_SETHBPREGS): Likewise.
35281         (struct user_regs_struct): New structure.
35282         (struct user_fpsimd_struct): New structure.
35283         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35284         #include of asm/ptrace.h and second #include of sys/user.h.
35285         (PTRACE_GET_THREAD_AREA): Remove #undef.
35286         (PTRACE_GETHBPREGS): Likewise.
35287         (PTRACE_SETHBPREGS): Likewise.
35288         (ELF_NGREG): Use new struct user_regs_struct.
35289         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35291 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35293         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35296 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35298         [BZ #16958]
35299         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35300         membar to avoid block loads/stores to overlap previous stores.
35302 2014-05-17  Richard Henderson  <rth@redhat.com>
35304         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35305         Create the __##syscall_name##_nocancel entry point.
35306         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35307         Remove; let the sysdep-cancel.h code create it.
35309 2014-05-17  David S. Miller  <davem@davemloft.net>
35311         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35312         Protect with __USE_GNU.
35313         (TIOCSET_TEMPT): Likewise.
35314         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35315         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35316         these are already provided in bits/ioctl-types.h
35318 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35320         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35321         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35323         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35324         Use wait4 regardless of [__NR_waitpid].
35326 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35328         PR libgcc/60166
35329         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35330         (_FP_NANSIGN_Q): Set the quiet bit.
35332 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35334         * benchtests/Makefile
35335         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35336         not $(common-objpfx)math/libm.so.
35337         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35338         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35339         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35340         $(common-objpfx)dlfcn/libdl.so.
35341         ($(objpfx)tst-audit8): Depend on $(libm), not
35342         $(common-objpfx)math/libm.so.
35343         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35344         not $(common-objpfx)dlfcn/libdl.so.
35345         * math/Makefile
35346         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35347         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35348         [$(build-shared) = yes].
35349         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35350         $(common-objpfx)nptl/libpthread.so.
35351         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35352         $(common-objpfx)math/libm.so$(libm.so-version) or
35353         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35354         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35355         $(common-objpfx)dlfcn/libdl.so.
35356         * setjmp/Makefile (link-libm): Remove variable.
35357         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35358         * stdio-common/Makefile (link-libm): Remove variable.
35359         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35360         * stdlib/Makefile (link-libm): Remove variable.
35361         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35362         ($(objpfx)tst-strtod-round): Likewise.
35363         ($(objpfx)tst-tininess): Likewise.
35364         ($(objpfx)tst-strtod-underflow): Likewise.
35365         ($(objpfx)tst-strtod6): Likewise.
35366         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35367         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35368         $(common-objpfx)dlfcn/libdl.so.
35370 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35372         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35373         BSD terminal modes definitions.
35375 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35377         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35378         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35380         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35381         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35382         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35383         Don't do #include_next.
35384         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35385         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35386         Don't do #include_next.
35387         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35388         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35389         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35390         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35392 2014-05-16  Allan McRae  <allan@archlinux.org>
35394         * po/sv.po: Update Swedish translation from translation project.
35396         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35397         in sed expression.
35399 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35401         [BZ #16917]
35402         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35403         errno if the TIOCGPTN ioctl fails with an error different than
35404         EINVAL.
35405         * login/tst-ptsname.c: New file.
35406         * login/Makefile (tests): Add tst-ptsname.
35408         [BZ #16943]
35409         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35410         and prlimit64.
35412 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35414         [BZ #16849]
35415         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35416         herrno to return EAI_AGAIN.
35418 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35420         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35421         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35422         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35423         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35424         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35425         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35426         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35427         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35428         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35429         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35430         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35431         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35432         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35433         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35434         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35435         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35436         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35437         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35438         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35439         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35440         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35441         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35442         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35443         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35444         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35445         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35446         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35447         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35448         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35449         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35451         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35453         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35455         Moved ...
35456         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35458         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35460         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35462         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35464         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35466         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35468         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35470         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35472         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35474         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35476         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35478         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35480         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35482         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35484         Moved ...
35485         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35487         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35489         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35491         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35493         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35495         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35497         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35499         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35501         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35503         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35505         Moved ...
35506         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35508         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35510         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35511         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35512         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35513         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35514         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35515         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35516         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35517         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35518         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35519         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35520         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35521         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35522         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35523         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35524         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35525         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35526         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35527         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35528         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35529         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35530         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35531         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35532         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35533         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35534         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35535         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35536         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35537         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35538         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35539         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35540         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35542         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35543         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35545         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35546         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35547         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35548         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35549         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35550         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35551         Moved ...
35552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35553         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35554         Moved ...
35555         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35556         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35557         Moved ...
35558         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35559         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35560         Moved ...
35561         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35562         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35563         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35564         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35565         Moved ...
35566         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35567         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35568         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35569         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35570         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35571         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35572         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35573         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35574         Moved ...
35575         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35576         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35577         Moved ...
35578         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35579         ... here.
35580         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35581         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35582         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35583         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35584         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35585         Moved ...
35586         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35587         ... here.
35588         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35589         Moved ...
35590         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35591         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35592         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35593         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35594         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35595         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35596         Moved ...
35597         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35598         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35599         Moved ...
35600         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35601         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35602         Moved ...
35603         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35604         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35605         Moved ...
35606         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35607         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35608         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35609         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35610         Moved ...
35611         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35612         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35613         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35614         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35615         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35616         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35617         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35618         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35619         Moved ...
35620         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35621         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35622         Moved ...
35623         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35624         ... here.
35625         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35626         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35627         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35628         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35629         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35630         Moved ...
35631         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35632         ... here.
35633         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35634         Moved ...
35635         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35636         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35637         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35638         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35639         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35640         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35641         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35642         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35643         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35644         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35645         Moved ...
35646         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35647         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35648         Moved ...
35649         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35650         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35651         Moved ...
35652         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35653         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35654         Moved ...
35655         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35656         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35657         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35658         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35659         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35660         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35661         Moved ...
35662         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35663         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35664         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35665         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35666         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35667         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35668         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35669         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35670         Moved ...
35671         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35672         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35673         Moved ...
35674         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35675         ... here.
35676         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35677         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35678         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35679         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35680         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35681         Moved ...
35682         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35683         ... here.
35684         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35685         Moved ...
35686         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35687         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35688         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35689         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35690         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35691         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35692         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35693         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35694         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35695         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35696         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35698         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35699         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35701         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35702         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35704         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35705         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35706         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35707         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35708         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35709         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35710         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35711         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35712         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35713         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35714         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35715         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35716         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35717         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35718         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35719         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35720         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35721         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35722         Moved ...
35723         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35724         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35725         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35726         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35727         Moved ...
35728         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35729         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35730         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35731         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35732         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35733         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35734         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35735         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35736         Moved ...
35737         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35738         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35739         Moved ...
35740         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35741         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35742         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35743         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35744         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35745         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35746         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35747         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35748         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35749         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35750         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35751         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35752         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35753         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35754         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35755         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35756         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35758         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35759         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35760         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35761         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35762         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35764         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35765         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35766         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35767         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35768         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35769         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35770         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35771         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35772         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35773         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35775         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35776         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35778         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35779         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35780         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35781         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35782         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35783         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35784         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35785         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35786         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35787         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35788         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35789         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35790         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35791         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35792         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35793         Update #include.
35794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35795         Likewise.
35796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35797         Likewise.
35798         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35799         Likewise.
35800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35801         Likewise.
35802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35803         Likewise.
35804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35805         Likewise.
35806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35807         Likewise.
35808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35809         Likewise.
35810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35811         Likewise.
35812         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35815         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35816         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35817         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35818         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35819         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35820         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35821         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35822         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35823         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35824         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35825         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35826         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35828         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35829         that was previously under [RESET_PID].
35830         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35831         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35832         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35834         * sysdeps/i386/nptl/Implies: New file.
35835         * sysdeps/x86_64/nptl/Implies: New file.
35836         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35837         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35838         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35839         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35841         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35842         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35843         (__libc_vfork): New strong alias.
35844         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35845         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35847         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35848         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35849         (__libc_vfork): New strong alias.
35850         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35851         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35853         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35854         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35855         (__libc_vfork): New strong alias.
35856         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35857         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35858         * nptl/pt-vfork.c: New file.
35859         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35860         (libpthread: GLIBC_2.20): New version set (empty).
35862 2014-05-14  Will Newton  <will.newton@linaro.org>
35864         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35865         rather than #if.
35867 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35869         [BZ #16564]
35870         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35871         arguments with exponent 65 or above.
35872         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35873         arguments 0x1p113L or above.
35874         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35875         to arguments 0x1p107L or above.
35876         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35877         positive arguments with exponent 65 or above.
35878         * math/auto-libm-test-in: Add more tests of log1p.
35879         * math/auto-libm-test-out: Regenerated.
35881         [BZ #16928]
35882         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35883         non-finite arguments is +0.
35884         * math/s_cacosf.c (__cacosf): Likewise.
35885         * math/s_cacosl.c (__cacosl): Likewise.
35886         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35887         * sysdeps/i386/fpu/libm-test-ulps: Update.
35888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35890         [BZ #16927]
35891         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35892         value.
35893         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35894         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35895         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35896         for explicit high bit of mantissa when testing for argument equal
35897         to 1.
35898         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35899         * sysdeps/i386/fpu/libm-test-ulps: Update.
35900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35902         [BZ #16516]
35903         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35904         (__erf): Scale by 16 instead of 8 in potentially underflowing
35905         case.  Ensure exception if result actually underflows.
35906         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35907         (__erff): Scale by 16 instead of 8 in potentially underflowing
35908         case.  Ensure exception if result actually underflows.
35909         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35910         (efx8): Remove variable.
35911         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35912         case.  Ensure exception if result actually underflows.
35913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35914         (efx8): Remove variable.
35915         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35916         case.  Ensure exception if result actually underflows.
35917         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35918         (efx8): Remove variable.
35919         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35920         case.  Ensure exception if result actually underflows.
35921         * math/auto-libm-test-in: Add more tests of erf.
35922         * math/auto-libm-test-out: Regenerated.
35924 2014-05-14  Andreas Schwab  <schwab@suse.de>
35926         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35927         Remove code conditionalized on USE___THREAD.
35929         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35930         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35931         not definedness.
35933 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35935         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35936         Define unconditionally.
35937         (__ASSUME_O_CLOEXEC): Likewise.
35938         (__ASSUME_SOCK_CLOEXEC): Likewise.
35939         (__ASSUME_IN_NONBLOCK): Likewise.
35940         (__ASSUME_PIPE2): Likewise.
35941         (__ASSUME_EVENTFD2): Likewise.
35942         (__ASSUME_SIGNALFD4): Likewise.
35943         (__ASSUME_DUP3): Likewise.
35944         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35945         (__ASSUME_DUP3): Do not define.
35946         (__ASSUME_EVENTFD2): Likewise.
35947         (__ASSUME_IN_NONBLOCK): Likewise.
35948         (__ASSUME_O_CLOEXEC): Likewise.
35949         (__ASSUME_PIPE2): Likewise.
35950         (__ASSUME_SIGNALFD4): Likewise.
35951         (__ASSUME_SOCK_CLOEXEC): Likewise.
35952         (__ASSUME_UTIMES): Undefine.
35953         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35954         (__ASSUME_UTIMES): Do not define.
35955         (__ASSUME_O_CLOEXEC): Likewise.
35956         (__ASSUME_SOCK_CLOEXEC): Likewise.
35957         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35958         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35959         0x020621].
35960         (__ASSUME_PIPE2): Likewise.
35961         (__ASSUME_EVENTFD2): Likewise.
35962         (__ASSUME_SIGNALFD4): Likewise.
35963         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35964         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35965         Do not define.
35966         (__ASSUME_EVENTFD2): Likewise.
35967         (__ASSUME_SIGNALFD4): Likewise.
35968         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35969         (__ASSUME_32BITUIDS): Likewise.
35970         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35971         (__ASSUME_IPC64): Likewise.
35972         (__ASSUME_ST_INO_64_BIT): Likewise.
35973         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35974         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35975         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35976         (__ASSUME_UTIMES): Do not define.
35977         (__ASSUME_PSELECT): Likewise.
35978         (__ASSUME_PPOLL): Likewise.
35979         (__ASSUME_O_CLOEXEC): Likewise.
35980         (__ASSUME_SOCK_CLOEXEC): Likewise.
35981         (__ASSUME_IN_NONBLOCK): Likewise.
35982         (__ASSUME_PIPE2): Likewise.
35983         (__ASSUME_EVENTFD2): Likewise.
35984         (__ASSUME_SIGNALFD4): Likewise.
35985         (__ASSUME_DUP3): Likewise.
35986         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35987         (__ASSUME_UTIMES): Likewise.
35988         (__ASSUME_O_CLOEXEC): Likewise.
35989         (__ASSUME_SOCK_CLOEXEC): Likewise.
35990         (__ASSUME_IN_NONBLOCK): Likewise.
35991         (__ASSUME_PIPE2): Likewise.
35992         (__ASSUME_EVENTFD2): Likewise.
35993         (__ASSUME_SIGNALFD4): Likewise.
35994         (__ASSUME_DUP3): Likewise.
35995         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35996         (__ASSUME_UTIMES): Likewise.
35997         (__ASSUME_O_CLOEXEC): Likewise.
35998         (__ASSUME_SOCK_CLOEXEC): Likewise.
35999         (__ASSUME_IN_NONBLOCK): Likewise.
36000         (__ASSUME_PIPE2): Likewise.
36001         (__ASSUME_EVENTFD2): Likewise.
36002         (__ASSUME_SIGNALFD4): Likewise.
36003         (__ASSUME_DUP3): Likewise.
36004         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36005         Likewise.
36006         (__ASSUME_UTIMES): Likewise.
36007         (__ASSUME_EVENTFD2): Likewise.
36008         (__ASSUME_SIGNALFD4): Likewise.
36009         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36010         (__ASSUME_O_CLOEXEC): Likewise.
36011         (__ASSUME_SOCK_CLOEXEC): Likewise.
36012         (__ASSUME_IN_NONBLOCK): Likewise.
36013         (__ASSUME_PIPE2): Likewise.
36014         (__ASSUME_EVENTFD2): Likewise.
36015         (__ASSUME_SIGNALFD4): Likewise.
36016         (__ASSUME_DUP3): Likewise.
36017         (__ASSUME_UTIMES): Undefine.
36019         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36020         feclearexcept.  Remove symbol versioning code.
36021         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36022         symbol versioning code.
36023         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36024         symbol versioning code.
36025         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36026         feupdateenv.  Remove symbol versioning code.
36027         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36028         fegetexceptflag.  Remove symbol versioning code.
36029         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36030         fesetexceptflag.  Remove symbol versioning code.
36031         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36032         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36033         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36034         (__posix_fadvise64_l32): Remove prototype.
36035         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36036         code.
36038 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36040         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36041         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36042         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36043         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36045 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36047         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36048         current working directory
36050 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36052         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36053         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36054         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36055         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36056         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36057         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36058         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36059         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36060         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36061         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36062         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36063         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36064         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36065         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36066         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36067         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36068         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36069         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36070         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36071         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36072         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36073         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36074         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36075         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36076         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36077         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36078         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36079         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36080         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36081         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36082         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36083         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36084         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36085         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36086         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36087         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36088         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36089         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36090         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36091         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36092         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36093         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36095         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36096         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36098         * sysdeps/unix/sysv/linux/arm/Makefile
36099         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36100         Add rt-aeabi_unwind_cpp_pr1.
36101         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36102         Add nptl-aeabi_unwind_cpp_pr1.
36103         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36104         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36105         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36106         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36107         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36108         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36110         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36111         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36112         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36113         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36115         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36116         Deconditionalize the code that was previously under [RESET_PID].
36117         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36119         * sysdeps/generic/exit-thread.h: New file.
36120         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36121         * include/unistd.h (__exit_thread): Remove declaration.
36122         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36123         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36124         * csu/libc-start.c: Include <exit-thread.h>.
36125         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36126         * nptl/pthread_create.c: Include <exit-thread.h>.
36127         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36128         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36129         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36130         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36131         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36132         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36133         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36134         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36135         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36136         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36137         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36138         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36139         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36140         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36141         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36142         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36143         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36145 2014-05-13  Andreas Schwab  <schwab@suse.de>
36147         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36149 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36151         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36152         (__ASSUME_UTIMES): Do not condition on kernel version.
36153         (__ASSUME_PSELECT): Define unconditionally.
36154         (__ASSUME_PPOLL): Likewise.
36155         (__ASSUME_ATFCTS): Likewise.
36156         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36157         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36158         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36159         (__ASSUME_UTIMENSAT): Define unconditionally.
36160         (__ASSUME_PRIVATE_FUTEX): Likewise.
36161         (__ASSUME_FALLOCATE): Likewise.
36162         (__ASSUME_O_CLOEXEC): Likewise.
36163         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36164         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36165         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36166         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36167         (__ASSUME_IN_NONBLOCK): Likewise.
36168         (__ASSUME_PIPE2): Likewise.
36169         (__ASSUME_EVENTFD2): Likewise.
36170         (__ASSUME_SIGNALFD4): Likewise.
36171         (__ASSUME_DUP3): Likewise.
36172         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36173         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36174         (__ASSUME_AT_RANDOM): Likewise.
36175         (__ASSUME_PREADV): Likewise.
36176         (__ASSUME_PWRITEV): Likewise.
36177         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36178         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36179         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36180         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36181         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36182         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36183         (__ASSUME_O_CLOEXEC): Define unconditionally.
36184         (__ASSUME_PSELECT): Do not undefine conditionally.
36185         (__ASSUME_PPOLL): Likewise.
36186         (__ASSUME_ATFCTS): Likewise.
36187         (__ASSUME_SET_ROBUST_LIST): Likewise.
36188         (__ASSUME_UTIMENSAT): Likewise.
36189         (__ASSUME_FDATASYNC): Define unconditionally.
36190         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36191         (__ASSUME_SIGFRAME_V2): Likewise.
36192         )__ASSUME_EVENTFD2): Likewise.
36193         (__ASSUME_SIGNALFD4): Likewise.
36194         (__ASSUME_PSELECT): Do not undefine conditionally.
36195         (__ASSUME_PPOLL): Likewise.
36196         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36197         (__ASSUME_PSELECT): Define unconditionally.
36198         (__ASSUME_PPOLL): Likewise.
36199         (__ASSUME_O_CLOEXEC): Likewise.
36200         (__ASSUME_SOCK_CLOEXEC): Likewise.
36201         (__ASSUME_IN_NONBLOCK): Likewise.
36202         (__ASSUME_PIPE2): Likewise.
36203         (__ASSUME_EVENTFD2): Likewise.
36204         (__ASSUME_SIGNALFD4): Likewise.
36205         (__ASSUME_DUP3): Likewise.
36206         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36207         (__ASSUME_O_CLOEXEC): Likewise.
36208         (__ASSUME_SOCK_CLOEXEC): Likewise.
36209         (__ASSUME_IN_NONBLOCK): Likewise.
36210         (__ASSUME_PIPE2): Likewise.
36211         (__ASSUME_EVENTFD2): Likewise.
36212         (__ASSUME_SIGNALFD4): Likewise.
36213         (__ASSUME_DUP3): Likewise.
36214         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36215         (__ASSUME_EVENTFD2): Likewise.
36216         (__ASSUME_SIGNALFD4): Likewise.
36217         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36219 2014-05-12  Andreas Schwab  <schwab@suse.de>
36221         [BZ #16932]
36222         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36223         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36224         than maximum RPC packet size.
36225         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36226         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36227         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36228         (_nss_nis_getservbyport_r): Likewise.
36230 2014-05-12  Will Newton  <will.newton@linaro.org>
36232         * malloc/Makefile (tests): Add tst-mallopt.
36233         * malloc/tst-mallopt.c: New file.
36235 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36237         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36238         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36240 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36242         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36243         (tst-tlsmod6.so): Likewise.
36245 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36247         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36249 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36251         [BZ #16064]
36252         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36253         and <dl-procinfo.h>.
36254         (__fegetenv): Save SSE state in envp->__eip if supported.
36255         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36256         envp->__eip if supported.
36257         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36258         and <dl-procinfo.h>.
36259         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36260         __data_offset and __data_selector in environment to 0.  Set SSE
36261         state if supported.
36262         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36263         test-fenv-sse.
36264         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36265         -mfpmath=sse.
36266         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36268 2014-05-09  Will Newton  <will.newton@linaro.org>
36270         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36271         and libc_relro_required for ARM.
36272         * sysdeps/arm/preconfigure: Regenerate.
36274 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36275             Stefan Liebler  <stli@linux.vnet.ibm.com>
36277         * config.make.in (enable-lock-elision): New Makefile variable.
36278         * configure.ac: Likewise.
36279         * configure: Regenerate.
36280         * sysdeps/s390/configure.ac:
36281         Add check for gcc transactions support.
36282         * sysdeps/s390/configure: Regenerate.
36283         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36284         Build elision files if enabled.
36285         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36286         Add lock elision support for s390.
36287         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36288         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36289         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36290         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36291         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36292         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36293         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36294         Likewise.
36295         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36296         Likewise.
36297         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36298         Likewise.
36299         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36300         Likewise.
36301         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36302         (__lll_timedlock_elision, __lll_lock_elision)
36303         (__lll_unlock_elision, __lll_trylock_elision)
36304         (lll_timedlock_elision, lll_lock_elision)
36305         (lll_unlock_elision, lll_trylock_elision): Add.
36306         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36307         (pthread_mutex_t): Add lock elision support for s390.
36309 2014-05-14  Wilco  <wdijkstr@arm.com>
36311         * sysdeps/arm/fclrexcpt.c: Cleanup.
36312         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36313         * sysdeps/arm/feenablxcpt.c: Cleanup.
36314         * sysdeps/arm/fegetenv.c: Cleanup.
36315         * sysdeps/arm/fegetexcept.c: Cleanup.
36316         * sysdeps/arm/fegetround.c: Cleanup.
36317         * sysdeps/arm/feholdexcpt.c: Cleanup.
36318         * sysdeps/arm/fesetenv.c: Cleanup.
36319         * sysdeps/arm/fesetround.c: Cleanup.
36320         * sysdeps/arm/feupdateenv.c: Cleanup.
36321         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36322         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36323         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36324         * sysdeps/arm/ftestexcept.c: Cleanup.
36325         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36326         * sysdeps/arm/setfpucw.c: Cleanup.
36328 2014-05-09  Will Newton  <will.newton@linaro.org>
36330         * sysdeps/arm/armv7/strcmp.S: New file.
36331         * NEWS: Mention addition of ARMv7 optimized strcmp.
36333 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36335         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36336         look for %.ac rather than %.in.
36338         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36339         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36340         * sysdeps/mach/hurd/configure: Regenerated.
36341         * sysdeps/unix/sysv/linux/configure: Regenerated.
36343         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36345 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36347         [BZ# 16922]
36348         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36349         (LONG_SUB): Ditto.
36350         (PTR_SUB): Ditto.
36352 2014-05-07  Andreas Schwab  <schwab@suse.de>
36354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36355         when skipping over non-matching result from nscd.
36357 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36359         [BZ #16876]
36360         * nptl/sockperf.c (client): Check socket return value.
36362         [BZ #16877]
36363         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36364         nscd security class.
36366 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36368         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36369         * sysdeps/arm/unwind.h: ... here.
36371 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36373         [BZ# 16916]
36374         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36375         Define.
36377 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36379         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36380         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36381         multiarch strncpy for PPC64.
36382         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36383         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36385         multiarch optimizations.
36386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36387         (__libc_ifunc_impl_list): Likewise.
36388         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36389         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36390         multiarch stpncpy for PPC64.
36391         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36392         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36394 2014-05-06  Andreas Schwab  <schwab@suse.de>
36396         [BZ #16912]
36397         * gmon/mcount.c (_MCOUNT_DECL): Use
36398         atomic_compare_and_exchange_bool_acq instead of
36399         catomic_compare_and_exchange_bool_acq.
36401 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36403         * elf/Makefile (others, install-bin): Remove pldd.
36404         (pldd-modules): Variable removed.
36405         ($(objpfx)pldd): Target removed.
36406         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36407         (others, install-bin): Append pldd here.
36408         ($(objpfx)pldd): New target.
36410         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36411         to 0, so the first #if test emitted later doesn't see it undefined.
36412         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36413         * sysdeps/gnu/errlist.c: Regenerated.
36415 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36417         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36418         [libc_hidden_builtin_def]: Define to empty value.
36419         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36420         [libc_hidden_builtin_def]: Likewise.
36421         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36422         [libc_hidden_builtin_def]: Likewise.
36423         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36424         [libc_hidden_builtin_def]: Likewise.
36425         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36426         __redirect_memcpy and define ifunc as default hidden symbol.
36427         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36428         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36430 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36432         * locale/iso-4217.def: Reintroduce XDR currency.
36434 2014-05-04  Allan McRae  <allan@archlinux.org>
36436         * po/eo.po: Update Esperanto translation from translation project.
36438 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36440         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36441         and FEATURE_INDEX_MAX to 1.
36442         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36444 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36446         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36447         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36448         * iconvdata/big5.c (ONE_DIRECTION): Define.
36449         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36450         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36451         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36452         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36453         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36454         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36455         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36456         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36457         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36458         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36459         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36460         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36461         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36462         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36463         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36464         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36465         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36466         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36467         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36468         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36469         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36470         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36471         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36472         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36473         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36474         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36475         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36476         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36477         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36478         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36479         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36480         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36481         * iconvdata/johab.c (ONE_DIRECTION): Define.
36482         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36483         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36484         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36485         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36486         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36487         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36488         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36489         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36490         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36491         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36493 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36495         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36496         (_IO_JUMPS_OFFSET): Define to 0.
36498         * nptl/sysdeps/pthread/bits/libc-lock.h
36499         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36500         (__libc_lock_define_initialized_recursive): Always define using
36501         initializer.  Modern compilers treat uninitialized (implicit zero) and
36502         explicit zero initializers the same (i.e. put the datum in bss).
36504 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36506         * nscd/nscd-client.h: Include <string.h>.
36508 2014-05-01  David S. Miller  <davem@davemloft.net>
36510         [BZ #16885]
36511         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36512         multiple zero bytes exist at the end of a string.
36513         Reported by Aurelien Jarno <aurelien@aurel32.net>
36515         * string/test-strcmp.c (check): Add explicit test for situations where
36516         there are multiple zero bytes after the first.
36518 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36520         [BZ #16890]
36521         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36522         when compiling wprintf.
36523         * stdio-common/tstdiomisc.c (t3): New function.
36524         (main): Call it.
36526 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36528         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36529         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36530         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36531         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36533 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36535         * stdlib/longlong.h: Updated from GCC.
36537 2014-05-01  Will Newton  <will.newton@linaro.org>
36538             Bernard Ogden  <bernie.ogden@linaro.org>
36540         * NEWS: Update fixed bug list.
36542         [BZ #15119]
36543         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36545 2014-04-30  David S. Miller  <davem@davemloft.net>
36547         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36548         (libc_feholdexcept_setround_sparc_ctx): New function.
36549         (libc_fesetenv_sparc_ctx): Likewise.
36550         (libc_feupdateenv_sparc_ctx): Likewise.
36551         (libc_feholdsetround_sparc_ctx): Likewise.
36552         (libc_feholdexcept_setround_ctx): Define.
36553         (libc_feholdexcept_setroundf_ctx): Likewise.
36554         (libc_feholdexcept_setroundl_ctx): Likewise.
36555         (libc_fesetenv_ctx): Likewise.
36556         (libc_fesetenvf_ctx): Likewise.
36557         (libc_fesetenvl_ctx): Likewise.
36558         (libc_feupdateenv_ctx): Likewise.
36559         (libc_feupdateenvf_ctx): Likewise.
36560         (libc_feupdateenvl_ctx): Likewise.
36561         (libc_feresetround_ctx): Likewise.
36562         (libc_feresetroundf_ctx): Likewise.
36563         (libc_feresetroundl_ctx): Likewise.
36564         (libc_feholdsetround_ctx): Likewise.
36565         (libc_feholdsetroundf_ctx): Likewise.
36566         (libc_feholdsetroundl_ctx): Likewise.
36568         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36569         with __USE_GNU instead of XOPEN cpp guards.
36571         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36572         0.
36574         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36575         with XOPEN cpp guards.
36577 2014-04-30  Julian Brown  <julian@codesourcery.com>
36579         [BZ #16888]
36580         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36581         handling.
36583 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36585         [BZ #9894]
36586         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36587         Change to 2.6.32.
36588         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36589         * sysdeps/unix/sysv/linux/configure: Regenerated.
36590         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36591         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36592         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36593         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36594         * README: Update reference to required Linux kernel version.
36595         * manual/install.texi (Linux): Update reference to required Linux
36596         kernel headers version.
36597         * INSTALL: Regenerated.
36599         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36600         header inclusion.
36601         [POSIX] (limits.h): Likewise.
36602         [POSIX] (math.h): Likewise.
36603         [POSIX] (sys/wait.h): Likewise.
36604         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36605         function.
36606         [POSIX] (stddef.h): Do not allow header inclusion.
36608 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36610         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36612 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36614         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36615         Return immediately after lll_futex_wake.
36617 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36619         [BZ #16791]
36620         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36621         structure.
36622         (datahead_init_pos): Call datahead_init_common early.
36623         (datahead_init_neg): Likewise.
36625         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36626         datahead_init_neg): New functions.
36627         * nscd/aicache.c (addhstaiX): Use them.
36628         * nscd/grpcache.c (cache_addgr): Likewise.
36629         * nscd/hstcache.c (cache_addhst): Likewise.
36630         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36631         * nscd/netgroupcache.c (do_notfound): Likewise.
36632         (addgetnetgrentX): Likewise.
36633         (addinnetgrX): Likewise.
36634         * nscd/pwdcache.c (cache_addpw): Likewise.
36635         * nscd/servicescache.c (cache_addserv): Likewise.
36637 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36638             Atsushi Onoe  <atsushi@onoe.org>
36640         [BZ #14308]
36641         [BZ #12994]
36642         [BZ #13651]
36643         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36644         one response is valid.
36645         * resolv/res_send.c (send_dg): Check for validity of other
36646         response if the current response is a referral.
36648 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36650         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36652 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36654         [BZ #16823]
36655         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36656         Always divide by positive zero when computing -Inf result.
36657         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36658         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36660 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36662         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36663         FPSCR if value do not change.
36664         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36665         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36666         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36667         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36668         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36669         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36670         function.
36672 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36674         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36675         * sysdeps/unix/sysv/linux/hppa: Move directory from
36676         ports/systeps/unix/sysv/linux/hppa.
36677         * README: Update listing for hppa-*-linux-gnu.
36679 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36681         [BZ #16754]
36682         * manual/stdio.texi (Hook functions): Fix types of stream hook
36683         functions.
36684         [BZ #16854]
36685         * socket/sys/socket.h: Fix typo in comment.
36687 2014-04-28  Wilco  <wdijkstr@arm.com>
36689         * sysdeps/arm/fenv_private.h: New file.
36690         * sysdeps/arm/math_private.h: New file.
36691         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36693 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36695         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36696         with __int128_t.
36697         (La_x86_64_retval): Likewise.
36699 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36701         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36702         fpsr if value didn't change.
36703         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36704         to fpcr if value didn't change.
36705         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36706         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36707         fpsr or fpcr if value didn't change.
36708         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36709         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36710         fpcr if value didn't change.
36711         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36712         to fpsr if value didn't change.
36714 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36716         * nptl/tst-sem3.c: Use test-skeleton.c
36717         (main): Rename to do_test.  Use return instead of
36718         exit.
36719         * nptl/tst-sem4.c: Use test-skeleton.c
36720         (main): Rename to do_test.
36722 2014-04-22  David S. Miller  <davem@davemloft.net>
36724         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36725         (struct sigaction): New struct member __glibc_reserved0, change
36726         type of sa_flags to int.
36728 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36730         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36731         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36733 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36735         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36736         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36738 2014-04-22  Will Newton  <will.newton@linaro.org>
36739             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36741         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36742         (__longjmp): Add longjmp and longjmp_target SystemTap
36743         probes.
36744         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36745         (__sigsetjmp): Add setjmp SystemTap probe.
36747 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36749         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36750         match manual order.
36752 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36754         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36756         * sysdeps/powerpc/fpu/fenv_private.h
36757         (libc_feholdexcept_setroundl_ctx): Define to
36758         libc_feholdexcept_setround_ppc_ctx.
36759         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36760         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36761         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36762         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36764 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36766         * sysdeps/aarch64/math-tests.h: New file.
36768 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36770         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36771         New.
36772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36773         Check and set bit_AVX2_Usable.
36774         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36775         macro.
36776         (bit_AVX2): Likewise.
36777         (index_AVX2_Usable): Likewise.
36778         (CPUID_AVX2): Likewise.
36779         (HAS_AVX2): Likewise.
36781 2014-04-17  Will Newton  <will.newton@linaro.org>
36783         * manual/setjmp.texi (System V contexts): Add note that
36784         calling setcontext on a context created by a call to a
36785         signal handler is undefined.  Update text to note that
36786         setcontext from a signal handler is possible but not
36787         recommended.
36789         [BZ #16629]
36790         * stdlib/tst-setcontext.c: Include signal.h.
36791         (main): Check that the signal stack before and
36792         after swapcontext is the same.
36794         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36795         Re-implement to restore registers in user code and avoid
36796         rt_sigreturn system call.
36798 2014-04-17  Wilco  <wdijkstr@arm.com>
36800         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36801         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36802         * math/test-fenv.c: Skip exception trap tests on targets which only
36803         support non-stop mode.
36805 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36806             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36808         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36809         (libc_feholdsetround_aarch64_ctx)
36810         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36811         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36812         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36813         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36814         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36815         (libc_feresetround_noexl_ctx): Define.
36817 2014-04-16  Richard Henderson  <rth@redhat.com>
36819         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36821         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36822         unwind tables.
36824         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36825         const from the non-libc, non-ldso copy.
36827         * sysdeps/alpha/libm-test-ulps: Regenerate.
36829 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36830             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36832         * sysdeps/aarch64/fpu/math_private.h: New file.
36834 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36836         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36838 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36840         [BZ #16275]
36841         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36842         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36843         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36844         Intel MPX bound registers before _dl_profile_fixup.
36845         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36846         registers after _dl_profile_fixup.  Save and restore bound
36847         registers bnd0/bnd1 when calling _dl_call_pltexit.
36848         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36849         (LR_BND_OFFSET): Likewise.
36850         (LRV_BND0_OFFSET): Likewise.
36851         (LRV_BND1_OFFSET): Likewise.
36853 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36855         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36856         to...
36857         * sysdeps/mach/hurd/i386/tls.h: ... here.
36858         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36859         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36860         fields.
36862 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36864         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36866 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36868         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36870 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36872         [BZ #14770]
36873         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36874         * sysdeps/s390/configure: Regenerate.
36876         [BZ #16824]
36877         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36878         Set round-to-nearest internally to reduce error accumulation.
36880 2014-04-16  Alan Modra  <amodra@gmail.com>
36882         [BZ #16740]
36883         [BZ #16619]
36884         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36885         * math/libm-test.inc (frexp_test_data): Add tests.
36886         * NEWS: Update fixed bug list.
36888 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36890         * benchtests/Makefile: Depend on libraries in build directory.
36891         (bench-math): Separate out math tests.
36892         (bench-pthread): Separate out pthread tests.
36893         (bench): Include math and pthread tests.
36895 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36897         [BZ #16831]
36898         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36899         _dl_debug_initialize.
36901         * configure.ac: Remove SELinux header check.
36902         * configure: Regenerate.
36903         * nscd/selinux.c (perms): Array of const char* to permission names.
36904         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36905         default policy. Call string_to_security_class and string_to_av_perm to
36906         translate strings. Enforce default policy and call avs_has_perm with
36907         results of translated strings.
36909 2014-04-13  David S. Miller  <davem@davemloft.net>
36911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36913 2014-04-12  Allan McRae  <allan@archlinux.org>
36915         [BZ #16838]
36916         * manual/string.texi (Collation Functions): Fix qsort argument
36917         order in example.
36918         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36920 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36922         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36923         Make the test a no-op if there are no exceptions defined.
36925 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36927         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36928         enable-hardcoded-path-in-tests
36930 2014-04-11  Will Newton  <will.newton@linaro.org>
36932         * benchtests/Makefile (extra-objs): Add json-lib.o.
36933         (bench-func): Tidy up JSON output.
36934         * benchtests/bench-skeleton.c: Include json-lib.h.
36935         (main): Use JSON library functions to do output of
36936         benchmark results.
36937         * benchtests/bench-timing-type.c (main): Output the
36938         timing type simply, leaving formatting to the user.
36939         * benchtests/json-lib.c: New file.
36940         * benchtests/json-lib.h: Likewise.
36942 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36944         [BZ #15215]
36945         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36946         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36947         memory barriers.  Add comments.
36948         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36949         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36950         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36951         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36952         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36953         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36955 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36957         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36958         * sysdeps/s390/s390-64/configure.ac: ... this ...
36959         * sysdeps/s390/configure.ac: ... to here.
36960         * sysdeps/s390/s390-32/configure: Delete file.
36961         * sysdeps/s390/s390-64/configure: Delete file.
36962         * sysdeps/s390/configure: Regenerate.
36964 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36966         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36968 2014-04-11  Will Newton  <will.newton@linaro.org>
36970         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36971         to zero if it is not defined elsewhere.  (mtrim): Test
36972         the value of MALLOC_DEBUG with #if rather than #ifdef.
36974 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36976         * benchtests/pthread_once-inputs: New file.
36977         * benchtests/pthread_once-source.c: New file.
36978         * benchtests/README: Update documentation.
36980 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36981             H.J. Lu  <hongjiu.lu@intel.com>
36983         [BZ #16275]
36984         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36985         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36986         * sysdeps/x86_64/configure: Regenerated.
36987         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36988         macro.
36989         (REGISTER_SAVE_RAX): Likewise.
36990         (REGISTER_SAVE_RCX): Likewise.
36991         (REGISTER_SAVE_RDX): Likewise.
36992         (REGISTER_SAVE_RSI): Likewise.
36993         (REGISTER_SAVE_RDI): Likewise.
36994         (REGISTER_SAVE_R8): Likewise.
36995         (REGISTER_SAVE_R9): Likewise.
36996         (REGISTER_SAVE_BND0): Likewise.
36997         (REGISTER_SAVE_BND1): Likewise.
36998         (REGISTER_SAVE_BND2): Likewise.
36999         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37000         bound registers when calling _dl_fixup.
37002 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37004         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37005         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37006         of its definition.
37007         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37008         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37009         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37010         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37011         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37012         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37013         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37015 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37017         [BZ #15514]
37018         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37019         pathconf(_PC_NAME_MAX).
37021 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37023         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37024         Remove macro usage.
37025         (__PTHREAD_SPINS): Move definition to ...
37026         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37027         (__PTHREAD_SPINS): ... here.
37028         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37029         (__PTHREAD_SPIN): Likewise.
37030         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37031         (__PTHREAD_SPIN): Likewise.
37032         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37033         (__PTHREAD_SPIN): Likewise.
37034         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37035         (__PTHREAD_SPIN): Likewise.
37036         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37037         (__PTHREAD_SPIN): Likewise.
37038         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37039         (__PTHREAD_SPIN): Likewise.
37040         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37041         (__PTHREAD_SPIN): Likewise.
37042         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37043         (__PTHREAD_SPIN): Likewise.
37044         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37045         (__PTHREAD_SPIN): Likewise.
37046         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37047         (__PTHREAD_SPIN): Likewise.
37048         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37049         (__PTHREAD_SPIN): Likewise.
37050         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37051         (__PTHREAD_SPIN): Likewise.
37053         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37054         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37055         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37056         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37057         imply folder.
37058         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37059         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37060         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37061         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37062         correct imply path.
37063         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37064         strlen symbol for non multi-arch builds.
37065         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37066         missing hidden_def and weak_alias.
37068 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37070         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37072 2014-04-07  Will Newton  <will.newton@linaro.org>
37074         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37075         and contents.  [!_LIBC] Remove #ifndef and contents.
37076         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37077         * string/memccpy.c (__memccpy): Use ANSI prototype.
37078         * string/memfrob.c (memfrob): Likewise.
37079         * string/strcoll.c (STRCOLL): Likewise.
37080         * string/strlen.c (strlen): Likewise.
37081         * string/strtok.c (STRTOK): Likewise.
37082         * string/strcat.c: Remove unused #include of memcopy.h.
37083         (strcat): Use ANSI prototype.
37084         * string/strchr.c: Remove unused #include of memcopy.h.
37085         (strchr): Use ANSI prototype.
37086         * string/strcmp.c: Remove unused #include of memcopy.h.
37087         (strcmp): Use ANSI prototype.
37088         * string/strcpy.c: Remove unused #include of memcopy.h.
37089         (strcpy): Use ANSI prototype.
37091 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37093         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37094         * config.make.in (config-extra-cppflags): Set it from
37095         libc_extra_cppflags.
37096         * configure.ac (libc_extra_cflags): Make it accumulate over
37097         configure fragments.
37098         (libc_extra_cppflags): New flag.
37099         * configure. Regenerate.
37100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37101         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37102         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37105         [BZ #16815]
37106         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37107         result for FE_DOWNWARD rounding mode.
37108         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37109         Likewise.
37110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37112 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37114         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37115         in function argument name.
37117 2014-04-03  David Svoboda  <svoboda@cert.org>
37119         [BZ #5666]
37120         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37121         explicitly.
37123 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37125         * elf/dl-unmap-segments.h: New file.
37126         * sysdeps/generic/ldsodefs.h
37127         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37128         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37129         * elf/dl-fptr.c: Likewise.
37130         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37131         * sysdeps/aarch64/tlsdesc.c: Likewise.
37132         * sysdeps/arm/tlsdesc.c: Likewise.
37133         * sysdeps/i386/tlsdesc.c: Likewise.
37134         * sysdeps/tile/dl-runtime.c: Likewise.
37135         * sysdeps/x86_64/tlsdesc.c: Likewise.
37136         * elf/dl-load.h: New file.
37137         * elf/dl-load.c: Include it.
37138         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37139         Macros moved to dl-load.h.
37140         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37141         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37142         Use _dl_unmap_segments in place of __munmap.
37143         Break out segment-mapping loop into ...
37144         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37146 2014-04-03  Will Newton  <will.newton@linaro.org>
37148         * elf/dl-lookup.c (do_lookup_x): Remove comment
37149         referring to nested function and move variable
37150         declarations down to before first use.
37152 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37154         [BZ #16799]
37155         [BZ #16800]
37156         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37157         with 0 numerator.
37158         * math/s_catanf.c (__catanf): Likewise.
37159         * math/s_catanh.c (__catanh): Likewise.
37160         * math/s_catanhf.c (__catanhf): Likewise.
37161         * math/s_catanhl.c (__catanhl): Likewise.
37162         * math/s_catanl.c (__catanl): Likewise.
37163         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37164         by positive zero when computing -Inf result.
37165         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37166         (catanh_test): Likewise.
37167         * sysdeps/i386/fpu/libm-test-ulps: Update.
37168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37170         [BZ #16789]
37171         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37172         instead of using underflowing value in computing result.
37173         * math/s_clog10.c (__clog10): Likewise.
37174         * math/s_clog10f.c (__clog10f): Likewise.
37175         * math/s_clog10l.c (__clog10l): Likewise.
37176         * math/s_clogf.c (__clogf): Likewise.
37177         * math/s_clogl.c (__clogl): Likewise.
37178         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37179         (clog10_test): Likewise.
37180         * sysdeps/i386/fpu/libm-test-ulps: Update.
37181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37183 2014-04-02  Alan Modra  <amodra@gmail.com>
37185         [BZ #16739]
37186         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37187         output when value is near a power of two.  Use int64_t for lx and
37188         remove casts.  Use decimal rather than hex exponent constants.
37189         Don't use long double multiplication when double will suffice.
37190         * math/libm-test.inc (nextafter_test_data): Add tests.
37191         * NEWS: Add 16739 and 16786 to bug list.
37193         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37195         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37197 2014-04-01  Will Newton  <will.newton@linaro.org>
37199         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37200         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37202 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37204         [BZ #13347]
37205         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37206         * nptl/tst-setuid2.c: New file.
37207         * nptl/Makefile (xtests): Add tst-setuid2.
37209 2014-04-01  Alan Modra  <amodra@gmail.com>
37211         [BZ #16786]
37212         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37214 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37216         [BZ #6803]
37217         [BZ #6804]
37218         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37219         set errno as appropriate.
37220         * math/w_scalbf.c (__scalbf): Likewise.
37221         * math/w_scalbl.c (__scalbl): Likewise.
37222         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37223         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37224         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37225         Add more NaN tests.
37227         [BZ #16349]
37228         * math/w_atan2.c: Include <errno.h>.
37229         (__atan2): Set errno for result underflowing to zero.
37230         * math/w_atan2f.c: Include <errno.h>.
37231         (__atan2f): Set errno for result underflowing to zero.
37232         * math/w_atan2l.c: Include <errno.h>.
37233         (__atan2l): Set errno for result underflowing to zero.
37234         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37235         tests.
37236         * math/auto-libm-test-out: Regenerated.
37238 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37240         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37241         Encode instruction correctly in little endian.
37242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37243         Likewise.
37244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37245         Likewise.
37246         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37247         Likewise.
37248         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37249         Likewise.
37251 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37253         [BZ #9894]
37254         * sysdeps/unix/sysv/linux/kernel-features.h
37255         [__sparc__ && !__arch64__ && !__sparc_v9__]
37256         (__ASSUME_SET_ROBUST_LIST): Do not define.
37257         [__sparc__ && !__arch64__ && !__sparc_v9__]
37258         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37259         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37260         Likewise.
37261         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37262         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37263         (__ASSUME_REQUEUE_PI): Likewise.
37264         (__ASSUME_SET_ROBUST_LIST): Likewise.
37265         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37266         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37267         Undefine.
37268         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37269         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37270         Likewise.
37271         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37272         Likewise.
37273         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37274         Likewise.
37275         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37276         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37277         Undefine.
37278         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37279         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37280         Likewise.
37282         [BZ #16648]
37283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37284         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37285         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37287 2014-03-31  Will Newton  <will.newton@linaro.org>
37289         * benchtests/Makefile (bench): Add ffs and ffsll to list
37290         of tests.
37291         * benchtests/ffs-inputs: New file.
37292         * benchtests/ffsll-inputs: Likewise.
37294 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37296         [BZ #16770]
37297         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37298         too large before casting to int.
37299         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37300         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37301         * math/libm-test.inc (scalb_test_data): Add more tests.
37303 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37305         * benchtests/Makefile (DETAILED_OPT): New make option.
37306         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37307         set.
37308         * benchtests/bench-skeleton.c: Include stdbool.h.
37309         (main): Store and print timings per input.
37310         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37311         member to each argument value.
37312         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37313         (_print_arg_data): Initialize per-input timing to 0.
37315         * benchtests/Makefile (timing-type): New binary.
37316         (bench-clean): Also remove bench-timing-type.
37317         (bench): New target for timing-type.
37318         (bench-func): Print output in JSON format.
37319         * benchtests/bench-skeleton.c (main): Print output in JSON
37320         format.
37321         * benchtests/bench-timing-type.c: New file.
37322         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37323         (TIMING_PRINT_STATS): Remove.
37324         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37325         name separately.
37327         * benchtests/bench-modf.c: Remove.
37328         * benchtests/modf-inputs: New inputs file.
37330 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37332         [BZ #16362]
37333         * math/s_clog10.c (M_PI_LOG10E): New macro.
37334         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37335         imaginary parts are 0.
37336         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37337         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37338         imaginary parts are 0.
37339         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37340         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37341         imaginary parts are 0.
37342         * math/libm-test.inc (clog10_test_data): Update expected results
37343         for when real and imaginary parts are 0.
37345 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37347         * elf/dl-load.c: Finish conversion of __builtin_expect into
37348         __glibc_{un}likely.
37350 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37352         [BZ #16348]
37353         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37354         1+x for argument with exponent below -67.
37355         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37356         Likewise.
37357         * math/auto-libm-test-in: Add more tests of exp.
37358         * math/auto-libm-test-out: Regenerated.
37360 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37362         [BZ #16759]
37363         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37364         (nscd_getnetgrent): Use it.
37366         [BZ #16760]
37367         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37368         of stpcpy.
37370 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37372         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37373         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37374         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37375         (lll_robust_unlock): Remove out of line section. Use cfi
37376         intrinsics.
37377         (LLL_STUB_UNWIND_INFO*): Remove.
37378         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37379         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37380         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37381         (lll_robust_unlock): Remove out of line section. Use cfi
37382         intrinsics.
37383         (LLL_STUB_UNWIND_INFO*): Remove.
37385 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37387         [BZ #16758]
37388         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37389         blank values.
37391 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37393         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37395 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37397         [BZ #16198]
37398         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37399         fnstenv.
37400         * math/test-fenv-preserve.c: New file.
37401         * math/Makefile (tests): Add test-fenv-preserve.
37403 2014-03-26  Will Newton <will.newton@linaro.org>
37405         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37407 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37409         * scripts/versionlist.awk: Partition the version sets and emit all
37410         GLIBC_* (sorted) before all others (sorted).
37412 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37414         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37415         GLIBC_2.2.5 version.
37417 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37419         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37420         calls.
37422         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37423         previous change.
37425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37427 2014-03-25  Andreas Schwab  <schwab@suse.de>
37429         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37430         label to be used after in6ailist is initialized.
37432 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37434         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37435         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37437 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37439         [BZ #16357]
37440         [BZ #16599]
37441         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37442         min_plus_half.
37443         (fp_formats): Update initializers.
37444         (init_fp_formats): Initialize new field.
37445         (output_for_one_input_case): Allow underflow for results up to
37446         min_plus_half.
37447         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37448         * math/auto-libm-test-in: Don't mark some underflows from asin and
37449         atanh as spurious.
37450         * math/auto-libm-test-out: Regenerated.
37451         * sysdeps/i386/fpu/libm-test-ulps: Update.
37452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37454 2014-03-25  Andreas Schwab  <schwab@suse.de>
37456         * libio/Makefile (tst-ftell-partial-wide-ENV)
37457         (tst-ftell-active-handler-ENV): Define.
37459 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37461         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37463 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37465         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37467 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37469         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37470         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37471         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37473 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37475         [BZ #16634]
37476         * elf/dl-load.c (open_verify): Add mode parameter.
37477         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37478         (open_path): Change from boolean 'secure' to complete flag 'mode'
37479         (_dl_map_object): Adjust.
37480         * elf/Makefile (tests): Add tst-dlopen-aout.
37481         * elf/tst-dlopen-aout.c: New test.
37483 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37485         [BZ #16714]
37486         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37487         (struct stat): Rename member pad0 to __glibc_reserved0.
37489         [BZ #16712]
37490         * sysdeps/s390/s390-32/bits/wordsize.h
37491         (__WORDSIZE32_SIZE_ULONG): New define.
37492         * sysdeps/s390/s390-64/bits/wordsize.h
37493         (__WORDSIZE32_SIZE_ULONG): Likewise.
37494         * sysdeps/generic/stdint.h (SIZE_MAX):
37495         Define as UL if __WORDSIZE32_SIZE_ULONG.
37497         [BZ #16713]
37498         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37499         (__glibc_reserved0): New variable.
37500         (sa_flags): Change type to int.
37502         * posix/Makefile (before-compile): Use += before-compile instead
37503         of a :=.
37505         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37506         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37508 2014-03-20  Andreas Schwab  <schwab@suse.de>
37510         [BZ #16743]
37511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37512         non-matching result from nscd.
37514 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37516         * scripts/bench.py: Moved to ...
37517         * benchtests/scripts/bench.py: ... here.
37518         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37520 2014-03-24  Andreas Schwab  <schwab@suse.de>
37522         [BZ #16002]
37523         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37524         alloca_account and account alloca use for struct in6ailist.
37526 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37528         [BZ #16284]
37529         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37530         rounding mode to recompute results that overflow to infinity or
37531         underflow to zero.
37532         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37533         bug 16284.
37534         * math/auto-libm-test-out: Regenerated.
37535         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37536         (ccosh_test): Likewise.
37537         (csin_test_data): Use plus_oflow.
37538         (csin_test): Use ALL_RM_TEST.
37539         (csinh_test_data): Use plus_oflow.
37540         (csinh_test): Use ALL_RM_TEST.
37541         * sysdeps/i386/fpu/libm-test-ulps: Update.
37542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37544 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37546         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37547         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37548         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37550         [BZ #16731]
37551         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37552         when x - 1 is zero.
37553         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37554         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37555         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37556         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37557         argument is 1.
37558         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37559         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37560         zero.
37561         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37562         * sysdeps/i386/fpu/libm-test-ulps: Update.
37563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37565 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37567         * scripts/bench.pl: Remove file.
37568         * scripts/bench.py: New benchmark script.
37569         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37570         * benchtests/README: Mention python dependency.
37571         * scripts/pylintrc: New file.
37572         * scripts/pylint: New file.
37574         * bits/mathdef.h: Use #ifdef instead of #if.
37575         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37576         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37577         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37578         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37579         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37580         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37582 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37583             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37585         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37587         and strpbrk-ppc64 objects.
37588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37589         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37590         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37591         multiarch strpbrk for POWER7.
37592         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37593         multiarch strpbrk for PPC64.
37594         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37595         ifunc selector.
37596         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37597         strpbrk for POWER7.
37599 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37601         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37602         (atan_test): Likewise.
37603         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37604         (atanh_test): Use ALL_RM_TEST.
37605         (atan2_test_data): Likewise.
37606         (cabs_test): Likewise.
37607         (cacosh_test): Likewise.
37608         (carg_test): Likewise.
37609         (casin_test): Likewise.
37610         (casinh_test): Likewise.
37611         (cbrt_test): Likewise.
37612         (csqrt_test): Likewise.
37613         (erf_test): Likewise.
37614         (erfc_test): Likewise.
37615         (pow10_test): Likewise.
37616         (exp2_test): Likewise.
37617         (hypot_test): Likewise.
37618         (j0_test): Likewise.
37619         (j1_test): Likewise.
37620         (lgamma_test): Likewise.
37621         (gamma_test): Likewise.
37622         (sincos_test): Likewise.
37623         (tanh_test): Likewise.
37624         (y0_test): Likewise.
37625         (y1_test): Likewise.
37626         * sysdeps/i386/fpu/libm-test-ulps: Update.
37627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37629 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37631         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37633         and strcspn-ppc64 objects.
37634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37635         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37636         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37637         multiarch strcspn for POWER7.
37638         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37639         multiarch strcspn for PPC64.
37640         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37641         ifunc selector.
37642         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37643         strcspn for POWER7.
37645 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37647         * math/gen-libm-test.pl (generate_testfile): Expect only function
37648         name as argument to AUTO_TESTS_* and pass results for all rounding
37649         modes to parse_args.
37650         (parse_auto_input): Separate inputs of automatic tests from
37651         outputs before storing in %auto_tests.
37652         * math/libm-test.inc (acos_test_data): Update call to
37653         AUTO_TESTS_f_f.
37654         (acos_test): Use ALL_RM_TEST.
37655         (acos_tonearest_test_data): Remove.
37656         (acos_test_tonearest): Likewise.
37657         (acos_towardzero_test_data): Likewise.
37658         (acos_test_towardzero): Likewise.
37659         (acos_downward_test_data): Likewise.
37660         (acos_test_downward): Likewise.
37661         (acos_upward_test_data): Likewise.
37662         (acos_test_upward): Likewise.
37663         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37664         (asin_test_data): Likewise.
37665         (asin_test): Use ALL_RM_TEST.
37666         (asin_tonearest_test_data): Remove.
37667         (asin_test_tonearest): Likewise.
37668         (asin_towardzero_test_data): Likewise.
37669         (asin_test_towardzero): Likewise.
37670         (asin_downward_test_data): Likewise.
37671         (asin_test_downward): Likewise.
37672         (asin_upward_test_data): Likewise.
37673         (asin_test_upward): Likewise.
37674         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37675         (atan_test_data): Likewise.
37676         (atanh_test_data): Likewise.
37677         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37678         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37679         (carg_test_data): Likewise.
37680         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37681         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37682         (ccosh_test_data): Likewise.
37683         (cexp_test_data): Likewise.
37684         (clog_test_data): Likewise.
37685         (clog10_test_data): Likewise.
37686         (cos_test_data): Update call to AUTO_TESTS_f_f.
37687         (cos_test): Use ALL_RM_TEST.
37688         (cos_tonearest_test_data): Remove.
37689         (cos_test_tonearest): Likewise.
37690         (cos_towardzero_test_data): Likewise.
37691         (cos_test_towardzero): Likewise.
37692         (cos_downward_test_data): Likewise.
37693         (cos_test_downward): Likewise.
37694         (cos_upward_test_data): Likewise.
37695         (cos_test_upward): Likewise.
37696         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37697         (cosh_test): Use ALL_RM_TEST.
37698         (cosh_tonearest_test_data): Remove.
37699         (cosh_test_tonearest): Likewise.
37700         (cosh_towardzero_test_data): Likewise.
37701         (cosh_test_towardzero): Likewise.
37702         (cosh_downward_test_data): Likewise.
37703         (cosh_test_downward): Likewise.
37704         (cosh_upward_test_data): Likewise.
37705         (cosh_test_upward): Likewise.
37706         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37707         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37708         (ctan_test_data): Likewise.
37709         (ctan_test): Use ALL_RM_TEST.
37710         (ctan_tonearest_test_data): Remove.
37711         (ctan_test_tonearest): Likewise.
37712         (ctan_towardzero_test_data): Likewise.
37713         (ctan_test_towardzero): Likewise.
37714         (ctan_downward_test_data): Likewise.
37715         (ctan_test_downward): Likewise.
37716         (ctan_upward_test_data): Likewise.
37717         (ctan_test_upward): Likewise.
37718         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37719         (ctanh_test): Use ALL_RM_TEST.
37720         (ctanh_tonearest_test_data): Remove.
37721         (ctanh_test_tonearest): Likewise.
37722         (ctanh_towardzero_test_data): Likewise.
37723         (ctanh_test_towardzero): Likewise.
37724         (ctanh_downward_test_data): Likewise.
37725         (ctanh_test_downward): Likewise.
37726         (ctanh_upward_test_data): Likewise.
37727         (ctanh_test_upward): Likewise.
37728         (erf_test_data): Update call to AUTO_TESTS_f_f.
37729         (erfc_test_data): Likewise.
37730         (exp_test_data): Likewise.
37731         (exp_test): Use ALL_RM_TEST.
37732         (exp_tonearest_test_data): Remove.
37733         (exp_test_tonearest): Likewise.
37734         (exp_towardzero_test_data): Likewise.
37735         (exp_test_towardzero): Likewise.
37736         (exp_downward_test_data): Likewise.
37737         (exp_test_downward): Likewise.
37738         (exp_upward_test_data): Likewise.
37739         (exp_test_upward): Likewise.
37740         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37741         (exp10_test): Use ALL_RM_TEST.
37742         (exp10_tonearest_test_data): Remove.
37743         (exp10_test_tonearest): Likewise.
37744         (exp10_towardzero_test_data): Likewise.
37745         (exp10_test_towardzero): Likewise.
37746         (exp10_downward_test_data): Likewise.
37747         (exp10_test_downward): Likewise.
37748         (exp10_upward_test_data): Likewise.
37749         (exp10_test_upward): Likewise.
37750         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37751         (expm1_test_data): Likewise.
37752         (expm1_test): Use ALL_RM_TEST.
37753         (expm1_tonearest_test_data): Remove.
37754         (expm1_test_tonearest): Likewise.
37755         (expm1_towardzero_test_data): Likewise.
37756         (expm1_test_towardzero): Likewise.
37757         (expm1_downward_test_data): Likewise.
37758         (expm1_test_downward): Likewise.
37759         (expm1_upward_test_data): Likewise.
37760         (expm1_test_upward): Likewise.
37761         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37762         (fma_test): Use ALL_RM_TEST.
37763         (fma_towardzero_test_data): Remove.
37764         (fma_test_towardzero): Likewise.
37765         (fma_downward_test_data): Likewise.
37766         (fma_test_downward): Likewise.
37767         (fma_upward_test_data): Likewise.
37768         (fma_test_upward): Likewise.
37769         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37770         (j0_test_data): Update call to AUTO_TESTS_f_f.
37771         (j1_test_data): Likewise.
37772         (jn_test_data): Update call to AUTO_TESTS_if_f.
37773         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37774         (log_test_data): Update call to AUTO_TESTS_f_f.
37775         (log10_test_data): Likewise.
37776         (log1p_test_data): Likewise.
37777         (log2_test_data): Likewise.
37778         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37779         (pow_tonearest_test_data): Likewise.
37780         (sin_test_data): Update call to AUTO_TESTS_f_f.
37781         (sin_test): Use ALL_RM_TEST.
37782         (sin_tonearest_test_data): Remove.
37783         (sin_test_tonearest): Likewise.
37784         (sin_towardzero_test_data): Likewise.
37785         (sin_test_towardzero): Likewise.
37786         (sin_downward_test_data): Likewise.
37787         (sin_test_downward): Likewise.
37788         (sin_upward_test_data): Likewise.
37789         (sin_test_upward): Likewise.
37790         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37791         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37792         (sinh_test): Use ALL_RM_TEST.
37793         (sinh_tonearest_test_data): Remove.
37794         (sinh_test_tonearest): Likewise.
37795         (sinh_towardzero_test_data): Likewise.
37796         (sinh_test_towardzero): Likewise.
37797         (sinh_downward_test_data): Likewise.
37798         (sinh_test_downward): Likewise.
37799         (sinh_upward_test_data): Likewise.
37800         (sinh_test_upward): Likewise.
37801         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37802         (sqrt_test): Use ALL_RM_TEST.
37803         (sqrt_tonearest_test_data): Remove.
37804         (sqrt_test_tonearest): Likewise.
37805         (sqrt_towardzero_test_data): Likewise.
37806         (sqrt_test_towardzero): Likewise.
37807         (sqrt_downward_test_data): Likewise.
37808         (sqrt_test_downward): Likewise.
37809         (sqrt_upward_test_data): Likewise.
37810         (sqrt_test_upward): Likewise.
37811         (tan_test_data): Update call to AUTO_TESTS_f_f.
37812         (tan_test): Use ALL_RM_TEST.
37813         (tan_tonearest_test_data): Remove.
37814         (tan_test_tonearest): Likewise.
37815         (tan_towardzero_test_data): Likewise.
37816         (tan_test_towardzero): Likewise.
37817         (tan_downward_test_data): Likewise.
37818         (tan_test_downward): Likewise.
37819         (tan_upward_test_data): Likewise.
37820         (tan_test_upward): Likewise.
37821         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37822         (tgamma_test_data): Likewise.
37823         (y0_test_data): Likewise.
37824         (y1_test_data): Likewise.
37825         (yn_test_data): Update call to AUTO_TESTS_if_f.
37826         (main): Do not call removed functions.
37828 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37830         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37831         (ldexp_test_data): Remove.
37832         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37833         scalbn_test_data.
37834         (scalb_test): Use ALL_RM_TEST.
37836 2014-03-19  Andreas Schwab  <schwab@suse.de>
37838         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37840 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37842         [BZ #16649]
37843         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37844         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37845         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37846         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37847         (__ASSUME_PREADV): Undefine.
37848         (__ASSUME_PWRITEV): Likewise.
37850 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37852         * bits/mman-linux.h: Add comment about non-Linux use.
37853         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37854         bits/mman-linux.h resting place.
37856         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37857         * bits/mman-linux.h: ... here.
37859 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37861         * conform/conformtest.pl: Add standard definition when calling C
37862         preprocessor on data files.
37863         (checknamespace): Remove unused variable.
37865 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37867         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37868         minus_oflow, plus_uflow and minus_uflow in expected results.
37869         * math/libm-test.inc (scalbn_test_data): Add more tests of
37870         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37871         minus_uflow.
37872         (scalbn_test): Use ALL_RM_TEST.
37873         (scalbln_test_data): Add more tests of negative arguments.  Use
37874         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37875         (scalbln_test): Use ALL_RM_TEST.
37877 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37879         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37881 2014-03-18  Will Newton  <will.newton@linaro.org>
37883         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37884         inaccurate comment.
37886 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37888         * Makerules [!subdir] (check-abi): Exit with error status if a
37889         test failed.
37891 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37893         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37894         for rint.  Include results for all rounding modes.
37895         (nearbyint_test): Use ALL_RM_TEST.
37896         (rint_test_data): Include all tests used for nearbyint.
37898 2014-03-17  Will Newton  <will.newton@linaro.org>
37900         * nptl/sysdeps/pthread/pthread.h: Revert previous
37901         change.
37903         * sysdeps/generic/ldsodefs.h: Revert previous
37904         change.
37906         * libio/genops.c: Revert previous change.
37907         * libio/libioP.h: Likewise.
37908         * stdio-common/vfprintf.c: Likewise.
37910         * sysdeps/generic/math_private.h: Revert previous
37911         change.
37913         * sysdeps/generic/math_private.h: Check whether
37914         HAVE_RM_CTX is defined with #ifdef rather
37915         than #if.
37917         * argp/argp-fmtstream.h: Check whether
37918         __STRICT_ANSI__ is defined with #ifdef rather
37919         than #if.
37920         * argp/argp.h: Likewise.
37922         * libio/genops.c: Check whether
37923         _IO_JUMPS_OFFSET is defined with #ifdef rather
37924         than #if.
37925         * libio/libioP.h: Likewise.
37926         * stdio-common/vfprintf.c: Likewise.
37928         * sysdeps/generic/ldsodefs.h: Check whether
37929         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37930         than #if.
37932         * nptl/sysdeps/pthread/pthread.h: Check
37933         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37934         its value.
37936 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37938         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37939         setting O_APPEND.
37940         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37941         test case.
37943         [BZ #16680]
37944         * libio/fileops.c (_IO_file_open): Seek to end of file but
37945         don't cache the offset.
37946         (get_file_offset): Remove function.
37947         (do_ftell): Use cached offset when available.
37948         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37949         don't cache the offset.
37950         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37951         case.
37952         (do_one_test): Call it.
37953         (do_ftell_test): Fix up expected old offset for a+ mode.
37954         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37955         available.
37957         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37958         up test status with function return status.
37959         (do_write_test): Likewise.
37960         (do_append_test): Likewise.
37962         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37963         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37964         Remove.
37966 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37968         * math/gen-libm-test.pl (parse_args): Handle results specified for
37969         each rounding mode separately.
37970         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37971         tests and results from lrint_tonearest_test_data,
37972         lrint_towardzero_test_data, lrint_downward_test_data and
37973         lrint_upward_test_data.
37974         (lrint_test): Use ALL_RM_TEST.
37975         (lrint_tonearest_test_data): Remove.
37976         (lrint_test_tonearest): Likewise.
37977         (lrint_towardzero_test_data): Likewise.
37978         (lrint_test_towardzero): Likewise.
37979         (lrint_downward_test_data): Likewise.
37980         (lrint_test_downward): Likewise.
37981         (lrint_upward_test_data): Likewise.
37982         (lrint_test_upward): Likewise.
37983         (llrint_test_data): Merge in per-rounding-mode tests and results
37984         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37985         llrint_downward_test_data and llrint_upward_test_data.
37986         (llrint_test): Use ALL_RM_TEST.
37987         (llrint_tonearest_test_data): Remove.
37988         (llrint_test_tonearest): Likewise.
37989         (llrint_towardzero_test_data): Likewise.
37990         (llrint_test_towardzero): Likewise.
37991         (llrint_downward_test_data): Likewise.
37992         (llrint_test_downward): Likewise.
37993         (llrint_upward_test_data): Likewise.
37994         (llrint_test_upward): Likewise.
37995         (rint_test_data): Merge in per-rounding-mode tests and results
37996         from rint_tonearest_test_data, rint_towardzero_test_data,
37997         rint_downward_test_data and rint_upward_test_data.  Add
37998         per-rounding-mode results for tests not in those arrays.
37999         (rint_test): Use ALL_RM_TEST.
38000         (rint_tonearest_test_data): Remove.
38001         (rint_test_tonearest): Likewise.
38002         (rint_towardzero_test_data): Likewise.
38003         (rint_test_towardzero): Likewise.
38004         (rint_downward_test_data): Likewise.
38005         (rint_test_downward): Likewise.
38006         (rint_upward_test_data): Likewise.
38007         (rint_test_upward): Likewise.
38008         (main): Don't call removed functions.
38010 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38012         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38013         "Compiled on ..." crapola.  It is anti-useful.
38015 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38017         * scripts/evaluate-test.sh: Handle fourth argument to determine
38018         whether test run should stop on failure.
38019         * Makeconfig (stop-on-test-failure): New variable.
38020         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38021         $(stop-on-test-failure).
38022         * Makefile (tests): Give a summary of results from testing and
38023         exit with failure status if they include an ERROR or FAIL.
38024         (xtests): Likewise.
38025         * manual/install.texi (Configuring and compiling): Mention
38026         stop-on-test-failure=y.
38027         * INSTALL: Regenerated.
38029 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38031         * scripts/versionlist.awk: New file.
38032         * Makerules [$(build-shared) = yes]
38033         (postclean-generated): Add Versions.def, not Versions.def.v and
38034         Versions.def.v.i.
38035         ($(common-objpfx)Versions.def.v.i): Target removed.
38036         ($(common-objpfx)Versions.def): New target.
38037         ($(common-objpfx)Versions.all): Depend on that rather that
38038         $(common-objpfx)Versions.def.v.
38039         * Versions.def: File removed.
38041         * Makeconfig (+gccwarn): Add -Wundef.
38042         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38043         a dl-sysdep.h breaking its contract.
38044         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38045         * include/stackinfo.h: New file.
38046         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38047         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38048         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38049         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38050         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38051         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38052         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38053         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38054         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38055         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38056         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38057         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38058         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38059         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38060         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38062 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38064         [BZ #16707]
38065         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38066         implementation.
38067         * math/libm-test.inc (round_test_data): Add more tests.
38069         [BZ #16706]
38070         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38071         implementation.
38072         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38074         [BZ #16701]
38075         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38076         implementation.
38077         * math/libm-test.inc (ceil_test_data): Add more tests.
38079         * math/libm-test.inc (trunc_test_data): Add more tests related to
38080         BZ#16414.
38082 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38084         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38085         with #if rather than #ifdef.
38086         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38088 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38090         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38091         first.  Disable AVX-512 GCC support if assembler doesn't support
38092         it.
38093         * sysdeps/x86_64/configure: Regenerated.
38095 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38097         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38098         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38099         (__old_pthread_attr_setstack): Likewise.
38100         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38101         [!_STACK_GROWS_DOWN]: Likewise.
38103 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38105         * config.make.in (have-bash2): Delete.
38106         * configure.ac (libc_cv_have_bash2): Delete.
38107         * configure: Regenerate.
38108         * elf/Makefile (common-ldd-rewrite): Rename to ...
38109         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38110         (sh-ldd-rewrite): Delete.
38111         (bash-ldd-rewrite): Delete.
38112         (have-bash2): Delete checks.
38113         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38114         ldd-rewrite.
38116         * config.make.in (have-ksh): Delete.
38117         (KSH): Delete.
38118         * configure.ac (libc_cv_have_ksh): Delete.
38119         * configure: Regenerate.
38121         * elf/Makefile: Delete $(have-ksh) check.
38122         ($(objpfx)sotruss): Change KSH to BASH.
38123         * elf/sotruss.ksh: Rename to ...
38124         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38125         function style to match POSIX.  Drop ksh vim mode setting.
38127         * manual/time.texi (Specifying the Time Zone with TZ): Change
38128         Tuesday to Thursday.
38130         * debug/tst-longjmp_chk2.c: Update header comment.
38131         (stackoverflow_handler): Add comment.  Call assert on pass value.
38133 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38135         [BZ #16194]
38136         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38137         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38138         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38139         (La_x86_64_vector): Add zmm.
38140         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38141         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38142         ($(objpfx)tst-audit10): New target.
38143         ($(objpfx)tst-audit10.out): Likewise.
38144         (tst-audit10-ENV): New.
38145         (AVX512-CFLAGS): Likewise.
38146         (CFLAGS-tst-audit10.c): Likewise.
38147         (CFLAGS-tst-auditmod10a.c): Likewise.
38148         (CFLAGS-tst-auditmod10b.c): Likewise.
38149         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38150         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38151         * sysdeps/x86_64/configure: Regenerated.
38152         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38153         AVX-512 zmm register support.
38154         (_dl_x86_64_save_sse): Likewise.
38155         (_dl_x86_64_restore_sse): Likewise.
38156         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38157         size vector registers.
38158         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38159         (ZMM_SIZE): Likewise.
38160         * sysdeps/x86_64/tst-audit10.c: New file.
38161         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38162         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38164 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38166         * configure.ac (HAVE_EHDR_START): New check.
38167         * configure: Regenerated.
38168         * config.h.in (HAVE_EHDR_START): New #undef.
38169         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38170         assuming the lowest-addressed segment maps the start of the file.
38172 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38174         * INSTALL: Regenerated.
38176 2014-03-13  Will Newton  <will.newton@linaro.org>
38178         * manual/setjmp.texi (System V contexts): Improve
38179         clarity and grammar of documentation.
38181 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38183         [BZ #16381]
38184         * elf/Makefile (tests): Add tst-pie2.
38185         (tests-pie): Add tst-pie2.
38186         * elf/tst-pie2.c: New file.
38187         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38188         for ET_EXEC.
38189         * elf/rtld.c (map_doit): Load executable as lt_executable.
38190         (dl_main): Likewise.
38192 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38194         [BZ #16642]
38195         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38196         (__ASSUME_PSELECT): Undefine.
38198 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38200         [BZ #16689]
38201         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38202         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38203         static build.
38204         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38205         selector for static builds.
38207 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38209         [BZ #16695]
38210         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38211         key in the buffer.
38213 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38215         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38216         IFUNC selector for static builds.
38218 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38220         * sysdeps/mips/math_private.h [__mips_hard_float]
38221         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38222         libc_feresetround_mips_ctx.
38223         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38224         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38225         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38227         [BZ #16677]
38228         * math/s_nextafter.c (__nextafter): Do not return value from
38229         overflowing computation.
38230         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38231         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38232         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38233         Likewise.
38234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38235         Likewise.
38236         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38237         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38239 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38241         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38242         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38243         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38244         the new mov targetting sp.
38246 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38248         [BZ #16683]
38249         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38250         Define it for static builds as well.
38251         (NO_BZERO_IMPL): Likewise.
38253 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38255         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38256         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38257         multiarch strspn for PPC64.
38258         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38259         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38261         (__libc_ifunc_impl_list): Likewise.
38262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38263         multiarch optimizations
38264         * string/strspn.c (strspn): Using macro to redefine symbol name.
38266 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38267             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38269         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38270         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38271         multiarch strncat for PPC64.
38272         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38273         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38275         (__libc_ifunc_impl_list): Likewise.
38276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38277         multiarch optimizations
38279 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38281         [BZ #16639]
38282         * nscd/nscd.service: Make service type forking.
38284 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38286         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38287         sign in non default rounding modes.
38288         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38290 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38292         * math/libm-test.inc (ALL_RM_TEST): New macro.
38293         (ceil_test): Use ALL_RM_TEST.
38294         (cimag_test): Likewise.
38295         (conj_test): Likewise.
38296         (copysign_test): Likewise.
38297         (cproj_test): Likewise.
38298         (creal_test): Likewise.
38299         (fabs_test): Likewise.
38300         (floor_test): Likewise.
38301         (fmax_test): Likewise.
38302         (fmin_test): Likewise.
38303         (fmod_test): Likewise.
38304         (fpclassify_test): Likewise.
38305         (frexp_test): Likewise.
38306         (ilogb_test): Likewise.
38307         (isfinite_test): Likewise.
38308         (finite_test): Likewise.
38309         (isgreater_test): Likewise.
38310         (isgreaterequal_test): Likewise.
38311         (isinf_test): Likewise.
38312         (isless_test): Likewise.
38313         (islessequal_test): Likewise.
38314         (islessgreater_test): Likewise.
38315         (isnan_test): Likewise.
38316         (isnormal_test): Likewise.
38317         (issignaling_test): Likewise.
38318         (isunordered_test): Likewise.
38319         (logb_test): Likewise.
38320         (logb_downward_test_data): Remove.
38321         (logb_test_downward): Likewise.
38322         (lround_test): Use ALL_RM_TEST.
38323         (llround_test): Likewise.
38324         (modf_test): Likewise.
38325         (nexttoward_test): Likewise.
38326         (remainder_test): Likewise.
38327         (drem_test): Likewise.
38328         (remainder_tonearest_test_data): Likewise.
38329         (remainder_test_tonearest): Likewise.
38330         (drem_test_tonearest): Likewise.
38331         (remainder_towardzero_test_data): Likewise.
38332         (remainder_test_towardzero): Likewise.
38333         (drem_test_towardzero): Likewise.
38334         (remainder_downward_test_data): Likewise.
38335         (remainder_test_downward): Likewise.
38336         (drem_test_downward): Likewise.
38337         (remainder_upward_test_data): Likewise.
38338         (remainder_test_upward): Likewise.
38339         (drem_test_upward): Likewise.
38340         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38341         (round_test): Use ALL_RM_TEST.
38342         (signbit_test): Likewise.
38343         (trunc_test): Likewise.
38344         (significand_test): Likewise.
38345         (main): Don't call removed functions.
38347 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38349         [BZ #16674]
38350         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38351         || __USE_XOPEN2K8].
38352         (ILL_ILLOPN): Likewise.
38353         (ILL_ILLADR): Likewise.
38354         (ILL_ILLTRP): Likewise.
38355         (ILL_PRVOPC): Likewise.
38356         (ILL_PRVREG): Likewise.
38357         (ILL_COPROC): Likewise.
38358         (ILL_BADSTK): Likewise.
38359         (FPE_INTDIV): Likewise.
38360         (FPE_INTOVF): Likewise.
38361         (FPE_FLTDIV): Likewise.
38362         (FPE_FLTOVF): Likewise.
38363         (FPE_FLTUND): Likewise.
38364         (FPE_FLTRES): Likewise.
38365         (FPE_FLTINV): Likewise.
38366         (FPE_FLTSUB): Likewise.
38367         (SEGV_MAPERR): Likewise.
38368         (SEGV_ACCERR): Likewise.
38369         (BUS_ADRALN): Likewise.
38370         (BUS_ADRERR): Likewise.
38371         (BUS_OBJERR): Likewise.
38372         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38373         (TRAP_TRACE): Likewise.
38374         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38375         __USE_XOPEN2K8].
38376         (CLD_KILLED): Likewise.
38377         (CLD_DUMPED): Likewise.
38378         (CLD_TRAPPED): Likewise.
38379         (CLD_STOPPED): Likewise.
38380         (CLD_CONTINUED): Likewise.
38381         (POLL_IN): Likewise.
38382         (POLL_OUT): Likewise.
38383         (POLL_MSG): Likewise.
38384         (POLL_ERR): Likewise.
38385         (POLL_PRI): Likewise.
38386         (POLL_HUP): Likewise.
38387         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38388         Likewise.
38389         (ILL_ILLOPN): Likewise.
38390         (ILL_ILLADR): Likewise.
38391         (ILL_ILLTRP): Likewise.
38392         (ILL_PRVOPC): Likewise.
38393         (ILL_PRVREG): Likewise.
38394         (ILL_COPROC): Likewise.
38395         (ILL_BADSTK): Likewise.
38396         (FPE_INTDIV): Likewise.
38397         (FPE_INTOVF): Likewise.
38398         (FPE_FLTDIV): Likewise.
38399         (FPE_FLTOVF): Likewise.
38400         (FPE_FLTUND): Likewise.
38401         (FPE_FLTRES): Likewise.
38402         (FPE_FLTINV): Likewise.
38403         (FPE_FLTSUB): Likewise.
38404         (SEGV_MAPERR): Likewise.
38405         (SEGV_ACCERR): Likewise.
38406         (BUS_ADRALN): Likewise.
38407         (BUS_ADRERR): Likewise.
38408         (BUS_OBJERR): Likewise.
38409         (BUS_MCEERR_AR): Likewise.
38410         (BUS_MCEERR_AO): Likewise.
38411         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38412         (TRAP_TRACE): Likewise.
38413         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38414         __USE_XOPEN2K8].
38415         (CLD_KILLED): Likewise.
38416         (CLD_DUMPED): Likewise.
38417         (CLD_TRAPPED): Likewise.
38418         (CLD_STOPPED): Likewise.
38419         (CLD_CONTINUED): Likewise.
38420         (POLL_IN): Likewise.
38421         (POLL_OUT): Likewise.
38422         (POLL_MSG): Likewise.
38423         (POLL_ERR): Likewise.
38424         (POLL_PRI): Likewise.
38425         (POLL_HUP): Likewise.
38426         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38427         (ILL_ILLOPN): Likewise.
38428         (ILL_ILLADR): Likewise.
38429         (ILL_ILLTRP): Likewise.
38430         (ILL_PRVOPC): Likewise.
38431         (ILL_PRVREG): Likewise.
38432         (ILL_COPROC): Likewise.
38433         (ILL_BADSTK): Likewise.
38434         (FPE_INTDIV): Likewise.
38435         (FPE_INTOVF): Likewise.
38436         (FPE_FLTDIV): Likewise.
38437         (FPE_FLTOVF): Likewise.
38438         (FPE_FLTUND): Likewise.
38439         (FPE_FLTRES): Likewise.
38440         (FPE_FLTINV): Likewise.
38441         (FPE_FLTSUB): Likewise.
38442         (SEGV_MAPERR): Likewise.
38443         (SEGV_ACCERR): Likewise.
38444         (BUS_ADRALN): Likewise.
38445         (BUS_ADRERR): Likewise.
38446         (BUS_OBJERR): Likewise.
38447         (BUS_MCEERR_AR): Likewise.
38448         (BUS_MCEERR_AO): Likewise.
38449         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38450         (TRAP_TRACE): Likewise.
38451         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38452         __USE_XOPEN2K8].
38453         (CLD_KILLED): Likewise.
38454         (CLD_DUMPED): Likewise.
38455         (CLD_TRAPPED): Likewise.
38456         (CLD_STOPPED): Likewise.
38457         (CLD_CONTINUED): Likewise.
38458         (POLL_IN): Likewise.
38459         (POLL_OUT): Likewise.
38460         (POLL_MSG): Likewise.
38461         (POLL_ERR): Likewise.
38462         (POLL_PRI): Likewise.
38463         (POLL_HUP): Likewise.
38464         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38465         Likewise.
38466         (ILL_ILLOPN): Likewise.
38467         (ILL_ILLADR): Likewise.
38468         (ILL_ILLTRP): Likewise.
38469         (ILL_PRVOPC): Likewise.
38470         (ILL_PRVREG): Likewise.
38471         (ILL_COPROC): Likewise.
38472         (ILL_BADSTK): Likewise.
38473         (ILL_BADIADDR): Likewise.
38474         (ILL_BREAK): Likewise.
38475         (FPE_INTDIV): Likewise.
38476         (FPE_INTOVF): Likewise.
38477         (FPE_FLTDIV): Likewise.
38478         (FPE_FLTOVF): Likewise.
38479         (FPE_FLTUND): Likewise.
38480         (FPE_FLTRES): Likewise.
38481         (FPE_FLTINV): Likewise.
38482         (FPE_FLTSUB): Likewise.
38483         (FPE_DECOVF): Likewise.
38484         (FPE_DECDIV): Likewise.
38485         (FPE_DECERR): Likewise.
38486         (FPE_INVASC): Likewise.
38487         (FPE_INVDEC): Likewise.
38488         (SEGV_MAPERR): Likewise.
38489         (SEGV_ACCERR): Likewise.
38490         (SEGV_PSTKOVF): Likewise.
38491         (BUS_ADRALN): Likewise.
38492         (BUS_ADRERR): Likewise.
38493         (BUS_OBJERR): Likewise.
38494         (BUS_MCEERR_AR): Likewise.
38495         (BUS_MCEERR_AO): Likewise.
38496         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38497         (TRAP_TRACE): Likewise.
38498         (TRAP_BRANCH): Likewise.
38499         (TRAP_HWBKPT): Likewise.
38500         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38501         __USE_XOPEN2K8].
38502         (CLD_KILLED): Likewise.
38503         (CLD_DUMPED): Likewise.
38504         (CLD_TRAPPED): Likewise.
38505         (CLD_STOPPED): Likewise.
38506         (CLD_CONTINUED): Likewise.
38507         (POLL_IN): Likewise.
38508         (POLL_OUT): Likewise.
38509         (POLL_MSG): Likewise.
38510         (POLL_ERR): Likewise.
38511         (POLL_PRI): Likewise.
38512         (POLL_HUP): Likewise.
38513         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38514         (ILL_ILLOPN): Likewise.
38515         (ILL_ILLADR): Likewise.
38516         (ILL_ILLTRP): Likewise.
38517         (ILL_PRVOPC): Likewise.
38518         (ILL_PRVREG): Likewise.
38519         (ILL_COPROC): Likewise.
38520         (ILL_BADSTK): Likewise.
38521         (FPE_INTDIV): Likewise.
38522         (FPE_INTOVF): Likewise.
38523         (FPE_FLTDIV): Likewise.
38524         (FPE_FLTOVF): Likewise.
38525         (FPE_FLTUND): Likewise.
38526         (FPE_FLTRES): Likewise.
38527         (FPE_FLTINV): Likewise.
38528         (FPE_FLTSUB): Likewise.
38529         (SEGV_MAPERR): Likewise.
38530         (SEGV_ACCERR): Likewise.
38531         (BUS_ADRALN): Likewise.
38532         (BUS_ADRERR): Likewise.
38533         (BUS_OBJERR): Likewise.
38534         (BUS_MCEERR_AR): Likewise.
38535         (BUS_MCEERR_AO): Likewise.
38536         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38537         (TRAP_TRACE): Likewise.
38538         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38539         __USE_XOPEN2K8].
38540         (CLD_KILLED): Likewise.
38541         (CLD_DUMPED): Likewise.
38542         (CLD_TRAPPED): Likewise.
38543         (CLD_STOPPED): Likewise.
38544         (CLD_CONTINUED): Likewise.
38545         (POLL_IN): Likewise.
38546         (POLL_OUT): Likewise.
38547         (POLL_MSG): Likewise.
38548         (POLL_ERR): Likewise.
38549         (POLL_PRI): Likewise.
38550         (POLL_HUP): Likewise.
38551         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38552         (ILL_ILLOPN): Likewise.
38553         (ILL_ILLADR): Likewise.
38554         (ILL_ILLTRP): Likewise.
38555         (ILL_PRVOPC): Likewise.
38556         (ILL_PRVREG): Likewise.
38557         (ILL_COPROC): Likewise.
38558         (ILL_BADSTK): Likewise.
38559         (FPE_INTDIV): Likewise.
38560         (FPE_INTOVF): Likewise.
38561         (FPE_FLTDIV): Likewise.
38562         (FPE_FLTOVF): Likewise.
38563         (FPE_FLTUND): Likewise.
38564         (FPE_FLTRES): Likewise.
38565         (FPE_FLTINV): Likewise.
38566         (FPE_FLTSUB): Likewise.
38567         (SEGV_MAPERR): Likewise.
38568         (SEGV_ACCERR): Likewise.
38569         (BUS_ADRALN): Likewise.
38570         (BUS_ADRERR): Likewise.
38571         (BUS_OBJERR): Likewise.
38572         (BUS_MCEERR_AR): Likewise.
38573         (BUS_MCEERR_AO): Likewise.
38574         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38575         (TRAP_TRACE): Likewise.
38576         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38577         __USE_XOPEN2K8].
38578         (CLD_KILLED): Likewise.
38579         (CLD_DUMPED): Likewise.
38580         (CLD_TRAPPED): Likewise.
38581         (CLD_STOPPED): Likewise.
38582         (CLD_CONTINUED): Likewise.
38583         (POLL_IN): Likewise.
38584         (POLL_OUT): Likewise.
38585         (POLL_MSG): Likewise.
38586         (POLL_ERR): Likewise.
38587         (POLL_PRI): Likewise.
38588         (POLL_HUP): Likewise.
38589         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38590         (ILL_ILLOPN): Likewise.
38591         (ILL_ILLADR): Likewise.
38592         (ILL_ILLTRP): Likewise.
38593         (ILL_PRVOPC): Likewise.
38594         (ILL_PRVREG): Likewise.
38595         (ILL_COPROC): Likewise.
38596         (ILL_BADSTK): Likewise.
38597         (FPE_INTDIV): Likewise.
38598         (FPE_INTOVF): Likewise.
38599         (FPE_FLTDIV): Likewise.
38600         (FPE_FLTOVF): Likewise.
38601         (FPE_FLTUND): Likewise.
38602         (FPE_FLTRES): Likewise.
38603         (FPE_FLTINV): Likewise.
38604         (FPE_FLTSUB): Likewise.
38605         (SEGV_MAPERR): Likewise.
38606         (SEGV_ACCERR): Likewise.
38607         (BUS_ADRALN): Likewise.
38608         (BUS_ADRERR): Likewise.
38609         (BUS_OBJERR): Likewise.
38610         (BUS_MCEERR_AR): Likewise.
38611         (BUS_MCEERR_AO): Likewise.
38612         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38613         (TRAP_TRACE): Likewise.
38614         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38615         __USE_XOPEN2K8].
38616         (CLD_KILLED): Likewise.
38617         (CLD_DUMPED): Likewise.
38618         (CLD_TRAPPED): Likewise.
38619         (CLD_STOPPED): Likewise.
38620         (CLD_CONTINUED): Likewise.
38621         (POLL_IN): Likewise.
38622         (POLL_OUT): Likewise.
38623         (POLL_MSG): Likewise.
38624         (POLL_ERR): Likewise.
38625         (POLL_PRI): Likewise.
38626         (POLL_HUP): Likewise.
38627         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38628         (ILL_ILLOPN): Likewise.
38629         (ILL_ILLADR): Likewise.
38630         (ILL_ILLTRP): Likewise.
38631         (ILL_PRVOPC): Likewise.
38632         (ILL_PRVREG): Likewise.
38633         (ILL_COPROC): Likewise.
38634         (ILL_BADSTK): Likewise.
38635         (ILL_DBLFLT): Likewise.
38636         (ILL_HARDWALL): Likewise.
38637         (FPE_INTDIV): Likewise.
38638         (FPE_INTOVF): Likewise.
38639         (FPE_FLTDIV): Likewise.
38640         (FPE_FLTOVF): Likewise.
38641         (FPE_FLTUND): Likewise.
38642         (FPE_FLTRES): Likewise.
38643         (FPE_FLTINV): Likewise.
38644         (FPE_FLTSUB): Likewise.
38645         (SEGV_MAPERR): Likewise.
38646         (SEGV_ACCERR): Likewise.
38647         (BUS_ADRALN): Likewise.
38648         (BUS_ADRERR): Likewise.
38649         (BUS_OBJERR): Likewise.
38650         (BUS_MCEERR_AR): Likewise.
38651         (BUS_MCEERR_AO): Likewise.
38652         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38653         (TRAP_TRACE): Likewise.
38654         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38655         __USE_XOPEN2K8].
38656         (CLD_KILLED): Likewise.
38657         (CLD_DUMPED): Likewise.
38658         (CLD_TRAPPED): Likewise.
38659         (CLD_STOPPED): Likewise.
38660         (CLD_CONTINUED): Likewise.
38661         (POLL_IN): Likewise.
38662         (POLL_OUT): Likewise.
38663         (POLL_MSG): Likewise.
38664         (POLL_ERR): Likewise.
38665         (POLL_PRI): Likewise.
38666         (POLL_HUP): Likewise.
38667         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38668         (ILL_ILLOPN): Likewise.
38669         (ILL_ILLADR): Likewise.
38670         (ILL_ILLTRP): Likewise.
38671         (ILL_PRVOPC): Likewise.
38672         (ILL_PRVREG): Likewise.
38673         (ILL_COPROC): Likewise.
38674         (ILL_BADSTK): Likewise.
38675         (FPE_INTDIV): Likewise.
38676         (FPE_INTOVF): Likewise.
38677         (FPE_FLTDIV): Likewise.
38678         (FPE_FLTOVF): Likewise.
38679         (FPE_FLTUND): Likewise.
38680         (FPE_FLTRES): Likewise.
38681         (FPE_FLTINV): Likewise.
38682         (FPE_FLTSUB): Likewise.
38683         (SEGV_MAPERR): Likewise.
38684         (SEGV_ACCERR): Likewise.
38685         (BUS_ADRALN): Likewise.
38686         (BUS_ADRERR): Likewise.
38687         (BUS_OBJERR): Likewise.
38688         (BUS_MCEERR_AR): Likewise.
38689         (BUS_MCEERR_AO): Likewise.
38690         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38691         (TRAP_TRACE): Likewise.
38692         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38693         __USE_XOPEN2K8].
38694         (CLD_KILLED): Likewise.
38695         (CLD_DUMPED): Likewise.
38696         (CLD_TRAPPED): Likewise.
38697         (CLD_STOPPED): Likewise.
38698         (CLD_CONTINUED): Likewise.
38699         (POLL_IN): Likewise.
38700         (POLL_OUT): Likewise.
38701         (POLL_MSG): Likewise.
38702         (POLL_ERR): Likewise.
38703         (POLL_PRI): Likewise.
38704         (POLL_HUP): Likewise.
38705         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38706         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38708         [BZ #16670]
38709         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38710         before #include of <time.h>.
38711         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38712         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38713         (test-xfail-UNIX98/sched.h/conform): Likewise.
38715 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38717         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38718         error absence of trapping exception support.
38719         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38721 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38723         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38724         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38725         * timezone/Makefile (testdata): Move definition above include of
38726         Rules.
38727         (test-zones): New variable.
38728         (tests-special): Add zone files.
38729         (build-testdata): Use $(evaluate-test).
38731         * elf/Makefile (tests-special): Rename tests to end with .out.
38732         ($(objpfx)noload-mem): Likewise.
38733         ($(objpfx)tst-leaks1-mem): Likewise.
38734         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38735         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38736         $(objpfx)test-iconvconfig.out.
38737         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38738         set -e inside subshell and redirect output to file.
38739         * iconvdata/Makefile (generated): Rename tests to end with .out.
38740         Correct type.
38741         (tests-special): Rename tests to end with .out.
38742         ($(objpfx)mtrace-tst-loading): Likewise.
38743         * intl/Makefile (generated): Likewise.
38744         (tests-special): Likewise.
38745         ($(objpfx)mtrace-tst-gettext): Likewise.
38746         * misc/Makefile (generated): Likewise.
38747         (tests-special): Likewise.
38748         ($(objpfx)tst-error1-mem): Likewise.
38749         * nptl/Makefile (tests-special): Likewise.
38750         ($(objpfx)tst-stack3-mem): Likewise.
38751         (generated): Likewise.
38752         * posix/Makefile (generated): Likewise.
38753         (tests-special): Likewise.
38754         (xtests-special): Likewise.
38755         ($(objpfx)tst-fnmatch-mem): Likewise.
38756         ($(objpfx)bug-regex2-mem): Likewise.
38757         ($(objpfx)bug-regex14-mem): Likewise.
38758         ($(objpfx)bug-regex21-mem): Likewise.
38759         ($(objpfx)bug-regex31-mem): Likewise.
38760         ($(objpfx)tst-vfork3-mem): Likewise.
38761         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38762         ($(objpfx)tst-pcre-mem): Likewise.
38763         ($(objpfx)tst-boost-mem): Likewise.
38764         ($(objpfx)bug-ga2-mem): Likewise.
38765         ($(objpfx)bug-glob2-mem): Likewise.
38766         * resolv/Makefile (generate): Likewise.
38767         (tests-special): Likewise.
38768         (xtests-special): Likewise.
38769         (generated): Likewise.
38770         ($(objpfx)mtrace-tst-leaks): Likewise.
38771         ($(objpfx)mtrace-tst-leaks2): Likewise.
38773         * scripts/merge-test-results.sh: New file.
38774         * Makefile (tests-special-notdir): New variable.
38775         (tests): Run merge-test-results.sh.
38776         (xtests): Likewise.
38777         * Rules (tests-special-notdir): New variable.
38778         (xtests-special-notdir): Likewise.
38779         (tests): Run merge-test-results.sh
38780         (xtests): Likewise.
38782         * Makeconfig (test-xfail-name): New variable.
38783         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38784         compute variable name for expected failures.
38785         * conform/Makefile (conformtest-headers-data): New variable.
38786         (conformtest-standards): Likewise.
38787         (conformtest-headers-ISO): Likewise.
38788         (conformtest-headers-ISO99): Likewise.
38789         (conformtest-headers-ISO11): Likewise.
38790         (conformtest-headers-POSIX): Likewise.
38791         (conformtest-headers-XPG3): Likewise.
38792         (conformtest-headers-XPG4): Likewise.
38793         (conformtest-headers-UNIX98): Likewise.
38794         (conformtest-headers-XOPEN2K): Likewise.
38795         (conformtest-headers-POSIX2008): Likewise.
38796         (conformtest-headers-XOPEN2K8): Likewise.
38797         (conformtest-header-list-base): Likewise.
38798         (conformtest-header-list-tests): Likewise.
38799         (conformtest-header-base): Likewise.
38800         (conformtest-header-tests): Likewise.
38801         (tests-special): Add $(conformtest-header-list-tests).  If
38802         [$(fast-check) && !$(cross-compiling)], add
38803         $(conformtest-header-tests) instead of
38804         $(objpfx)run-conformtest.out.
38805         (generated): Add $(conformtest-header-list-base).  If
38806         [$(fast-check) && !$(cross-compiling)], add
38807         $(conformtest-header-base).  Remove previous setting.
38808         ($(conformtest-header-list-tests)): New target.
38809         (test-xfail-run-conformtest): Remove variable.
38810         ($(objpfx)run-conformtest.out): Remove target.
38811         (test-xfail-ISO11/complex.h/conform): New variable.
38812         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38813         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38814         (test-xfail-XPG3/varargs.h/conform): Likewise.
38815         (test-xfail-XPG4/varargs.h/conform): Likewise.
38816         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38817         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38818         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38819         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38820         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38821         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38822         (test-xfail-XPG3/ftw.h/conform): Likewise.
38823         (test-xfail-XPG3/grp.h/conform): Likewise.
38824         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38825         (test-xfail-XPG3/limits.h/conform): Likewise.
38826         (test-xfail-XPG3/pwd.h/conform): Likewise.
38827         (test-xfail-XPG3/search.h/conform): Likewise.
38828         (test-xfail-XPG3/signal.h/conform): Likewise.
38829         (test-xfail-XPG3/stdio.h/conform): Likewise.
38830         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38831         (test-xfail-XPG3/string.h/conform): Likewise.
38832         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38833         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38834         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38835         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38836         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38837         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38838         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38839         (test-xfail-XPG3/termios.h/conform): Likewise.
38840         (test-xfail-XPG3/time.h/conform): Likewise.
38841         (test-xfail-XPG3/unistd.h/conform): Likewise.
38842         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38843         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38844         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38845         (test-xfail-XPG4/netdb.h/conform): Likewise.
38846         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38847         (test-xfail-XPG4/signal.h/conform): Likewise.
38848         (test-xfail-XPG4/stdio.h/conform): Likewise.
38849         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38850         (test-xfail-XPG4/stropts.h/conform): Likewise.
38851         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38852         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38853         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38854         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38855         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38856         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38857         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38858         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38859         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38860         (test-xfail-XPG4/termios.h/conform): Likewise.
38861         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38862         (test-xfail-XPG4/unistd.h/conform): Likewise.
38863         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38864         (test-xfail-POSIX/sched.h/conform): Likewise.
38865         (test-xfail-POSIX/signal.h/conform): Likewise.
38866         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38867         (test-xfail-POSIX/tar.h/conform): Likewise.
38868         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38869         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38870         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38871         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38872         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38873         (test-xfail-UNIX98/sched.h/conform): Likewise.
38874         (test-xfail-UNIX98/signal.h/conform): Likewise.
38875         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38876         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38877         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38878         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38879         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38880         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38881         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38882         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38883         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38884         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38885         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38886         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38887         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38888         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38889         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38890         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38891         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38892         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38893         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38894         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38895         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38896         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38897         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38898         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38899         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38900         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38901         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38902         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38903         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38904         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38905         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38906         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38907         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38908         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38909         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38910         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38911         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38912         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38913         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38914         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38915         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38916         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38917         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38918         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38919         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38920         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38921         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38922         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38923         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38924         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38925         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38926         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38927         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38928         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38929         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38930         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38931         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38932         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38933         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38934         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38935         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38936         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38937         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38938         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38939         (conformtest-cc-flags): Likewise.
38940         ($(conformtest-header-tests): New target.
38941         * conform/check-header-lists.sh: New file.
38942         * conform/run-conformtest.sh: Remove.
38944         * conform/conformtest.pl: Allow ' and \ in values given for
38945         constants.
38946         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38947         inclusion.
38948         [POSIX] (sys/types.h): Likewise.
38949         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38950         inclusion.
38951         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38952         inclusion.
38953         * conform/data/signal.h-data (SIGIO): Remove expectation.
38954         [XPG3] (SIGBUS): Do not expect.
38955         [POSIX || XPG3] (SIGPOLL): Likewise.
38956         [POSIX || XPG3] (SIGPROF): Likewise.
38957         [POSIX || XPG3] (SIGSYS): Likewise.
38958         [XPG3] (SIGTRAP): Likewise.
38959         [POSIX || XPG3] (SIGURG): Likewise.
38960         [POSIX || XPG3] (SIGVTALRM): Likewise.
38961         [POSIX || XPG3] (SIGXCPU): Likewise.
38962         [POSIX || XPG3] (SIGXFSZ): Likewise.
38963         [POSIX] (SA_SIGINFO): Expect.
38964         [XPG3] (siginfo_t): Do not expect type or contents.
38965         [POSIX] (si_pid): Do not expect element.
38966         [POSIX] (si_uid): Likewise.
38967         [POSIX] (si_addr): Likewise.
38968         [POSIX] (si_status): Likewise.
38969         [POSIX] (si_band): Likewise.
38970         [XPG4] (si_value): Likewise.
38971         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38972         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38973         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38974         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38975         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38976         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38977         [POSIX || XPG3] (ILL_COPROC): Likewise.
38978         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38979         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38980         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38981         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38982         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38983         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38984         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38985         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38986         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38987         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38988         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38989         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38990         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38991         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38992         [POSIX || XPG3] (CLD_EXITED): Likewise.
38993         [POSIX || XPG3] (CLD_KILLED): Likewise.
38994         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38995         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38996         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38997         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38998         [POSIX || XPG3] (POLL_IN): Likewise.
38999         [POSIX || XPG3] (POLL_OUT): Likewise.
39000         [POSIX || XPG3] (POLL_MSG): Likewise.
39001         [POSIX || XPG3] (POLL_ERR): Likewise.
39002         [POSIX || XPG3] (POLL_PRI): Likewise.
39003         [POSIX || XPG3] (POLL_HUP): Likewise.
39004         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39005         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39006         (SIG*): Do not allow.
39007         [XPG3] (si_*): Likewise.
39008         [XPG3] (SI_*): Likewise.
39009         [XPG3 || XPG4] (sigev_*): Likewise.
39010         [XPG3 || XPG4] (SIGEV_*): Likewise.
39011         [XPG3 || XPG4] (sival_*): Likewise.
39012         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39013         [POSIX || XPG3] (BUS_*): Likewise.
39014         [POSIX || XPG3] (CLD_*): Likewise.
39015         [POSIX || XPG3] (FPE_*): Likewise.
39016         [POSIX || XPG3] (ILL_*): Likewise.
39017         [POSIX || XPG3] (POLL_*): Likewise.
39018         [POSIX || XPG3] (SEGV_*): Likewise.
39019         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39020         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39021         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39022         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39023         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39024         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39025         Specify type and value.
39026         (TVERSLEN): Likewise.
39027         (REGTYPE): Likewise.
39028         (AREGTYPE): Likewise.
39029         (LNKTYPE): Likewise.
39030         (SYMTYPE): Likewise.
39031         (CHRTYPE): Likewise.
39032         (BLKTYPE): Likewise.
39033         (DIRTYPE): Likewise.
39034         (FIFOTYPE): Likewise.
39035         (CONTTYPE): Likewise.
39036         (TSUID): Likewise.
39037         (TSGID): Likewise.
39038         (TSVTX): Likewise.
39039         (TUREAD): Likewise.
39040         (TUWRITE): Likewise.
39041         (TUEXEC): Likewise.
39042         (TGREAD): Likewise.
39043         (TGWRITE): Likewise.
39044         (TGEXEC): Likewise.
39045         (TOREAD): Likewise.
39046         (TOWRITE): Likewise.
39047         (TOEXEC): Likewise.
39048         [POSIX] (TSVTX): Expect constant.
39050 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39052         * Makefile (tests): Change dependencies to ....
39053         (tests-special): ... additions to this variable.
39054         (tests): Depend on $(tests-special).
39055         * Makerules (check-abi-list): New variable.
39056         (check-abi): Depend on $(check-abi-list).
39057         [$(subdir) = elf] (tests-special): Add
39058         $(objpfx)check-abi-libc.out.
39059         [$(build-shared) = yes && subdir] (tests-special): Add
39060         $(check-abi-list).
39061         [$(build-shared) = yes && subdir] (tests): Do not depend on
39062         check-abi.
39063         * Rules (tests): Depend on $(tests-special).
39064         (xtests): Depend on $(xtests-special).
39065         * catgets/Makefile (tests): Change dependencies to ....
39066         (tests-special): ... additions to this variable.
39067         * conform/Makefile (tests): Change dependencies to ....
39068         (tests-special): ... additions to this variable.
39069         * elf/Makefile (tests): Change dependencies to ....
39070         (tests-special): ... additions to this variable.
39071         * grp/Makefile (tests): Change dependencies to ....
39072         (tests-special): ... additions to this variable.
39073         * iconv/Makefile (xtests): Change dependencies to ....
39074         (xtests-special): ... additions to this variable.
39075         * iconvdata/Makefile (tests): Change dependencies to ....
39076         (tests-special): ... additions to this variable.
39077         * intl/Makefile (tests): Change dependencies to ....
39078         (tests-special): ... additions to this variable.  Also add
39079         $(objpfx)tst-gettext.out.
39080         * io/Makefile (tests): Change dependencies to ....
39081         (tests-special): ... additions to this variable.
39082         * libio/Makefile (tests): Change dependencies to ....
39083         (tests-special): ... additions to this variable.
39084         * malloc/Makefile (tests): Change dependencies to ....
39085         (tests-special): ... additions to this variable.
39086         * misc/Makefile (tests): Change dependencies to ....
39087         (tests-special): ... additions to this variable.
39088         * nptl/Makefile (tests): Change dependencies to ....
39089         (tests-special): ... additions to this variable.
39090         * nptl_db/Makefile (tests): Change dependencies to ....
39091         (tests-special): ... additions to this variable.
39092         * posix/Makefile (tests): Change dependencies to ....
39093         (tests-special): ... additions to this variable.
39094         (xtests): Change dependencies to ....
39095         (xtests-special): ... additions to this variable.
39096         * resolv/Makefile (tests): Change dependencies to ....
39097         (tests-special): ... additions to this variable.
39098         (xtests): Change dependencies to ....
39099         (xtests-special): ... additions to this variable.
39100         * stdio-common/Makefile (tests): Change dependencies to ....
39101         (tests-special): ... additions to this variable.
39102         (do-tst-unbputc): Remove target.
39103         (do-tst-printf): Likewise.
39104         * stdlib/Makefile (tests): Change dependencies to ....
39105         (tests-special): ... additions to this variable.
39106         * string/Makefile (tests): Change dependencies to ....
39107         (tests-special): ... additions to this variable.
39108         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39109         (tests-special): ... additions to this variable.
39111         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39112         whole file.
39113         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39114         whole file.
39115         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39116         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39118         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39119         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39120         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39121         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39122         * conform/data/libgen.h-data [XPG3]: Likewise.
39123         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39124         * conform/data/ndbm.h-data [XPG3]: Likewise.
39125         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39126         * conform/data/netdb.h-data [XPG3]: Likewise.
39127         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39128         * conform/data/poll.h-data [XPG3]: Likewise.
39129         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39130         * conform/data/strings.h-data [XPG3]: Likewise.
39131         * conform/data/stropts.h-data [XPG3]: Likewise.
39132         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39133         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39134         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39135         Likewise.
39136         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39137         * conform/data/sys/time.h-data [XPG3]: Likewise.
39138         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39139         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39140         * conform/data/sys/un.h-data [XPG3]: Likewise.
39141         * conform/data/syslog.h-data [XPG3]: Likewise.
39142         * conform/data/ucontext.h-data [XPG3]: Likewise.
39143         * conform/data/utmpx.h-data [XPG3]: Likewise.
39144         * conform/data/varargs.h-data [UNIX98]: Enable file.
39146         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39148         * math/libm-test.inc (struct test_f_f_data): Move expected results
39149         into structure for each rounding mode.
39150         (struct test_ff_f_data): Likewise.
39151         (struct test_ff_f_data_nexttoward): Likewise.
39152         (struct test_fi_f_data): Likewise.
39153         (struct test_fl_f_data): Likewise.
39154         (struct test_if_f_data): Likewise.
39155         (struct test_fff_f_data): Likewise.
39156         (struct test_c_f_data): Likewise.
39157         (struct test_f_f1_data): Likewise.
39158         (struct test_fF_f1_data): Likewise.
39159         (struct test_ffI_f1_data): Likewise.
39160         (struct test_c_c_data): Likewise.
39161         (struct test_cc_c_data): Likewise.
39162         (struct test_f_i_data): Likewise.
39163         (struct test_ff_i_data): Likewise.
39164         (struct test_f_l_data): Likewise.
39165         (struct test_f_L_data): Likewise.
39166         (struct test_fFF_11_data): Likewise.
39167         (RM_): New macro.
39168         (RM_FE_DOWNWARD): Likewise.
39169         (RM_FE_TONEAREST): Likewise.
39170         (RM_FE_TOWARDZERO): Likewise.
39171         (RM_FE_UPWARD): Likewise.
39172         (RUN_TEST_LOOP_f_f): Update references to expected results.
39173         (RUN_TEST_LOOP_2_f): Likewise.
39174         (RUN_TEST_LOOP_fff_f): Likewise.
39175         (RUN_TEST_LOOP_c_f): Likewise.
39176         (RUN_TEST_LOOP_f_f1): Likewise.
39177         (RUN_TEST_LOOP_fF_f1): Likewise.
39178         (RUN_TEST_LOOP_fI_f1): Likewise.
39179         (RUN_TEST_LOOP_ffI_f1): Likewise.
39180         (RUN_TEST_LOOP_c_c): Likewise.
39181         (RUN_TEST_LOOP_cc_c): Likewise.
39182         (RUN_TEST_LOOP_f_i): Likewise.
39183         (RUN_TEST_LOOP_f_i_tg): Likewise.
39184         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39185         (RUN_TEST_LOOP_f_b): Likewise.
39186         (RUN_TEST_LOOP_f_b_tg): Likewise.
39187         (RUN_TEST_LOOP_f_l): Likewise.
39188         (RUN_TEST_LOOP_f_L): Likewise.
39189         (RUN_TEST_LOOP_fFF_11): Likewise.
39190         * math/gen-libm-test.pl (parse_args): Output four copies of
39191         expected results for each test.
39193         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39194         (__ASSUME_UTIMES): Remove.
39195         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39196         (__ASSUME_UTIMES): Likewise.
39198         * math/gen-auto-libm-tests.c: Update comment on output format.
39199         (output_for_one_input_case): Generate before-rounding and
39200         after-rounding information as conditions on output flags not
39201         floating-point format.
39202         * math/auto-libm-test-out: Regenerated.
39203         * math/gen-libm-test.pl (cond_value): New function.
39204         (or_cond_value): Use cond_value.
39205         (generate_testfile): Handle conditional exceptions.
39207 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39209         * math/libm-test.inc (max_valid_error): New variable.
39210         (init_max_error): Take new argument specifying whether function
39211         results are exactly determined.  Set max_valid_error and bound
39212         other variables for errors based on this argument.
39213         (set_max_error): Do not record results above max_valid_error.
39214         (check_float_internal): Only accept errors of up to 0.5ulps if
39215         also at most max_valid_error.
39216         (START): Take new argument EXACT and pass it to init_max_error.
39217         (acos_test): Update call to START.
39218         (acos_test_tonearest): Likewise.
39219         (acos_test_towardzero): Likewise.
39220         (acos_test_downward): Likewise.
39221         (acos_test_upward): Likewise.
39222         (acosh_test): Likewise.
39223         (asin_test): Likewise.
39224         (asin_test_tonearest): Likewise.
39225         (asin_test_towardzero): Likewise.
39226         (asin_test_downward): Likewise.
39227         (asin_test_upward): Likewise.
39228         (asinh_test): Likewise.
39229         (atan_test): Likewise.
39230         (atanh_test): Likewise.
39231         (atan2_test): Likewise.
39232         (cabs_test): Likewise.
39233         (cacos_test): Likewise.
39234         (cacosh_test): Likewise.
39235         (carg_test): Likewise.
39236         (casin_test): Likewise.
39237         (casinh_test): Likewise.
39238         (catan_test): Likewise.
39239         (catanh_test): Likewise.
39240         (cbrt_test): Likewise.
39241         (ccos_test): Likewise.
39242         (ccosh_test): Likewise.
39243         (ceil_test): Likewise.
39244         (cexp_test): Likewise.
39245         (cimag_test): Likewise.
39246         (clog_test): Likewise.
39247         (clog10_test): Likewise.
39248         (conj_test): Likewise.
39249         (copysign_test): Likewise.
39250         (cos_test): Likewise.
39251         (cos_test_tonearest): Likewise.
39252         (cos_test_towardzero): Likewise.
39253         (cos_test_downward): Likewise.
39254         (cos_test_upward): Likewise.
39255         (cosh_test): Likewise.
39256         (cosh_test_tonearest): Likewise.
39257         (cosh_test_towardzero): Likewise.
39258         (cosh_test_downward): Likewise.
39259         (cosh_test_upward): Likewise.
39260         (cpow_test): Likewise.
39261         (cproj_test): Likewise.
39262         (creal_test): Likewise.
39263         (csin_test): Likewise.
39264         (csinh_test): Likewise.
39265         (csqrt_test): Likewise.
39266         (ctan_test): Likewise.
39267         (ctan_test_tonearest): Likewise.
39268         (ctan_test_towardzero): Likewise.
39269         (ctan_test_downward): Likewise.
39270         (ctan_test_upward): Likewise.
39271         (ctanh_test): Likewise.
39272         (ctanh_test_tonearest): Likewise.
39273         (ctanh_test_towardzero): Likewise.
39274         (ctanh_test_downward): Likewise.
39275         (ctanh_test_upward): Likewise.
39276         (erf_test): Likewise.
39277         (erfc_test): Likewise.
39278         (exp_test): Likewise.
39279         (exp_test_tonearest): Likewise.
39280         (exp_test_towardzero): Likewise.
39281         (exp_test_downward): Likewise.
39282         (exp_test_upward): Likewise.
39283         (exp10_test): Likewise.
39284         (exp10_test_tonearest): Likewise.
39285         (exp10_test_towardzero): Likewise.
39286         (exp10_test_downward): Likewise.
39287         (exp10_test_upward): Likewise.
39288         (pow10_test): Likewise.
39289         (exp2_test): Likewise.
39290         (expm1_test): Likewise.
39291         (expm1_test_tonearest): Likewise.
39292         (expm1_test_towardzero): Likewise.
39293         (expm1_test_downward): Likewise.
39294         (expm1_test_upward): Likewise.
39295         (fabs_test): Likewise.
39296         (fdim_test): Likewise.
39297         (floor_test): Likewise.
39298         (fma_test): Likewise.
39299         (fma_test_towardzero): Likewise.
39300         (fma_test_downward): Likewise.
39301         (fma_test_upward): Likewise.
39302         (fmax_test): Likewise.
39303         (fmin_test): Likewise.
39304         (fmod_test): Likewise.
39305         (fpclassify_test): Likewise.
39306         (frexp_test): Likewise.
39307         (hypot_test): Likewise.
39308         (ilogb_test): Likewise.
39309         (isfinite_test): Likewise.
39310         (finite_test): Likewise.
39311         (isgreater_test): Likewise.
39312         (isgreaterequal_test): Likewise.
39313         (isinf_test): Likewise.
39314         (isless_test): Likewise.
39315         (islessequal_test): Likewise.
39316         (islessgreater_test): Likewise.
39317         (isnan_test): Likewise.
39318         (isnormal_test): Likewise.
39319         (issignaling_test): Likewise.
39320         (isunordered_test): Likewise.
39321         (j0_test): Likewise.
39322         (j1_test): Likewise.
39323         (jn_test): Likewise.
39324         (ldexp_test): Likewise.
39325         (lgamma_test): Likewise.
39326         (gamma_test): Likewise.
39327         (lrint_test): Likewise.
39328         (lrint_test_tonearest): Likewise.
39329         (lrint_test_towardzero): Likewise.
39330         (lrint_test_downward): Likewise.
39331         (lrint_test_upward): Likewise.
39332         (llrint_test): Likewise.
39333         (llrint_test_tonearest): Likewise.
39334         (llrint_test_towardzero): Likewise.
39335         (llrint_test_downward): Likewise.
39336         (llrint_test_upward): Likewise.
39337         (log_test): Likewise.
39338         (log10_test): Likewise.
39339         (log1p_test): Likewise.
39340         (log2_test): Likewise.
39341         (logb_test): Likewise.
39342         (logb_test_downward): Likewise.
39343         (lround_test): Likewise.
39344         (llround_test): Likewise.
39345         (modf_test): Likewise.
39346         (nearbyint_test): Likewise.
39347         (nextafter_test): Likewise.
39348         (nexttoward_test): Likewise.
39349         (pow_test): Likewise.
39350         (pow_test_tonearest): Likewise.
39351         (pow_test_towardzero): Likewise.
39352         (pow_test_downward): Likewise.
39353         (pow_test_upward): Likewise.
39354         (remainder_test): Likewise.
39355         (drem_test): Likewise.
39356         (remainder_test_tonearest): Likewise.
39357         (drem_test_tonearest): Likewise.
39358         (remainder_test_towardzero): Likewise.
39359         (drem_test_towardzero): Likewise.
39360         (remainder_test_downward): Likewise.
39361         (drem_test_downward): Likewise.
39362         (remainder_test_upward): Likewise.
39363         (drem_test_upward): Likewise.
39364         (remquo_test): Likewise.
39365         (rint_test): Likewise.
39366         (rint_test_tonearest): Likewise.
39367         (rint_test_towardzero): Likewise.
39368         (rint_test_downward): Likewise.
39369         (rint_test_upward): Likewise.
39370         (round_test): Likewise.
39371         (scalb_test): Likewise.
39372         (scalbn_test): Likewise.
39373         (scalbln_test): Likewise.
39374         (signbit_test): Likewise.
39375         (sin_test): Likewise.
39376         (sin_test_tonearest): Likewise.
39377         (sin_test_towardzero): Likewise.
39378         (sin_test_downward): Likewise.
39379         (sin_test_upward): Likewise.
39380         (sincos_test): Likewise.
39381         (sinh_test): Likewise.
39382         (sinh_test_tonearest): Likewise.
39383         (sinh_test_towardzero): Likewise.
39384         (sinh_test_downward): Likewise.
39385         (sinh_test_upward): Likewise.
39386         (sqrt_test): Likewise.
39387         (sqrt_test_tonearest): Likewise.
39388         (sqrt_test_towardzero): Likewise.
39389         (sqrt_test_downward): Likewise.
39390         (sqrt_test_upward): Likewise.
39391         (tan_test): Likewise.
39392         (tan_test_tonearest): Likewise.
39393         (tan_test_towardzero): Likewise.
39394         (tan_test_downward): Likewise.
39395         (tan_test_upward): Likewise.
39396         (tanh_test): Likewise.
39397         (tgamma_test): Likewise.
39398         (trunc_test): Likewise.
39399         (y0_test): Likewise.
39400         (y1_test): Likewise.
39401         (yn_test): Likewise.
39402         (significand_test): Likewise.
39404         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39405         individual tests in comment.
39406         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39407         (prev_max_error): New variable.
39408         (prev_real_max_error): Likewise.
39409         (prev_imag_max_error): Likewise.
39410         (compare_ulp_data): Don't refer to test names in comment.
39411         (find_test_ulps): Remove function.
39412         (find_function_ulps): Likewise.
39413         (find_complex_function_ulps): Likewise.
39414         (init_max_error): Take function name as argument.  Look up ulps
39415         for that function.
39416         (print_ulps): Remove function.
39417         (print_max_error): Use prev_max_error instead of calling
39418         find_function_ulps.
39419         (print_complex_max_error): Use prev_real_max_error and
39420         prev_imag_max_error instead of calling find_complex_function_ulps.
39421         (check_float_internal): Take max_ulp parameter instead of calling
39422         find_test_ulps.  Don't call print_ulps.
39423         (check_float): Update call to check_float_internal.
39424         (check_complex): Update calls to check_float_internal.
39425         (START): Pass argument to init_max_error.
39426         * math/gen-libm-test.pl (%results): Don't include "kind"
39427         information.
39428         (parse_ulps): Don't handle ulps of individual tests.
39429         (print_ulps_file): Likewise.
39430         (output_ulps): Likewise.
39431         * math/README.libm-test: Update.
39432         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39433         individual tests.
39434         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39435         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39436         * sysdeps/arm/libm-test-ulps: Likewise.
39437         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39438         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39439         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39440         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39441         * sysdeps/microblaze/libm-test-ulps: Likewise.
39442         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39443         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39444         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39445         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39446         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39447         * sysdeps/sh/libm-test-ulps: Likewise.
39448         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39449         * sysdeps/tile/libm-test-ulps: Likewise.
39450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39452 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39454         * math/libm-test.inc (print_complex_max_error): Check separately
39455         whether real and imaginary errors are within allowed range and
39456         pass 0 to print_complex_function_ulps instead of value within
39457         allowed range.
39459 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39461         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39462         formatting.
39463         (get_handles_fopen): Likewise.
39464         (do_write_test): Likewise.
39466         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39468         * libio/fileops.c (do_ftell): Use cached offset when
39469         available.
39470         * libio/iofwide.c (do_ftell_wide): Likewise.
39471         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39472         _IO_file_attach.
39473         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39475         [BZ #16532]
39476         * libio/libioP.h (get_file_offset): New function.
39477         * libio/fileops.c (get_file_offset): Likewise.
39478         (do_ftell): Likewise.
39479         (_IO_new_file_seekoff): Split out ftell logic.
39480         * libio/wfileops.c (do_ftell_wide): Likewise.
39481         (_IO_wfile_seekoff): Split out ftell logic.
39482         * libio/tst-ftell-active-handler.c: New test case.
39483         * libio/Makefile (tests): Add it.
39485 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39487         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39488         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39490 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39492         [BZ #16639]
39493         * nscd/connections.c (nscd_init): Call do_exit.
39494         (start_threads): Call do_exit and notify_parent.
39495         (begin_drop_privileges): Call do_exit.
39496         (finish_drop_privileges): Likewise.
39497         * nscd/selinux.c (preserve_capabilities): Likewise.
39498         (install_real_capabilities): Likewise.
39499         (nscd_selinux_enabled): Likewise.
39500         (avc_create_thread): Likewise.
39501         (avc_alloc_lock): Likewise.
39502         (nscd_avc_init): Likewise.
39503         * nscd/nscd.c (parent_fd): New static variable.
39504         (main): Create a pipe between parent and child processes.
39505         Skip closing parent_fd.
39506         (monitor_child): New function.
39507         (do_exit): Likewise.
39508         (notify_parent): Likewise.
39509         * nscd/nscd.h (notify_parent): Likewise.
39510         (do_exit): Likewise.
39512 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39514         * malloc/malloc.c (__libc_calloc): Revert last change.
39516 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39520 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39522         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39524         implementation.
39525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39526         (__libc_ifunc_impl_list): Likewise.
39527         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39528         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39529         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39530         * string/strrchr.c: Define STRRCHR.
39532 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39534         * benchtest/bench-strtok.c (simple_strtok): Delete.
39535         (strtok_string): Use as benchmark.
39536         * string/strtok (STRTOK): New macro.
39538 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39540         * manual/threads.texi: Add header and standard comments to all
39541         functions.
39543         * elf/dl-lookup.c (check_match): New function.
39544         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39545         (do_lookup_x): Remove nested function check_match. Use non-nested
39546         function check_match.
39548 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39550         * csu/Makefile (generated, before-compile): Use += rather than =.
39551         * catgets/Makefile (generated, generated-dirs): Likewise.
39552         * debug/Makefile (generated): Likewise.
39553         * dlfcn/Makefile (generated): Likewise.
39554         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39555         * iconvdata/Makefile (before-compile, generated): Likewise.
39556         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39557         * libio/Makefile (generated): Likewise.
39558         * malloc/Makefile (generated): Likewise.
39559         * manual/Makefile (generated, generated-dirs): Likewise.
39560         * misc/Makefile (generated): Likewise.
39561         * posix/Makefile (generated): Likewise.
39562         * resolv/Makefile (generated): Likewise.
39563         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39564         * timezone/Makefile (generated, generated-dirs): Likewise.
39566         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39568 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39571         power8 implementation.
39572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39573         file: POWER8 llround ifunc implementation.
39574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39575         (__lllround): Add POWER8 implementation.
39576         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39577         POWER8 llround implementation.
39579         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39580         power8 implementation.
39581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39582         file: POWER8 llrint ifunc implementation.
39583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39584         Add POWER8 implementation.
39585         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39586         POWER8 llrint implementation.
39588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39589         power8 implementation.
39590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39591         file: POWER8 finite ifunc implementation.
39592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39593         Add POWER8 implementation.
39594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39595         Likewise.
39596         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39597         POWER8 finite implementation.
39598         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39601         power8 implementation.
39602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39603         file: POWER8 isinf ifunc implementation.
39604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39605         POWER8 implementation.
39606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39607         Likewise.
39608         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39609         isinf implementation.
39610         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39612         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39613         (INIT_ARCH): Add hwcap2 initialization.
39614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39615         power8 implementation.
39616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39617         file: POWER8 isnan ifunc implementation.
39618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39619         POWER8 implementation.
39620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39621         Likewise.
39622         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39623         isnan implementation.
39624         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39626 2014-02-27  Joey Ye  <joey.ye@arm.com>
39628         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39629         (_FP_NANFRAC_Q): Set to zero.
39631 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39633         [BZ #16623]
39634         * math/auto-libm-test-in: New test inputs.
39635         * math/auto-libm-test-out: Regenerate.
39636         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39637         and DA.
39638         (__cos): Likewise.
39639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39641 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39643         * scripts/evaluate-test.sh: Take new argument indicating whether
39644         failure is expected.
39645         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39646         indicating whether failure is expected.
39647         * conform/Makefile (test-xfail-run-conformtest): New variable.
39648         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39649         level.
39650         * posix/Makefile (test-xfail-annexc): New variable.
39651         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39653 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39655         * argp/Makefile: Include Makeconfig immediately after defining
39656         subdir.
39657         * assert/Makefile: Likewise.
39658         * benchtests/Makefile: Likewise.
39659         * catgets/Makefile: Likewise.
39660         * conform/Makefile: Likewise.
39661         * crypt/Makefile: Likewise.
39662         * csu/Makefile: Likewise.
39663         (all): Remove target.
39664         * ctype/Makefile: Include Makeconfig immediately after defining
39665         subdir.
39666         * debug/Makefile: Likewise.
39667         * dirent/Makefile: Likewise.
39668         * dlfcn/Makefile: Likewise.
39669         * gmon/Makefile: Likewise.
39670         * gnulib/Makefile: Likewise.
39671         * grp/Makefile: Likewise.
39672         * gshadow/Makefile: Likewise.
39673         * hesiod/Makefile: Likewise.
39674         * hurd/Makefile: Likewise.
39675         (all): Remove target.
39676         * iconvdata/Makefile: Include Makeconfig immediately after
39677         defining subdir.
39678         * inet/Makefile: Likewise.
39679         * intl/Makefile: Likewise.
39680         * io/Makefile: Likewise.
39681         * libio/Makefile: Likewise.
39682         (all): Remove target.
39683         * locale/Makefile: Include Makeconfig immediately after defining
39684         subdir.
39685         * login/Makefile: Likewise.
39686         * mach/Makefile: Likewise.
39687         (all): Remove target.
39688         * malloc/Makefile: Include Makeconfig immediately after defining
39689         subdir.
39690         (all): Remove target.
39691         * manual/Makefile: Include Makeconfig immediately after defining
39692         subdir.
39693         * math/Makefile: Likewise.
39694         * misc/Makefile: Likewise.
39695         * nis/Makefile: Likewise.
39696         * nss/Makefile: Likewise.
39697         * po/Makefile: Likewise.
39698         (all): Remove target.
39699         * posix/Makefile: Include Makeconfig immediately after defining
39700         subdir.
39701         * pwd/Makefile: Likewise.
39702         * resolv/Makefile: Likewise.
39703         * resource/Makefile: Likewise.
39704         * rt/Makefile: Likewise.
39705         * setjmp/Makefile: Likewise.
39706         * shadow/Makefile: Likewise.
39707         * signal/Makefile: Likewise.
39708         * socket/Makefile: Likewise.
39709         * soft-fp/Makefile: Likewise.
39710         * stdio-common/Makefile: Likewise.
39711         * stdlib/Makefile: Likewise.
39712         * streams/Makefile: Likewise.
39713         * string/Makefile: Likewise.
39714         * sunrpc/Makefile: Likewise.
39715         (all): Remove target.
39716         * sysvipc/Makefile: Include Makeconfig immediately after defining
39717         subdir.
39718         * termios/Makefile: Likewise.
39719         * time/Makefile: Likewise.
39720         * timezone/Makefile: Likewise.
39721         (all): Remove target.
39722         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39723         subdir.
39724         * wctype/Makefile: Likewise.
39726 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39728         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39729         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39730         (libc_feholdexcept_setround_mips): Ditto.
39731         (libc_feholdsetround): New.
39732         (libc_feholdsetroundf): New.
39733         (libc_feholdsetroundl): New.
39734         (libc_feupdateenv_test_mips): New.
39735         (libc_feupdateenv_test): New.
39736         (libc_feupdateenv_testf): New.
39737         (libc_feupdateenv_testl): New.
39738         (libc_feresetround): New.
39739         (libc_feresetroundf): New.
39740         (libc_feresetroundl): New.
39741         (libc_fetestexcept_mips): New.
39742         (libc_fetestexcept): New.
39743         (libc_fetestexceptf): New.
39744         (libc_fetestexceptl): New.
39745         (HAVE_RM_CTX): New.
39746         (libc_feholdexcept_setround_mips_ctx): New.
39747         (libc_feholdexcept_setround_ctx): New.
39748         (libc_feholdexcept_setroundf_ctx): New.
39749         (libc_feholdexcept_setroundl_ctx): New.
39750         (libc_fesetenv_mips_ctx): New.
39751         (libc_fesetenv_ctx): New.
39752         (libc_fesetenv_ctxf): New.
39753         (libc_fesetenv_ctxl): New.
39754         (libc_feupdateenv_mips_ctx): New.
39755         (libc_feupdateenv_ctx): New.
39756         (libc_feupdateenvf_ctx): New.
39757         (libc_feupdateenvl_ctx): New.
39758         (libc_feholdsetround_mips_ctx): New.
39759         (libc_feholdsetround_ctx): New.
39760         (libc_feholdsetroundf_ctx): New.
39761         (libc_feholdsetroundl_ctx): New.
39762         (libc_feresetround_mips_ctx): New.
39763         (libc_feresetround_ctx): New.
39764         (libc_feresetroundf_ctx): New.
39765         (libc_feresetroundl_ctx): New.
39767 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39769         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39771         * manual/ipc.texi: New file.
39772         * manual/Makefile (chapters): Add ipc.
39773         * manual/job.texi: Add "Inter-Process Communication" to next.
39774         * manual/process.texi: Add "Inter-Process Communication" to prev.
39776 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39780 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39782         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39784         * manual/arith.texi: Fix spaces after sentences.
39785         * manual/charset.texi: Likewise.
39786         * manual/errno.texi: Likewise.
39787         * manual/install.texi: Likewise.
39788         * manual/llio.texi: Likewise.
39789         * manual/locale.texi: Likewise.
39790         * manual/maint.texi: Likewise.
39791         * manual/math.texi: Likewise.
39792         * manual/memory.texi: Likewise.
39793         * manual/message.texi: Likewise.
39794         * manual/probes.texi: Likewise.
39795         * manual/resource.texi: Likewise.
39796         * manual/signal.texi: Likewise.
39797         * manual/socket.texi: Likewise.
39798         * manual/stdio.texi: Likewise.
39799         * manual/string.texi: Likewise.
39800         * manual/time.texi: Likewise.
39801         * manual/users.texi: Likewise.
39803 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39805         [BZ #16632]
39806         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39807         _DEFAULT_SOURCE is defined.
39809 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39810             Carlos O'Donell  <carlos@redhat.com>
39812         [BZ #16613]
39813         * elf/dl-tls.c (_dl_count_modids): New function.
39814         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39815         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39816         audit library and increment generation counter.
39817         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39818         * elf/tst-audit9.c: New file.
39819         * elf/tst-auditmod9a.c: New file.
39820         * elf/tst-auditmod9b.c: New file.
39821         * elf/Makefile: Add rules to build and run tst-audit9.
39823 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39825         [BZ #15347]
39826         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39828 2014-02-25  Will Newton  <will.newton@linaro.org>
39830         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39831         (__longjmp): Restore sp and lr before restoring callee
39832         saved registers.  Add longjmp and longjmp_target
39833         SystemTap probe point.
39834         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39835         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39836         Define to zero to match jmpbuf layout.
39837         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39838         (__sigsetjmp): Save sp and lr before saving callee
39839         saved registers.  Add setjmp SystemTap probe point.
39841 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39843         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39845 2014-02-24  Andreas Schwab  <schwab@suse.de>
39847         [BZ #15804]
39848         * elf/pldd.c (wait_for_ptrace_stop): New function.
39849         (main): Call it after attaching.
39851 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39853         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39854         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39855         Versions files is now verboten.
39856         * hurd/Versions (libc: GLIBC_2.0):
39857         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39858         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39859         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39860         * mach/Versions: Likewise.
39862         * csu/Versions: Remove unused %include.
39863         * resolv/Versions: Likewise.
39865 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39867         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39868         ($(objpfx)check-local-headers.out): Likewise.
39869         ($(objpfx)begin-end-check.out): Likewise.
39870         * Makerules (check-abi-%.out): Likewise.
39871         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39872         ($(objpfx)test2.cat): Likewise.
39873         ($(objpfx)de/libc.cat): Likewise.
39874         ($(objpfx)test-gencat.out): Likewise.
39875         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39876         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39877         ($(objpfx)noload-mem): Likewise.
39878         ($(objpfx)tst-pathopt.out): Likewise.
39879         ($(objpfx)tst-rtld-load-self.out): Likewise.
39880         ($(objpfx)tst-array1-cmp.out): Likewise.
39881         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39882         ($(objpfx)tst-array2-cmp.out): Likewise.
39883         ($(objpfx)tst-array3-cmp.out): Likewise.
39884         ($(objpfx)tst-array4-cmp.out): Likewise.
39885         ($(objpfx)tst-array5-cmp.out): Likewise.
39886         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39887         ($(objpfx)check-textrel.out): Likewise.
39888         ($(objpfx)check-execstack.out): Likewise.
39889         ($(objpfx)check-localplt.out): Likewise.
39890         ($(objpfx)order2-cmp.out): Likewise.
39891         ($(objpfx)tst-leaks1-mem): Likewise.
39892         ($(objpfx)tst-leaks1-static-mem): Likewise.
39893         ($(objpfx)tst-initorder-cmp.out): Likewise.
39894         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39895         ($(objpfx)tst-unused-dep.out): Likewise.
39896         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39897         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39898         * iconv/Makefile (test-iconvconfig): Likewise.
39899         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39900         ($(objpfx)iconv-test.out): Likewise.
39901         ($(objpfx)tst-tables.out): Likewise.
39902         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39903         ($(objpfx)tst-gettext.out): Likewise.
39904         ($(objpfx)tst-translit.out): Likewise.
39905         ($(objpfx)tst-gettext2.out): Likewise.
39906         ($(objpfx)tst-gettext4.out): Likewise.
39907         ($(objpfx)tst-gettext6.out): Likewise.
39908         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39909         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39910         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39911         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39912         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39913         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39914         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39915         ($(objpfx)wordexp-tst.out): Likewise.
39916         ($(objpfx)annexc.out): Likewise.
39917         ($(objpfx)tst-fnmatch-mem): Likewise.
39918         ($(objpfx)bug-regex2-mem): Likewise.
39919         ($(objpfx)bug-regex14-mem): Likewise.
39920         ($(objpfx)bug-regex21-mem): Likewise.
39921         ($(objpfx)bug-regex31-mem): Likewise.
39922         ($(objpfx)tst-vfork3-mem): Likewise.
39923         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39924         ($(objpfx)tst-pcre-mem): Likewise.
39925         ($(objpfx)tst-boost-mem): Likewise.
39926         ($(objpfx)tst-getconf.out): Likewise.
39927         ($(objpfx)bug-ga2-mem): Likewise.
39928         ($(objpfx)bug-glob2-mem): Likewise.
39929         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39930         ($(objpfx)mtrace-tst-leaks2): Likewise.
39931         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39932         ($(objpfx)tst-printf.out): Likewise.
39933         ($(objpfx)tst-setvbuf1.out): Likewise.
39934         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39935         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39936         ($(objpfx)tst-fmtmsg.out): Likewise.
39937         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39938         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39940         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39941         * bits/sigaction.h [__USE_MISC]: Likewise.
39942         * bits/waitstatus.h: Update #endif comments.
39943         * ctype/ctype.h: Likewise.
39944         * dirent/dirent.h: Likewise.
39945         [__USE_MISC]: Remove redundant conditionals.
39946         * grp/grp.h: Update #endif comments.
39947         [__USE_GNU]: Remove redundant conditionals.
39948         [__USE_MISC]: Likewise.
39949         * inet/netinet/in.h [__USE_GNU]: Likewise.
39950         * io/sys/stat.h [__USE_MISC]: Likewise.
39951         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39952         * libio/bits/stdio.h: Update #endif comments.
39953         [__USE_MISC]: Remove redundant conditionals.
39954         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39955         * libio/stdio.h: Update #endif comments.
39956         [__USE_MISC]: Remove redundant conditionals.
39957         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39958         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39959         * math/math.h: Update #else and #endif comments.
39960         [__USE_MISC]: Remove redundant conditionals.
39961         * misc/sys/uio.h: Update #endif comments.
39962         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39963         * posix/glob.h [__USE_MISC]: Likewise.
39964         * posix/sys/types.h: Update #endif comments.
39965         [__USE_MISC]: Remove redundant conditionals.
39966         * posix/sys/wait.h: Update #endif comments.
39967         [__USE_MISC]: Remove redundant conditionals.
39968         * posix/unistd.h: Update #endif comments.
39969         [__USE_MISC]: Remove redundant conditionals.
39970         * pwd/pwd.h [__USE_GNU]: Likewise.
39971         [__USE_MISC]: Likewise.
39972         * resolv/netdb.h [__USE_GNU]: Likewise.
39973         * signal/signal.h: Update #endif comments.
39974         [__USE_MISC]: Remove redundant conditionals.
39975         * stdlib/stdlib.h: Update #else and #endif comments.
39976         [__USE_MISC]: Remove redundant conditionals.
39977         [__USE_GNU]: Likewise.
39978         * string/bits/string2.h [__USE_MISC]: Likewise.
39979         * string/string.h: Update #endif comments.
39980         [__USE_MISC]: Remove redundant conditionals.
39981         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39982         Likewise.
39983         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39984         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39985         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39986         Likewise.
39987         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39988         Likewise.
39989         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39990         comments.
39991         [__USE_MISC]: Remove redundant conditionals.
39992         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39993         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39994         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39995         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39996         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39997         Likewise.
39998         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39999         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40000         Likewise.
40001         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40002         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40003         Likewise.
40004         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40005         Likewise.
40006         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40007         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40008         Likewise.
40009         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40010         Likewise.
40011         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40012         * sysdeps/x86/bits/string.h: Update #endif comments.
40013         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40014         conditionals.
40015         * time/sys/time.h: Update #endif comments.
40016         * time/time.h: Likewise.
40017         [__USE_MISC]: Remove redundant conditionals.
40019 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40021         [BZ #16600]
40022         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40024 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40026         * Versions.def (librt): Add GLIBC_2.17.
40028 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40030         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40031         synonym for _SYS_AUXV_H to allow direct inclusion.
40032         * sysdeps/sparc/bits/hwcap.h: Likewise.
40033         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40034         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40035         * sysdeps/sparc/sysdep.h: Likewise.
40037 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40039         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40041 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40043         * benchtests/bench-strrchr.c: Print length instead of position.
40045 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40047         [BZ #16611]
40048         * sysdeps/unix/sysv/linux/kernel-features.h
40049         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40050         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40051         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40052         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40053         Likewise.
40054         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40055         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40056         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40057         (__ASSUME_SENDMMSG): Define instead of using previous
40058         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40059         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40060         (__ASSUME_SENDMMSG_SYSCALL): Define.
40061         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40062         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40063         Likewise.
40064         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40065         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40066         Likewise.
40067         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40068         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40069         Likewise.
40070         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40071         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40072         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40073         [__ASSUME_SENDMMSG]: Change conditionals to
40074         [__ASSUME_SENDMMSG_SOCKETCALL].
40075         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40076         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40077         Define.
40078         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40079         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40080         Likewise.
40081         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40082         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40083         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40084         [!__ASSUME_SENDMMSG]: Change conditional to
40085         [!__ASSUME_SENDMMSG_SOCKETCALL].
40086         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40087         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40088         Define.
40090         [BZ #16610]
40091         * sysdeps/unix/sysv/linux/kernel-features.h
40092         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40093         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40094         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40095         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40096         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40097         [__i386__ || __sparc__]
40098         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40099         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40100         (__ASSUME_RECVMMSG): Define instead of using previous
40101         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40102         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40103         (__ASSUME_RECVMMSG_SYSCALL): Define.
40104         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40105         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40106         Likewise.
40107         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40108         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40109         Likewise.
40110         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40111         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40112         Likewise.
40113         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40114         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40115         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40116         [__ASSUME_RECVMMSG]: Change condition to
40117         [__ASSUME_RECVMMSG_SOCKETCALL].
40118         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40119         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40120         Define.
40121         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40122         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40123         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40124         Likewise.
40125         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40126         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40127         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40128         [!__ASSUME_RECVMMSG]: Change condition to
40129         [!__ASSUME_RECVMMSG_SOCKETCALL].
40130         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40131         (__ASSUME_RECVMMSG_SYSCALL): Define.
40133         [BZ #16609]
40134         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40135         __powerpc__ || __s390__ || __sh__ || __sparc__]
40136         (__ASSUME_SOCKETCALL): Define.
40137         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40138         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40139         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40140         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40141         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40142         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40143         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40144         (__ASSUME_ACCEPT4): Define instead of using previous
40145         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40146         __powerpc__ || __sparc__ || __s390__)] condition.
40147         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40148         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40149         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40150         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40151         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40152         [!__ASSUME_ACCEPT4]: Change condition to
40153         [!__ASSUME_ACCEPT4_SOCKETCALL].
40154         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40155         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40156         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40157         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40158         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40159         __ASSUME_ACCEPT4_SYSCALL.
40160         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40161         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40162         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40163         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40164         __ASSUME_ACCEPT4_SYSCALL.
40165         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40166         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40167         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40168         [__ASSUME_ACCEPT4]: Change condition to
40169         [__ASSUME_ACCEPT4_SOCKETCALL].
40170         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40171         (__ASSUME_SOCKETCALL): Define.
40172         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40173         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40174         (__ASSUME_SOCKETCALL): Define.
40175         (__ASSUME_ACCEPT4): Remove.
40176         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40177         Define.
40178         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40179         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40180         Likewise.
40181         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40182         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40184         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40185         macro.
40186         (HWCAP_ARM_LPAE): Likewise.
40187         (HWCAP_ARM_EVTSTRM): Likewise.
40188         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40189         Add vpfd32, lpae and evtstrm.
40190         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40191         Increase to 22.
40193 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40195         * math/auto-libm-test-in: Add tests of clog10.
40196         * math/auto-libm-test-out: Regenerated.
40197         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40198         * sysdeps/i386/fpu/libm-test-ulps: Update.
40199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40201 2014-02-18  Andreas Schwab  <schwab@suse.de>
40203         [BZ #16574]
40204         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40205         Store non-zero if the second buffer was newly allocated.
40206         (send_dg): Likewise.
40207         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40208         to send_vc and send_dg.
40209         (res_nsend): Pass NULL for ansp2_malloced.
40210         * resolv/res_query.c (__libc_res_nquery): Add parameter
40211         answerp2_malloced and pass it down to __libc_res_nsend.
40212         (res_nquery): Pass additional NULL to __libc_res_nquery.
40213         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40214         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40215         second answer buffer if answerp2_malloced was set.
40216         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40217         (__libc_res_nquerydomain): Add parameter
40218         answerp2_malloced and pass it down to __libc_res_nquery.
40219         (res_nquerydomain): Pass additional NULL to
40220         __libc_res_nquerydomain.
40221         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40222         additional NULL to __libc_res_nsend and __libc_res_nquery.
40223         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40224         additional NULL to __libc_res_nsearch.
40225         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40226         parameter of __libc_res_nsearch to check for separately allocated
40227         second buffer.
40228         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40229         __libc_res_nquery.
40230         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40231         additional NULL to __libc_res_nquery.
40232         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40233         __libc_res_nsearch.
40234         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40235         * include/resolv.h: Update prototypes of __libc_res_nquery,
40236         __libc_res_nsearch, __libc_res_nsend.
40238 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40240         * math/auto-libm-test-in: Add tests of fma.
40241         * math/auto-libm-test-out: Regenerated.
40242         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40243         (fma_towardzero_test_data): Likewise.
40244         (fma_downward_test_data): Likewise.
40245         (fma_upward_test_data): Likewise.
40246         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40247         mpc_mode.
40248         (rounding_modes): Add values for new field.
40249         (func_calc_method): Add value mpfr_fff_f.
40250         (func_calc_desc): Add mpfr_fff_f union field.
40251         (test_function): Add field exact_args.
40252         (FUNC): Add macro argument EXACT_ARGS.
40253         (FUNC_mpfr_f_f): Update call to FUNC.
40254         (FUNC_mpfr_f_f): Likewise.
40255         (FUNC_mpfr_ff_f): Likewise.
40256         (FUNC_mpfr_if_f): Likewise.
40257         (FUNC_mpc_c_f): Likewise.
40258         (FUNC_mpc_c_c): Likewise.
40259         (test_functions): Add fma.  Update calls to FUNC.
40260         (handle_input_arg): Add argument exact_args.
40261         (add_test): Update call to handle_input_arg.
40262         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40263         (output_for_one_input_case): Update call to calc_generic_results.
40264         Recalculate exact zero results in each rounding mode.
40266         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40267         non-negative before setting low bit.
40268         * math/auto-libm-test-in: Mark one asin test possibly having
40269         spurious underflow.
40270         * math/auto-libm-test-out: Regenerated.
40271         * sysdeps/i386/fpu/libm-test-ulps: Update.
40272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40274 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40276         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40277         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40278         ports/sysdeps/unix/sysv/linux/microblaze.
40279         * README: Add missing listing for microblaze*-*-linux-gnu.
40281 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40283         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40284         duplicate code
40286 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40288         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40289         * sysdeps/unix/sysv/linux/ia64: Move directory from
40290         ports/sysdeps/unix/sysv/linux/ia64.
40291         * README: Update listing for ia64-*-linux-gnu.
40293 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40294             Joseph Myers  <joseph@codesourcery.com>
40296         * Makeconfig (test-name): New variable.
40297         (evaluate-test): Likewise.
40298         * Makerules (do-test-clean): Remove .test-result files.
40299         (common-mostlyclean): Likewise.
40300         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40301         * scripts/evaluate-test.sh: New file.
40303 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40305         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40306         separate $(objpfx)tst-fopenloc-cmp.out and
40307         $(objpfx)tst-fopenloc-mem.out targets.
40308         (tests): Update dependencies.
40309         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40310         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40311         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40312         (tst-rxspencer-no-utf8-ARGS): New variable.
40313         (tst-rxspencer-no-utf8-ENV): Likewise.
40314         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40315         instead of $(objpfx)tst-rxspencer-mem.
40316         ($(objpfx)tst-rxspencer-mem): Change target to
40317         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40318         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40319         * posix/tst-rxspencer-no-utf8.c: New file.
40321         * elf/Makefile ($(objpfx)order.out): Remove rule.
40322         [$(run-built-tests) = yes] (tests): Depend on
40323         $(objpfx)order-cmp.out.
40324         ($(objpfx)order-cmp.out): New rule.
40325         [$(run-built-tests) = yes] (tests): Depend on
40326         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40327         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40328         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40329         $(objpfx)tst-array5-static-cmp.out.
40330         ($(objpfx)tst-array1.out): Remove rule.
40331         ($(objpfx)tst-array1-cmp.out): New rule.
40332         ($(objpfx)tst-array1-static.out): Remove rule.
40333         ($(objpfx)tst-array1-static-cmp.out): New rule.
40334         ($(objpfx)tst-array2.out): Remove rule.
40335         ($(objpfx)tst-array2-cmp.out): New rule.
40336         ($(objpfx)tst-array3.out): Remove rule.
40337         ($(objpfx)tst-array3-cmp.out): New rule.
40338         ($(objpfx)tst-array4.out): Remove rule.
40339         ($(objpfx)tst-array4-cmp.out): New rule.
40340         ($(objpfx)tst-array5.out): Remove rule.
40341         ($(objpfx)tst-array5-cmp.out): New rule.
40342         ($(objpfx)tst-array5-static.out): Remove rule.
40343         ($(objpfx)tst-array5-static-cmp.out): New rule.
40344         [$(run-built-tests) = yes] (tests): Depend on
40345         $(objpfx)order2-cmp.out.
40346         ($(objpfx)order2.out): Remove rule.
40347         ($(objpfx)order2-cmp.out): New rule.
40348         ($(objpfx)tst-initorder.out): Remove rule.
40349         [$(run-built-tests) = yes] (tests): Depend on
40350         $(objpfx)tst-initorder-cmp.out.
40351         ($(objpfx)tst-initorder-cmp.out): New rule.
40352         ($(objpfx)tst-initorder2.out): Remove rule.
40353         [$(run-built-tests) = yes] (tests): Depend on
40354         $(objpfx)tst-initorder2-cmp.out.
40355         ($(objpfx)tst-initorder2-cmp.out): New rule.
40356         [$(run-built-tests) = yes] (tests): Depend on
40357         $(objpfx)tst-unused-dep-cmp.out.
40358         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40359         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40360         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40361         on $(objpfx)tst-setvbuf1-cmp.out.
40362         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40363         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40364         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40365         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40366         ($(objpfx)tst-svc.out): Remove rule.
40367         ($(objpfx)tst-svc-cmp.out): New rule.
40369 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40371         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40372         * ctype/ctype.h [__USE_MISC]: Likewise.
40373         * dirent/dirent.h [__USE_MISC]: Likewise.
40374         * grp/grp.h [__USE_MISC]: Likewise.
40375         * io/fcntl.h [__USE_MISC]: Likewise.
40376         * io/sys/stat.h [__USE_MISC]: Likewise.
40377         * libio/stdio.h [__USE_MISC]: Likewise.
40378         * posix/unistd.h [__USE_MISC]: Likewise.
40379         * pwd/pwd.h [__USE_MISC]: Likewise.
40380         * stdlib.h [__USE_MISC]: Likewise.
40381         * string/bits/string2.h [__USE_MISC]: Likewise.
40382         * string/string.h [__USE_MISC]: Likewise.
40383         * time/time.h [__USE_MISC]: Likewise.
40385 2014-02-13  Andreas Schwab  <schwab@suse.de>
40387         [BZ #16574]
40388         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40389         second answer buffer if it was separately allocated.
40391 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40393         * sysdeps/mips/math-tests.h: Include <features.h>.
40394         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40395         (ROUNDING_TESTS_long_double): Do not define.
40396         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40397         (EXCEPTION_TESTS_long_double): Likewise.
40398         * sysdeps/mips/mips64/libm-test-ulps: Update.
40400         * include/features.h (__USE_BSD): Remove macro definitions.
40401         (__USE_SVID): Likewise.
40402         (_BSD_SOURCE): Likewise.
40403         (_SVID_SOURCE): Likewise.
40404         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40405         from definition of _DEFAULT_SOURCE.
40406         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40407         [_DEFAULT_SOURCE].
40408         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40409         * bits/mman.h [__USE_BSD]: Likewise.
40410         * bits/termios.h [__USE_BSD]: Likewise.
40411         * bits/waitstatus.h [__USE_BSD]: Likewise.
40412         * ctype/ctype.h [__USE_SVID]: Likewise.
40413         * dirent/dirent.h [__USE_BSD]: Likewise.
40414         * grp/grp.h [__USE_SVID]: Likewise.
40415         [__USE_BSD]: Likewise.
40416         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40417         * io/fcntl.h [__USE_BSD]: Likewise.
40418         * io/ftw.h [__USE_BSD]: Likewise.
40419         * io/sys/stat.h [__USE_BSD]: Likewise.
40420         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40421         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40422         * libio/stdio.h [__USE_SVID]: Likewise.
40423         [__USE_BSD]: Likewise.
40424         * math/math.h [__USE_SVID]: Likewise.
40425         [__USE_BSD]: Likewise.
40426         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40427         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40428         * misc/search.h [__USE_SVID]: Likewise.
40429         * misc/sys/mman.h [__USE_BSD]: Likewise.
40430         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40431         * misc/sys/uio.h [__USE_BSD]: Likewise.
40432         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40433         * posix/glob.h [__USE_BSD]: Likewise.
40434         * posix/regex.h [__USE_BSD]: Likewise.
40435         * posix/sys/types.h [__USE_BSD]: Likewise.
40436         [__USE_SVID]: Likewise.
40437         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40438         * posix/sys/wait.h [__USE_BSD]: Likewise.
40439         [__USE_SVID]: Likewise.
40440         * posix/unistd.h [__USE_BSD]: Likewise.
40441         [__USE_SVID]: Likewise.
40442         * pwd/pwd.h [__USE_SVID]: Likewise.
40443         * resolv/netdb.h [__USE_BSD]: Likewise.
40444         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40445         * signal/signal.h [__USE_BSD]: Likewise.
40446         [__USE_SVID]: Likewise.
40447         * socket/sys/socket.h [__USE_BSD]: Likewise.
40448         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40449         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40450         [__USE_SVID]: Likewise.
40451         * string/bits/string2.h [__USE_BSD]: Likewise.
40452         [__USE_SVID]: Likewise.
40453         * string/bits/string3.h [__USE_BSD]: Likewise.
40454         * string/endian.h [__USE_BSD]: Likewise.
40455         * string/string.h [__USE_SVID]: Likewise.
40456         [__USE_BSD]: Likewise.
40457         * string/strings.h [__USE_BSD]: Likewise.
40458         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40459         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40460         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40461         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40462         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40463         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40464         Likewise.
40465         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40466         Likewise.
40467         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40468         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40469         Likewise.
40470         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40471         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40472         Likewise.
40473         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40474         Likewise.
40475         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40476         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40477         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40478         Likewise.
40479         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40480         Likewise.
40481         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40482         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40483         * termios/termios.h [__USE_BSD]: Likewise.
40484         * time/sys/time.h [__USE_BSD]: Likewise.
40485         * time/time.h [__USE_BSD]: Likewise.
40486         [__USE_SVID]: Likewise.
40488         * Makefile (subdir_targets): Remove subdir_lint.out.
40490         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40491         (do-tst-printf): Likewise.
40492         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40493         $(objpfx)tst-printf.out.
40495         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40497         * Makerules (check-abi-%): Change target to
40498         $(objpfx)check-abi-%.out.
40499         (check-abi target): Update dependencies.
40500         (check-abi-pattern variable): Redirect output of diff to $@.
40501         (check-abi variable): Likewise.
40502         * elf/Makefile (check-abi): Update dependencies.
40504         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40505         unused.
40506         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40507         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40508         subnormal range.
40509         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40510         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40511         value has largest subnormal exponent.
40512         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40513         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40514         * sysdeps/aarch64/soft-fp/sfp-machine.h
40515         (_FP_TININESS_AFTER_ROUNDING): New macro.
40516         * sysdeps/alpha/soft-fp/sfp-machine.h
40517         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40518         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40519         Likewise.
40520         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40521         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40522         * sysdeps/mips/soft-fp/sfp-machine.h
40523         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40524         * sysdeps/powerpc/soft-fp/sfp-machine.h
40525         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40526         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40527         Likewise.
40528         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40529         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40530         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40531         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40532         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40533         Likewise.
40535 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40537         [BZ #16545]
40538         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40539         model 1.
40541 2014-02-12  Richard Henderson  <rth@redhat.com>
40543         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40544         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40545         * sysdeps/unix/sysv/linux/alpha: Move directory from
40546         ports/sysdeps/unix/sysv/linux/alpha.
40547         * README: Update listing for alpha-*-linux-gnu.
40549 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40551         * include/features.h: Update comment documenting feature test
40552         macros.
40553         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40554         _DEFAULT_SOURCE.
40555         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40556         (_SVID_SOURCE): Likewise.
40557         (_DEFAULT_SOURCE): Update description of default features.
40558         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40559         with _GNU_SOURCE.
40560         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40561         (S_ISVTX): Likewise.
40562         * manual/math.texi (Mathematical Constants): Likewise.
40563         * manual/signal.texi (Interrupted Primitives): Likewise.
40564         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40565         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40566         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40567         Don't refer to _SVID_SOURCE in warning text.
40569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40571         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40572         already defined.
40573         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40574         * sysdeps/mips/dl-lookup.c: Remove.
40575         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40577 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40579         [BZ #16447]
40580         * math/auto-libm-test-in: Add testcase for expl.
40581         * math/auto-libm-test-out: Regenerate.
40582         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40583         calculation of unsafe.
40584         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40586 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40588         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40589         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40590         ports/sysdeps/unix/sysv/linux/aarch64.
40591         * README: Update listing for aarch64*-*-linux-gnu.
40593 2014-02-11  Will Newton  <will.newton@linaro.org>
40595         * manual/probes.texi (Mathematical Function Probes): Use
40596         "triggered" instead of "hit".
40598         * manual/probes.texi (Internal Probes): Add documentation
40599         of setjmp, longjmp and longjmp_target probes.
40601         * include/stap-probe.h: Add comment about probe argument
40602         format.
40604         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40605         definition.  (tr_where, tr_freehook, tr_mallochook,
40606         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40608 2014-02-11  David S. Miller  <davem@davemloft.net>
40610         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40611         processing int_tests.
40613 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40615         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40616         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40617         * sysdeps/unix/sysv/linux/mips: Move directory from
40618         ports/sysdeps/unix/sysv/linux/mips.
40619         * README: Update listing for mips-*-linux-gnu and
40620         mips64-*-linux-gnu.
40622 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40624         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40625         * sysdeps/unix/sysv/linux/m68k: Move directory from
40626         ports/sysdeps/unix/sysv/linux/m68k.
40627         * README: Update listing for m68k-*-linux-gnu.
40629 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40631         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40632         * sysdeps/unix/sysv/linux/generic: Move directory from
40633         ports/sysdeps/unix/sysv/linux/generic.
40634         * sysdeps/unix/sysv/linux/tile: Move directory from
40635         ports/sysdeps/unix/sysv/linux/tile.
40636         * README: Update listing for tile*-*-linux-gnu.
40638 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40640         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40641         __builtin_expect.
40642         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40643         * catgets/open_catalog.c (__open_catalog): Likewise.
40644         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40645         * debug/confstr_chk.c: Likewise.
40646         * debug/fread_chk.c (__fread_chk): Likewise.
40647         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40648         * debug/getgroups_chk.c: Likewise.
40649         * debug/mbsnrtowcs_chk.c: Likewise.
40650         * debug/mbsrtowcs_chk.c: Likewise.
40651         * debug/mbstowcs_chk.c: Likewise.
40652         * debug/memcpy_chk.c: Likewise.
40653         * debug/memmove_chk.c: Likewise.
40654         * debug/mempcpy_chk.c: Likewise.
40655         * debug/memset_chk.c: Likewise.
40656         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40657         * debug/strcat_chk.c (__strcat_chk): Likewise.
40658         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40659         * debug/strncat_chk.c (__strncat_chk): Likewise.
40660         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40661         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40662         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40663         * debug/wcpncpy_chk.c: Likewise.
40664         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40665         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40666         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40667         * debug/wcsncpy_chk.c: Likewise.
40668         * debug/wcsnrtombs_chk.c: Likewise.
40669         * debug/wcsrtombs_chk.c: Likewise.
40670         * debug/wcstombs_chk.c: Likewise.
40671         * debug/wmemcpy_chk.c: Likewise.
40672         * debug/wmemmove_chk.c: Likewise.
40673         * debug/wmempcpy_chk.c: Likewise.
40674         * debug/wmemset_chk.c: Likewise.
40675         * dirent/scandirat.c (SCANDIRAT): Likewise.
40676         * dlfcn/dladdr1.c (dladdr1): Likewise.
40677         * dlfcn/dladdr.c (dladdr): Likewise.
40678         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40679         * dlfcn/dlerror.c (__dlerror): Likewise.
40680         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40681         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40682         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40683         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40684         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40685         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40686         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40687         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40688         Likewise.
40689         * elf/dl-conflict.c: Likewise.
40690         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40691         * elf/dl-dst.h: Likewise.
40692         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40693         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40694         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40695         * elf/dl-init.c (call_init, _dl_init): Likewise.
40696         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40697         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40698         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40699         Likewise.
40700         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40701         Likewise.
40702         * elf/dl-minimal.c (__libc_memalign): Likewise.
40703         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40704         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40705         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40706         * elf/dl-sym.c (do_sym): Likewise.
40707         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40708         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40709         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40710         * elf/dl-writev.h (_dl_writev): Likewise.
40711         * elf/ldconfig.c (search_dir): Likewise.
40712         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40713         (dl_main): Likewise.
40714         * elf/setup-vdso.h (setup_vdso): Likewise.
40715         * grp/compat-initgroups.c (compat_call): Likewise.
40716         * grp/fgetgrent.c (fgetgrent): Likewise.
40717         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40718         * grp/putgrent.c (putgrent): Likewise.
40719         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40720         Likewise.
40721         * hurd/hurdinit.c: Likewise.
40722         * iconvdata/8bit-gap.c (struct): Likewise.
40723         * iconvdata/ansi_x3.110.c : Likewise.
40724         * iconvdata/big5.c : Likewise.
40725         * iconvdata/big5hkscs.c : Likewise.
40726         * iconvdata/cp1255.c: Likewise.
40727         * iconvdata/cp1258.c : Likewise.
40728         * iconvdata/cp932.c : Likewise.
40729         * iconvdata/euc-cn.c: Likewise.
40730         * iconvdata/euc-jisx0213.c : Likewise.
40731         * iconvdata/euc-jp.c: Likewise.
40732         * iconvdata/euc-jp-ms.c : Likewise.
40733         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40734         * iconvdata/gb18030.c : Likewise.
40735         * iconvdata/gbbig5.c (const): Likewise.
40736         * iconvdata/gbgbk.c: Likewise.
40737         * iconvdata/gbk.c : Likewise.
40738         * iconvdata/ibm1364.c : Likewise.
40739         * iconvdata/ibm930.c : Likewise.
40740         * iconvdata/ibm932.c: Likewise.
40741         * iconvdata/ibm933.c : Likewise.
40742         * iconvdata/ibm935.c : Likewise.
40743         * iconvdata/ibm937.c : Likewise.
40744         * iconvdata/ibm939.c : Likewise.
40745         * iconvdata/ibm943.c: Likewise.
40746         * iconvdata/iso_11548-1.c: Likewise.
40747         * iconvdata/iso-2022-cn.c : Likewise.
40748         * iconvdata/iso-2022-cn-ext.c : Likewise.
40749         * iconvdata/iso-2022-jp-3.c: Likewise.
40750         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40751         * iconvdata/iso-2022-kr.c : Likewise.
40752         * iconvdata/iso646.c (gconv_end): Likewise.
40753         * iconvdata/iso_6937-2.c : Likewise.
40754         * iconvdata/iso_6937.c : Likewise.
40755         * iconvdata/iso8859-1.c: Likewise.
40756         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40757         * iconvdata/shift_jisx0213.c : Likewise.
40758         * iconvdata/sjis.c : Likewise.
40759         * iconvdata/t.61.c : Likewise.
40760         * iconvdata/tcvn5712-1.c : Likewise.
40761         * iconvdata/tscii.c: Likewise.
40762         * iconvdata/uhc.c : Likewise.
40763         * iconvdata/unicode.c (gconv_end): Likewise.
40764         * iconvdata/utf-16.c (gconv_end): Likewise.
40765         * iconvdata/utf-32.c (gconv_end): Likewise.
40766         * iconvdata/utf-7.c (base64): Likewise.
40767         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40768         * iconv/gconv_close.c (__gconv_close): Likewise.
40769         * iconv/gconv_open.c (__gconv_open): Likewise.
40770         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40771         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40772         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40773         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40774         (ucs4le_internal_loop_single): Likewise.
40775         * iconv/iconv.c (iconv): Likewise.
40776         * iconv/iconv_close.c: Likewise.
40777         * iconv/loop.c (SINGLE): Likewise.
40778         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40779         * include/atomic.h: Likewise.
40780         * inet/inet6_option.c (option_alloc): Likewise.
40781         * intl/bindtextdom.c (set_binding_values): Likewise.
40782         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40783         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40784         * intl/localealias.c (read_alias_file): Likewise.
40785         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40786         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40787         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40788         * libio/fmemopen.c (fmemopen): Likewise.
40789         * libio/iofgets.c (_IO_fgets): Likewise.
40790         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40791         * libio/iofgetws.c (fgetws): Likewise.
40792         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40793         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40794         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40795         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40796         * locale/findlocale.c (_nl_find_locale): Likewise.
40797         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40798         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40799         Likewise.
40800         * locale/setlocale.c (setlocale): Likewise.
40801         * login/programs/pt_chown.c (main): Likewise.
40802         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40803         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40804         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40805         (mmap, mmap64, mremap, munmap): Likewise.
40806         * math/e_exp2l.c: Likewise.
40807         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40808         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40809         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40810         * math/s_catan.c (__catan): Likewise.
40811         * math/s_catanf.c (__catanf): Likewise.
40812         * math/s_catanh.c (__catanh): Likewise.
40813         * math/s_catanhf.c (__catanhf): Likewise.
40814         * math/s_catanhl.c (__catanhl): Likewise.
40815         * math/s_catanl.c (__catanl): Likewise.
40816         * math/s_ccosh.c (__ccosh): Likewise.
40817         * math/s_ccoshf.c (__ccoshf): Likewise.
40818         * math/s_ccoshl.c (__ccoshl): Likewise.
40819         * math/s_cexp.c (__cexp): Likewise.
40820         * math/s_cexpf.c (__cexpf): Likewise.
40821         * math/s_cexpl.c (__cexpl): Likewise.
40822         * math/s_clog10.c (__clog10): Likewise.
40823         * math/s_clog10f.c (__clog10f): Likewise.
40824         * math/s_clog10l.c (__clog10l): Likewise.
40825         * math/s_clog.c (__clog): Likewise.
40826         * math/s_clogf.c (__clogf): Likewise.
40827         * math/s_clogl.c (__clogl): Likewise.
40828         * math/s_csin.c (__csin): Likewise.
40829         * math/s_csinf.c (__csinf): Likewise.
40830         * math/s_csinh.c (__csinh): Likewise.
40831         * math/s_csinhf.c (__csinhf): Likewise.
40832         * math/s_csinhl.c (__csinhl): Likewise.
40833         * math/s_csinl.c (__csinl): Likewise.
40834         * math/s_csqrt.c (__csqrt): Likewise.
40835         * math/s_csqrtf.c (__csqrtf): Likewise.
40836         * math/s_csqrtl.c (__csqrtl): Likewise.
40837         * math/s_ctan.c (__ctan): Likewise.
40838         * math/s_ctanf.c (__ctanf): Likewise.
40839         * math/s_ctanh.c (__ctanh): Likewise.
40840         * math/s_ctanhf.c (__ctanhf): Likewise.
40841         * math/s_ctanhl.c (__ctanhl): Likewise.
40842         * math/s_ctanl.c (__ctanl): Likewise.
40843         * math/w_pow.c: Likewise.
40844         * math/w_powf.c: Likewise.
40845         * math/w_powl.c: Likewise.
40846         * math/w_scalb.c (sysv_scalb): Likewise.
40847         * math/w_scalbf.c (sysv_scalbf): Likewise.
40848         * math/w_scalbl.c (sysv_scalbl): Likewise.
40849         * misc/error.c (error_tail): Likewise.
40850         * misc/pselect.c (__pselect): Likewise.
40851         * nis/nis_callback.c (__nis_create_callback): Likewise.
40852         * nis/nis_call.c (__nisfind_server): Likewise.
40853         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40854         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40855         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40856         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40857         * nis/nis_lookup.c (nis_lookup): Likewise.
40858         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40859         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40860         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40861         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40862         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40863         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40864         * nis/nss_compat/compat-initgroups.c (add_group)
40865         (internal_getgrent_r): Likewise.
40866         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40867         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40868         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40869         (internal_getspnam_r): Likewise.
40870         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40871         (_nss_nis_getaliasbyname_r): Likewise.
40872         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40873         (_nss_nis_getntohost_r): Likewise.
40874         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40875         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40876         (_nss_nis_getgrgid_r): Likewise.
40877         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40878         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40879         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40880         (_nss_nis_gethostbyname4_r): Likewise.
40881         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40882         (initgroups_netid): Likewise.
40883         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40884         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40885         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40886         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40887         (_nss_nis_getprotobynumber_r): Likewise.
40888         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40889         (_nss_nis_getsecretkey): Likewise.
40890         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40891         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40892         (_nss_nis_getpwuid_r): Likewise.
40893         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40894         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40895         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40896         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40897         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40898         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40899         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40900         Likewise.
40901         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40902         (_nss_nisplus_getntohost_r): Likewise.
40903         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40904         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40905         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40906         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40907         Likewise.
40908         * nis/nss_nisplus/nisplus-initgroups.c
40909         (_nss_nisplus_initgroups_dyn): Likewise.
40910         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40911         (_nss_nisplus_getnetbyaddr_r): Likewise.
40912         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40913         (_nss_nisplus_getprotobynumber_r): Likewise.
40914         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40915         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40916         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40917         Likewise.
40918         * nis/nss_nisplus/nisplus-service.c
40919         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40920         (_nss_nisplus_getservbyport_r): Likewise.
40921         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40922         (_nss_nisplus_getspnam_r): Likewise.
40923         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40924         Likewise.
40925         * nscd/aicache.c (addhstaiX): Likewise.
40926         * nscd/cache.c (cache_search, prune_cache): Likewise.
40927         * nscd/connections.c (register_traced_file, send_ro_fd)
40928         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40929         (main_loop_epoll): Likewise.
40930         * nscd/grpcache.c (addgrbyX): Likewise.
40931         * nscd/hstcache.c (addhstbyX): Likewise.
40932         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40933         * nscd/mem.c (gc, mempool_alloc): Likewise.
40934         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40935         (addinnetgrX): Likewise.
40936         * nscd/nscd-client.h (__nscd_acquire_maplock)
40937         (__nscd_drop_map_ref): Likewise.
40938         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40939         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40940         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40941         Likewise.
40942         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40943         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40944         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40945         (__nscd_get_map_ref): Likewise.
40946         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40947         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40948         Likewise.
40949         * nscd/pwdcache.c (addpwbyX): Likewise.
40950         * nscd/selinux.c (preserve_capabilities): Likewise.
40951         * nscd/servicescache.c (addservbyX): Likewise.
40952         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40953         * posix/fnmatch.c (fnmatch): Likewise.
40954         * posix/getopt.c (_getopt_internal_r): Likewise.
40955         * posix/glob.c (glob, glob_in_dir): Likewise.
40956         * posix/wordexp.c (exec_comm_child): Likewise.
40957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40958         (getanswer_r, gaih_getanswer_slice): Likewise.
40959         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40960         * resolv/res_init.c: Likewise.
40961         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40962         * resolv/res_query.c (__libc_res_nquery): Likewise.
40963         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40964         Likewise.
40965         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40966         * stdio-common/perror.c (perror): Likewise.
40967         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40968         * stdio-common/tmpnam.c (tmpnam): Likewise.
40969         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40970         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40971         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40972         Likewise.
40973         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40974         * stdlib/putenv.c (putenv): Likewise.
40975         * stdlib/setenv.c (__add_to_environ): Likewise.
40976         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40977         * stdlib/strtol_l.c (INTERNAL): Likewise.
40978         * string/memmem.c (memmem): Likewise.
40979         * string/strerror.c (strerror): Likewise.
40980         * string/strnlen.c (__strnlen): Likewise.
40981         * string/test-memmem.c (simple_memmem): Likewise.
40982         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40983         * sunrpc/pm_getport.c (__get_socket): Likewise.
40984         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40985         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40986         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40987         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40988         Likewise.
40989         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40990         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40991         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40992         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40993         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40994         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40995         Likewise.
40996         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40997         Likewise.
40998         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40999         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41000         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41001         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41002         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41004         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41005         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41006         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41007         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41008         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41009         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41010         Likewise.
41011         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41012         Likewise.
41013         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41014         Likewise.
41015         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41016         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41017         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41018         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41019         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41020         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41021         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41022         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41024         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41025         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41026         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41027         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41028         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41030         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41031         Likewise.
41032         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41033         Likewise.
41034         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41035         Likewise.
41036         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41037         Likewise.
41038         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41039         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41040         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41041         Likewise.
41042         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41043         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41044         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41045         * sysdeps/posix/sleep.c: Likewise.
41046         * sysdeps/posix/tempname.c: Likewise.
41047         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41048         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41049         Likewise.
41050         * sysdeps/powerpc/powerpc32/dl-machine.h
41051         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41052         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41053         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41054         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41055         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41056         Likewise.
41057         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41058         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41059         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41060         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41061         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41062         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41063         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41064         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41065         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41066         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41067         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41068         (elf_machine_lazy_rel): Likewise.
41069         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41070         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41071         (elf_machine_lazy_rel): Likewise.
41072         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41073         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41074         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41075         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41076         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41077         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41078         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41079         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41080         Likewise.
41081         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41082         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41083         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41084         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41085         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41086         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41087         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41088         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41089         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41090         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41091         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41092         Likewise.
41093         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41094         (__posix_fallocate64_l64): Likewise.
41095         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41096         (posix_fallocate): Likewise.
41097         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41098         Likewise.
41099         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41100         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41101         (getifaddrs_internal): Likewise.
41102         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41103         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41104         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41105         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41106         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41107         (__posix_fallocate64_l64): Likewise.
41108         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41109         Likewise.
41110         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41111         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41112         (__get_clockfreq): Likewise.
41113         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41114         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41115         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41116         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41117         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41118         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41119         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41120         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41121         Likewise.
41122         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41123         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41124         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41125         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41126         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41127         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41128         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41129         Likewise.
41130         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41131         (posix_fallocate): Likewise.
41132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41133         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41134         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41135         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41136         (elf_machine_rela, elf_machine_rela_relative)
41137         (elf_machine_lazy_rel): Likewise.
41138         * time/asctime.c (asctime_internal): Likewise.
41139         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41140         * time/tzset.c (__tzset_parse_tz): Likewise.
41141         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41142         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41143         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41144         * wcsmbs/wcsmbsload.h: Likewise.
41146         [BZ #15894]
41147         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41149         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41150         (arena_get2): Remove THREAD_STATS conditionals.
41151         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41152         (__malloc_stats, int): Likewise.
41154 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41156         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41157         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41159         * manual/setjmp.texi: Fix typos/grammar errors.
41161         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41162         Only return early when n is <= 0.  Delete unused return statement.
41164         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41165         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41166         * debug/tst-longjmp_chk3.c: New file.
41168         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41169         (test_main): Replace code with set_fortify_handler call.
41170         * debug/test-strcpy_chk.c: Likewise.
41171         * debug/tst-chk1.c: Likewise.
41172         * debug/tst-longjmp_chk.c: Likewise.
41173         * test-skeleton.c: Include fcntl.h & paths.h
41174         (set_fortify_handler): Define.
41176         * debug/tst-longjmp_chk.c: Add header comment and include
41177         ../test-skeleton.c.
41178         (do_test): Mark static.
41179         (TEST_FUNCTION): Define.
41181         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41182         (IP_PMTUDISC_INTERFACE): Likewise.
41183         (IP_MULTICAST_IF): Likewise.
41184         (IP_MULTICAST_TTL): Likewise.
41185         (IP_MULTICAST_LOOP): Likewise.
41186         (IP_ADD_MEMBERSHIP): Likewise.
41187         (IP_DROP_MEMBERSHIP): Likewise.
41188         (IP_UNBLOCK_SOURCE): Likewise.
41189         (IP_BLOCK_SOURCE): Likewise.
41190         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41191         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41192         (IP_MSFILTER): Likewise.
41193         (MCAST_JOIN_GROUP): Likewise.
41194         (MCAST_BLOCK_SOURCE): Likewise.
41195         (MCAST_UNBLOCK_SOURCE): Likewise.
41196         (MCAST_LEAVE_GROUP): Likewise.
41197         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41198         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41199         (MCAST_MSFILTER): Likewise.
41200         (IP_MULTICAST_ALL): Likewise.
41201         (IP_UNICAST_IF): Likewise.
41203         * timezone/Makefile: Delete $(have-ksh) check.
41204         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41205         * timezone/tzselect.ksh: Add +x mode bits.
41207         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41208         (ANON_INODE_FS_MAGIC): Likewise.
41209         (BDEVFS_MAGIC): Likewise.
41210         (BINFMTFS_MAGIC): Likewise.
41211         (BTRFS_TEST_MAGIC): Likewise.
41212         (CRAMFS_MAGIC_WEND): Likewise.
41213         (DEBUGFS_MAGIC): Likewise.
41214         (ECRYPTFS_SUPER_MAGIC): Likewise.
41215         (EXT3_SUPER_MAGIC): Likewise.
41216         (EXT4_SUPER_MAGIC): Likewise.
41217         (FUTEXFS_SUPER_MAGIC): Likewise.
41218         (HOSTFS_SUPER_MAGIC): Likewise.
41219         (HUGETLBFS_MAGIC): Likewise.
41220         (MINIX3_SUPER_MAGIC): Likewise.
41221         (MTD_INODE_FS_MAGIC): Likewise.
41222         (NILFS_SUPER_MAGIC): Likewise.
41223         (OPENPROM_SUPER_MAGIC): Likewise.
41224         (PIPEFS_MAGIC): Likewise.
41225         (PSTOREFS_MAGIC): Likewise.
41226         (QNX6_SUPER_MAGIC): Likewise.
41227         (RAMFS_MAGIC): Likewise.
41228         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41229         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41230         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41231         (SECURITYFS_MAGIC): Likewise.
41232         (SELINUX_MAGIC): Likewise.
41233         (SMACK_MAGIC): Likewise.
41234         (SOCKFS_MAGIC): Likewise.
41235         (SQUASHFS_MAGIC): Likewise.
41236         (STACK_END_MAGIC): Likewise.
41237         (TMPFS_MAGIC): Likewise.
41238         (USBDEVICE_SUPER_MAGIC): Likewise.
41239         (V9FS_MAGIC): Likewise.
41240         (XENFS_SUPER_MAGIC): Likewise.
41241         (CRAMFS_MAGIC): Fix typo in comment.
41242         (EXT2_SUPER_MAGIC): Update comment.
41243         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41245 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41247         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41248         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41249         * sysdeps/unix/sysv/linux/arm: Move directory from
41250         ports/sysdeps/unix/sysv/linux/arm.
41251         * README: Update listing for arm-*-linux-gnueabi.
41253         * README: Remove mention of am33.
41255 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41257         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41258         than the comma operator, to avoid "rhs of comma has no effect"
41259         compiler warnings.
41260         (__sigfillset, __sigandset, __sigorset): Likewise.
41261         * include/signal.h (__sigemptyset): Likewise.
41262         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41264 2014-02-07  Allan McRae  <allan@archlinux.org>
41266         * version.h (RELEASE): Set to "development".
41267         (VERSION): Set to "2.19.90"
41268         * NEWS: Add 2.20 section.
41270 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41272         [BZ #16529]
41273         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41275 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41277         * manual/contrib.texi: Update entry for Carlos O'Donell,
41278         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41280 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41282         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41284         * sysdeps/unix/sysv/linux/kernel-features.h
41285         [__LINUX_KERNEL_VERSION >= 0x020621]
41286         (__ASSUME_PROC_PID_TASK_COMM): Define.
41288 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41290         [BZ #16398]
41291         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41292         conversion when destination buffer does not have enough space.
41293         * libio/tst-ftell-partial-wide.c: New test case.
41294         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41296         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41297         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41298         Leonard and Allan McRae.
41300 2014-02-04  David S. Miller  <davem@davemloft.net>
41302         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41303         32-bit.
41305 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41308         New file
41309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41310         New file
41311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41312         New file.
41313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41314         New file.
41315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41316         New file.
41317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41318         New file.
41319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41320         New file.
41321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41322         New file.
41323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41324         New file.
41325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41326         New file.
41327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41328         New file.
41329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41330         New file.
41331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41332         New file.
41334 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41336         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41337         * shlib-versions: Likewise.
41339 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41340             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41342         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41343         (abilist-pattern): New variable, set to %-le.abilist.
41345         * Makerules (abilist-pattern): New variable.
41346         (vpath): Use $(abilist-pattern) in place of %.abilist.
41347         (check-abi-% pattern rule): Likewise.
41348         (check-abi, update-abi): Likewise.
41350 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41354 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41356         * manual/startup.texi: Add next, previous, and top entries for
41357         the `Program Arguments' and `Environment Variables' nodes.
41359 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41361         * manual/macros.texi: Add comments before MTASC-safety macros.
41363         * manual/users.texi: Document MTASC-safety properties.
41365         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41366         (pthread_getspecific, pthread_setspecific): Format with
41367         @deftypefun, and add @safety note.
41368         * manual/signal.texi: Move comments that analyze the above
41369         functions to their home place.
41371 2014-02-03  Allan McRae  <allan@archlinux.org>
41373         * po/sl.po: Update Slovenian translation from translation project.
41375 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41377         * manual/time.texi (timegm): Add missing blank after @c.
41378         Reported by Joseph Myers <joseph@codesourcery.com>.
41380 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41382         * manual/check-safety.sh: New.
41383         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41385         * manual/terminal.texi: Document MTASC-safety properties.
41387         * manual/filesys.texi: Document MTASC-safety properties.
41389         * manual/errno.texi: Document MTASC-safety properties.
41391         * manual/intro.texi: Document safety identifiers and
41392         conditionals.
41394         * manual/string.texi (wcstok): Fix prototype.
41395         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41397         * manual/time.texi: Document MTASC-safety properties.
41399         * manual/string.texi: Document MTASC-safety properties.
41401         * manual/threads.texi: Document MTASC-safety properties.
41403         * manual/stdio.texi: Document MTASC-safety properties.
41405         * manual/syslog.texi: Document MTASC-safety properties.
41407         * manual/sysinfo.texi: Document MTASC-safety properties.
41409         * manual/startup.texi: Document MTASC-safety properties.
41411         * manual/socket.texi: Document MTASC-safety properties.
41413         * manual/signal.texi: Document MTASC-safety properties.
41415 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41417         * manual/setjmp.texi: Document MTASC-safety properties.
41419         * manual/search.texi: Document MTASC-safety properties.
41421         * manual/resource.texi: Document MTASC-safety properties.
41423         * manual/process.texi: Document MTASC-safety properties.
41425         * manual/platform.texi: Document MTASC-safety properties.
41427         * manual/pipe.texi: Document MTASC-safety properties.
41429         * manual/pattern.texi: Document MTASC-safety properties.
41431         * manual/message.texi: Document MTASC-safety properties.
41433         [BZ #12751]
41434         * manual/memory.texi: Document MTASC-safety properties.
41436         * manual/math.texi: Document MTASC-safety properties.
41438         * manual/locale.texi: Document MTASC-safety properties.
41440         * manual/llio.texi: Document MTASC-safety properties.
41442         * manual/libdl.texi: New.
41444         * manual/lang.texi: Document MTASC-safety properties.
41446         * manual/job.texi: Document MTASC-safety properties.
41448         * manual/getopt.texi: Document MTASC-safety properties.
41450         * manual/ctype.texi: Document MTASC-safety properties.
41452 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41454         [BZ #16046]
41455         * csu/libc-tls.c (static_map): Remove variable.
41456         (__libc_setup_tls): Use main executable's link map for TLS data.
41457         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41458         casing for LM_ID_BASE and GL(dl_nns).
41459         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41460         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41461         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41462         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41463         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41464         member.
41465         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41466         l_phnum members.
41468 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41470         * manual/debug.texi: Document MTASC-safety properties.
41472 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41474         [BZ #16510]
41475         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41476         of __x86_64__ when disabling x87 inline functions.
41478 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41480         * manual/charset.texi: Document MTASC-safety properties.
41482         * manual/crypt.texi: Document MTASC-safety properties.
41484         * manual/conf.texi: Document MTASC-safety properties.
41486         * manual/arith.texi: Document MTASC-safety properties.
41488         * manual/argp.texi: Document MTASC-safety properties.
41490         * manual/macros.texi: Introduce macros to document multi
41491         thread, asynchronous signal and asynchronous cancellation
41492         safety properties.
41493         * manual/intro.texi: Introduce the properties themselves.
41495 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41497         * sysdeps/sh/sh4/Makefile: New file.
41499 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41501         * math/gen-libm-test.pl ($srcdir): New variable.
41502         ($auto_input): Use it.
41504 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41506         [BZ #16506]
41507         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41508         access beyond array bounds when parsing netgroups file.
41510         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41511         the old buffer before realloc.
41513 2014-01-27  Allan McRae  <allan@archlinux.org>
41515         * po/fr.po: Update French translation from translation project.
41517 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41519         * sysdeps/sh/libm-test-ulps: Regenerate.
41521 2014-01-24  David S. Miller  <davem@davemloft.net>
41523         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41525 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41527         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41528         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41530 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41532         [BZ #16474]
41533         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41534         string pointers after reallocation.
41536 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41538         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41539         __SH4A__ instead of __SH_FPU_ANY__.
41541 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41543         * sysdeps/sh/fpu_control.h: New file.
41544         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41545         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41546         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41547         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41548         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41549         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41550         * sysdeps/sh/sys/ucontext.h: Remove.
41551         * sysdeps/sh/sys: Remove directory.
41553 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41555         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41556         s390/sys/ucontext.h.
41557         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41558         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41560 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41562         [BZ #15605]
41563         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41565 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41567         [BZ#16431]
41568         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41569         Adjust the vDSO correctly for internal calls.
41570         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41572 2014-01-20  Allan McRae  <allan@archlinux.org>
41574         * po/ca.po: Update Catalan translation from translation project.
41576 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41578         * sysdeps/s390/sotruss-lib.c: New file.
41580 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41582         [BZ#16430]
41583         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41584         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41585         local calls issues by not having a PLT stub required for IFUNC calls.
41586         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41588 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41590         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41591         * math/test-fpucw-static.c: Likewise.
41593 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41595         [BZ #16453]
41596         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41598 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41600         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41601         implementation for powerpc.
41603 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41605         [BZ #14782]
41606         * sysdeps/posix/system.c (__libc_system): Do not enable
41607         asynchronous cancellation.
41609 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41611         [BZ #16427]
41612         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41613         handling only for numbers special also in the IEEE case.
41615 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41617         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41619 2014-01-11  Allan McRae  <allan@archlinux.org>
41621         * po/bg.po: Update Bulgarian translation from translation project.
41623         * po/de.po: Update German translation from translation project.
41625 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41627         * sysdeps/generic/gcc-compat.h: New file.
41629 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41631         * benchtests/asin-inputs: Correct slow inputs.
41632         * benchtests/acos-inputs: Likewise.
41634 2014-01-10  Allan McRae  <allan@archlinux.org>
41636         * po:sv.po: Update Swedish translation from translation project.
41638         * po/vi.po: Update Vietnamese translation from translation project.
41640         * po/eo.po: Update Esperanto translation from translation project.
41642         * po/cs.po: Update Czech translation from translation project.
41644         * po/nl.po: Update Dutch translation from translation project.
41646         * po/pl.po: Update Polish translation from translation project.
41648         * po/ru.po: Update Russian translation from translation project.
41650         * po/uk.po: Update Ukrainian translation from translation project.
41652 2014-01-08  Brooks Moses  <bmoses@google.com>
41654         * elf/dl-load.c: Fix comment typo.
41656 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41658         * po/header.pot: Rename to...
41659         * po/pot.header: ... this.
41660         * po/Makefile: Use pot.header.
41662 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41663             Maxim Kuvyrkov  <maxim@kugelworks.com>
41665         [BZ #16394]
41666         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41667         SRC and DEST against LEN.
41669 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41671         [BZ #16414]
41672         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41673         implementation.
41674         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41676 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41680 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41682         [BZ #16408]
41683         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41684         for large positive arguments.
41686 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41688         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41690         * math/auto-libm-test-in: Mark various tests with
41691         xfail-rounding:ldbl-128ibm.
41692         * math/auto-libm-test-out: Regenerated.
41694         [BZ #16407]
41695         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41696         Increase overflow threshold.
41698 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41700         [BZ #14286]
41701         * stdio-common/vfprintf.c: Check for integer overflow.
41703 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41705         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41706         the first argument and return value of __tls_get_addr_internal.
41708 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41710         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41711         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41713 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41715         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41716         * sysdeps/s390/rtld-global-offsets.sym: New file.
41717         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41718         GLIBC_2.19 symbol.
41719         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41720         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41721         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41722         ... this.
41723         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41724         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41725         ... this.
41726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41727         Regenerate.
41728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41729         Regenerate.
41730         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41731         halfs of GPRs for high_gprs contexts.
41732         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41733         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41734         field.
41735         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41736         uc_flags field.
41737         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41738         64 bit versions:
41739         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41740         for high GPRs (uc_high_gprs) and for future extensions
41741         (__reserved).
41742         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41743         for future extensions (__reserved).
41744         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41745         64 bit versions:
41746         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41747         SC_HIGHGPRS offset definition.
41748         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41749         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41751         * Versions.def: Add GLIBC_2.19 for libpthread.
41752         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41753         siglongjmp for libpthread with GLIBC_2.19 symver.
41754         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41755         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41756         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41757         * sysdeps/s390/__longjmp.c: New file.
41758         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41759         * sysdeps/s390/longjmp.c: New file.
41760         * sysdeps/s390/setjmp.S: New file.
41761         * sysdeps/s390/sigjmp.S: New file.
41762         * sysdeps/s390/v1-longjmp.c: New file.
41763         * sysdeps/s390/v1-setjmp.h: New file.
41764         * sysdeps/s390/v1-sigjmp.c: New file.
41765         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41766         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41767         GLIBC_2.19 version.
41768         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41769         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41770         versioned symbols for ____longjmp_chk.
41771         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41772         Likewise.
41773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41774         Regenerate.
41775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41776         Regenerate.
41777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41778         Regenerate.
41779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41780         Regenerate.
41781         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41782         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41783         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41784         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41785         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41786         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41787         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41788         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41789         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41790         * sysdeps/s390/rtld-__longjmp.c: New file.
41791         * sysdeps/s390/rtld-setjmp.S: New file.
41793 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41795         [BZ #16400]
41796         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41797         Return -__logl (x) for small positive arguments without evaluating
41798         a polynomial.
41800 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41802         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41803         Rename to ...
41804         (__ptrace_peeksiginfo_args): ... this.
41805         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41806         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41807         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41809 2014-01-06  Allan McRae  <allan@archlinux.org>
41811         * inet/netinet/in.h: Fix typo in comment.
41813 2014-01-05  Andreas Jaeger  <aj@suse.de>
41815         * sysdeps/i386/fpu/libm-test-ulps: Update.
41817 2014-01-05  Allan McRae  <allan@archlinux.org>
41819         * po/libc.pot: Regenerated.
41821         * malloc/memusagestat.c: Fix gettext call formatting.
41823 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41825         * nscd/nscd.c: Improve usage() output.
41827 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41829         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41830         * sysdeps/unix/sysv/linux/configure: Regenerated.
41831         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41832         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41834 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41836         [BZ #16390]
41837         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41838         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41840 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41842         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41843         extra tokens at end of #undef directive.
41844         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41845         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41846         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41848 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41850         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41852         * math/auto-libm-test-in: Mark various tests with
41853         xfail-rounding:ldbl-128ibm.
41854         * math/auto-libm-test-out: Regenerated.
41856 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41858         [BZ #16386]
41859         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41860         numbers with subnormal high part when calculating exponent.
41862         [BZ #16385]
41863         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41864         fabs.
41866         [BZ #16384]
41867         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41868         M_LN2l.
41869         (__ieee754_acoshl): Use __log1pl not __log1p.
41871 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41873         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41874         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41875         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41876         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41877         (reused_arena, arena_get2): Convert to GNU style.
41878         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41879         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41880         (memalign_check, __malloc_set_state): Likewise.
41881         * malloc/mallocbug.c (main): Likewise.
41882         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41883         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41884         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41885         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41886         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41887         (__posix_memalign, malloc_info): Likewise.
41888         * malloc/malloc.h: Likewise.
41889         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41890         (mallochook, memalignhook, reallochook, mabort): Likewise.
41891         * malloc/mcheck.h: Likewise.
41892         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41893         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41894         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41895         * malloc/morecore.c (__default_morecore): Likewise.
41896         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41897         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41898         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41899         (print_and_abort): Likewise.
41900         * malloc/obstack.h: Likewise.
41901         * malloc/set-freeres.c (__libc_freeres): Likewise.
41902         * malloc/tst-mallocstate.c (main): Likewise.
41903         * malloc/tst-mtrace.c (main): Likewise.
41904         * malloc/tst-realloc.c (do_test): Likewise.
41906 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41908         [BZ #16366]
41909         * nscd/netgroupcache.c (do_notfound): New function.
41910         (addgetnetgrentX): Use it.
41912         [BZ # 16365]
41913         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41914         NSS_STATUS_NOTFOUND.
41916 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41918         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41921 2014-01-01  Allan McRae  <allan@archlinux.org>
41923         * scripts/update-copyrights: Update configure input file suffix.
41925         * NEWS: Update copyright year.
41926         * catgets/gencat.c: Likewise.
41927         * csu/version.c: Likewise.
41928         * debug/catchsegv.sh: Likewise.
41929         * debug/pcprofiledump.c: Likewise.
41930         * debug/xtrace.sh: Likewise.
41931         * elf/ldconfig.c: Likewise.
41932         * elf/ldd.bash.in: Likewise.
41933         * elf/pldd.c: Likewise.
41934         * elf/sotruss.ksh: Likewise.
41935         * elf/sprof.c: Likewise.
41936         * iconv/iconv_prog.c: Likewise.
41937         * iconv/iconvconfig.c: Likewise.
41938         * locale/programs/locale.c: Likewise.
41939         * locale/programs/localedef.c: Likewise.
41940         * login/programs/pt_chown.c: Likewise.
41941         * malloc/memusage.sh: Likewise.
41942         * malloc/memusagestat.c: Likewise.
41943         * malloc/mtrace.pl: Likewise.
41944         * manual/libc.texinfo: Likewise.
41945         * nscd/nscd.c: Likewise.
41946         * nss/getent.c: Likewise.
41947         * nss/makedb.c: Likewise.
41948         * posix/getconf.c: Likewise.
41949         * scripts/test-installation.pl: Likewise.
41951         * All files with FSF copyright notices: Update copyright dates
41952         using scripts/update-copyrights.
41953         * intl/plural.c: Regenerated.
41954         * locale/programs/charmap-kw.h: Likewise.
41955         * locale/programs/locfile-kw.h: Likewise.
41957 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41959         * sysdeps/unix/sysv/linux/configure: Regenerated.
41960         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41961         the linux/fanotify.h header.
41962         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41963         HAVE_LINUX_FANOTIFY_H is defined.
41965 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41967         * benchtests/cos-inputs: New inputs.
41968         * benchtests/sin-inputs: Likewise.
41970         * benchtests/atan-inputs: New inputs. Fix name of multiple
41971         precision fallback inputs.
41973         * benchtests/atanh-inputs: New inputs.
41974         * benchtests/tanh-inputs: Likewise.
41976         * benchtests/acosh-inputs: New inputs.
41977         * benchtests/asinh-inputs: Likewise.
41979         * benchtests/cosh-inputs: New inputs.
41980         * benchtests/sinh-inputs: Likewise.
41982         * benchtests/acos-inputs: Add more inputs.
41983         * benchtests/asin-inputs: Likewise.
41985 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41987         [BZ #16375]
41988         * manual/arith.texi: Fix spelling.
41989         * manual/charset.texi: Likewise.
41990         * manual/errno.texi: Likewise.
41991         * manual/filesys.texi: Likewise.
41992         * manual/lang.texi: Likewise.
41993         * manual/llio.texi: Likewise.
41994         * manual/locale.texi: Likewise.
41995         * manual/message.texi: Likewise.
41996         * manual/resource.texi: Likewise.
41997         * manual/search.texi: Likewise.
41998         * manual/setjmp.texi: Likewise.
41999         * manual/stdio.texi: Likewise.
42000         * manual/string.texi: Likewise.
42001         * manual/sysinfo.texi: Likewise.
42002         * manual/time.texi: Likewise.
42004 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42006         * po/sl.po: New file.
42008 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42010         * .gitignore: Add core/.gdbinit/.gdb_history.
42012 2013-12-27  Allan McRae  <allan@archlinux.org>
42014         [BZ #16369]
42015         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42016         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42018 2013-12-24  Brooks Moses  <bmoses@google.com>
42020         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42021         all compilers that claim C++98 compliance, not just GCC.
42022         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42023         Likewise.
42025 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42027         * NEWS: Restore accidentally deleted bug-fix entries.
42029 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42030             Ondřej Bílka  <neleai@seznam.cz>
42032         [BZ #15073]
42033         * malloc/malloc.c (_int_free): Perform sanity check only if we
42034         have_lock.
42036 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42038         [BZ #12986]
42039         * manual/stdio.texi (String Input Conversions): Clarify that character
42040         classes are not supported.
42042 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42046 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42048         [BZ #16337]
42049         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42050         Calculate results for small negative arguments directly rather
42051         than using reflection formula with special underflow handling.
42053         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42054         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42055         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42056         (fchflags): Likewise.
42057         (revoke): Likewise.
42058         (setlogin): Likewise.
42059         (sigaltstack): Likewise.
42060         (wait4): Likewise.
42061         (sigblock): Remove.
42062         (sigsetmask): Likewise.
42063         (wait3): Likewise.
42064         (waitpid): Likewise.
42065         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42066         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42067         file.
42068         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42069         * sysdeps/unix/bsd/Makefile: ... here.
42070         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42071         * sysdeps/unix/bsd/Versions: ... here.
42072         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42073         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42074         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42075         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42076         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42077         * sysdeps/unix/bsd/sigblock.c: ... here.
42078         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42079         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42080         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42081         * sysdeps/unix/bsd/sigvec.c: ... here.
42082         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42083         * sysdeps/unix/bsd/tcdrain.c: ... here.
42084         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42085         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42086         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42087         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42088         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42089         * sysdeps/unix/bsd/wait.c: ... here.
42090         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42091         * sysdeps/unix/bsd/wait3.c: ... here.
42092         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42093         * sysdeps/unix/bsd/waitpid.c: ... here.
42095 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42097         [BZ #16356]
42098         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42099         round-to-nearest for [!USE_AS_EXPM1L].
42100         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42101         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42102         more tests of exp and exp10.  Expect some exp10 tests to miss
42103         exceptions or fail in directed rounding modes.
42104         * math/auto-libm-test-out: Regenerated.
42105         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42106         (exp10_test_tonearest): New function.
42107         (exp10_towardzero_test_data): New array.
42108         (exp10_test_towardzero): New function.
42109         (exp10_downward_test_data): New array.
42110         (exp10_test_downward): New function.
42111         (exp10_upward_test_data): New array.
42112         (exp10_test_upward): New function.
42113         (main): Call the new functions.
42114         * sysdeps/i386/fpu/libm-test-ulps: Update.
42115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42117 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42119         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42120         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42121         * math/auto-libm-test-out: Regenerated.
42122         * math/libm-test.inc (acosh_test_data): Add more tests.
42123         (atanh_test_data): Likewise.
42124         (ceil_test_data): Likewise.
42125         (copysign_test_data): Likewise.
42126         * sysdeps/i386/fpu/libm-test-ulps: Update.
42127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42129         * timezone/checktab.awk: Update from tzcode 2013i.
42130         * timezone/private.h: Likewise.
42131         * timezone/scheck.c: Likewise.
42132         * timezone/tzfile.h: Likewise.
42133         * timezone/tzselect.ksh: Likewise.
42134         * timezone/zdump.c: Likewise.
42135         * timezone/zic.c: Likewise.
42137         * math/auto-libm-test-in: Add tests of cpow.
42138         * math/auto-libm-test-out: Regenerated.
42139         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42140         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42141         mpc_cc_c.
42142         (func_calc_desc): Add mpc_cc_c union field.
42143         (test_functions): Add cpow.
42144         (special_fill_2pi): New function.
42145         (special_real_inputs): Add 2pi.
42146         (calc_generic_results): Handle mpc_cc_c.
42147         * sysdeps/i386/fpu/libm-test-ulps: Update.
42148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42150         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42151         csqrt, ctan and ctanh.
42152         * math/auto-libm-test-out: Regenerated.
42153         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42154         (TEST_COND_x86): Likewise.
42155         (ccos_test_data): Use AUTO_TESTS_c_c.
42156         (ccosh_test_data): Likewise.
42157         (cexp_test_data): Likewise.
42158         (clog_test_data): Likewise.
42159         (csqrt_test_data): Likewise.
42160         (ctan_test_data): Likewise.
42161         (ctan_tonearest_test_data): Likewise.
42162         (ctan_towardzero_test_data): Likewise.
42163         (ctan_downward_test_data): Likewise.
42164         (ctan_upward_test_data): Likewise.
42165         (ctanh_test_data): Likewise.
42166         (ctanh_tonearest_test_data): Likewise.
42167         (ctanh_towardzero_test_data): Likewise.
42168         (ctanh_downward_test_data): Likewise.
42169         (ctanh_upward_test_data): Likewise.
42170         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42171         mpc_c_c.
42172         (func_calc_desc): Add mpc_c_c union field.
42173         (FUNC_mpc_c_c): New macro.
42174         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42175         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42176         ctanh.
42177         (special_fill_min_subnorm_p120): New function.
42178         (special_real_inputs): Add min_subnorm_p120.
42179         (calc_generic_results): Handle mpc_c_c.
42180         * sysdeps/i386/fpu/libm-test-ulps: Update.
42181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42183 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42185         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42186         (do_sin_slow): New functions.
42187         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42188         (cslow2, csloww1, csloww2): Use the new functions.
42190         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42191         Use M to change sign of result instead of X.  Assume X is
42192         positive.
42193         (csloww1): Likewise.
42194         (__sin): Adjust.
42195         (__cos): Adjust.
42197         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42198         arguments A and DA.
42199         (__sin): Adjust.
42200         (__cos): Likewise.
42202         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42203         (__cos): Likewise.
42204         (sloww1): Don't adjust sign of DX.
42205         (csloww1): Likewise.
42206         (sloww2): Use X directly and don't adjust sign of DX.
42207         (csloww2): Likewise.
42209 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42211         * math/auto-libm-test-in: Add tests of cabs and carg.
42212         * math/auto-libm-test-out: Regenerated.
42213         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42214         (carg_test_data): Likewise.
42215         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42216         mpc_c_f.
42217         (func_calc_desc): Add mpc_c_f union field.
42218         (test_functions): Add cabs and carg.
42219         (calc_generic_results): Handle mpc_c_f.
42221         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42222         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42223         as a macro and a compat symbol.
42224         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42225         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42226         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42227         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42228         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42229         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42230         not use .hidden.
42231         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42232         Likewise.
42233         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42234         Likewise.
42235         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42236         Likewise.
42237         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42238         Likewise.
42239         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42240         Likewise.
42241         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42242         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42243         from GLIBC_2.3.2.
42245 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42249 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42251         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42252         trailing whitespace removed.
42253         * scripts/config.guess: Update to version 2013-11-29.
42254         * scripts/config.sub: Update to version 2013-10-01.
42256         * math/auto-libm-test-in: Add tests of sincos.
42257         * math/auto-libm-test-out: Regenerated.
42258         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42259         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42260         mpfr_f_11.
42261         (func_calc_desc): Add mpfr_f_11 union field.
42262         (test_functions): Add sincos.
42263         (calc_generic_results): Handle mpfr_f_11.
42264         * sysdeps/i386/fpu/libm-test-ulps: Update.
42265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42267 2013-12-19  Andreas Schwab  <schwab@suse.de>
42269         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42270         CALL_MCOUNT.
42271         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42272         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42273         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42275 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42277         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42278         * sysdeps/i386/fpu/libm-test-ulps: Update.
42279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42281         [BZ #16293]
42282         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42283         round-to-nearest mode when using frndint.
42284         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42285         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42286         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42287         Likewise.
42288         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42289         sinh test to fail.
42290         * math/auto-libm-test-out: Regenerated.
42291         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42292         (TEST_COND_x86): Likewise.
42293         (expm1_tonearest_test_data): New array.
42294         (expm1_test_tonearest): New function.
42295         (expm1_towardzero_test_data): New array.
42296         (expm1_test_towardzero): New function.
42297         (expm1_downward_test_data): New array.
42298         (expm1_test_downward): New function.
42299         (expm1_upward_test_data): New array.
42300         (expm1_test_upward): New function.
42301         (main): Run the new test functions.
42302         * sysdeps/i386/fpu/libm-test-ulps: Update.
42303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42305         * include/features.h: Update comment documenting feature test
42306         macros.  Mention _DEFAULT_SOURCE in comment.
42307         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42308         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42309         _BSD_SOURCE and _SVID_SOURCE.
42310         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42311         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42312         !_SVID_SOURCE]: Likewise.
42313         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42314         (__USE_POSIX_IMPLICITLY): Define.
42315         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42316         (_POSIX_SOURCE): Undefine and redefine.
42317         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42318         (_POSIX_C_SOURCE): Likewise.
42319         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42320         (Feature Test Macros): Update documentation of default features.
42322 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42324         * benchtests/Makefile: Add bench-strtok.
42325         * benchtests/bench-strtok.c: New file: strtok benchtest.
42327 2013-12-19  Allan McRae  <allan@archlinux.org>
42329         * manual/install.texi: Suppress menu for plain text output.
42330         * INSTALL: Regenerated.
42332 2013-12-18  Brooks Moses  <bmoses@google.com>
42334         [BZ #15846]
42335         * misc/getauxval.c: Include errno.h.
42336         (__getauxval): Set errno to ENOENT if the requested type is not
42337         found.
42338         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42339         don't declare with __attribute_const__.
42340         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42341         * manual/startup.texi: Document that getauxval sets errno.
42343 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42345         * math/auto-libm-test-in: Add tests of jn and yn.
42346         * math/auto-libm-test-out: Regenerated.
42347         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42348         (yn_test_data): Likewise.
42349         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42350         mpfr_if_f.
42351         (func_calc_desc): Add mpfr_if_f union field.
42352         (FUNC_mpfr_if_f): New macro.
42353         (test_functions): Add jn and yn.
42354         (calc_generic_results): Assert type of second input for
42355         mpfr_ff_f.  Handle mpfr_if_f.
42356         (output_for_one_input_case): Disable all checking for arguments
42357         fitting floating-point types in case of an integer argument.
42358         * sysdeps/i386/fpu/libm-test-ulps: Update.
42359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42362         Don't expect fegetround reference in libm.so.
42364 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42366         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42367         $(config-cflags-nofma).
42369 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42371         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42372         * math/auto-libm-test-out: Regenerated.
42374         [BZ #16338]
42375         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42376         to determine exponent and adjust argument to have exponent of -1.
42377         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42378         log2.
42379         * math/auto-libm-test-out: Regenerated.
42380         * sysdeps/i386/fpu/libm-test-ulps: Update.
42381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42383 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42385         * manual/probes.texi: Remove cases when per-thread arenas are
42386         disabled.
42388 2013-12-18  Andreas Schwab  <schwab@suse.de>
42390         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42391         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42392         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42393         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42394         * sysdeps/i386/i686/multiarch/Makefile: Update.
42395         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42397 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42399         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42400         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42402 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42404         [BZ #15968]
42405         Support TZ transition times < 00:00:00.
42406         This is needed for version-3 tz-format files; it supports time
42407         stamps past 2037 for America/Godthab (the only entry in the tz
42408         database for which this change is relevant).
42409         * manual/time.texi (TZ Variable): Document transition times
42410         from -167:59:59 through -00:00:01.
42411         * time/tzset.c (tz_rule): Time of day is now signed.
42412         (__tzset_parse_tz): Parse negative time of day.
42414         Document TZ transition times >= 25:00:00.
42415         * manual/time.texi (TZ Variable): Document transition times from
42416         25:00:00 through 167:59:59.  These are already supported, and this
42417         support will help with version-3 tz-format files.
42419         * manual/time.texi (TZ Variable): Modernize North America example
42420         to reflect current (i.e., 2007-and-later) daylight saving rules.
42422         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42424 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42426         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42427         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42428         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42430         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42431         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42432         * sysdeps/unix/bsd/clock.c: Likewise.
42433         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42434         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42435         * sysdeps/unix/bsd/init-posix.c: Likewise.
42436         * sysdeps/unix/bsd/poll.c: Likewise.
42437         * sysdeps/unix/bsd/ptsname.c: Likewise.
42438         * sysdeps/unix/bsd/seekdir.c: Likewise.
42439         * sysdeps/unix/bsd/setegid.c: Likewise.
42440         * sysdeps/unix/bsd/seteuid.c: Likewise.
42441         * sysdeps/unix/bsd/setgid.c: Likewise.
42442         * sysdeps/unix/bsd/setrgid.c: Likewise.
42443         * sysdeps/unix/bsd/setruid.c: Likewise.
42444         * sysdeps/unix/bsd/setsid.c: Likewise.
42445         * sysdeps/unix/bsd/setuid.c: Likewise.
42446         * sysdeps/unix/bsd/sigaction.c: Likewise.
42447         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42448         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42449         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42450         * sysdeps/unix/bsd/telldir.c: Likewise.
42451         * sysdeps/unix/bsd/times.c: Likewise.
42452         * sysdeps/unix/bsd/usleep.c: Likewise.
42454         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42455         ($(objpfx)libbsd-compat.a): Remove rule.
42457         * include/features.h (__FAVOR_BSD): Do not define.
42458         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42459         features conflicting with POSIX.
42460         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42461         (_BSD_SOURCE): Remove description of not being a subset of other
42462         feature test macros.
42463         * manual/job.texi (getpgrp): Do not document BSD version.
42464         (getpgid): Do not document by reference to BSD getpgrp.
42465         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42466         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42467         * signal/signal.h [__FAVOR_BSD]: Likewise.
42468         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42469         instead of making contents conditional on [__FAVOR_BSD].
42470         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42472 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42476 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42478         [BZ #16314]
42479         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42480         values below 2**-450, not 2**-500.
42481         * math/auto-libm-test-in: Don't allow spurious underflow from
42482         hypot.
42483         * math/auto-libm-test-out: Regenerated.
42485         [BZ #16316]
42486         [BZ #16330]
42487         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42488         values of ha and hb and sort them after adjusting subnormal
42489         arguments.
42490         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42491         Likewise.
42492         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42493         values of ea and eb and sort them after adjusting subnormal
42494         arguments.
42495         * math/auto-libm-test-in: Do not expect some hypot tests of
42496         subnormals to fail.  Add more hypot tests.
42497         * math/auto-libm-test-out: Regenerated.
42499 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42501         [BZ #13304]
42502         * sysdeps/sh/s_fma.c: New file.
42503         * sysdeps/sh/s_fmaf.c: New file.
42504         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42505         version.
42506         * sysdeps/sh/Implies: Add sh/soft-fp.
42508 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42510         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42511         level of indirection to members `objname', `errstring', `malloced'.
42512         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42513         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42514         it as the __longjmp argument (just pass 1 instead).
42515         (_dl_catch_error): Initialize C with argument pointers and address of
42516         volatile local ERRCODE rather than copying values out of C at return.
42518 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42520         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42521         * math/auto-libm-test-out: Regenerated.
42522         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42523         (hypot_test_data): Likewise.
42524         (pow_test_data): Likewise.
42525         (pow_tonearest_test_data): Likewise.
42526         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42527         mpfr_ff_f.
42528         (func_calc_desc): Add mpfr_ff_f union field.
42529         (FUNC_mpfr_ff_f): New macro.
42530         (test_functions): Add atan2, hypot and pow.
42531         (special_fill_min): New function.
42532         (special_fill_minus_min): Likewise.
42533         (special_fill_min_subnorm): Likewise.
42534         (special_fill_minus_min_subnorm): Likewise.
42535         (special_real_inputs): Add min, -min, min_subnorm and
42536         -min_subnorm.
42537         (calc_generic_results): Handle mpfr_ff_f.
42538         * sysdeps/i386/fpu/libm-test-ulps: Update.
42539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42541 2013-12-16  Will Newton  <will.newton@linaro.org>
42543         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42544         (Aligned Memory Blocks): Add documentation for aligned_alloc
42545         and suggest it as an alternative to posix_memalign.
42546         (Hooks for Malloc): Document __memalign_hook is also called
42547         for aligned_alloc.  (Summary of Malloc): Add summary for
42548         aligned alloc.  Document __memalign_hook is also called
42549         for aligned_alloc.
42551 2013-12-16  Will Newton  <will.newton@linaro.org>
42553         * manual/memory.texi (Malloc Examples): Clarify default
42554         alignment documentation.  Suggest posix_memalign rather
42555         than memalign or valloc.
42556         (Aligned Memory Blocks): Remove suggestion to use memalign
42557         or valloc.  Remove obsolete comment about BSD.
42558         Document memalign errno values and mark the function obsolete.
42559         Document posix_memalign returned error codes.  Mark valloc
42560         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42561         called for posix_memalign and valloc.
42562         (Summary of Malloc): Add posix_memalign to function summary.
42563         __memalign_hook is also called for posix_memalign and valloc.
42565 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42567         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42568         TAYLOR_SIN.
42569         (__sin): Adjust.
42570         (__cos): Likewise.
42571         (sloww): Use mynumber union.  Expand ternary operator into
42572         if-else statements.
42573         (cslow): use mynumber union.
42575 2013-12-16  Allan McRae  <allan@archlinux.org>
42577         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42578         * configure: Regenerated.
42580         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42582         [BZ #14120]
42583         * configure.ac: Added --enable-maintainer-mode. Check for
42584         autoconf when enabled.
42585         * configure: Regenerated.
42587         * nscd/nscd.service: New file.
42588         * nscd/nscd.tmpfiles: New file.
42590 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42592         [BZ #12100]
42593         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42594         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42595         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42596         (strstr): Add __strstr_sse2_unaligned ifunc.
42597         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42598         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42599         (strcasestr): Remove __strcasestr_sse42 ifunc.
42600         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42601         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42604 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42606         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42607         * sysdeps/sh/bits/fenv.h: ... here.
42608         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42610 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42612         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42615         hypotf multiarch implementations.
42616         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42617         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42618         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42619         multiarch hypot for PPC64.
42620         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42621         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42622         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42623         multiarch hypotf for PPC64.
42625         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42626         modff multiarch implementations.
42627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42630         multiarch modf for PPC64.
42631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42634         multiarch modff for PPC64.
42636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42637         and logl multiarch implementations.
42638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42641         multiarch logb for PPC64.
42642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42645         multiarch logb for PPC64.
42646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42649         multiarch logb for PPC64.
42651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42652         isinff multiarch implementation.
42653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42654         file.
42655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42657         multiarch isinf for PPC64.
42658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42659         file.
42660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42661         multiarch isinff for PPC64.
42663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42664         finitef multiarch implementation.
42665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42666         file.
42667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42669         multiarch finite for PPC64.
42670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42671         file.
42672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42673         multiarch finitef for PPC64.
42675         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42676         lrint multiarch implementation.
42677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42678         file.
42679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42681         multiarch llrint for PPC64.
42682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42683         multiarch lrint for PPC64.
42685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42686         copysignf multiarch implementation.
42687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42688         file.
42689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42690         file.
42691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42692         multiarch copysign for PPC64.
42693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42694         multiarch copysignf for PPC64.
42696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42697         multiarch implementation.
42698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42699         file.
42700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42701         file.
42702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42703         file.
42704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42705         file.
42706         multiarch llround for PPC64.
42707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42708         multiarch trunc for PPC64.
42709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42710         multiarch truncf for PPC64.
42712         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42713         multiarch implementation.
42714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42715         file.
42716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42717         file.
42718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42719         file.
42720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42721         file.
42722         multiarch llround for PPC64.
42723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42724         multiarch round for PPC64.
42725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42726         multiarch roundf for PPC64.
42728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42729         multiarch implementation.
42730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42731         file.
42732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42733         file.
42734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42735         file.
42736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42737         file.
42738         multiarch llround for PPC64.
42739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42740         multiarch floor for PPC64.
42741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42742         multiarch floorf for PPC64.
42744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42745         multiarch implementation.
42746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42747         file.
42748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42749         file.
42750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42751         file.
42752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42753         file.
42754         multiarch llround for PPC64.
42755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42756         multiarch ceil for PPC64.
42757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42758         multiarch ceilf for PPC64.
42760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42761         multiarch implementation.
42762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42763         file.
42764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42765         file.
42766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42767         file.
42768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42769         multiarch llround for PPC64.
42770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42771         multiarch lround for PPC64.
42773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42774         multiarch implementation.
42775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42778         file.
42779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42782         multiarch isnan for PPC64.
42783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42784         multiarch isnanf for PPC64.
42786         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42787         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42788         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42789         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42790         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42793         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42794         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42795         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42796         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42799         multiarch implementations.
42800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42801         (__libc_ifunc_impl_list): Likewise.
42802         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42803         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42804         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42805         multiarch stpcpy for PPC64.
42807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42808         multiarch implementations.
42809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42810         (__libc_ifunc_impl_list): Likewise.
42811         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42812         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42813         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42814         multiarch strcpy for PPC64.
42816         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42817         redefine function name.
42818         (_wordcopy_fwd_dest_aligned): Likewise.
42819         (_wordcopy_bwd_aligned): Likewise.
42820         (_wordcopy_bwd_dest_aligned): Likewise.
42821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42822         multiarch implementations.
42823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42824         (__libc_ifunc_impl_list): Likewise.
42825         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42826         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42828         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42829         multiarch wcscpy for PPC64.
42831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42832         multiarch implementations.
42833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42834         (__libc_ifunc_impl_list): Likewise.
42835         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42836         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42837         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42838         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42839         multiarch wcscpy for PPC64.
42841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42842         multiarch implementations.
42843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42844         (__libc_ifunc_impl_list): Likewise.
42845         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42846         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42847         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42848         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42849         multiarch wcsrchr for PPC64.
42851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42852         multiarch implementations.
42853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42854         (__libc_ifunc_impl_list): Likewise.
42855         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42856         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42857         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42858         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42859         multiarch wcschr for PPC64.
42861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42862         multiarch implementations.
42863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42864         (__libc_ifunc_impl_list): Likewise.
42865         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42866         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42867         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42868         multiarch strchrnul for PPC64.
42870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42871         implementations.
42872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42873         (__libc_ifunc_impl_list): Likewise.
42874         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42875         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42876         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42877         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42878         strchr for PPC64.
42880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42881         implementations.
42882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42883         (__libc_ifunc_impl_list): Likewise.
42884         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42885         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42886         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42887         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42888         strncmp for PPC64.
42890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42891         multiarch implementations.
42892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42893         (__libc_ifunc_impl_list): Likewise.
42894         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42895         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42896         strncasecmp for PPC64.
42897         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42898         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42899         multiarch strncasecmp_l for PPC64.
42901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42902         multiarch implementations.
42903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42904         (__libc_ifunc_impl_list): Likewise.
42905         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42906         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42907         multiarch strcasecmp for PPC64.
42908         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42909         file.
42910         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42911         multiarch strcasecmp_l for PPC64.
42913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42914         implementations.
42915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42916         (__libc_ifunc_impl_list): Likewise.
42917         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42918         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42919         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42920         strnlen for PPC64.
42922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42923         implementations.
42924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42925         (__libc_ifunc_impl_list): Likewise.
42926         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42927         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42928         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42929         strlen for PPC64.
42931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42932         implementations.
42933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42934         (__libc_ifunc_impl_list): Likewise.
42935         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42936         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42937         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42938         rawmemrchr for PPC64.
42940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42941         implementation.
42942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42943         (__libc_ifunc_impl_list): Likewise.
42944         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42945         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42946         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42947         memrchr for PPC64.
42949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42950         implementation.
42951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42952         (__libc_ifunc_impl_list): Likewise.
42953         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42954         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42955         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42956         memchr for PPC64.
42958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42959         implementation.
42960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42961         (__libc_ifunc_impl_list): Likewise.
42962         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42963         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42964         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42965         mempcpy for PPC64.
42967         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42968         avoid cretion of __bzero symbol.
42969         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42970         Likewise.
42971         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42972         Likewise.
42973         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42974         Likewise.
42975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42976         multiarch implementations.
42977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42978         (__libc_ifunc_impl_list): Likewise.
42979         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42980         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42981         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42982         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42983         bzero for PPC32.
42984         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42985         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42986         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42987         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42988         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42989         memset for PPC64.
42990         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42992         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42994         implementations.
42995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42996         (__libc_ifunc_impl_list): Likewise.
42997         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42998         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42999         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43000         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43001         memcmp for PPC64.
43003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43004         multiarch for POWER/PPC64.
43005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43006         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43007         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43008         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43009         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43010         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43011         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43012         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43013         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43014         memcpy for PPC64.
43016         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43017         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43018         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43019         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43020         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43021         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43022         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43023         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43024         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43025         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43026         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43027         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43028         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43029         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43030         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43039 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43041         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43043 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43045         * benchtests/Makefile (bench): Add exp2 and log2.
43046         (LDLIBS-bench-exp2): Add -lm.
43047         (LDLIBS-bench-log2): Likewise.
43048         * benchtests/exp2-inputs: New inputs file.
43049         * benchtests/log2-inputs: New inputs file.
43050         * benchtests/log-inputs: Add new inputs.
43051         * benchtests/tan-inputs: Likewise.
43053 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43055         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43056         definition...
43057         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43058         (csloww2): ... from here.
43060         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43061         instead of structures.
43062         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43063         (POLYNOMIAL): Likewise.
43064         (TAYLOR_SLOW): Likewise.
43065         (__sin): Likewise.
43066         (__cos): Likewise.
43067         (slow1): Likewise.
43068         (slow2): Likewise.
43069         (sloww): Likewise.
43070         (sloww1); Likewise.
43071         (sloww2): Likewise.
43072         (bsloww1): Likewise.
43073         (bsloww2): Likewise.
43074         (cslow2): Likewise.
43075         (csloww): Likewise.
43076         (csloww1): Likewise.
43077         (csloww2): Likewise.
43079 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43081         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43082         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43083         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43084         * malloc/hooks.c (realloc_check): Likewise.
43086         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43087         * malloc/arena.c: Remove PER_THREAD conditional.
43088         [!PER_THREAD]: Remove code.
43089         (ptmalloc_unlock_all2): Likewise.
43090         (ptmalloc_init): Likewise.
43091         (_int_new_arena): Likewise.
43092         (arena_get2): Likewise.
43093         * malloc/hooks.c (__malloc_get_state): Likewise.
43094         (__malloc_set_state): Likewise.
43095         * malloc/malloc.c: Likewise.
43096         (struct malloc_state): Likewise.
43097         (struct malloc_par): Likewise.
43098         (__libc_realloc): Likewise.
43099         (__libc_mallopt): Likewise.
43101 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43103         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43105 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43107         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43108         macro to a function.  Check for zero perturb_byte.
43109         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43111         * malloc/malloc.c: (force_reg): Remove.
43112         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43113         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43114         force_reg by atomic_forced_read.
43115         * malloc/arena.c (ptmalloc_init): Likewise.
43116         * malloc/hooks.c (top_check): Likewise.
43118 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43122 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43126 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43128         * math/auto-libm-test-in: Add tests of lgamma.
43129         * math/auto-libm-test-out: Regenerated.
43130         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43131         (M_LOG_2_SQRT_PIl): Likewise.
43132         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43133         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43134         mpfr_f_f1.
43135         (func_calc_desc): Add mpfr_f_f1 union field.
43136         (ARGS1): New macro.
43137         (ARGS2): Likewise.
43138         (ARGS3): Likewise.
43139         (ARGS4): Likewise.
43140         (RET1): Likewise.
43141         (RET2): Likewise.
43142         (CALC): Likewise.
43143         (FUNC): Likewise.
43144         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43145         (test_functions): Add lgamma.
43146         (calc_generic_results): Handle mpfr_f_f1.
43147         * sysdeps/i386/fpu/libm-test-ulps: Update.
43148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43150 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43152         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43153         __mpn_add_n for PowerPC64/POWER7.
43154         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43155         __mpn_sub_n for PowerPC64/POWER7.
43157         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43158         __mpn_addmul_1 for PowerPC64.
43159         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43160         __mpn_submul_1 for PowerPC64.
43161         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43162         for PowerPC64.
43163         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43164         for PowerPC64.
43166 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43168         [BZ #15089]
43169         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43171 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43173         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43175         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43176         add multiarch folders.
43177         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43178         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43179         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43180         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43181         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43182         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43183         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43184         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43185         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43186         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43187         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43196         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43198         New file.
43199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43200         New file.
43201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43202         multiarch __ieee754_hypot for PowerPC32.
43203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43204         New file.
43205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43206         New file.
43207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43208         multiarch __ieee754_hypotf for PowerPC32.
43210         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43211         long_double_symbol only if __logbl is defined.
43212         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43213         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43215         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43217         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43218         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43219         path for implementation.
43220         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43221         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43223         logb, and logbl multiarch implementations for PowerPC32.
43224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43225         file.
43226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43227         file.
43228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43229         multiarch logb for PowerPC32.
43230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43231         file.
43232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43233         file.
43234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43235         multiarch logbf for PowerPC32.
43236         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43238         file.
43239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43240         multiarch logbl implementation for PowerPC32.
43242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43243         and modff multiarch implementations.
43244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43245         New file.
43246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43247         New file.
43248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43249         multiarch modf for PowerPC32.
43250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43251         New file.
43252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43253         New file.
43254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43255         multiarch modff for PowerPC32.
43257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43258         and lrintf multiarch implementations.
43259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43260         New file.
43261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43262         New file.
43263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43264         multiarch lrint for PowerPC32.
43265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43266         file: multiarch lrintf for PowerPC32.
43268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43269         and lroundf multiarch implementations.
43270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43271         New file.
43272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43273         New file.
43274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43275         New file.
43276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43277         multiarch lround for PowerPC32.
43278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43279         file: multiarch lroundf for PowerPC32.
43281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43282         copysign and copysignf multiarch implementations.
43283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43284         New file.
43285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43286         New file.
43287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43288         file: multiarch copysign for PowerPC32.
43289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43290         file: multiarch copysignf for PowerPC32.
43292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43293         and truncf multiarch implementations.
43294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43295         New file.
43296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43297         file.
43298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43299         multiarch trunc for PowerPC32.
43300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43301         New file.
43302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43303         New file.
43304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43305         multiarch truncf for PowerPC32.
43307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43308         and roundf multiarch implementations.
43309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43310         New file.
43311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43312         file.
43313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43314         multiarch round for PowerPC32.
43315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43316         New file.
43317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43318         New file.
43319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43320         multiarch roundf for PowerPC32.
43322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43323         and floorf multiarch implementations.
43324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43325         New file.
43326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43327         file.
43328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43329         multiarch floor for PowerPC32.
43330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43331         New file.
43332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43333         New file.
43334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43335         multiarch floorf for PowerPC32.
43337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43338         and ceilf multiarch implementations.
43339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43340         New file.
43341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43342         file.
43343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43344         multiarch ceil for PowerPC32.
43345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43346         New file.
43347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43348         file.
43349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43350         multiarch ceilf for PowerPC32.
43352         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43353         is defined.
43354         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43355         FINITEF is defined.
43356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43357         and finitef multiarch implementations.
43358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43359         New file.
43360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43361         file.
43362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43363         multiarch finite for PowerPC32.
43364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43365         New file.
43366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43367         file: multiarch finitef for PowerPC32.
43369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43370         and isinff multiarch implementations.
43371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43372         file.
43373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43374         file.
43375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43376         multiarch isinf for PowerPC32.
43377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43378         New file.
43379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43380         multiarch isinff for PowerPC32.
43382         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43383         alias when __isnan is defined.
43384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43385         and isnanf multiarch implementations.
43386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43387         file.
43388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43389         file.
43390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43391         file.
43392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43393         file.
43394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43395         multiarch isnan for PowerPC32.
43396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43397         New file.
43398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43399         New file.
43400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43401         multiarch isnanf for PowerPC32.
43403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43404         and sqrtf multiarch implementations.
43405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43406         file.
43407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43408         file.
43409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43410         multiarch sqrt for PowerPC32.
43411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43412         file.
43413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43414         file.
43415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43416         multiarch sqrtf for PowerPC32.
43418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43419         and llroundf multiarch implementations.
43420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43421         New file.
43422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43423         New file.
43424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43425         New file.
43426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43427         file: multiarch llround for PowerPC32.
43428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43429         file: multiarch llroundf for PowerPC32.
43431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43432         multiarch PowerPC32 fpu implementations.
43433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43434         New file.
43435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43436         New file.
43437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43438         multiarch llrint for PowerPC32.
43439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43440         New file.
43441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43442         New file.
43443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43444         file.
43446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43448         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43449         file.
43450         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43451         file.
43452         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43453         file.
43454         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43455         multiarch wordcopy for PPC32.
43456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43457         wordcopy objects.
43458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43459         (__libc_ifunc_impl_list): Likewise.
43460         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43461         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43462         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43463         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43464         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43465         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43467         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43469         file.
43470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43471         file.
43472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43473         file.
43474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43475         multiarch wcscpy for PPC32.
43476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43477         multiarch objects.
43478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43479         (__libc_ifunc_impl_list): Likewise.
43480         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43481         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43482         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43483         sysdeps/powerpc/power6/wcscpy.c.
43485         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43487         file.
43488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43489         file.
43490         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43491         file.
43492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43493         multiarch wcsrchr for PPC32.
43494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43495         multiarch objects.
43496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43497         (__libc_ifunc_impl_list): Likewise.
43498         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43499         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43500         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43501         sysdeps/powerpc/power6/wcsrchr.c.
43503         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43504         file.
43505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43506         file.
43507         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43509         multiarch wcschr for PPc32.
43510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43511         multiarch objects.
43512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43513         (__libc_ifunc_impl_list): Likewise.
43514         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43515         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43516         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43517         sysdeps/powerpc/power6/wcschr.c.
43519         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43520         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43521         file.
43522         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43523         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43524         file: multiarch strchr for PPC32.
43525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43526         multiarch objects.
43527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43528         (__libc_ifunc_impl_list): Likewise.
43530         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43531         name.
43532         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43533         file.
43534         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43535         file.
43536         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43537         multiarch strchrnul for PPC32.
43538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43539         multiarch objects.
43540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43541         (__libc_ifunc_impl_list): Likewise.
43543         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43544         file.
43545         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43546         multiarch strncasecmp for PPC32.
43547         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43548         file.
43549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43550         multiarch strncasecmp_l for PPC32.
43551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43552         strncasecmp multiarch objects.
43553         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43554         (__libc_ifunc_impl_list): Likewise.
43556         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43557         file.
43558         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43559         multiarch strncasecmp for PPC32.
43560         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43561         New file.
43562         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43563         multiarch strcasecmp_l for PPC32.
43564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43565         multiarch objects.
43566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43567         (__libc_ifunc_impl_list): Likewise.
43569         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43570         file.
43571         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43572         file.
43573         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43574         multiarch strncmp for PPC32.
43575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43576         multiarch objects.
43577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43578         (__libc_ifunc_impl_list): Likewise.
43580         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43581         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43582         file.
43583         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43584         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43585         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43586         multiarch objects.
43587         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43588         (__libc_ifunc_impl_list): Likewise.
43590         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43591         file.
43592         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43593         file.
43594         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43596         multiarch objects.
43597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43598         (__libc_ifunc_impl_list): Likewise.
43600         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43601         file.
43602         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43603         file.
43604         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43605         multiarch rawmemchr for PPC32.
43606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43607         multiarch objects.
43608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43609         (__libc_ifunc_impl_list): Likewise.
43611         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43612         file.
43613         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43614         file.
43615         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43616         file: memrchr multiarch for PPC32.
43617         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43618         multiarch objects.
43619         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43620         (__libc_ifunc_impl_list): Likewise.
43622         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43623         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43624         file.
43625         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43626         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43627         multiarch memchr for PPC32.
43628         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43629         multiarch objects.
43630         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43631         (__libc_ifunc_impl_list): Likewise.
43633         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43634         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43635         file.
43636         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43637         file.
43638         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43639         file: multiarch mempcpy for PPC32.
43640         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43641         multiarch objects.
43642         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43643         (__libc_ifunc_impl_list): Likewise.
43645         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43646         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43647         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43648         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43649         multiarch bzero for PPC32.
43650         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43651         file.
43652         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43653         file.
43654         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43655         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43656         file: multiarch memset for PPC32.
43657         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43659         memset multiarch objects.
43660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43661         (__libc_ifunc_impl_list): Likewise.
43663         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43664         file.
43665         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43666         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43667         memcmp for PPC32.
43668         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43670         multiarch objects.
43671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43672         (__libc_ifunc_impl_list): Likewise.
43674         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43675         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43676         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43677         file.
43678         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43679         file.
43680         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43681         file.
43682         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43683         multiarch memcpy for PPC32.
43684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43685         multiarch objects.
43686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43687         (__libc_ifunc_impl_list): Likewise.
43689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43690         support multiarch for POWER/PPC32.
43691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43692         Likewise.
43693         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43695         Implies file to make multiarch folder appers before the fpu and
43696         default folder for power4 configuration.
43698 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43700         * scripts/bench.pl: Append volatile keyword to type.
43702 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43704         * sysdeps/sh/sotruss-lib.c: New file.
43705         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43707 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43711 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43713         [BZ #6810]
43714         * math/w_tgamma.c: Include <errno.h>.
43715         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43716         * math/w_tgammaf.c: Include <errno.h>.
43717         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43718         * math/w_tgammal.c: Include <errno.h>.
43719         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43720         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43721         underflow.  Add more tgamma tests.
43722         * math/auto-libm-test-out: Regenerated.
43723         * sysdeps/i386/fpu/libm-test-ulps: Update.
43724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43726         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43727         sin, sinh, tan, tanh, tgamma, y0 and y1.
43728         * math/auto-libm-test-out: Regenerated.
43729         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43730         (TEST_COND_x86): Likewise.
43731         (M_E2l): Remove macro.
43732         (M_E3l): Likewise.
43733         (M_2_SQRT_PIl): Likewise.
43734         (M_SQRT_PIl): Likewise.
43735         (M_1_DIV_El): Likewise.
43736         (log_test_data): Use AUTO_TESTS_f_f.
43737         (log10_test_data): Likewise.
43738         (log1p_test_data): Likewise.
43739         (log2_test_data): Likewise.
43740         (sin_test_data): Likewise.
43741         (sin_tonearest_test_data): Likewise.
43742         (sin_towardzero_test_data): Likewise.
43743         (sin_downward_test_data): Likewise.
43744         (sin_upward_test_data): Likewise.
43745         (sinh_test_data): Likewise.
43746         (sinh_tonearest_test_data): Likewise.
43747         (sinh_towardzero_test_data): Likewise.
43748         (sinh_downward_test_data): Likewise.
43749         (sinh_upward_test_data): Likewise.
43750         (tan_test_data): Likewise.
43751         (tan_tonearest_test_data): Likewise.
43752         (tan_towardzero_test_data): Likewise.
43753         (tan_downward_test_data): Likewise.
43754         (tan_upward_test_data): Likewise.
43755         (tanh_test_data): Likewise.
43756         (tgamma_test_data): Likewise.
43757         (y0_test_data): Likewise.
43758         (y1_test_data): Likewise.
43759         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43760         (special_real_inputs): Add pi/4.
43761         * sysdeps/i386/fpu/libm-test-ulps: Update.
43762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43764 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43766         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43767         "longjmp_target" static probes.
43768         (__longjmp): Rename to __longjmp_symbol.
43769         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43770         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43771         on which longjmp to generate.
43772         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43773         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43774         probe.
43775         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43776         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43777         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43778         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43779         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43780         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43782         __longjmp_symbol based on which __longjmp to generate.
43783         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43784         probe.
43785         (setjmp): Rename to setjmp_symbol.
43786         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43787         (_setjmp): Rename to _setjmp_symbol.
43788         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43789         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43790         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43791         which setjmp to generate.
43792         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43793         "longjmp_target" static probes.
43795 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43797         * benchtests/README: Add note about output arguments.
43798         * benchtests/bench-sincos.c: Remove file.
43799         * benchtests/sincos-inputs: New file.
43800         * scripts/bench.pl: Identify output arguments and define
43801         static variables for them.
43803         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43805         [BZ #15941]
43806         * Makefile (INSTALL): Add install-plain.texi as the primary
43807         dependency.
43808         * manual/install-plain.texi: New file.
43809         * manual/install.texi: Include node directive only for
43810         non-plaintext output.
43812 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43814         * stdlib/longlong.h: Update from GCC.
43816         [BZ #6807]
43817         [BZ #15901]
43818         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43819         * math/w_j0f.c (y0f): Likewise.
43820         * math/w_j0l.c (__y0l): Likewise.
43821         * math/w_j1.c (y1): Likewise.
43822         * math/w_j1f.c (y1f): Likewise.
43823         * math/w_j1l.c (__y1l): Likewise.
43824         * math/w_jn.c (yn): Likewise.
43825         * math/w_jnf.c (ynf): Likewise.
43826         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43827         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43828         value for Bessel function domain errors outside _SVID_ mode.
43829         Adjust sign of return value for yn (negative integer, 0).
43830         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43831         by zero in return for negative x and set sign appropriately for
43832         negative n.
43833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43834         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43835         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43836         expectations in error cases.
43837         (y1_test_data): Likewise.
43838         (yn_test_data): Likewise.
43839         * sysdeps/i386/fpu/libm-test-ulps: Update.
43840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43842 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43844         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43845         "64" to "64-v1".  Add "64-v2".
43846         (abi-64-options): Rename to ...
43847         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43848         (abi-64-condition): Rename to ...
43849         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43850         (abi-64-ld-soname): Rename to ...
43851         (abi-64-v1-ld-soname): ... this.
43852         (abi-64-v2-options): Define.
43853         (abi-64-v2-condition): Likewise.
43854         (abi-64-v2-ld-soname): Likewise.
43855         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43856         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43861 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43862             Alan Modra  <amodra@gmail.com>
43864         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43865         New versions for use with the ELFv2 ABI.
43866         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43867         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43868         declaration.
43869         (struct La_ppc64v2_retval): Likewise.
43870         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43871         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43872         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43873         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43874         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43875         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43876         Do not save or restore CR.
43877         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43878         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43879         return values for ELFv2 ABI.  Fix location of FPR return registers.
43880         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43881         updated values for _CALL_ELF == 2.
43882         (La_regs, La_retval, int_retval): Likewise.
43884 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43886         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43887         (FRAME_MIN_SIZE_PARM): Likewise.
43888         (FRAME_BACKCHAIN): Likewise.
43889         (FRAME_CR_SAVE): Likewise.
43890         (FRAME_LR_SAVE): Likewise.
43891         (FRAME_TOC_SAVE): Likewise.
43892         (FRAME_PARM_SAVE): Likewise.
43893         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43894         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43895         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43896         (call_mcount_parm_offset): New macro.
43897         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43898         (PROF): Use symbolic stack frame offsets.
43899         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43900         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43901         Redefine in terms of FRAME_MIN_SIZE.
43902         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43903         (_dl_profile_resolve): Likewise.  Update comment.
43904         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43905         symbols stack frame offsets.
43906         (__sigsetjmp): Likewise.
43907         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43908         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43909         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43910         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43913         (FRAME_BACKCHAIN): Remove.
43914         (FRAME_CR_SAVE): Likewise.
43915         (FRAME_LR_SAVE): Likewise.
43916         (FRAME_COMPILER_DW): Likewise.
43917         (FRAME_LINKER_DW): Likewise.
43918         (FRAME_TOC_SAVE): Likewise.
43919         (FRAME_PARM_SAVE): Likewise.
43920         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43921         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43922         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43924         (CHECK_SP): Use symbolic stack frame offsets.
43925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43926         zone" instead of caller's parameter save area for temp storage.
43927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43928         Likewise.  Also, use symbolic stack frame offsets.
43929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43930         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43931         our own stack frame instead of the caller's.
43932         (__socket): Use symbolic stack frame offsets.
43934 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43935             Alan Modra  <amodra@gmail.com>
43937         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43938         Define.
43939         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43940         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43941         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43942         New function.
43943         (elf_machine_fixup_plt): Call it.
43944         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43945         reloc arguments.
43946         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43947         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43948         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43949         r2 before calling target.
43951 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43952             Alan Modra  <amodra@gmail.com>
43954         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43955         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43956         versions of macros to support ELFv2 ABI.
43957         (LOCALENTRY): New macro.
43958         (ENTRY, EALIGN): Use it.
43959         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43960         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43961         fall through into ENTRY entry point.
43962         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43963         Only define if _CALL_ELF != 2.
43965         (elf_machine_matches_host): Verify ABI version matches.
43966         (RTLD_START): Use LOCALENTRY.
43967         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43968         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43969         (PLT_ENTRY_WORDS): New macro.
43970         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43971         (elf_machine_runtime_setup): Support ELFv2 ABI.
43972         (elf_machine_fixup_plt): Likewise.
43973         (elf_machine_plt_conflict): Likewise.
43974         (resolve_ifunc): Likewise.
43975         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43976         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43977         Likewise.
43978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43979         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43981         (makecontext): Support ELFv2 ABI.
43982         * elf/elf.h (EF_PPC64_ABI): Define.
43984 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43986         * sysdeps/powerpc/powerpc64/sysdep.h
43987         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43988         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43989         (ENTRY) [ASSEMBLER]: ... but instead here ...
43990         (EALIGN) [ASSEMBLER]: ... and here.
43991         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43992         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43993         (ENTRY_2) [!ASSEMBLER]: Use it.
43994         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43995         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43996         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43997         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43998         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44000         Use PPC64_LOAD_FUNCPTR.
44002         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44004 2013-12-04  Alan Modra  <amodra@gmail.com>
44006         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44007         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44008         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44009         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44011         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44012         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44013         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44014         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44015         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44016         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44018 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44021         (__makecontext): Fix incorrect CFI when backtracing out of
44022         context created via makecontext.
44023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44024         (__setcontext): Fix incorrect CFI during switch to new context.
44025         (__novec_setcontext): Likewise.
44027 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44029         [BZ #4772]
44030         * time/strptime_l.c (__strptime_internal): Allow modifiers
44031         in strptime.
44032         * time/tst-strptime.c (day_tests): Add testcase.
44034 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44036         * scripts/bench.pl: Skip over blank lines.
44038 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44040         [BZ #926]
44041         * manual/time.texi (Calendar Time): Clarify what timezone functions
44042         use.
44044 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44048 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44050         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44051         implementation.
44052         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44053         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44054         * debug/memset_chk.c (__memset_chk): Likewise.
44055         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44056         * debug/strncpy_chk.c: Likewise.
44058 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44060         [BZ #15268]
44061         [BZ #15425]
44062         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44063         (__ieee754_exp): For possibly underflowing results, check size of
44064         result and force underflow exception if required.
44065         * math/auto-libm-test-in: Add more tests of exp.
44066         * math/auto-libm-test-out: Regenerated.
44067         * sysdeps/i386/fpu/libm-test-ulps: Update.
44068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44070         [BZ #16283]
44071         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44072         * math/w_exp2f.c (__exp2f): Likewise.
44073         * math/w_exp2l.c (__exp2l): Likewise.
44074         * math/auto-libm-test-in: Do not allow missing errno on exp2
44075         underflow.
44076         * math/auto-libm-test-out: Regenerated.
44078 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44080         [BZ #16274]
44081         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44082         handle filename validation.
44083         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44084         (do_open): Delete.
44086 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44088         [BZ #6786]
44089         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44090         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44091         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44092         <float.h>.
44093         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44094         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44095         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44096         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44097         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44098         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44099         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44100         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44101         Add more erfc tests.
44102         * math/auto-libm-test-out: Regenerated.
44103         * sysdeps/i386/fpu/libm-test-ulps: Update.
44104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44106         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44107         exp2, expm1, j0 and j1.
44108         * math/auto-libm-test-out: Regenerated.
44109         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44110         (erfc_test_data): Likewise.
44111         (exp_test_data): Likewise.
44112         (exp_tonearest_test_data): Likewise.
44113         (exp_towardzero_test_data): Likewise.
44114         (exp_downward_test_data): Likewise.
44115         (exp_upward_test_data): Likewise.
44116         (exp10_test_data): Likewise.
44117         (exp2_test_data): Likewise.
44118         (expm1_test_data): Likewise.
44119         (j0_test_data): Likewise.
44120         (j1_test_data): Likewise.
44121         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44122         (input_flag_type): Add flag_xfail_rounding.
44123         (input_flags): Add xfail-rounding.
44124         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44125         (output_for_one_input_case): Handle flag_xfail_rounding.
44126         * sysdeps/i386/fpu/libm-test-ulps: Update.
44127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44129 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44131         [BZ #16289]
44132         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44133         division by 0.
44135 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44137         [BZ #16195]
44138         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44139         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44140         (STAP_PROBE0): New macro.
44141         (STAP_PROBE1): Likewise.
44142         (STAP_PROBE2): Likewise.
44143         (STAP_PROBE3): Likewise.
44144         (STAP_PROBE4): Likewise.
44146 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44148         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44150 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44152         * benchtests/Makefile (bench): Add sqrt.
44153         (LDLIBS-bench-sqrt): New.
44154         * benchtests/sqrt-input: New.
44156 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44158         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44159         (GAIH_EAI): Likewise.
44160         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44161         (gaih_inet): Likewise.
44162         (getaddrinfo): Don't use GAIH_EAI.
44164         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44165         (struct gaih): Remove definition.
44167 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44169         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44170         Use HERRNOP directly.
44172 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44176 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44178         * math/gen-auto-libm-tests.c (test_functions): Add more
44179         single-argument functions.
44180         (special_fill_pi_2): New function.
44181         (special_fill_minus_pi_2): Likewise.
44182         (special_fill_pi_6): Likewise.
44183         (special_fill_minus_pi_6): Likewise.
44184         (special_fill_pi_3): Likewise.
44185         (special_fill_2pi_3): Likewise.
44186         (special_fill_e): Likewise.
44187         (special_fill_1_e): Likewise.
44188         (special_fill_e_minus_1): Likewise.
44189         (special_real_inputs): Add more special inputs.
44190         (output_for_one_input_case): Do not require ERANGE on underflow to
44191         zero if round-to-nearest result does not underflow to zero, unless
44192         exact results required.
44193         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44194         atan, atanh, cbrt, cos and cosh.
44195         * math/auto-libm-test-out: Regenerated.
44196         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44197         (acos_tonearest_test_data): Likewise.
44198         (acos_towardzero_test_data): Likewise.
44199         (acos_downward_test_data): Likewise.
44200         (acos_upward_test_data): Likewise.
44201         (acosh_test_data): Likewise.
44202         (asin_test_data): Likewise.
44203         (asin_tonearest_test_data): Likewise.
44204         (asin_towardzero_test_data): Likewise.
44205         (asin_upward_test_data): Likewise.
44206         (asinh_test_data): Likewise.
44207         (atan_test_data): Likewise.
44208         (atanh_test_data): Likewise.
44209         (cbrt_test_data): Likewise.
44210         (cos_test_data): Likewise.
44211         (cos_tonearest_test_data): Likewise.
44212         (cos_towardzero_test_data): Likewise.
44213         (cos_downward_test_data): Likewise.
44214         (cos_upward_test_data): Likewise.
44215         (cosh_test_data): Likewise.
44216         (cosh_tonearest_test_data): Likewise.
44217         (cosh_towardzero_test_data): Likewise.
44218         (cosh_downward_test_data): Likewise.
44219         (cosh_upward_test_data): Likewise.
44220         * sysdeps/i386/fpu/libm-test-ulps: Update.
44221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44223 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44225         [BZ #6787]
44226         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44227         * math/w_exp10f.c (__exp10f): Likewise.
44228         * math/w_exp10l.c (__exp10l): Likewise.
44229         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44230         errno settings in existing tests.
44232         [BZ #14032]
44233         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44234         precision control set to double precision.
44235         * sysdeps/i386/fpu/w_sqrt.c: New file.
44236         * math/auto-libm-test-in: Add more tests.
44237         * math/auto-libm-test-out: Update.
44239         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44240         (sqrt_test_tonearest): New function.
44241         (sqrt_towardzero_test_data): New variable.
44242         (sqrt_test_towardzero): New function.
44243         (sqrt_downward_test_data): New variable.
44244         (sqrt_test_downward): New function.
44245         (sqrt_upward_test_data): New variable.
44246         (sqrt_test_upward): New function.
44247         (main): Call the new functions.
44249         * math/gen-auto-libm-tests.c: New file.
44250         * math/auto-libm-test-in: Likewise.
44251         * math/auto-libm-test-out: New generated file.
44252         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44253         variables.
44254         (%beautify): Add generated representations of zero.
44255         (top level): Set $auto_input and call parse_auto_input.
44256         (beautify): Remove trailing "f" from hex float constants.
44257         (parse_args): Handle XFAIL_TEST.
44258         (convert_condition): New function.
44259         (or_value): Likewise.
44260         (or_cond_value): Likewise.
44261         (generate_testfile): Handle AUTO_TESTS_* lines.
44262         (parse_auto_input): New function.
44263         * math/libm-test.inc (XFAIL_TEST): New macro.
44264         (ERRNO_UNCHANGED): Update value.
44265         (ERRNO_EDOM): Likewise.
44266         (ERRNO_ERANGE): Likewise.
44267         (IGNORE_RESULT): Likewise.
44268         (TEST_COND_flt_32): New macro.
44269         (TEST_COND_dbl_64): Likewise.
44270         (TEST_COND_ldbl_96_intel): Likewise.
44271         (TEST_COND_ldbl_96_m68k): Likewise.
44272         (TEST_COND_ldbl_128): Likewise.
44273         (TEST_COND_ldbl_128ibm): Likewise.
44274         (TEST_COND_long32): Likewise.
44275         (TEST_COND_long64): Likewise.
44276         (TEST_COND_before_rounding): Likewise.
44277         (TEST_COND_after_rounding): Likewise.
44278         (enable_test): Handle XFAIL_TEST flag.
44279         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44280         with finite results.
44281         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44282         auto-libm-test-out.
44284 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44285             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44287         [BZ #16214]
44288         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44289         __tls_get_addr_internal instead of __tls_get_offset in order to
44290         avoid GOT pointer dependency.  Make rtld export
44291         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44292         __tls_get_addr since we are a __tls_get_offset platform.
44293         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44294         GOT pointer being set up before.
44295         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44297 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44299         * manual/math.texi (Errors in Math Functions): Document accuracy
44300         goals.
44302         [BZ #15004]
44303         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44304         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44305         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44306         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44307         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44308         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44309         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44310         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44311         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44312         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44313         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44314         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44315         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44316         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44317         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44318         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44320         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44321         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44322         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44323         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44324         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44325         Likewise.
44326         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44327         Likewise.
44328         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44329         Likewise.
44330         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44331         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44332         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44333         atomic-feupdateenv and flt-rounds.
44334         * sysdeps/powerpc/nofpu/Versions (libc): Add
44335         __atomic_feholdexcept, __atomic_feclearexcept,
44336         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44337         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44338         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44339         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44340         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44341         here.
44342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44343         Update.
44345         * manual/arith.texi (FP Exceptions): Document that exceptions may
44346         not be raised when matherr is used.
44347         (Math Error Reporting): Document overflow in directed rounding
44348         modes.  Document that errno may not be set when finite values are
44349         returned on overflow.  Document intent to set errno on underflow
44350         only for underflow to zero.
44352         [BZ #16271]
44353         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44354         round-to-nearest then adjust result for other rounding modes.
44355         * include/fenv.h (fegetround): Use libm_hidden_proto.
44356         * math/fegetround.c (fegetround): Use libm_hidden_def.
44357         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44358         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44359         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44360         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44361         Likewise.
44362         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44363         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44364         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44365         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44367 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44369         [BZ #16077]
44370         * nss/Versions (libnss_files): Add
44371         _nss_files_gethostbyname3_r.
44372         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44373         New function.
44374         (HOST_DB_LOOKUP): Remove macro.
44375         (_nss_files_gethostbyname_r): Implement function without the
44376         HOST_DB_LOOKUP macro.
44377         (_nss_files_gethostbyname2_r): Likewise.
44379 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44381         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44383 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44385         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44386         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44387         warning.
44389 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44391         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44392         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44393         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44394         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44395         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44396         __fe_nomask_env_priv and attribute_hidden.
44397         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44398         (libc_feupdateenv_test_ppc): Likewise.
44399         (libc_feresetround_ppc): Likewise.
44400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44401         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44402         compat_symbol macro.
44403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44404         (__fe_nomask_env): Likewise.
44405         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44407 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44409         * string/Makefile: Remove ifunc tests.
44410         * string/test-string.h: Define TEST_IFUNC.
44411         * string/test-bcopy-ifunc.c: Remove.
44412         * string/test-bzero-ifunc.c: Likewise.
44413         * string/test-memccpy-ifunc.c: Likewise.
44414         * string/test-memchr-ifunc.c: Likewise.
44415         * string/test-memcmp-ifunc.c: Likewise.
44416         * string/test-memcpy-ifunc.c: Likewise.
44417         * string/test-memmem-ifunc.c: Likewise.
44418         * string/test-memmove-ifunc.c: Likewise.
44419         * string/test-mempcpy-ifunc.c: Likewise.
44420         * string/test-memrchr-ifunc.c: Likewise.
44421         * string/test-memset-ifunc.c: Likewise.
44422         * string/test-rawmemchr-ifunc.c: Likewise.
44423         * string/test-stpcpy-ifunc.c: Likewise.
44424         * string/test-stpncpy-ifunc.c: Likewise.
44425         * string/test-strcasecmp-ifunc.c: Likewise.
44426         * string/test-strcasestr-ifunc.c: Likewise.
44427         * string/test-strcat-ifunc.c: Likewise.
44428         * string/test-strchr-ifunc.c: Likewise.
44429         * string/test-strchrnul-ifunc.c: Likewise.
44430         * string/test-strcmp-ifunc.c: Likewise.
44431         * string/test-strcpy-ifunc.c: Likewise.
44432         * string/test-strcspn-ifunc.c: Likewise.
44433         * string/test-strlen-ifunc.c: Likewise.
44434         * string/test-strncasecmp-ifunc.c: Likewise.
44435         * string/test-strncat-ifunc.c: Likewise.
44436         * string/test-strncmp-ifunc.c: Likewise.
44437         * string/test-strncpy-ifunc.c: Likewise.
44438         * string/test-strnlen-ifunc.c: Likewise.
44439         * string/test-strpbrk-ifunc.c: Likewise.
44440         * string/test-strrchr-ifunc.c: Likewise.
44441         * string/test-strspn-ifunc.c: Likewise.
44442         * string/test-strstr-ifunc.c: Likewise.
44444 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44446         * benchtests/Makefile: Remove ifunc tests.
44447         * benchtests/bench-string.h: Define TEST_IFUNC.
44448         * benchtests/bench-bcopy-ifunc.c: Remove.
44449         * benchtests/bench-bzero-ifunc.c: Likewise.
44450         * benchtests/bench-memccpy-ifunc.c: Likewise.
44451         * benchtests/bench-memchr-ifunc.c: Likewise.
44452         * benchtests/bench-memcmp-ifunc.c: Likewise.
44453         * benchtests/bench-memcpy-ifunc.c: Likewise.
44454         * benchtests/bench-memmem-ifunc.c: Likewise.
44455         * benchtests/bench-memmove-ifunc.c: Likewise.
44456         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44457         * benchtests/bench-memrchr-ifunc.c: Likewise.
44458         * benchtests/bench-memset-ifunc.c: Likewise.
44459         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44460         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44461         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44462         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44463         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44464         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44465         * benchtests/bench-strcat-ifunc.c: Likewise.
44466         * benchtests/bench-strchr-ifunc.c: Likewise.
44467         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44468         * benchtests/bench-strcmp-ifunc.c: Likewise.
44469         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44470         * benchtests/bench-strcpy-ifunc.c: Likewise.
44471         * benchtests/bench-strcspn-ifunc.c: Likewise.
44472         * benchtests/bench-strlen-ifunc.c: Likewise.
44473         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44474         * benchtests/bench-strncat-ifunc.c: Likewise.
44475         * benchtests/bench-strncmp-ifunc.c: Likewise.
44476         * benchtests/bench-strncpy-ifunc.c: Likewise.
44477         * benchtests/bench-strnlen-ifunc.c: Likewise.
44478         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44479         * benchtests/bench-strrchr-ifunc.c: Likewise.
44480         * benchtests/bench-strsep-ifunc.c: Likewise.
44481         * benchtests/bench-strspn-ifunc.c: Likewise.
44482         * benchtests/bench-strstr-ifunc.c: Likewise.
44484 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44486         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44488 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44490         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44491         * rt/aio.h: Likewise.
44492         * sysdeps/gnu/bits/utmp.h: Likewise.
44493         * sysdeps/gnu/bits/utmpx.h: Likewise.
44494         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44495         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44496         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44497         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44498         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44499         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44500         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44501         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44502         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44503         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44504         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44505         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44506         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44508         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44509         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44510         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44511         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44512         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44513         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44514         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44515         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44516         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44517         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44518         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44519         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44520         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44521         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44522         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44523         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44524         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44525         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44526         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44527         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44528         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44529         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44530         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44531         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44532         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44533         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44534         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44535         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44537 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44539         [BZ #16245]
44540         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44541         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44543 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44545         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44546         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44547         Likewise.
44549 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44551         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44552         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44553         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44554         (__fesetround): Remove define.
44555         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44556         rounding and exceptions handling.
44557         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44558         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44559         (__fe_nomask_env): Likewise.
44560         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44561         __fegetround instead of fegetround.
44562         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44563         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44565 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44567         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44568         it's there.
44570         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44572 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44574         [BZ #11157]
44575         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44576         (encrypt_r): Likewise.
44577         * malloc/obstack.h (obstack_free): Likewise.
44578         * posix/unistd.h (encrypt): Likewise.
44580 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44582         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44583         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44584         DL_CALL_DT_FINI() that call the functions directly.
44585         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44586         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44587         * elf/dl-fini.c: Likewise.
44589 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44591         * malloc/hooks.c (memalign_check): Add alignment rounding.
44592         * malloc/malloc.c (_mid_memalign): New function.
44593         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44594         Implement by calling _mid_memalign.
44595         * manual/probes.texi (Memory Allocation Probes): Remove
44596         memory_valloc_retry and memory_pvalloc_retry.
44598 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44600         * locale/programs/locarchive.c (open_archive): Add const
44601         qualifier to ARCHIVEFNAME and copy default fname to
44602         DEFAULT_FNAME.
44604         [BZ #15601]
44605         * libio/tst-widetext.input: Rename Oriya to Odia.
44606         * locale/iso-639.def: Likewise.
44608         * manual/probes.texi (Mathematical Function Probes): Add
44609         documentation for sin, cos, asin and acos probes.
44610         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44611         (__sin32): Add slowasin probe.
44612         (__cos32): Add slowacos probe.
44613         (__mpsin): Add slowsin probe.
44614         (__mpcos): Add slowcos probe.
44616 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44618         [BZ #15483]
44619         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44620         thread-local __sim_exceptions_thread and global
44621         __sim_exceptions_global.
44622         (__sim_disabled_exceptions): Change to thread-local
44623         __sim_disabled_exceptions_thread and global
44624         __sim_disabled_exceptions_global.
44625         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44626         and global __sim_round_mode_global.
44627         (__simulate_exceptions): Use thread-local floating-point state and
44628         set global state from it as needed.
44629         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44630         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44631         __sim_round_mode_thread.
44632         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44633         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44634         and global __sim_exceptions_global.
44635         (__sim_disabled_exceptions): Change to thread-local
44636         __sim_disabled_exceptions_thread and global
44637         __sim_disabled_exceptions_global.
44638         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44639         and global __sim_round_mode_global.
44640         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44641         (SIM_SET_GLOBAL): Likewise.
44642         * sysdeps/powerpc/soft-fp/sfp-machine.h
44643         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44644         __sim_round_mode_thread.
44645         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44646         __sim_disabled_exceptions_thread.
44647         (__sim_exceptions): Change to __sim_exceptions_thread.
44648         (__sim_disabled_exceptions): Change to
44649         __sim_disabled_exceptions_thread.
44650         (__sim_round_mode): Change to __sim_round_mode_thread.
44651         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44652         thread-local floating-point state and set global state from it as
44653         needed.
44654         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44655         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44656         (__sim_disabled_exceptions): Remove extern declaration.
44657         (feenableexcept): Use thread-local floating-point state and set
44658         global state from it as needed.
44659         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44660         extern declaration.
44661         (__sim_disabled_exceptions): Likewise.
44662         (__sim_round_mode): Likewise.
44663         (__fegetenv): Use thread-local floating-point state.
44664         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44665         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44666         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44667         floating-point state and set global state from it as needed.
44668         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44669         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44670         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44671         Likewise.
44672         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44673         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44674         Likewise.
44675         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44676         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44677         Use __sim_round_mode_thread.
44678         * math/test-fenv-tls.c: New file.
44679         * math/Makefile (tests): Add test-fenv-tls.
44680         ($(objpfx)test-fenv-tls): Depend on
44681         $(common-objpfx)nptl/libpthread.so.
44683 2013-11-19  Andreas Schwab  <schwab@suse.de>
44685         * locale/programs/locale.c (show_info): Decode wordarray elements.
44686         * locale/categories.def (LC_MONETARY): Add element for
44687         _NL_MONETARY_CRNCYSTR.
44688         * locale/C-monetary.c (conversion_rate): New variable.
44689         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44690         element.
44692 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44694         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44695         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44697 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44699         * elf/Makefile (tst-auxv): New test.
44700         * elf/tst-auxv.c: New
44701         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44703 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44705         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44706         (hidden_proto): Caller changed.
44707         (hidden_tls_proto): New macro.
44708         (libc_hidden_tls_proto): Likewise.
44709         (rtld_hidden_tls_proto): Likewise.
44710         (libm_hidden_tls_proto): Likewise.
44711         (libresolv_hidden_tls_proto): Likewise.
44712         (librt_hidden_tls_proto): Likewise.
44713         (libdl_hidden_tls_proto): Likewise.
44714         (libnss_files_hidden_tls_proto): Likewise.
44715         (libnsl_hidden_tls_proto): Likewise.
44716         (libnss_nisplus_hidden_tls_proto): Likewise.
44717         (libutil_hidden_tls_proto): Likewise.
44719 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44721         [BZ #10253]
44722         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44723         (decompose_rpath): Defer expansion to fillin_rpath.
44724         (_dl_init_paths): Pass linkmap to fillin_rpath.
44726 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44728         * benchtests/Makefile: Add strsep.
44729         * benchtests/bench-strsep.c: New file: strsep benchtest.
44730         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44732 2013-11-18  Andreas Schwab  <schwab@suse.de>
44734         * locale/programs/locale.c (show_info) [case byte]: Check for
44735         '\377' instead of '\177'.
44736         * locale/C-monetary.c (not_available): Always use "\377".
44737         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44738         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44739         detect unavailable sign_posn locale elements.
44740         * locale/localeconv.c (__localeconv): For grouping and
44741         mon_grouping handle "\177" and "\377" like no grouping.
44742         (INT_ELEM): New macro.  Use it to set all numeric members.
44743         * locale/programs/ld-monetary.c (monetary_read)
44744         <tok_mon_grouping>: Normalize single -1 to the empty string.
44745         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44746         Likewise.
44748 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44750         [BZ #16055]
44751         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44752         when we match (nil).
44753         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44755 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44757         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44758         (NO_TEST_INLINE): Update value.
44759         (ERRNO_UNCHANGED): Likewise.
44760         (ERRNO_EDOM): Likewise.
44761         (ERRNO_ERANGE): Likewise.
44762         (IGNORE_RESULT): Likewise.
44763         (check_float_internal): Check signs of NaN results if
44764         TEST_NAN_SIGN used.
44765         (check_complex): Pass TEST_NAN_SIGN flag through to second
44766         check_float_internal call.
44767         (copysign_test_data): Add tests with quiet NaNs as second
44768         argument.  Use TEST_NAN_SIGN.
44769         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44770         TEST_NAN_SIGN.
44771         (signbit_test_data): Add tests of quiet NaN argument.
44772         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44774         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44775         $ignore_result.
44776         (parse_args): Handle function results specified as IGNORE.
44777         * math/libm-test.inc (IGNORE_RESULT): New macro.
44778         (check_float_internal): Do not check numerical result if flag
44779         IGNORE_RESULT set.
44780         (check_complex): Pass through IGNORE_RESULT to second
44781         check_float_internal call.
44782         (check_int): Do not check numerical result if flag IGNORE_RESULT
44783         set.
44784         (check_long): Likewise.
44785         (check_bool): Likewise.
44786         (check_longlong): Likewise.
44787         (lrint_test_data): Add tests of infinite and NaN arguments.
44788         (lrint_tonearest_test_data): Likewise.
44789         (lrint_towardzero_test_data): Likewise.
44790         (lrint_downward_test_data): Likewise.
44791         (lrint_upward_test_data): Likewise.
44792         (llrint_test_data): Likewise.
44793         (llrint_tonearest_test_data): Likewise.
44794         (llrint_towardzero_test_data): Likewise.
44795         (llrint_downward_test_data): Likewise.
44796         (llrint_upward_test_data): Likewise.
44797         (lround_test_data): Likewise.
44798         (llround_test_data): Likewise.
44800         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44801         (ERRNO_UNCHANGED): Update value.
44802         (ERRNO_EDOM): Likewise.
44803         (ERRNO_ERANGE): Likewise.
44804         (NO_TEST_INLINE_FLOAT): New macro.
44805         (NO_TEST_INLINE_DOUBLE): Likewise.
44806         (enable_test): New function.
44807         (RUN_TEST_f_f): Check enable_test before running test.
44808         (RUN_TEST_2_f): Likewise.
44809         (RUN_TEST_fff_f): Likewise.
44810         (RUN_TEST_c_f): Likewise.
44811         (RUN_TEST_f_f1): Likewise.
44812         (RUN_TEST_fF_f1): Likewise.
44813         (RUN_TEST_fI_f1): Likewise.
44814         (RUN_TEST_ffI_f1): Likewise.
44815         (RUN_TEST_c_c): Likewise.
44816         (RUN_TEST_cc_c): Likewise.
44817         (RUN_TEST_f_i): Likewise.
44818         (RUN_TEST_f_i_tg): Likewise.
44819         (RUN_TEST_ff_i_tg): Likewise.
44820         (RUN_TEST_f_b): Likewise.
44821         (RUN_TEST_f_b_tg): Likewise.
44822         (RUN_TEST_f_l): Likewise.
44823         (RUN_TEST_f_L): Likewise.
44824         (RUN_TEST_fFF_11): Likewise.
44825         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44826         conditionals.
44827         (cosh_test_data): Likewise.
44828         (exp_test_data): Likewise.
44829         (expm1_test_data): Likewise.
44830         (hypot_test_data): Likewise.
44831         (pow_test_data): Likewise.
44832         (sinh_test_data): Likewise.
44833         (tanh_test_data): Likewise.
44834         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44835         flags argument.
44837         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44838         tests with quiet NaN input and output.
44839         (acosh_test_data): Likewise.
44840         (asin_test_data): Likewise.
44841         (asinh_test_data): Likewise.
44842         (atan_test_data): Likewise.
44843         (atanh_test_data): Likewise.
44844         (atan2_test_data): Likewise.
44845         (cbrt_test_data): Likewise.
44846         (cos_test_data): Likewise.
44847         (cosh_test_data): Likewise.
44848         (erf_test_data): Likewise.
44849         (erfc_test_data): Likewise.
44850         (exp_test_data): Likewise.
44851         (exp10_test_data): Likewise.
44852         (exp2_test_data): Likewise.
44853         (expm1_test_data): Likewise.
44854         (hypot_test_data): Likewise.
44855         (j0_test_data): Likewise.
44856         (j1_test_data): Likewise.
44857         (jn_test_data): Likewise.
44858         (lgamma_test_data): Likewise.
44859         (log_test_data): Likewise.
44860         (log10_test_data): Likewise.
44861         (log1p_test_data): Likewise.
44862         (log2_test_data): Likewise.
44863         (pow_test_data): Likewise.
44864         (scalb_test_data): Likewise.
44865         (sin_test_data): Likewise.
44866         (sincos_test_data): Likewise.
44867         (sinh_test_data): Likewise.
44868         (tan_test_data): Likewise.
44869         (tanh_test_data): Likewise.
44870         (tgamma_test_data): Likewise.
44871         (y0_test_data): Likewise.
44872         (y1_test_data): Likewise.
44873         (yn_test_data): Likewise.
44875         [BZ #16167]
44876         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44877         argument being NaN and avoid computations with second argument in
44878         that case.
44879         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44880         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44881         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44883 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44885         * locale/iso-639.def: Add Chitwani Tharu (the).
44887 2013-11-14  Andreas Schwab  <schwab@suse.de>
44889         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44890         word instead of empty string.
44892 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44895         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44897         (__fe_nomask_env): Likewise.
44899 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44901         * benchtests/bench-timing.h: Include time.h.
44903 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44905         [BZ #15997]
44906         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44907         to 3.4.0 for x32.
44908         * sysdeps/unix/sysv/linux/configure: Regenerated.
44910 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44912         [BZ #16151]
44913         * stdlib/strtod_l.c (round_and_return): Do not consider
44914         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44915         exponent one less than half the least subnormal exponent.
44916         * stdlib/test-strtod-round-data: Add more tests.
44917         * stdlib/tst-strtod-round.c (tests): Regenerated.
44919 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44921         [BZ #14143]
44922         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44923         (__fe_mask_env): Likewise.
44924         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44925         libm_hidden_proto and add function prototype.
44926         (__fe_mask_env): Add function prototype.
44927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44928         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44930         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44932         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44934 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44936         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44937         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44939 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44941         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44942         of htab_find_slot().
44944 2013-11-11  David S. Miller  <davem@davemloft.net>
44946         [BZ #16150]
44947         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44948         symbol in the non-vis3 case in static builds.
44949         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44950         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44951         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44952         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44954 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44956         [BZ #387]
44957         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44958         it is empty.
44960 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44962         * benchtests/Makefile: Add bench-strtod.
44963         * benchtests/bench-strtod.c: New file: strtod benchtest
44965 2013-11-11  Andreas Schwab  <schwab@suse.de>
44967         [BZ #16153]
44968         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44969         terminating NUL in key length.
44971 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44973         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44974         Add artificial ODP entry for vDSO symbol for PPC64.
44975         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44976         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44978 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44980         [BZ #15374]
44981         * nss/getent.c (services_keys): Recognize services starting with digit.
44983 2013-11-06  David S. Miller  <davem@davemloft.net>
44985         [BZ #15985]
44986         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44987         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44989 2013-11-06  Will Newton  <will.newton@linaro.org>
44991         * manual/memory.texi (Malloc Examples): Remove register
44992         keyword from examples.
44994 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44996         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44998 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45000         [BZ #6981]
45001         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45002         depending on [__GCC_IEC_559 > 0].
45003         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45004         depending on [__GCC_IEC_559_COMPLEX > 0].
45006 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45008         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45009         to iso-639.def.
45011 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45013         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45015 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45017         [BZ #16112]
45018         * malloc/malloc (malloc_info): Do not handle first bin as
45019         special case.
45021 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45023         * locale/iso-639.def: Add Central Nahuatl (nhn).
45025 2013-11-01  Bruno Haible  <bruno@clisp.org>
45027         [BZ #7003]
45028         * manual/math.texi (BSD Random): Specify range upper bound as
45029         in POSIX.
45031 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45033         * locale/iso-639.def: Add Meadow Mari (mhr).
45035 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45037         [BZ #14752], [BZ #15763]
45038         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45039         Validate name.
45040         * rt/tst_shm.c: Add test for escaping directory.
45042 2013-10-31  Andreas Schwab  <schwab@suse.de>
45044         [BZ #15917]
45045         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45046         followed by 'x' as part of digit sequence.
45047         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45049 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45051         [BZ #16037]
45052         * configure.ac: allow GNU Make 4.0 and greater.
45053         * configure: Regenerated.
45055 2013-10-30  Will Newton  <will.newton@linaro.org>
45057         [BZ #16038]
45058         * malloc/hooks.c (memalign_check): Limit alignment to the
45059         maximum representable power of two.
45060         * malloc/malloc.c (__libc_memalign): Likewise.
45061         * malloc/tst-memalign.c (do_test): Add test for very
45062         large alignment values.
45063         * malloc/tst-posix_memalign.c (do_test): Likewise.
45065 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45067         [BZ #11087]
45068         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45069         (munmap_chunk): Likewise.
45070         (mremap_chunk): Likewise.
45072 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45074         [BZ #15799]
45075         * stdlib/div.c (div): Remove obsolete code.
45076         * stdlib/ldiv.c (ldiv): Likewise.
45077         * stdlib/lldiv.c (lldiv): Likewise.
45079 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45081         [BZ #16071]
45082         * nss/nss_files/files-XXX.c (get_contents_ret): New
45083         enumerator.
45084         (get_contents): New function.
45085         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45087 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45089         * configure.in: Moved to ...
45090         * configure.ac: ... here. Change reference to configure.in
45091         to configure.ac.
45092         * sysdeps/arm/preconfigure.ac: ... here.
45093         configure.in to configure.ac.
45094         * sysdeps/gnu/configure.in: Moved to ...
45095         * sysdeps/gnu/configure.ac: ... here.
45096         * sysdeps/i386/configure.in: Moved to ...
45097         * sysdeps/i386/configure.ac: ... here.
45098         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45099         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45100         * sysdeps/mach/configure.in: Moved to ...
45101         * sysdeps/mach/configure.ac: ... here.
45102         * sysdeps/mach/hurd/configure.in: Moved to ...
45103         * sysdeps/mach/hurd/configure.ac: ... here.
45104         * sysdeps/powerpc/configure.in: Moved to ...
45105         * sysdeps/powerpc/configure.ac: ... here.
45106         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45107         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45108         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45109         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45110         * sysdeps/s390/s390-32/configure.in: Moved to ...
45111         * sysdeps/s390/s390-32/configure.ac: ... here.
45112         * sysdeps/s390/s390-64/configure.in: Moved to ...
45113         * sysdeps/s390/s390-64/configure.ac: ... here.
45114         * sysdeps/sh/configure.in: Moved to ...
45115         * sysdeps/sh/configure.ac: ... here.
45116         * sysdeps/sparc/configure.in: Moved to ...
45117         * sysdeps/sparc/configure.ac: ... here.
45118         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45119         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45120         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45121         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45122         * sysdeps/x86_64/configure.in: Moved to ...
45123         * sysdeps/x86_64/configure.ac: ... here.
45124         * sysdeps/x86_64/preconfigure.in: Moved to ...
45125         * sysdeps/x86_64/preconfigure.ac: ... here.
45126         * aclocal.m4: Change reference to configure.in to configure.ac.
45127         * config.h.in: Likewise.
45128         * manual/install.texi: Likewise.
45129         * manual/maint.texi: Likewise.
45130         * Makefile: Likewise.
45131         * malloc/Makefile: Likewise.
45132         * nscd/Makefile: Likewise.
45133         * Makeconfig: Change reference to configure.in and
45134         preconfigure.in to configure.ac and preconfigure.ac
45135         respectively.
45136         * INSTALL: Regenerated.
45137         * configure: Likewise.
45138         * sysdeps/gnu/configure: Likewise.
45139         * sysdeps/i386/configure: Likewise.
45140         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45141         * sysdeps/mach/configure: Likewise.
45142         * sysdeps/mach/hurd/configure: Likewise.
45143         * sysdeps/powerpc/configure: Likewise.
45144         * sysdeps/powerpc/powerpc32/configure: Likewise.
45145         * sysdeps/powerpc/powerpc64/configure: Likewise.
45146         * sysdeps/s390/s390-32/configure: Likewise.
45147         * sysdeps/s390/s390-64/configure: Likewise.
45148         * sysdeps/sh/configure: Likewise.
45149         * sysdeps/sparc/configure: Likewise.
45150         * sysdeps/unix/sysv/linux/configure: Likewise.
45151         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45152         * sysdeps/x86_64/configure: Likewise.
45153         * sysdeps/x86_64/preconfigure: Likewise.
45155 2013-10-29  Andreas Schwab  <schwab@suse.de>
45157         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45159 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45161         * benchtests/pow-inputs: Add new inputs.
45163         * benchtests/exp-inputs: Add new inputs.
45165         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45166         conditional check for return value.
45167         (__cos32): Likewise.
45169 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45171         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45172         to provide a boost for large inputs with word alignment.
45173         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45174         implementation based on optimized PPC64 strcpy.
45175         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45176         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45177         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45178         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45180 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45182         [BZ #2801]
45183         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45185 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45187         [BZ #14876]
45188         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45189         * time/tst-strptime.c (day_tests): Add testcase.
45191 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45193         [BZ #14029]
45194         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45196 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45198         [BZ #16074]
45199         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45200         MAP_FAILED on error.
45202 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45204         [BZ #16072]
45205         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45206         heap for large requests.
45208 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45210         [BZ #9954]
45211         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45212         result if the result has no associated interface.
45213         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45214         interface for all 127.X.Y.Z addresses.
45216 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45218         * locale/iso-639.def: Add Ligurian (lij)
45220 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45222         [BZ #15825]
45223         * sunrpc/rpc_main.c: Document rpcgen -5.
45225 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45227         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45229 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45231         [BZ #10278]
45232         * posix/glob.c: Match only directories when trailing slash is present.
45233         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45234         (main): Add testcase.
45236 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45238         [BZ #15670]
45239         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45241 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45243         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45244         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45245         AUTH_DES and cindex for FIPS 140-2.
45246         (DES Encryption): Add cindex FIPS 46-3.
45248         * locale/locarchive.h (struct locarhandle): Add fname.
45249         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45250         if an optional argument was specified to --list-archive,
45251         otherwise NULL.
45252         * locale/programs/locarchive.c (show_archive_content): Take new
45253         argument fname and pass it via ah.fname to open_archive.
45254         * locale/programs/localedef.h: Update decl.
45255         (open_archive): If AH->fname is non-null, open that file
45256         rather than the default file name, and don't ignore ENOENT.
45257         (create_archive): Set AH.fname to NULL.
45258         (delete_locales_from_archive): Likewise.
45259         (add_locales_to_archive): Likewise.
45260         * locale/programs/locfile.c (write_all_categories): Likewise.
45262 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45263             Aldy Hernandez  <aldyh@redhat.com>
45265         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45266         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45267         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45268         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45269         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45270         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45271         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45272         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45273         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45274         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45275         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45276         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45277         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45278         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45279         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45280         Likewise.
45281         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45282         Likewise.
45283         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45284         Likewise.
45285         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45286         Likewise.
45287         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45288         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45289         Likewise.
45290         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45291         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45292         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45293         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45294         Likewise.
45295         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45296         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45297         * sysdeps/powerpc/preconfigure: Likewise.
45298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45299         Likewise.
45300         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45301         Replace contents of file by #include of <fenv_libc.h>.
45302         * sysdeps/powerpc/soft-fp/sfp-machine.h
45303         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45304         and <sys/prctl.h>.
45305         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45306         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45307         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45308         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45309         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45310         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45312         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45313         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45314         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45315         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45316         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45318         Allow copysignl PLT reference to be missing.
45320 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45321             Joseph Myers  <joseph@codesourcery.com
45323         [BZ #15948]
45324         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45325         single character.
45326         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45328 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45330         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45331         * elf/tst-tls1.c: Likewise.
45332         * elf/tst-tls10.h: Likewise.
45333         * elf/tst-tls14.c: Likewise.
45334         * elf/tst-tls2.c: Likewise.
45335         * elf/tst-tls3.c: Likewise.
45336         * elf/tst-tls4.c: Likewise.
45337         * elf/tst-tls5.c: Likewise.
45338         * elf/tst-tls6.c: Likewise.
45339         * elf/tst-tls7.c: Likewise.
45340         * elf/tst-tls8.c: Likewise.
45341         * elf/tst-tls9.c: Likewise.
45342         * elf/tst-tlsmod1.c: Likewise.
45343         * elf/tst-tlsmod13.c: Likewise.
45344         * elf/tst-tlsmod13a.c: Likewise.
45345         * elf/tst-tlsmod14a.c: Likewise.
45346         * elf/tst-tlsmod16a.c: Likewise.
45347         * elf/tst-tlsmod16b.c: Likewise.
45348         * elf/tst-tlsmod2.c: Likewise.
45349         * elf/tst-tlsmod3.c: Likewise.
45350         * elf/tst-tlsmod4.c: Likewise.
45351         * elf/tst-tlsmod5.c: Likewise.
45352         * elf/tst-tlsmod6.c: Likewise.
45354 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45356         [BZ #12486]
45357         * malloc/malloc.c: remove checks for statistics.
45359 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45361         [BZ #15277]
45362         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45363         * inet/tst-network.c: Add testcase.
45365 2013-10-17  Andreas Schwab  <schwab@suse.de>
45367         [BZ #15218]
45368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45369         to determine canonical name.
45371 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45373         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45374         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45375         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45376         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45377         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45378         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45379         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45380         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45381         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45382         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45383         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45384         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45385         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45386         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45387         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45388         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45389         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45390         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45391         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45392         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45393         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45395         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45396         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45397         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45398         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45399         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45400         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45401         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45402         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45403         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45404         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45405         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45406         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45407         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45408         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45409         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45410         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45411         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45412         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45413         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45414         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45415         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45416         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45417         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45418         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45419         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45420         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45421         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45422         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45423         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45424         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45425         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45426         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45427         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45428         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45429         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45430         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45432 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45434         [BZ #16041]
45435         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45436         make result into a quiet NaN.
45438 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45440         * soft-fp/adddf3.c: Fix horizontal whitespace.
45441         * soft-fp/addsf3.c: Likewise.
45442         * soft-fp/addtf3.c: Likewise.
45443         * soft-fp/divdf3.c: Likewise.
45444         * soft-fp/divsf3.c: Likewise.
45445         * soft-fp/divtf3.c: Likewise.
45446         * soft-fp/double.h: Likewise.
45447         * soft-fp/eqdf2.c: Likewise.
45448         * soft-fp/eqsf2.c: Likewise.
45449         * soft-fp/eqtf2.c: Likewise.
45450         * soft-fp/extenddftf2.c: Likewise.
45451         * soft-fp/extended.h: Likewise.
45452         * soft-fp/extendsfdf2.c: Likewise.
45453         * soft-fp/extendsftf2.c: Likewise.
45454         * soft-fp/extendxftf2.c: Likewise.
45455         * soft-fp/fixdfdi.c: Likewise.
45456         * soft-fp/fixdfsi.c: Likewise.
45457         * soft-fp/fixdfti.c: Likewise.
45458         * soft-fp/fixsfdi.c: Likewise.
45459         * soft-fp/fixsfsi.c: Likewise.
45460         * soft-fp/fixsfti.c: Likewise.
45461         * soft-fp/fixtfdi.c: Likewise.
45462         * soft-fp/fixtfsi.c: Likewise.
45463         * soft-fp/fixtfti.c: Likewise.
45464         * soft-fp/fixunsdfdi.c: Likewise.
45465         * soft-fp/fixunsdfsi.c: Likewise.
45466         * soft-fp/fixunsdfti.c: Likewise.
45467         * soft-fp/fixunssfdi.c: Likewise.
45468         * soft-fp/fixunssfsi.c: Likewise.
45469         * soft-fp/fixunssfti.c: Likewise.
45470         * soft-fp/fixunstfdi.c: Likewise.
45471         * soft-fp/fixunstfsi.c: Likewise.
45472         * soft-fp/fixunstfti.c: Likewise.
45473         * soft-fp/floatdidf.c: Likewise.
45474         * soft-fp/floatdisf.c: Likewise.
45475         * soft-fp/floatditf.c: Likewise.
45476         * soft-fp/floatsidf.c: Likewise.
45477         * soft-fp/floatsisf.c: Likewise.
45478         * soft-fp/floatsitf.c: Likewise.
45479         * soft-fp/floattidf.c: Likewise.
45480         * soft-fp/floattisf.c: Likewise.
45481         * soft-fp/floattitf.c: Likewise.
45482         * soft-fp/floatundidf.c: Likewise.
45483         * soft-fp/floatundisf.c: Likewise.
45484         * soft-fp/floatunditf.c: Likewise.
45485         * soft-fp/floatunsidf.c: Likewise.
45486         * soft-fp/floatunsisf.c: Likewise.
45487         * soft-fp/floatunsitf.c: Likewise.
45488         * soft-fp/floatuntidf.c: Likewise.
45489         * soft-fp/floatuntisf.c: Likewise.
45490         * soft-fp/floatuntitf.c: Likewise.
45491         * soft-fp/fmadf4.c: Likewise.
45492         * soft-fp/fmasf4.c: Likewise.
45493         * soft-fp/fmatf4.c: Likewise.
45494         * soft-fp/gedf2.c: Likewise.
45495         * soft-fp/gesf2.c: Likewise.
45496         * soft-fp/getf2.c: Likewise.
45497         * soft-fp/ledf2.c: Likewise.
45498         * soft-fp/lesf2.c: Likewise.
45499         * soft-fp/letf2.c: Likewise.
45500         * soft-fp/muldf3.c: Likewise.
45501         * soft-fp/mulsf3.c: Likewise.
45502         * soft-fp/multf3.c: Likewise.
45503         * soft-fp/negdf2.c: Likewise.
45504         * soft-fp/negsf2.c: Likewise.
45505         * soft-fp/negtf2.c: Likewise.
45506         * soft-fp/op-1.h: Likewise.
45507         * soft-fp/op-2.h: Likewise.
45508         * soft-fp/op-4.h: Likewise.
45509         * soft-fp/op-8.h: Likewise.
45510         * soft-fp/op-common.h: Likewise.
45511         * soft-fp/quad.h: Likewise.
45512         * soft-fp/single.h: Likewise.
45513         * soft-fp/soft-fp.h: Likewise.
45514         * soft-fp/sqrtdf2.c: Likewise.
45515         * soft-fp/sqrtsf2.c: Likewise.
45516         * soft-fp/sqrttf2.c: Likewise.
45517         * soft-fp/subdf3.c: Likewise.
45518         * soft-fp/subsf3.c: Likewise.
45519         * soft-fp/subtf3.c: Likewise.
45520         * soft-fp/truncdfsf2.c: Likewise.
45521         * soft-fp/trunctfdf2.c: Likewise.
45522         * soft-fp/trunctfsf2.c: Likewise.
45523         * soft-fp/trunctfxf2.c: Likewise.
45524         * soft-fp/unorddf2.c: Likewise.
45525         * soft-fp/unordsf2.c: Likewise.
45526         * soft-fp/unordtf2.c: Likewise.
45528 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45530         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45531         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45533 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45535         * elf/dl-libc.c: Clear initfini list after freeing.
45537 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45539         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45540         * soft-fp/addsf3.c: Likewise.
45541         * soft-fp/addtf3.c: Likewise.
45542         * soft-fp/divdf3.c: Likewise.
45543         * soft-fp/divsf3.c: Likewise.
45544         * soft-fp/divtf3.c: Likewise.
45545         * soft-fp/double.h: Likewise.
45546         * soft-fp/eqdf2.c: Likewise.
45547         * soft-fp/eqsf2.c: Likewise.
45548         * soft-fp/eqtf2.c: Likewise.
45549         * soft-fp/extenddftf2.c: Likewise.
45550         * soft-fp/extended.h: Likewise.
45551         * soft-fp/extendsfdf2.c: Likewise.
45552         * soft-fp/extendsftf2.c: Likewise.
45553         * soft-fp/extendxftf2.c: Likewise.
45554         * soft-fp/fixdfdi.c: Likewise.
45555         * soft-fp/fixdfsi.c: Likewise.
45556         * soft-fp/fixdfti.c: Likewise.
45557         * soft-fp/fixsfdi.c: Likewise.
45558         * soft-fp/fixsfsi.c: Likewise.
45559         * soft-fp/fixsfti.c: Likewise.
45560         * soft-fp/fixtfdi.c: Likewise.
45561         * soft-fp/fixtfsi.c: Likewise.
45562         * soft-fp/fixtfti.c: Likewise.
45563         * soft-fp/fixunsdfdi.c: Likewise.
45564         * soft-fp/fixunsdfsi.c: Likewise.
45565         * soft-fp/fixunsdfti.c: Likewise.
45566         * soft-fp/fixunssfdi.c: Likewise.
45567         * soft-fp/fixunssfsi.c: Likewise.
45568         * soft-fp/fixunssfti.c: Likewise.
45569         * soft-fp/fixunstfdi.c: Likewise.
45570         * soft-fp/fixunstfsi.c: Likewise.
45571         * soft-fp/fixunstfti.c: Likewise.
45572         * soft-fp/floatdidf.c: Likewise.
45573         * soft-fp/floatdisf.c: Likewise.
45574         * soft-fp/floatditf.c: Likewise.
45575         * soft-fp/floatsidf.c: Likewise.
45576         * soft-fp/floatsisf.c: Likewise.
45577         * soft-fp/floatsitf.c: Likewise.
45578         * soft-fp/floattidf.c: Likewise.
45579         * soft-fp/floattisf.c: Likewise.
45580         * soft-fp/floattitf.c: Likewise.
45581         * soft-fp/floatundidf.c: Likewise.
45582         * soft-fp/floatundisf.c: Likewise.
45583         * soft-fp/floatunsidf.c: Likewise.
45584         * soft-fp/floatunsisf.c: Likewise.
45585         * soft-fp/floatuntidf.c: Likewise.
45586         * soft-fp/floatuntisf.c: Likewise.
45587         * soft-fp/floatuntitf.c: Likewise.
45588         * soft-fp/fmadf4.c: Likewise.
45589         * soft-fp/fmasf4.c: Likewise.
45590         * soft-fp/fmatf4.c: Likewise.
45591         * soft-fp/gedf2.c: Likewise.
45592         * soft-fp/gesf2.c: Likewise.
45593         * soft-fp/getf2.c: Likewise.
45594         * soft-fp/ledf2.c: Likewise.
45595         * soft-fp/lesf2.c: Likewise.
45596         * soft-fp/letf2.c: Likewise.
45597         * soft-fp/muldf3.c: Likewise.
45598         * soft-fp/mulsf3.c: Likewise.
45599         * soft-fp/multf3.c: Likewise.
45600         * soft-fp/negdf2.c: Likewise.
45601         * soft-fp/negsf2.c: Likewise.
45602         * soft-fp/negtf2.c: Likewise.
45603         * soft-fp/op-1.h: Likewise.
45604         * soft-fp/op-2.h: Likewise.
45605         * soft-fp/op-4.h: Likewise.
45606         * soft-fp/op-8.h: Likewise.
45607         * soft-fp/op-common.h: Likewise.
45608         * soft-fp/quad.h: Likewise.
45609         * soft-fp/single.h: Likewise.
45610         * soft-fp/soft-fp.h: Likewise.
45611         * soft-fp/sqrtdf2.c: Likewise.
45612         * soft-fp/sqrtsf2.c: Likewise.
45613         * soft-fp/sqrttf2.c: Likewise.
45614         * soft-fp/subdf3.c: Likewise.
45615         * soft-fp/subsf3.c: Likewise.
45616         * soft-fp/subtf3.c: Likewise.
45617         * soft-fp/truncdfsf2.c: Likewise.
45618         * soft-fp/trunctfdf2.c: Likewise.
45619         * soft-fp/trunctfsf2.c: Likewise.
45620         * soft-fp/trunctfxf2.c: Likewise.
45621         * soft-fp/unorddf2.c: Likewise.
45622         * soft-fp/unordsf2.c: Likewise.
45623         * soft-fp/unordtf2.c: Likewise.
45625 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45627         [BZ #15672]
45628         * misc/error.c (error_tail): Fix possible buffer overflow.
45630 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45632         [BZ #13028]
45633         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45634         address.
45636 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45638         [BZ #832]
45639         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45640         testing pipefail option.
45642 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45644         * soft-fp/double.h: Indent preprocessor directives inside #if.
45645         * soft-fp/extended.h: Likewise.
45646         * soft-fp/op-2.h: Likewise.
45647         * soft-fp/op-4.h: Likewise.
45648         * soft-fp/op-common.h: Likewise.
45649         * soft-fp/quad.h: Likewise.
45650         * soft-fp/single.h: Likewise.
45651         * soft-fp/soft-fp.h: Likewise.
45653 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45655         * iconv/iconv_prog.c: Fix typos.
45656         * stdio-common/psiginfo-data.h: Likewise.
45658 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45660         [BZ #15764]
45661         * locale/setlocale.c: Fix typo.
45663 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45665         [BZ #16036]
45666         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45667         signaling NaN arguments.
45668         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45669         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45671         [BZ #14910]
45672         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45673         unordered operands.
45674         * soft-fp/gesf2.c (__gesf2): Likewise.
45675         * soft-fp/getf2.c (__getf2): Likewise.
45676         * soft-fp/ledf2.c (__ledf2): Likewise.
45677         * soft-fp/lesf2.c (__lesf2): Likewise.
45678         * soft-fp/letf2.c (__letf2): Likewise.
45680         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45681         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45682         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45683         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45684         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45685         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45686         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45687         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45688         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45689         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45690         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45691         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45692         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45693         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45694         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45695         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45696         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45697         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45698         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45699         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45700         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45701         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45702         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45703         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45704         * soft-fp/floattidf.c (__floattidf): Likewise.
45705         * soft-fp/floattisf.c (__floattisf): Likewise.
45706         * soft-fp/floattitf.c (__floattitf): Likewise.
45707         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45708         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45709         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45710         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45711         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45712         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45713         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45714         * soft-fp/gesf2.c (__gesf2): Likewise.
45715         * soft-fp/getf2.c (__getf2): Likewise.
45716         * soft-fp/ledf2.c (__ledf2): Likewise.
45717         * soft-fp/lesf2.c (__lesf2): Likewise.
45718         * soft-fp/letf2.c (__letf2): Likewise.
45720         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45721         Undefine and redefine.
45722         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45723         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45724         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45725         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45726         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45727         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45728         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45729         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45730         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45731         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45732         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45733         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45734         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45735         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45736         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45738         [BZ #16032]
45739         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45740         without decrementing exponent if mantissa >= that for the
45741         denominator, not >.
45742         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45743         denominator, not >.  Decrement exponent in < case instead of
45744         incrementing in >= case.
45745         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45746         without decrementing exponent if mantissa >= that for the
45747         denominator, not >.
45749         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45750         computing saturated result for unsigned overflow.
45752 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45753             Jeff Law  <law@redhat.com>
45755         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45756         (atan2Mp): Add systemtap probe marker.
45757         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45758         (__ieee754_log): Add systemtap probe marker.
45759         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45760         (atanMp): Add systemtap probe marker.
45761         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45762         (tanMp): Add systemtap probe marker.
45763         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45764         (__slowexp): Add systemtap probe marker.
45765         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45766         (__slowpow): Add systemtap probe marker.
45767         * manual/probes.texi: Document probes.
45769 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45771         [BZ #15362]
45772         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45773         written.
45774         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45775         written.
45776         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45777         written to buffer but not flushed.
45778         * libio/iofwrite_u.c:  Likewise.
45779         * libio/iopadn.c:  Return bytes returned even if EOF was
45780         encountered.
45781         * libio/iowpadn.c:  Likewise.
45782         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45783         if _IO_padn does not write the whole buffer.
45784         [!COMPILE_WPRINTF] (PAD): Likewise.
45786 2013-10-10  David S. Miller  <davem@davemloft.net>
45788         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45789         directory block.
45791 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45793         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45794         instead of FSF address.
45795         * soft-fp/fixdfti.c: Likewise.
45796         * soft-fp/fixsfti.c: Likewise.
45797         * soft-fp/fixtfti.c: Likewise.
45798         * soft-fp/fixunsdfti.c: Likewise.
45799         * soft-fp/fixunssfti.c: Likewise.
45800         * soft-fp/fixunstfti.c: Likewise.
45801         * soft-fp/floattidf.c: Likewise.
45802         * soft-fp/floattisf.c: Likewise.
45803         * soft-fp/floattitf.c: Likewise.
45804         * soft-fp/floatuntidf.c: Likewise.
45805         * soft-fp/floatuntisf.c: Likewise.
45806         * soft-fp/floatuntitf.c: Likewise.
45807         * soft-fp/trunctfxf2.c: Likewise.
45809         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45810         * soft-fp/fixdfti.c: Likewise.
45811         * soft-fp/fixsfti.c: Likewise.
45812         * soft-fp/fixtfti.c: Likewise.
45813         * soft-fp/fixunsdfti.c: Likewise.
45814         * soft-fp/fixunssfti.c: Likewise.
45815         * soft-fp/fixunstfti.c: Likewise.
45816         * soft-fp/floattidf.c: Likewise.
45817         * soft-fp/floattisf.c: Likewise.
45818         * soft-fp/floattitf.c: Likewise.
45819         * soft-fp/floatuntidf.c: Likewise.
45820         * soft-fp/floatuntisf.c: Likewise.
45821         * soft-fp/floatuntitf.c: Likewise.
45822         * soft-fp/trunctfxf2.c: Likewise.
45824 2013-10-10  David S. Miller  <davem@davemloft.net>
45826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45828 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45830         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45831         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45832         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45833         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45834         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45835         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45836         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45838         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45839         for NaNs before doing comparisons on argument.
45840         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45841         Likewise.
45843 2013-10-10  Will Newton  <will.newton@linaro.org>
45845         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45846         passed to _int_memalign does not overflow.
45848 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45850         * scripts/bench.pl: Add include-sources directive.
45851         * benchtests/README: Update documentation.
45853 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45855         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45856         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45857         instead of FP_INIT_ROUNDMODE.
45858         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45859         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45861         [BZ #16034]
45862         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45863         copy class of input value.
45864         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45865         not handle exceptions.
45866         * soft-fp/negsf2.c (__negsf2): Likewise.
45867         * soft-fp/negtf2.c (__negtf2): Likewise.
45868         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45870 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45872         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45873         semicolon.  From Linux kernel.
45875 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45877         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45879 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45881         [BZ #156]
45882         * manual/socket.texi: Added statement about buffer
45883         for gethostbyname2_r.
45885 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45887         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45888         Use .p2align directive instead, throughout.
45889         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45890         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45891         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45892         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45893         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45894         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45895         * sysdeps/x86_64/strchr.S: Likewise.
45896         * sysdeps/x86_64/strrchr.S: Likewise.
45898 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45900         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45902         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45904         * sysdeps/generic/math_private.h (__mpsin1): Remove
45905         declaration.
45906         (__mpcos1): Likewise.
45907         (__mpsin): New argument __range_reduce.
45908         (__mpcos): Likewise.
45909         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45910         (slow): Use __mpsin and __mpcos.
45911         (slow1): Likewise.
45912         (slow2): Likewise.
45913         (sloww): Likewise.
45914         (sloww1): Likewise.
45915         (sloww2): Likewise.
45916         (bsloww): Likewise.
45917         (bsloww1): Likewise.
45918         (bsloww2): Likewise.
45919         (cslow2): Likewise.
45920         (csloww): Likewise.
45921         (csloww1): Likewise.
45922         (csloww2): Likewise.
45923         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45924         range_reduce.  Merge in __mpsin1.
45925         (__mpcos): Likewise.
45926         (__mpsin1): Remove.
45927         (__mpcos1): Likewise.
45929 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45931         * locale/loadlocale.c (_nl_intern_locale_data): Use
45932         LOCFILE_ALIGNED_P.
45933         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45934         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45935         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45936         obstack data is appropriately aligned.
45937         (obstack_int32_grow_fast): Likewise.
45938         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45939         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45940         (add_locale_uint32_array): Likewise.
45942 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45944         * benchtests/Makefile: Remove ARGLIST and RET variables.
45945         ($(objpfx)bench-%.c): Pass only function name to the script.
45946         * benchtests/README: Update documentation.
45947         * benchtests/acos-inputs: Add new directives.
45948         * benchtests/acosh-inputs: Likewise.
45949         * benchtests/asin-inputs: Likewise.
45950         * benchtests/asinh-inputs: Likewise.
45951         * benchtests/atan-inputs: Likewise.
45952         * benchtests/atanh-inputs: Likewise.
45953         * benchtests/cos-inputs: Likewise.
45954         * benchtests/cosh-inputs: Likewise.
45955         * benchtests/exp-inputs: Likewise.
45956         * benchtests/log-inputs: Likewise.
45957         * benchtests/pow-inputs: Likewise.
45958         * benchtests/rint-inputs: Likewise.
45959         * benchtests/sin-inputs: Likewise.
45960         * benchtests/sinh-inputs: Likewise.
45961         * benchtests/tan-inputs: Likewise.
45962         * benchtests/tanh-inputs: Likewise.
45963         * scripts/bench.pl: Add support for new directives.
45965 2013-10-07  Alan Modra  <amodra@gmail.com>
45967         * README: Fix careless merge.
45969 2013-10-05  Alan Modra  <amodra@gmail.com>
45971         * NEWS: Mention powerpc64le support and bugs fixed.
45972         * README: Both big-endian and little-endian powerpc64 supported.
45974 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45976         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45977         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45978         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45979         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45981 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45983         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45984         match prototype.
45986 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45988         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45989         Move -mhard-float appending from
45990         ports/sysdeps/powerpc/powerpc32/Makefile.
45991         [$(with-fp) = yes] (ASFLAGS): Likewise.
45992         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45993         * sysdeps/powerpc/nofpu: Move directory from
45994         ports/sysdeps/powerpc/nofpu.
45995         * sysdeps/powerpc/soft-fp: Move directory from
45996         ports/sysdeps/powerpc/soft-fp.
45997         * sysdeps/powerpc/powerpc32/405: Move directory from
45998         ports/sysdeps/powerpc/powerpc32/405.
45999         * sysdeps/powerpc/powerpc32/440: Move directory from
46000         ports/sysdeps/powerpc/powerpc32/440.
46001         * sysdeps/powerpc/powerpc32/464: Move directory from
46002         ports/sysdeps/powerpc/powerpc32/464.
46003         * sysdeps/powerpc/powerpc32/476: Move directory from
46004         ports/sysdeps/powerpc/powerpc32/476.
46005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46006         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46008         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46010         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46012         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46014         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46015         * README: Update for powerpc-*-linux-gnu software floating point
46016         support in libc.
46018         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46019         case to powerpc/powerpc32*.
46020         * sysdeps/unix/sysv/linux/configure: Regenerated.
46022         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46023         (_FPU_MASK_OM): Define as 0x04.
46024         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46026         0x00c10080.
46027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46028         0x0000003c.
46029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46032         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46033         getcontext_e500.
46034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46035         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46036         setcontext_e500.
46037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46038         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46039         and setcontext_e500.
46041 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46043         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46045 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46047         * manual/threads.texi (Default Thread Attributes): Fix typo.
46049 2013-10-04  Will Newton  <will.newton@linaro.org>
46051         * malloc/Makefile: Add tst-memalign.
46052         * malloc/tst-memalign.c: New file.
46054         * malloc/tst-posix_memalign.c: Add comments.
46055         (do_test): Add comments and call free on all potentially
46056         allocated pointers. Add space after cast.
46058         * malloc/tst-pvalloc.c: Add comments.
46059         (do_test): Add comments and call free on all potentially
46060         allocated pointers. Remove duplicate check for NULL pointer.
46061         Add space after cast.
46063         * malloc/tst-valloc.c: Add comments.
46064         (do_test): Add comments and call free on all potentially
46065         allocated pointers. Remove duplicate check for NULL pointer.
46066         Add space after cast.
46068 2013-10-04  Alan Modra  <amodra@gmail.com>
46070         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46071         Use stdint types in rather than __attribute__((mode())).
46072         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46074 2013-10-04  Alan Modra  <amodra@gmail.com>
46076         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46077         Correct handling of unaligned relocs for little-endian.
46078         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46080 2013-10-04  Alan Modra  <amodra@gmail.com>
46082         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46083         * configure: Regenerate.
46084         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46085         * shlib-versions: Likewise.
46087 2013-10-04  Alan Modra  <amodra@gmail.com>
46089         * string/tester.c (test_memrchr): Increment reported test cycle.
46091 2013-10-04  Alan Modra  <amodra@gmail.com>
46093         * string/test-memcpy.c (do_one_test): When reporting errors, print
46094         string address and don't overrun end of string.
46096 2013-10-04  Alan Modra  <amodra@gmail.com>
46098         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46099         insrdi.  Make better use of reg selection to speed exit slightly.
46100         Schedule entry path a little better.  Remove useless "are we done"
46101         checks on entry to main loop.  Handle wrapping around zero address.
46102         Correct main loop count.  Handle single left-over word from main
46103         loop inline rather than by using loop_small.  Remove extra word
46104         case in loop_small caused by wrong loop count.  Add little-endian
46105         support.
46106         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46107         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46108         cache hint.
46109         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46110         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46111         support.  Avoid rlwimi.
46112         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46114 2013-10-04  Alan Modra  <amodra@gmail.com>
46116         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46117         insrdi.  Formatting.
46118         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46119         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46120         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46121         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46122         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46123         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46125 2013-10-04  Alan Modra  <amodra@gmail.com>
46127         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46128         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46129         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46130         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46131         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46132         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46133         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46134         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46135         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46136         use of regs.  Use power7 mtocrf.  Tidy function tails.
46138 2013-10-04  Alan Modra  <amodra@gmail.com>
46140         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46141         Formatting.  Consistently use rXXX register defines or rN defines.
46142         Use early exit labels that avoid restoring unused non-volatile regs.
46143         Make cr field use more consistent with rWORDn compares.  Rename
46144         regs used as shift registers for unaligned loop, using rN defines
46145         for short lifetime/multiple use regs.
46146         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46147         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46148         addi 1,1,64 to pop stack frame.  Simplify return value code.
46149         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46151 2013-10-04  Alan Modra  <amodra@gmail.com>
46153         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46154         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46155         rather than rlwimi.
46156         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46157         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46158         little-endian support.  Correct typos.
46159         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46160         rather than rlwimi.
46161         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46162         in loop and entry code to keep "and." results.
46163         (strchr): Add little-endian support.  Comment.  Move cntlzd
46164         earlier in tail.
46165         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46167 2013-10-04  Alan Modra  <amodra@gmail.com>
46169         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46170         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46171         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46172         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46174 2013-10-04  Alan Modra  <amodra@gmail.com>
46176         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46177         (rTMP): Define as r11.
46178         (strcmp): Add little-endian support.  Optimise tail.
46179         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46180         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46181         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46182         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46183         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46184         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46185         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46187 2013-10-04  Alan Modra  <amodra@gmail.com>
46189         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46190         little-endian support.  Remove unnecessary "are we done" tests.
46191         Handle "s" wrapping around zero and extremely large "size".
46192         Correct main loop count.  Handle single left-over word from main
46193         loop inline rather than by using small_loop.  Correct comments.
46194         Delete "zero" tail, use "end_max" instead.
46195         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46197 2013-10-04  Alan Modra  <amodra@gmail.com>
46199         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46200         support.  Don't branch over align.
46201         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46202         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46203         support.  Rearrange tmp reg use to suit.  Comment.
46204         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46206 2013-10-04  Alan Modra  <amodra@gmail.com>
46208         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46210 2013-10-04  Alan Modra  <amodra@gmail.com>
46212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46213         conditional form of branch and link when obtaining pc.
46214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46216 2013-10-04  Alan Modra  <amodra@gmail.com>
46218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46219         HIWORD/LOWORD.
46220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46223 2013-10-04  Alan Modra  <amodra@gmail.com>
46225         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46226         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46227         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46228         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46229         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46230         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46231         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46232         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46233         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46234         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46236 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46237             Alistair Popple <alistair@ozlabs.au.ibm.com>
46238             Alan Modra <amodra@gmail.com>
46240         [BZ #15723]
46241         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46242         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46243         _dl_hwcap access for little-endian.
46244         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46245         destroy vmx regs when saving unaligned.
46246         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46247         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46248         destroy vmx regs when saving unaligned.
46250 2013-10-04  Alan Modra  <amodra@gmail.com>
46252         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46253         Don't use a union to pack hi/low value.
46255 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46257         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46258         for little-endian.
46259         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46260         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46261         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46262         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46263         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46265 2013-10-04  Alan Modra  <amodra@gmail.com>
46267         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46268         constants to usual value for .cst8 section, and remove redundant
46269         high address load.
46270         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46271         constant for 0x1p52.  Load little-endian words of double from
46272         correct stack offsets.
46274 2013-10-04  Alan Modra  <amodra@gmail.com>
46276         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46277         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46278         words of double from correct stack offsets.
46279         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46280         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46281         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46282         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46283         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46284         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46285         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46286         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46287         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46288         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46289         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46290         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46291         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46292         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46293         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46294         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46295         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46297 2013-10-04  Alan Modra  <amodra@gmail.com>
46299         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46300         64-bit int/double union.
46301         (_FPU_SETCW): Likewise.
46302         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46303         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46305 2013-10-04  Alan Modra  <amodra@gmail.com>
46307         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46308         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46310 2013-10-04  Alan Modra  <amodra@gmail.com>
46312         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46313         use vector int constants.
46314         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46316 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46318         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46319         array with long long.
46320         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46321         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46322         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46323         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46324         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46325         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46326         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46327         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46328         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46329         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46330         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46331         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46332         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46334 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46336         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46337         (__signbit): Likewise.  Correct for little-endian.
46338         (__signbitl): Call __signbit.
46339         (lrint): Correct for little-endian.
46340         (lrintf): Call lrint.
46342 2013-10-04  Alan Modra  <amodra@gmail.com>
46344         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46345         union 32-bit int array member with 64-bit int array.
46346         (t515, tm256): Double rather than long double.
46347         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46349 2013-10-04  Alan Modra  <amodra@gmail.com>
46351         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46352         Delete.
46353         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46354         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46355         version of math_ldbl.h.
46357 2013-10-04  Alan Modra  <amodra@gmail.com>
46359         [BZ #15734], [BZ #15735]
46360         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46361         all uses of ieee875 long double macros and unions.  Simplify test
46362         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46363         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46364         normalize after ldbl_extract_mantissa, and don't add hidden bit
46365         already handled.  Don't treat low word of ieee854 mantissa like
46366         low word of IBM long double and mask off bit when testing for
46367         zero.
46368         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46369         all uses of ieee875 long double macros and unions.  Simplify tests
46370         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46371         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46372         two1022, instead use their values.  Recognise that tests for large
46373         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46374         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46375         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46376         test for 0.0L and nan.  Correct negation.
46377         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46378         ieee875 long double macros and unions.  Correct output for large
46379         magnitude x.  Correct absolute value calculation.
46380         (__erfcl): Likewise.
46381         * math/libm-test.inc: Add tests for errors discovered in IBM long
46382         double versions of fmodl, remainderl, erfl and erfcl.
46384 2013-10-04  Alan Modra  <amodra@gmail.com>
46386         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46387         all uses of ieee854 long double macros and unions.  Simplify tests
46388         for long doubles that are fully specified by the high double.
46389         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46390         Likewise.
46391         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46392         Remove dead code too.
46393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46394         (__ieee754_ynl): Likewise.
46395         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46396         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46397         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46398         Remove dead code too.
46399         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46400         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46401         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46402         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46403         Simplify.
46404         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46405         Simplify.
46406         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46407         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46409         Comment on variable precision.
46410         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46411         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46412         Likewise.
46413         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46414         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46415         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46416         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46417         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46419 2013-10-04  Alan Modra  <amodra@gmail.com>
46421         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46422         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46423         all uses of ieee854 long double macros and unions.
46424         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46425         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46426         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46427         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46428         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46429         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46430         Likewise.
46431         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46432         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46433         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46434         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46435         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46436         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46437         Simplify sign and nan test too.
46438         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46439         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46440         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46441         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46442         Likewise.
46443         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46444         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46445         Likewise.
46446         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46447         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46448         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46449         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46450         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46451         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46453 2013-10-04  Alan Modra  <amodra@gmail.com>
46455         * stdio-common/printf_size.c (__printf_size): Don't use
46456         union ieee854_long_double in fpnum union.
46457         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46458         signbit macro to retrieve sign from long double.
46459         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46460         retrieve sign from long double.
46461         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46462         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46463         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46464         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46465         * math/test-misc.c (main): Don't use union ieee854_long_double.
46467 2013-10-04  Alan Modra  <amodra@gmail.com>
46469         [BZ #15680]
46470         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46471         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46472         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46473         calculation.  Remove unnecessary test for denormal exponent.
46474         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46475         Correct handling of denormals.  Avoid undefined shift behaviour.
46476         Correct normalisation of low mantissa when low double is denormal.
46477         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46478         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46479         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46480         Correct normalisation of low mantissa.  Test for overflow of high
46481         mantissa and normalise.
46482         (ldbl_nearbyint): Use more readable constant for two52.
46483         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46484         (__mpn_construct_long_double): Fix test for overflow of high
46485         mantissa and correct normalisation.  Avoid undefined shift.
46487 2013-10-04  Alan Modra  <amodra@gmail.com>
46489         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46490         (union ibm_extended_long_double): Define as an array of ieee754_double.
46491         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46492         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46493         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46494         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46495         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46496         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46497         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46498         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46499         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46500         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46501         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46503 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46505         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46506         page size instead of calling getpagesize.
46508         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46509         (LOCFILE_ALIGN_MASK): Likewise.
46510         (LOCFILE_ALIGN_UP): Likewise.
46511         (LOCFILE_ALIGNED_P): Likewise.
46512         * locale/programs/ld-collate.c (collate_output): Use the new
46513         macros instead of __alignof__ (int32_t).
46514         * locale/weight.h (findidx): Likewise.
46516 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46518         [BZ #431]
46519         * manual/string.texi: Fix strncat and wcsncat.
46521 2013-10-03  Brooks Moses  <bmoses@google.com>
46523         [BZ #15915]
46524         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46525         * Makerules: ...here, and adjust associated comments.
46527 2013-10-02  Will Newton  <will.newton@linaro.org>
46529         * malloc/Makefile: Add tst-pvalloc.
46530         * malloc/tst-pvalloc.c: New file.
46532 2013-10-02  Will Newton  <will.newton@linaro.org>
46534         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46535         improve test coverage.
46537 2013-10-02  Will Newton  <will.newton@linaro.org>
46539         * malloc/Makefile: Add tst-posix_memalign.
46540         * malloc/tst-posix_memalign.c: New file.
46542 2013-10-01  Eric Blake  <eblake@redhat.com>
46544         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46545         Use __THROWNL rather than __THROW on static functions.
46547 2013-09-30  Petr Machata  <pmachata@redhat.com>
46549         * elf/elf.h (R_AARCH64_ABS16): New macro.
46550         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46551         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46552         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46553         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46554         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46555         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46556         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46557         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46558         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46559         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46560         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46561         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46562         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46563         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46564         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46565         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46566         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46567         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46568         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46569         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46570         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46571         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46572         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46573         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46574         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46575         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46576         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46577         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46578         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46579         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46580         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46581         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46582         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46583         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46584         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46585         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46586         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46587         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46588         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46589         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46590         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46591         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46592         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46593         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46594         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46595         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46596         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46597         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46598         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46599         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46600         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46601         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46602         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46603         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46604         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46605         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46606         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46607         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46608         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46609         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46610         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46611         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46612         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46613         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46614         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46615         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46616         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46617         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46618         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46619         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46620         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46621         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46622         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46623         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46624         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46625         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46626         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46627         (R_AARCH64_TLSDESC_LDR): Likewise.
46628         (R_AARCH64_TLSDESC_ADD): Likewise.
46629         (R_AARCH64_TLSDESC_CALL): Likewise.
46631 2013-09-30  Andreas Schwab  <schwab@suse.de>
46633         [BZ #15048]
46634         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46635         the nss database lookup.
46636         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46639 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46641         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46643 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46645         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46646         ${Bash-specific parameter/pattern/string} parameter expansion.
46647         * sysdeps/unix/make-syscalls.sh: Likewise.
46649 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46651         * sysdeps/sh/stackguard-macros.h: New file.
46653 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46657         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46658         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46659         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46660         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46662 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46664         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46665         Fix thread ID register.
46667 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46669         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46670         [POSIX || UNIX98]: Require rather than permitting all symbols from
46671         <time.h>.
46672         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46673         element of struct sched_param.
46674         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46675         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46676         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46677         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46678         constant.
46680 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46682         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46683         argument calculation.
46685 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46687         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46688         Expect macro.
46689         [POSIX] (pthread_attr_t): Do not require type.
46690         [POSIX] (pthread_cond_t): Likewise.
46691         [POSIX] (pthread_condattr_t): Likewise.
46692         [POSIX] (pthread_key_t): Likewise.
46693         [POSIX] (pthread_mutex_t): Likewise.
46694         [POSIX] (pthread_mutexattr_t): Likewise.
46695         [POSIX] (pthread_once_t): Likewise.
46696         [POSIX] (pthread_t): Likewise.
46697         [POSIX-based standards] (pthread_atfork): Expect function.
46699 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46700             Richard Sandiford  <richard@codesourcery.com>
46702         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46703         (swap_endianness_p): New extern variable.
46704         (set_big_endian): New inline function.
46705         (maybe_swap_uint32): Likewise.
46706         (maybe_swap_uint32_array): Likewise.
46707         (maybe_swap_uint32_obstack): Likewise.
46708         * locale/programs/locfile.c: Include <stdbool.h>.
46709         (swap_endianness_p): New variable.
46710         (add_locale_uint32): Call maybe_swap_uint32.
46711         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46712         (write_locale_data): Call maybe_swap_uint32_array.
46713         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46714         maybe_swap_uint32.
46715         (obstack_int32_grow_fast): Likewise.
46716         (output_weightwc): Call maybe_swap_uint32_obstack.
46717         (collate_output): Likewise.
46718         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46719         (OPT_LITTLE_ENDIAN): Likewise.
46720         (options): Add --little-endian and --big-endian options.
46721         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46722         * locale/programs/locarchive.c: Include "locfile.h".
46723         (GET): New macro.
46724         (SET): Likewise.
46725         (INC): Likewise.
46726         (create_archive): Use the new macros to access fields of
46727         structures directly mapped from or written to locale archives.
46728         (oldlocrecentcmp): Likewise.
46729         (enlarge_archive): Likewise.
46730         (insert_name): Likewise.
46731         (add_alias): Likewise.
46732         (add_locale): Likewise.
46733         (delete_locales_from_archive): Likewise.
46734         (show_archive_content): Likewise.
46735         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46736         locale data.
46738 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46740         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46741         http://www.gnu.org/doc/freemanuals.texi.
46742         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46744 2013-09-24  Will Newton  <will.newton@linaro.org>
46746         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46747         macro.
46749 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46751         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46752         unsigned char.
46754 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46756         * manual/threads.texi (POSIX Threads): Fix a typo.
46758 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46760         [BZ #14547]
46761         * string/tst-strcoll-overflow.c: New test case.
46762         * string/Makefile (xtests): Add tst-strcoll-overflow.
46763         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46764         cache if string sizes may cause integer overflow.
46766         [BZ #14547]
46767         * string/strcoll_l.c (coll_seq): New members rule, idx,
46768         save_idx and back_us.
46769         (get_next_seq_nocache): New function.
46770         (do_compare_nocache): New function.
46771         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46772         when malloc fails.
46774 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46776         [BZ #15754]
46777         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46778         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46779         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46781         [BZ #15754]
46782         * elf/Makefile (tests): Add tst-ptrguard1.
46783         (tests-static): Add tst-ptrguard1-static.
46784         (tst-ptrguard1-ARGS): Define.
46785         (tst-ptrguard1-static-ARGS): Define.
46786         * elf/tst-ptrguard1.c: New file.
46787         * elf/tst-ptrguard1-static.c: New file.
46788         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46789         * sysdeps/i386/stackguard-macros.h: Likewise.
46790         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46791         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46792         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46793         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46794         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46795         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46797 2013-09-23  Hector Marco  <hecmargi@upv.es>
46798             Ismael Ripoll  <iripoll@disca.upv.es>
46799             Carlos O'Donell  <carlos@redhat.com>
46801         [BZ #15754]
46802         * sysdeps/generic/stackguard-macros.h: Define
46803         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46804         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46805         Define __pointer_chk_guard_local.
46806         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46807         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46809 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46811         [BZ #15859]
46812         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46814 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46816         * include/string.h (__ffs): Declare as hidden.
46817         * string/ffs.c (__ffs): Define as hidden.
46818         * sysdeps/i386/ffs.c (__ffs): Likewise.
46819         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46820         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46821         * sysdeps/s390/ffs.c (__ffs): Likewise.
46822         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46824 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46826         * NEWS: Mention malloc probes.
46828         * malloc/arena.c (new_heap): New memory_heap_new probe.
46829         (grow_heap): New memory_heap_more probe.
46830         (shrink_heap): New memory_heap_less probe.
46831         (heap_trim): New memory_heap_free probe.
46832         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46833         (systrim): New memory_sbrk_less probe.
46834         * manual/probes.texi: Document them.
46836         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46837         * manual/probes.texi: Document it.
46839         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46840         (__libc_realloc): Add memory_realloc_retry probe.
46841         (__libc_memalign): Add memory_memalign_retry probe.
46842         (__libc_valloc): Add memory_valloc_retry probe.
46843         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46844         (__libc_calloc): Add memory_calloc_retry probe.
46845         * manual/probes.texi: Document them.
46847         * malloc/arena.c (get_free_list): Add probe
46848         memory_arena_reuse_free_list.
46849         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46850         and memory_arena_reuse.
46851         (arena_get2) [!PER_THREAD]: Likewise.
46852         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46853         memory_arena_reuse_realloc.
46854         * manual/probes.texi: Document them.
46856         * malloc/malloc.c (__libc_free): Add
46857         memory_mallopt_free_dyn_thresholds probe.
46858         (__libc_mallopt): Add multiple memory_mallopt probes.
46859         * manual/probes.texi: Document them.
46861         * malloc/malloc.c: Include stap-probe.h.
46862         (__libc_mallopt): Add memory_mallopt probe.
46863         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46864         * manual/probes.texi: New.
46865         * manual/Makefile (chapters): Add probes.
46866         * manual/threads.texi: Set next node.
46868 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46870         [BZ #15963, #13985]
46871         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46872         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46873         Add `Chinese' to `nan' entry name.
46875 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46877         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46878         (POLYNOMIAL): Likewise.
46879         (TAYLOR_SINCOS): Likewise.
46880         (TAYLOR_SLOW): Likewise.
46881         (__sin): Use TAYLOR_SINCOS.
46882         (__cos): Likewise.
46883         (slow): Use TAYLOR_SLOW.
46884         (sloww): Likewise.
46885         (bsloww): Likewise.
46886         (csloww): Likewise.
46888 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46890         * stdlib/strtod_l.c: Fix buffer overrun.
46892 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46894         * benchtests/Makefile (bench): Add sincos.
46895         * benchtests/bench-sincos.c: New file.
46897         * math/libm-test.inc (cos_test_data): New test inputs.
46898         (sin_test_data): Likewise.
46900         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46901         macro.
46902         (__sin): Use it.
46903         (__cos): Likewise.
46904         (slow1): Likewise.
46905         (slow2): Likewise.
46906         (sloww1): Likewise.
46907         (sloww2): Likewise.
46908         (bsloww1): Likewise.
46909         (bsloww2): Likewise.
46910         (cslow2): Likewise.
46911         (csloww1): Likewise.
46912         (csloww2): Likewise.
46914         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46915         function.
46916         (__sin): Use it.
46917         (__cos): Likewise.
46919         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46920         gotos.
46921         (__cos): Likewise.
46923 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46925         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46926         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46927         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46928         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46929         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46930         * elf/cache.c (print_entry): Handle the new cache flags.
46932 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46933             Aldy Hernandez  <aldyh@redhat.com>
46935         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46936         Change condition to [_SOFT_FLOAT].
46937         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46938         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46939         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46940         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46941         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46942         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46943         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46945         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46947         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46948         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46949         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46950         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46952         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46953         declaration.
46955 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46957         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46958         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46959         (__longjmp): Use LOAD_GP to load saved GPRs.
46960         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46961         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46962         (__sigsetjmp): Use SAVE_GP to save GPRs.
46964         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46965         Do not append -msoft-float.
46966         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46968 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46970         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46972 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46974         [BZ #15966]
46975         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46976         (_FPU_GETCW): Use initial "__" on variable and field names but not
46977         on macro parameter name.
46978         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46979         parentheses around reference to macro parameter.
46981 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46983         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46984         prototype.
46985         (ctype_startup): Use uint32_t in cast and sizeof for
46986         ctype->charnames.
46988 2013-09-11  Jia Liu  <proljc@gmail.com>
46990         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46991         __daddr_t_defined.
46992         [__FreeBSD__]: Likewise.
46994 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46997         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46998         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46999         (strchr): Remove __strchr_sse42 ifunc selection.
47000         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47001         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47003 2013-09-11  Will Newton  <will.newton@linaro.org>
47005         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47006         parameter to RES. Remove hardcoded 1000 value.
47007         * benchtests/bench-skeleton.c (main): Pass RES parameter
47008         to TIMING_INIT and multiply result by 1000.
47010 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47014 2013-09-11  Andreas Schwab  <schwab@suse.de>
47016         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47017         if not defined.
47018         (O_TMPFILE) [__USE_GNU]: Define.
47019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47020         Define.
47022 2013-09-11  Will Newton  <will.newton@linaro.org>
47024         [BZ #15857]
47025         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47026         does not overflow.
47028 2013-09-11  Will Newton  <will.newton@linaro.org>
47030         [BZ #15856]
47031         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47032         does not overflow.
47034 2013-09-11  Will Newton  <will.newton@linaro.org>
47036         [BZ #15855]
47037         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47038         does not overflow.
47040 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47042         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47043         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47044         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47045         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47046         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47048 2013-09-10  Allan McRae  <allan@archlinux.org>
47050         [BZ #15748]
47051         * manual/arith.texi (Parsing of Floats): Clarify
47052         cross-reference.
47054         [BZ #15849]
47055         * manual/install.texi (Running make install): Mention
47056         --enable-pt-chown.
47057         * INSTALL: Regenerated.
47059 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47061         * csu/init-first.c (_init): Remove the !SHARED condition around
47062         FPU control word initialization.
47063         * elf/dl-support.c (_dl_fpu_control): New variable.
47064         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47065         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47066         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47067         * math/test-fpucw-static.c: New file.
47068         * math/test-fpucw-ieee.c: New file.
47069         * math/test-fpucw-ieee-static.c: New file.
47070         * math/Makefile (tests): Add `test-fpucw-ieee' and
47071         `$(tests-static)'.
47072         (tests-static): New variable.
47073         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47074         dependency to...
47075         [($(build-shared),yes)]
47076         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47077         ... this.
47078         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47079         New dependency.
47081 2013-09-09  Allan McRae  <allan@archlinux.org>
47083         [BZ #15939]
47084         * manual/string.texi (Collation Functions): Fix typo in
47085         strcoll example.
47086         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47088         [BZ #15893]
47089         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47091         [BZ #15892]
47092         * libio/memstream.c (open_memstream): Fix memory leak.
47093         * libio/wmemstream.c (open_wmemstream): Likewise.
47095         [BZ #15895]
47096         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47098 2013-09-09  Will Newton  <will.newton@linaro.org>
47100         * malloc/Makefile: Add tst-realloc to tests.
47101         * malloc/tst-realloc.c: New file.
47103 2013-09-09  Allan McRae  <allan@archlinux.org>
47105         [BZ #15844]
47106         * COPYING: Update from GNU website to fix FSF address.
47107         * COPYING.LIB: Likewise.
47109 2013-09-06  David S. Miller  <davem@davemloft.net>
47111         * po/zh_TW.po: Update Chinese (traditional) translation from
47112         translation project.
47114 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47115             Joseph Myers  <joseph@codesourcery.com>
47117         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47118         "localeinfo.h".
47119         (obstack_chunk_alloc): New macro.
47120         (obstack_chunk_free): Likewise.
47121         (record_offset): New function.
47122         (init_locale_data): Likewise.
47123         (align_locale_data): Likewise.
47124         (add_locale_empty): Likewise.
47125         (add_locale_raw_data): Likewise.
47126         (add_locale_raw_obstack): Likewise.
47127         (add_locale_string): Likewise.
47128         (add_locale_wstring): Likewise.
47129         (add_locale_uint32): Likewise.
47130         (add_locale_uint32_array): Likewise.
47131         (add_locale_char): Likewise.
47132         (start_locale_structure): Likewise.
47133         (end_locale_structure): Likewise.
47134         (start_locale_prelude): Likewise.
47135         (end_locale_prelude): Likewise.
47136         (write_locale_data): Take locale_file structure rather than an
47137         iovec.
47138         * locale/programs/locfile.h: Include "obstack.h".
47139         (struct locale_file): Change to store locale file contents instead
47140         of header.
47141         (init_locale_data): New prototype.
47142         (align_locale_data): Likewise.
47143         (add_locale_empty): Likewise.
47144         (add_locale_raw_data): Likewise.
47145         (add_locale_raw_obstack): Likewise.
47146         (add_locale_string): Likewise.
47147         (add_locale_wstring): Likewise.
47148         (add_locale_uint32): Likewise.
47149         (add_locale_uint32_array): Likewise.
47150         (add_locale_char): Likewise.
47151         (start_locale_structure): Likewise.
47152         (end_locale_structure): Likewise.
47153         (start_locale_prelude): Likewise.
47154         (end_locale_prelude): Likewise.
47155         (write_locale_data): Update prototype.
47156         * locale/programs/3level.h (struct TABLE): Remove result field.
47157         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47158         Use new locale_file interface.
47159         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47160         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47161         * locale/programs/ld-address.c (address_output): Use new
47162         locale_file interface.
47163         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47164         NO_ADD_LOCALE.
47165         (collate_finish): Don't call collseq_table_finalize.
47166         (collate_output): Use new locale_file interface.
47167         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47168         in file.
47169         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47170         (TABLE): Move defines earlier in file.
47171         (ELEMENT): Likewise.
47172         (DEFAULT): Likewise.
47173         (wctrans_table_add): Move macro and inline function earlier in
47174         file.
47175         (struct wctype_table): Move type earlier in file.
47176         (add_locale_wctype_table): New static prototype.
47177         (struct locale_ctype_t): Use logical types instead of struct iovec
47178         pointers for members.
47179         (ctype_output): Use new locale_file interface.
47180         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47181         new locale_file interface.
47182         (allocate_arrays): Update for use of new locale_file interface.
47183         * locale/programs/ld-identification.c (identification_output): Use
47184         new locale_file interface.
47185         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47186         * locale/programs/ld-messages.c (messages_output): Likewise.
47187         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47188         * locale/programs/ld-name.c (name_output): Likewise.
47189         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47190         * locale/programs/ld-paper.c (paper_output): Likewise.
47191         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47192         * locale/programs/ld-time.c (time_output): Likewise.
47194 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47196         * benchtests/Makefile: Add memrchr benchmark.
47197         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47198         benchmark as memrchr.
47199         * benchtests/bench-memrchr-ifunc.c: New file.
47200         * benchtests/bench-memrchr.c: New file.
47202 2013-09-06   Will Newton  <will.newton@linaro.org>
47204         * benchtests/Makefile (string-bench): Add memcpy.
47206 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47207             Cong Wang  <amwang@redhat.com>
47209         [BZ #15850]
47210         * sysdeps/unix/sysv/linux/bits/in.h
47211         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47212         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47213         before __USE_KERNEL_IPV6_DEFS uses.
47214         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47215         IPPROTO_BEETPH.
47216         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47217         sockaddr_in6, or ipv6_mreq.
47219 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47221         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47222         memory access for final bytes in some large inputs.
47223         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47225 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47227         * string/test-memrchr.c: New file.
47228         * string/test-memrchr-ifunc.c: New file.
47229         * string/Makefile: Add new memrchr testcase.
47231 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47233         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47234         fanotify_init returns EPERM.
47236 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47238         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47239         errors.
47240         (top level): Treat second token from macro or constant entries for
47241         allowed headers as allowed.
47242         * include/complex.h: Condition internal declarations on
47243         [!_ISOMAC].
47244         * include/fenv.h: Condition include of <stdbool.h> and internal
47245         declarations on [!_ISOMAC].
47247 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47249         [BZ #15923]
47250         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47252 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47254         * configure.in (--enable-versioning): Remove configure option.
47255         (libc_cv_asm_symver_directive): Remove configure test.
47256         (libc_cv_ld_version_script_option): Likewise.
47257         (VERSIONING): Remove variable and AC_SUBST.
47258         (DO_VERSIONING): Remove AC_DEFINE.
47259         * configure: Regenerated.
47260         * config.h.in (DO_VERSIONING): Remove macro.
47261         * Makerules [$(versioning) = yes]: Change conditionals to
47262         [$(build-shared) = yes].
47263         * config.make.in (versioning): Remove variable.
47264         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47265         [$(build-shared) = yes].
47266         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47267         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47268         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47269         [$(build-shared) = yes].
47270         * extra-lib.mk [$(versioning) = yes]: Likewise.
47271         * hurd/Makefile [$(versioning) = yes]: Likewise.
47272         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47273         [SHARED].
47274         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47275         [SHARED].
47276         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47277         [SHARED && !NO_HIDDEN].
47278         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47279         [SHARED].
47280         [SHARED && DO_VERSIONING]: Likewise..
47281         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47282         [$(build-shared) = yes].
47283         * manual/install.texi (--disable-versioning): Remove
47284         documentation.
47285         * INSTALL: Regenerated.
47286         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47287         to [SHARED].
47288         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47289         [$(build-shared) = yes].
47290         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47291         * sysdeps/i386/i686/multiarch/strstr-c.c
47292         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47293         [SHARED && !NO_HIDDEN].
47294         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47295         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47296         * sysdeps/powerpc/powerpc32/dl-machine.c
47297         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47298         * sysdeps/powerpc/powerpc32/sysdep.h
47299         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47300         to [SHARED && PIC && !NO_HIDDEN].
47301         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47302         conditional to [SHARED].
47304 2013-09-04   Will Newton  <will.newton@linaro.org>
47306         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47307         * benchtests/bench-string.h: Include bench-timing.h instead
47308         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47309         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47310         call to HP_TIMING_DIFF_INIT.
47311         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47312         instead of hp-timing.h macros.
47313         * benchtests/bench-memchr.c: Likewise.
47314         * benchtests/bench-memcmp.c: Likewise.
47315         * benchtests/bench-memcpy.c: Likewise.
47316         * benchtests/bench-memmem.c: Likewise.
47317         * benchtests/bench-memmove.c: Likewise.
47318         * benchtests/bench-memset.c: Likewise.
47319         * benchtests/bench-rawmemchr.c: Likewise.
47320         * benchtests/bench-strcasecmp.c: Likewise.
47321         * benchtests/bench-strcasestr.c: Likewise.
47322         * benchtests/bench-strcat.c: Likewise.
47323         * benchtests/bench-strchr.c: Likewise.
47324         * benchtests/bench-strcmp.c: Likewise.
47325         * benchtests/bench-strcpy.c: Likewise.
47326         * benchtests/bench-strcpy_chk.c: Likewise.
47327         * benchtests/bench-strlen.c: Likewise.
47328         * benchtests/bench-strncasecmp.c: Likewise.
47329         * benchtests/bench-strncat.c: Likewise.
47330         * benchtests/bench-strncmp.c: Likewise.
47331         * benchtests/bench-strncpy.c: Likewise.
47332         * benchtests/bench-strnlen.c: Likewise.
47333         * benchtests/bench-strpbrk.c: Likewise.
47334         * benchtests/bench-strrchr.c: Likewise.
47335         * benchtests/bench-strspn.c: Likewise.
47336         * benchtests/bench-strstr.c: Likewise.
47338 2013-09-04  Will Newton  <will.newton@linaro.org>
47340         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47342 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47344         [BZ #15427]
47345         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47346         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47347         * math/libm-test.inc (lgamma_test_data): Add more tests.
47348         * sysdeps/i386/fpu/libm-test-ulps: Update.
47349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47351 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47353         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47355         Add ifunc.
47356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47357         Add strcmp-sse2-unaligned
47358         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47360 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47362         * Versions.def (libc): Add GLIBC_2.19.
47364 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47366         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47367         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47369 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47371         [BZ #14155]
47372         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47373         intermediate calculations in recurrence.
47374         (__ieee754_ynf): Likewise.
47375         * math/libm-test.inc (jn_test_data): Do not allow spurious
47376         underflow exception.  Add more tests.
47377         (yn_test_data): Add more tests.
47378         * sysdeps/i386/fpu/libm-test-ulps: Update.
47379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47381 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47383         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47385 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47387         * csu/init-first.c: Fix then/than typos.
47388         * locale/programs/ld-collate.c: Likewise.
47389         * locale/programs/linereader.h: Likewise.
47390         * manual/charset.texi: Likewise.
47391         * manual/filesys.texi: Likewise.
47392         * manual/stdio.texi: Likewise.
47393         * manual/string.texi: Likewise.
47394         * stdlib/fmtmsg.c: Likewise.
47395         * sysdeps/i386/stpncpy.S: Likewise.
47396         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47397         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47399         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47401 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47403         * elf/dl-open.c: Fix typos.
47404         * iconvdata/gbbig5.c: Likewise.
47405         * iconvdata/iso-2022-jp.c: Likewise.
47406         * iconv/gconv_int.h: Likewise.
47407         * iconv/loop.c: Likewise.
47408         * nis/rpcsvc/nis.h: Likewise.
47409         * resolv/ns_name.c: Likewise.
47410         * stdio-common/vfscanf.c: Likewise.
47411         * streams/stropts.h: Likewise.
47412         * sunrpc/rpc_thread.c: Likewise.
47413         * sysdeps/i386/strpbrk.S: Likewise.
47414         * sysdeps/ieee754/k_standard.c: Likewise.
47415         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47416         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47417         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47418         * sysdeps/mach/hurd/profil.c: Likewise.
47419         * sysdeps/s390/dl-procinfo.h: Likewise.
47420         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47421         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47422         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47423         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47424         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47426 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47428         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47431 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47433         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47434         aix specific files.
47435         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47436         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47437         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47438         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47439         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47440         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47441         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47442         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47444 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47445             Roland McGrath  <roland@hack.frob.com>
47447         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47448         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47450 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47452         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47453         __executable_start symbol instead of _start.
47455 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47457         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47458         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47459         Move macros to...
47460         * sysdeps/gnu/ldsodefs.h: ... this new file.
47462         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47463         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47464         instead of ELFOSABI_LINUX.
47466         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47467         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47468         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47469         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47470         Likewise.
47471         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47472         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47473         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47474         Likewise.
47475         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47476         (ibm_extended_long_double): Add ieee_nan member.
47477         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47478         (do_test): New function.
47480         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47481         TEST_TRUNC.
47482         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47483         functions, renamed from truncdfsf_test, trunctfsf_test,
47484         trunctfdf_test.
47485         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47486         functions.
47487         (do_test): Run all these.
47489 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47491         * argp/argp-help.c: Fix typos.
47492         * argp/argp-parse.c: Likewise.
47493         * debug/backtracesyms.c: Likewise.
47494         * elf/elf.h: Likewise.
47495         * malloc/malloc.c: Likewise.
47496         * nis/nis_print.c: Likewise.
47497         * resolv/res_comp.c: Likewise.
47498         * stdlib/stdlib.h: Likewise.
47499         * sunrpc/clnt_tcp.c: Likewise.
47500         * sunrpc/clnt_udp.c: Likewise.
47501         * sunrpc/clnt_unix.c: Likewise.
47502         * sysdeps/unix/bsd/ptsname.c: Likewise.
47503         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47504         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47506         Likewise.
47507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47508         Likewise.
47509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47510         Likewise.
47511         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47513 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47515         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47518 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47520         [BZ #15897]
47521         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47522         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47523         ($(objpfx)bug-dl-leaf): New rule.
47524         ($(objpfx)bug-dl-leaf.so): Likewise.
47525         ($(objpfx)bug-dl-leaf.out): Likewise.
47526         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47527         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47528         * dlfcn/bug-dl-leaf.c: New test.
47529         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47530         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47531         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47532         (dlclose): Likewise.
47533         (dlmopen): Likewise.
47535 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47537         * include/netdb.h [!_ISOMAC]:
47538         Don't include <tls.h>.
47539         (h_errno, __libc_h_errno): Move declaration and macros out of
47540         [_LIBC_REENTRANT].
47542         * include/resolv.h [_RESOLV_H_]:
47543         Don't include <tls.h>.
47544         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47545         * resolv/res_libc.c: Don't include <tls.h>.
47546         (_res): Use __attribute__ ((nocommon)) in place of
47547         __attribute__ ((section (".bss"))).
47549         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47550         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47552         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47554         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47555         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47557         * resolv/res_mkquery.c: Include <sys/time.h>.
47559         * inet/ifreq.c: Moved to ...
47560         * sysdeps/unix/ifreq.c: ... here.
47561         * inet/ifreq.c: New file, true stub version.
47563         * socket/sa_len.c: New file.
47564         * socket/Makefile (aux): Add it.
47565         * sysdeps/unix/sysv/linux/Makefile
47566         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47567         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47568         and #include <socket/sa_len.c>.
47569         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47570         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47572         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47573         * bits/socket.h: ... here.
47575         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47576         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47577         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47579 2013-08-27  Andreas Schwab  <schwab@suse.de>
47581         [BZ #15736]
47582         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47583         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47584         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47585         * string/test-strcasecmp.c (test_main): Run tests in several
47586         locales.
47587         * string/test-strncasecmp.c (test_main): Likewise.
47589         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47590         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47591         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47592         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47593         (__strncasecmp_ssse3) [PIC]: Likewise.
47595 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47597         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47599         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47600         instead of explicitly declaring xdecrypt.
47601         * nis/nss_nis/nis-publickey.c: Likewise.
47603 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47605         [BZ #15890]
47606         * nscd/aicache.c: Include res_hconf.h.
47607         (addhstaiX): Initialize res_hconf.
47609 2013-08-26  Andreas Schwab  <schwab@suse.de>
47611         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47612         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47614 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47616         * nscd/aicache.c (addhstaiX): Fix indentation.
47618 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47620         * configure.ac: Quote $build_pt_chown test.
47621         * configure: Regenerated.
47623 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47625         [BZ #15532]
47626         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47627         * math/s_cexpf.c (__cexpf): Likewise.
47628         * math/s_cexpl.c (__cexpl): Likewise.
47629         * math/libm-test.inc (cexp_test_data): Correct expected return
47630         value for NaN + i0.  Add another test.
47632 2013-08-22  David S. Miller  <davem@davemloft.net>
47634         * po/ca.po: Update Catalan translation from translation project.
47635         * po/uk.po: Add Ukrainian translations from translation project.
47637 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47639         [BZ #15797]
47640         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47641         is infinite, not alongside NaN test.
47642         * math/s_fdimf.c (__fdimf): Likewise.
47643         * math/s_fdiml.c (__fdiml): Likewise.
47644         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47645         errno is unchanged.
47647 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47649         * argp/argp-help.c: Fix typos.
47650         * crypt/speeds.c: Likewise.
47651         * csu/check_fds.c: Likewise.
47652         * elf/dl-load.c: Likewise.
47653         * elf/dl-open.c: Likewise.
47654         * elf/reldep3.c: Likewise.
47655         * elf/reldep.c: Likewise.
47656         * elf/sprof.c: Likewise.
47657         * iconv/iconv_charmap.c: Likewise.
47658         * iconv/skeleton.c: Likewise.
47659         * iconv/strtab.c: Likewise.
47660         * io/lockf64.c: Likewise.
47661         * libio/libioP.h: Likewise.
47662         * resolv/gai_notify.c: Likewise.
47663         * resolv/ns_name.c: Likewise.
47664         * resolv/ns_samedomain.c: Likewise.
47665         * resolv/res_send.c: Likewise.
47666         * stdlib/random.c: Likewise.
47667         * sunrpc/rpc/xdr.h: Likewise.
47668         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47669         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47670         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47671         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47672         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47673         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47674         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47675         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47676         * sysdeps/mach/hurd/check_fds.c: Likewise.
47677         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47678         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47679         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47680         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47681         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47682         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47683         * sysdeps/pthread/aio_notify.c: Likewise.
47684         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47685         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47686         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47687         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47688         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47690 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47692         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47693         version if bit_Slow_SSE4_2 is set.
47694         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47695         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47697 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47699         [BZ #15867]
47700         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47701         trampoline stack frame information.
47702         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47703         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47704         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47705         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47706         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47707         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47708         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47709         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47710         sa_flags value.
47711         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47712         interrupting a syscall and set with option SA_SIGINFO.
47714 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47716         [BZ #15531]
47717         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47718         argument is infinite.
47719         * math/s_cprojf.c (__cprojf): Likewise.
47720         * math/s_cprojl.c (__cprojl): Likewise.
47721         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47722         * math/libm-test.inc (cproj_test_data): Add more tests.
47724         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47726         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47727         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47728         size.  Use __ffs to determine corresponding shift.
47730 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47731             Roland McGrath  <roland@hack.frob.com>
47733         * Makefile (INSTALL): Remove trailing blank lines from output of
47734         makeinfo.
47736 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47738         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47739         Align 32 bit compat elf_greg to 8 bytes.
47741 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47743         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47745 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47747         * string/strcoll_l.c (coll_seq): New structure.
47748         (get_next_seq_cached): New function.
47749         (get_next_seq): New function.
47750         (do_compare): New function.
47751         (STRCOLL): Use GNU style definition.  Simplify implementation
47752         by using get_next_seq, get_next_seq_cached and do_compare.
47754 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47756         [BZ #14699]
47757         CVE-2013-4237
47758         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47759         member.
47760         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47761         member.
47762         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47763         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47764         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47765         conditional.
47766         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47767         GETDENTS_64BIT_ALIGNED.
47768         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47769         * manual/filesys.texi (Reading/Closing Directory): Document
47770         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47771         strongly.
47772         * manual/conf.texi (Limits for Files): Add portability note to
47773         NAME_MAX, PATH_MAX.
47774         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47776 2013-08-13  Andreas Schwab  <schwab@suse.de>
47778         [BZ #15749]
47779         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47780         of fabs.
47781         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47782         LDBL_MAX_EXP >= 16384]: Add tests for it.
47784 2013-08-12  David S. Miller  <davem@davemloft.net>
47786         * version.h (RELEASE): Set to "development".
47787         (VERSION): Set to "2.18.90".
47788         * NEWS: Add 2.19 section.
47790 2013-08-03  David S. Miller  <davem@davemloft.net>
47792         * po/ko.po: Update Korean translation from translation project.
47794 2013-08-01  David S. Miller  <davem@davemloft.net>
47796         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47797         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47798         Bilka.
47800 2013-07-30  David S. Miller  <davem@davemloft.net>
47802         * po/fr.po: Update French translation from translation project.
47804 2013-07-28  David S. Miller  <davem@davemloft.net>
47806         * po/cs.po: Update Czech translation from translation project.
47808         * po/sv.po: Update Swedish translation from translation project.
47810 2013-07-27  David S. Miller  <davem@davemloft.net>
47812         * po/eo.po: Update Esperanto translation from translation project.
47814         * po/vi.po: Update Vietnamese translation from translation project.
47816         * po/de.po: Update German translation from translation project.
47818 2013-07-26  David S. Miller  <davem@davemloft.net>
47820         * po/bg.po: Update Bulgarian translation from translation project.
47822         * po/nl.po: Update Dutch translation from translation project.
47823         * po/pl.po: Update Polish translation from translation project.
47824         * po/ru.po: Update Russian translation from translation project.
47826 2013-07-24  David S. Miller  <davem@davemloft.net>
47828         * po/libc.pot: Update.
47830 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47832         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47833         variable page size.
47834         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47835         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47836         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47838 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47840         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47842 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47843             Andreas Schwab  <schwab@suse.de>
47844             Roland McGrath  <roland@hack.frob.com>
47845             Joseph Myers  <joseph@codesourcery.com>
47846             Carlos O'Donell  <carlos@redhat.com>
47848         [BZ #15755]
47849         * config.h.in: Define HAVE_PT_CHOWN.
47850         * config.make.in (build-pt-chown): New variable.
47851         * configure.in (--enable-pt_chown): New configure option.
47852         * configure: Regenerate.
47853         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47854         build-pt-chown is enabled.
47855         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47856         pt_chown to fix pty ownership.
47857         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47858         CLOSE_ALL_FDS.
47859         * manual/install.texi (Configuring and compiling): Mention
47860         --enable-pt_chown. Add @findex for grantpt.
47861         * INSTALL: Regenerate.
47863 2013-07-20  David S. Miller  <davem@davemloft.net>
47865         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47866         difference between 32-bit and 64-bit.
47868 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47870         [BZ #15711]
47871         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47872         Avoid system header dependency with -ffreestanding.
47873         ($(objpfx)bits/syscall%d): Likewise.
47875 2013-07-13  David S. Miller  <davem@davemloft.net>
47877         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47878         underflows from atanl/atan2l due to bug 15319.
47879         (casinh_test_data): Likewise.
47881 2013-07-07  David S. Miller  <davem@davemloft.net>
47883         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47885 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47887         * sysdeps/i386/fpu/libm-test-ulps: Update.
47888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47890 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47892         * configure.in (--enable-lock-elision): Fix message text.
47893         * INSTALL: Regenerate.
47894         * configure: Regenerate.
47896 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47900 2013-07-03  Andreas Jaeger  <aj@suse.de>
47902         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47903         define.
47904         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47905         (ptrace_peeksiginfo_args): Add.
47906         (__ptrace_peeksiginfo_flags): Add.
47907         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47908         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47911 2013-07-03  Allan McRae  <allan@archlinux.org>
47913         * sysdeps/i386/fpu/libm-test-ulps: Update.
47915 2013-07-02  David S. Miller  <davem@davemloft.net>
47917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47919 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47923 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47925         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47928 2013-07-02  Andi Kleen <ak@linux.intel.com>
47930         * config.h.in (ENABLE_LOCK_ELISION): Add.
47931         * configure.in (--enable-lock-elision): Add option.
47932         * manual/install.texi: Document --enable lock elision.
47933         * configure: Regenerate
47934         * INSTALL: Regenerate.
47936 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47938         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47939         SSE4.2 strcasecmp for libc.a.
47940         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47942 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47944         [BZ #13304]
47945         * soft-fp/op-common.h (_FP_FMA): New macro.
47946         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47947         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47948         (_FP_MUL_MEAT_1_imm): ... here.
47949         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47950         (_FP_MUL_MEAT_1_wide): ... here.
47951         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47952         (_FP_MUL_MEAT_1_hard): ... here.
47953         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47954         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47955         (_FP_MUL_MEAT_2_wide): ... here.
47956         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47957         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47958         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47959         (_FP_MUL_MEAT_2_gmp): ... here.
47960         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47961         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47962         (_FP_MUL_MEAT_4_wide): ... here.
47963         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47964         (_FP_MUL_MEAT_4_gmp): ... here.
47965         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47966         (_FP_WFRACBITS_DW_S): Likewise.
47967         (_FP_WFRACXBITS_DW_S): Likewise.
47968         (_FP_HIGHBIT_DW_S): Likewise.
47969         (FP_FMA_S): Likewise.
47970         (_FP_FRAC_HIGH_DW_S): Likewise.
47971         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47972         (_FP_WFRACBITS_DW_D): Likewise.
47973         (_FP_WFRACXBITS_DW_D): Likewise.
47974         (_FP_HIGHBIT_DW_D): Likewise.
47975         (FP_FMA_D): Likewise.
47976         (_FP_FRAC_HIGH_DW_D): Likewise.
47977         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47978         (_FP_WFRACBITS_DW_E): Likewise.
47979         (_FP_WFRACXBITS_DW_E): Likewise.
47980         (_FP_HIGHBIT_DW_E): Likewise.
47981         (FP_FMA_E): Likewise.
47982         (_FP_FRAC_HIGH_DW_E): Likewise.
47983         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47984         (_FP_WFRACBITS_DW_Q): Likewise.
47985         (_FP_WFRACXBITS_DW_Q): Likewise.
47986         (_FP_HIGHBIT_DW_Q): Likewise.
47987         (FP_FMA_Q): Likewise.
47988         (_FP_FRAC_HIGH_DW_Q): Likewise.
47989         * soft-fp/fmasf4.c: New file.
47990         * soft-fp/fmadf4.c: Likewise.
47991         * soft-fp/fmatf4.c: Likewise.
47993 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47995         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47996         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47997         Silvermont.
47998         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47999         macro.
48000         (index_Slow_SSE4_2): Likewise.
48001         (index_Prefer_PMINUB_for_stringop): Likewise.
48002         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48003         bit_Slow_SSE4_2 is set.
48004         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48005         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48007 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48009         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48010         rtld_global._dl_hwcap2.
48011         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48012         POWER8.
48013         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48014         POWER8 feature descriptions defined in _dl_hwcap2.
48015         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48016         string handling for POWER8 feature bits.
48017         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48018         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48019         _dl_powerpc_cap_flags.
48020         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48021         * sysdeps/powerpc/rtld-global-offsets.sym
48022         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48023         _dl_hwcap2 in the rtld_global_ro structure.
48025 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48027         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48028         hardware capabilities in support of AT_HWCAP2.
48029         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48030         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48031         GLRO(dl_hwcap2).
48032         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48033         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48034         explicitly the unknown a_type display mechanism is used.
48035         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48036         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48037         struct member.
48038         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48039         to macro prototype for AT_HWCAP2 support.
48040         * sysdeps/i386/dl-procinfo.h: Likewise.
48041         * sysdeps/s390/dl-procinfo.h: Likewise.
48042         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48043         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48044         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48045         return -1 for unknown a_type display fallback.
48046         * sysdeps/sparc/dl-procinfo.h: Likewise.
48047         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48048         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48050 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48052         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48053         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48055 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48057         [BZ #12492]
48058         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48059         mprotect making __stack_prot writable.
48061 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48062             Joseph Myers  <joseph@codesourcery.com>
48064         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48065         as being properly aligned.
48067 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48069         * dlfcn/modstatic5.c: New file.
48070         * dlfcn/tststatic5.c: New file.
48071         * dlfcn/Makefile (tests): Add tststatic5.
48072         (tests-static): Likewise.
48073         (modules-names): Add modstatic5.
48074         (tststatic5-ENV): New variable.
48075         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48077         [BZ #15022]
48078         * elf/dl-support.c (_dl_main_map): New variable.
48079         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48080         (_dl_nns, _dl_load_adds): Set to 1.
48081         (_dl_initial_searchlist): Refer to _dl_main_map.
48082         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48083         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48084         call to _dl_get_origin.
48085         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48086         around call_map.
48087         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48088         * dlfcn/modstatic3.c: New file.
48089         * dlfcn/tststatic3.c: New file.
48090         * dlfcn/tststatic4.c: New file.
48091         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48092         (tests-static): Likewise.
48093         (modules-names): Add modstatic3.
48094         (tststatic3-ENV, tststatic4-ENV): New variables.
48095         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48096         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48098 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48100         * configure.in (CC): Require GCC version 4.4 or later.
48101         * configure: Regenerated.
48102         * manual/install.texi (Tools for Compilation): Update GCC version
48103         requirement.
48104         * INSTALL: Regenerated.
48106 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48108         [BZ #15674]
48109         * string/test-memcmp.c (check2): New.
48110         (main): Call check2.
48112         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48114 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48116         [BZ #15022]
48117         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48118         over to...
48119         (dl_open_worker) [!SHARED]: ... here.
48121 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48123         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48125 2013-06-25  Richard Henderson  <rth@redhat.com>
48127         * locale/programs/locarchive.c: Include <libc-internal.h>
48129 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48131         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48132         trailing whitespace removed.
48134 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48136         [BZ #10283]
48137         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48138         * locale/programs/locarchive.c: Include libc-mmap.h.
48139         (prepare_address_space): Take two new outputs (the mmap base and len).
48140         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48141         values.
48142         (create_archive): Declare new mmap base and len values for
48143         prepare_address_space, and store the result in ah.
48144         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48145         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48146         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48147         Declare new mmap base and len values for
48148         prepare_address_space, and store the result in new_ah.
48149         (open_archive): Declare new mmap base and len values for
48150         prepare_address_space, and store the result in ah.
48151         (close_archive): If ah->mmap_base is not NULL, use that and
48152         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48153         * sysdeps/generic/libc-mmap.h: New file.
48155 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48157         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48158         (ALIGN_UP): Likewise.
48159         (PTR_ALIGN_DOWN): Likewise.
48160         (PTR_ALIGN_UP): Likewise.
48162 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48164         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48165         entry mapped to PPC_PLATFORM_POWER8.
48166         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48167         POWER8.
48168         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48169         (_dl_string_platform): Add case for exporting platform position for
48170         POWER8.
48171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48172         search path to sysdeps/powerpc/powerpc32/power8 directory.
48173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48174         search path to sysdeps/powerpc/powerpc64/power8 directory.
48175         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48176         power7 directories.
48177         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48178         power7 directories.
48180 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48182         * INSTALL: Regenerate.
48184         * nscd/connections.c (nscd_init): Fix comment.
48186 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48188         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48190         [BZ #15667]
48191         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48192         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48194 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48196         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48197         DL_DST_REQ_STATIC.
48198         (DL_DST_REQ_STATIC): Remove macro.
48200 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48202         [BZ #7006]
48203         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48204         with a shift of 0 bits.
48206 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48208         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48209         $(tststatic-ENV).
48211 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48213         [BZ #15655]
48214         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48216 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48218         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48219         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48220         accepts -fno-tree-loop-distribute-patterns.
48221         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48222         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48223         recursive call.
48224         * string/memset.c (memset): Likewise.
48225         * string/test-memmove.c (simple_memmove): Disable loop transformation
48226         to library calls.
48227         * string/test-memset.c (simple_memset): Likewise.
48228         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48229         * benchtests/bench-memset.c (simple_memset): Likewise.
48230         * configure: Regenerated.
48232 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48234         * math/test-misc.c (main): Ignore fesetround failure when failures
48235         of subsequent rounding tests would be ignored.
48237         [BZ #15654]
48238         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48239         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48240         * math/fegetenv.c (__fegetenv): Return 0.
48241         * math/fegetexcept.c (fegetexcept): Return 0.
48242         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48243         FE_TONEAREST.
48244         * math/feholdexcpt.c (feholdexcept): Return 0.
48245         * math/fesetenv.c (__fesetenv): Return 0.
48246         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48247         argument FE_TONEAREST.
48248         * math/feupdateenv.c (__feupdateenv): Return 0.
48249         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48251 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48253         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48254         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48255         ($(objpfx)rtld-%.os rules): Use them.
48257 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48259         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48260         fields.
48262 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48264         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48265         length of target pattern, then descending length of dependency pattern.
48266         * configure.in (AWK): Require gawk 3.1.2 or newer.
48267         * manual/install.texi (Tools for Compilation): Say that we do.
48268         * configure: Regenerated.
48270         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48271         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48272         * scripts/sysd-rules.awk: ... this new script.
48273         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48274         than a glob-style pattern.
48276 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48278         * math/test-misc.c (main): Do not treat incorrectly rounded
48279         conversions as failure unless ROUNDING_TESTS passes.
48281 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48283         [BZ #15631]
48284         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48285         restore exception state around main square root computation, then
48286         check for inexactness explicitly.
48288         * math/libm-test.inc (fma_test_data): Add another test.
48290 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48292         * manual/threads.texi (Non-POSIX Extensions): New document
48293         node.  Document pthread_getattr_default_np and
48294         pthread_setattr_default_np.
48296         * Versions.def (libpthread): Add GLIBC_2.18.
48297         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48299         Likewise.
48300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48301         Likewise.
48302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48303         Likewise.
48304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48305         Likewise.
48306         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48307         Likewise.
48308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48309         Likewise.
48310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48311         Likewise.
48312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48313         Likewise.
48314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48315         Likewise.
48317 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48320         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48322 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48323             H.J. Lu  <hjl.tools@gmail.com>
48325         [BZ #15627]
48326         * sysdeps/x86_64/rtld-memset.c: Remove file.
48327         * sysdeps/x86_64/rtld-memset.S: New file.
48329 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48331         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48332         (test_in_one_mode): Take arguments for whether the rounding mode
48333         is supported for each floating-point type.
48334         (do_test): Pass new arguments to test_in_one_mode using
48335         ROUNDING_TESTS.
48337 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48339         * posix/tst-waitid.c (do_test): Distinguish different instances of
48340         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48341         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48342         before entering the kernel for waitpid.
48344 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48346         * NEWS: Fix note on clock function precision.  Text by Roland
48347         McGrath.
48349 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48351         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48352         it into place only when and if the sanity check passes.
48354 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48356         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48357         output for whether conversion result is exact.  Take argument
48358         indicating whether type is IBM long double.
48359         (round_for_all): Change need_exact field to ibm_ld.
48360         * stdlib/tst-strtod-round.c (struct exactness): New type.
48361         (struct test): Change bool ld_ok field to struct exactness exact.
48362         (TEST): Update all definitions for change to field.
48363         (tests): Regenerate array contents.
48364         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48365         field value.  Check for IBM long double here.
48366         (do_test): Update calls to test_in_one_mode.
48368 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48370         [BZ #12515]
48371         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48372         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48374 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48376         [BZ #15605]
48377         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48378         generated by the compiler on loop optimizations.
48379         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48380         general definitions.
48382 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48384         * math/bug-nextafter.c: Include <math-tests.h>.
48385         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48386         the relevant type.
48387         * math/bug-nexttoward.c: Include <math-tests.h>.
48388         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48389         the relevant type.
48390         * math/test-misc.c: Include <math-tests.h>.
48391         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48392         the relevant type.
48394 2013-06-12  Andreas Jaeger  <aj@suse.de>
48396         * po/ia.po: Update Interlingua translation from translation
48397         project.
48399 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48401         * include/fenv.h: Include stdbool.h.
48402         (struct rm_ctx): New structure.
48403         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48404         Define macro.
48405         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48406         (SET_RESTORE_ROUNDF): Likewise.
48407         (SET_RESTORE_ROUNDL): Likewise.
48408         (SET_RESTORE_ROUND_NOEX): Likewise.
48409         (SET_RESTORE_ROUND_NOEXF): Likewise.
48410         (SET_RESTORE_ROUND_NOEXL): Likewise.
48411         (SET_RESTORE_ROUND_53BIT): Likewise.
48412         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48413         (libc_feresetround_noexf_ctx): Likewise.
48414         (libc_feresetround_noexl_ctx): Likewise.
48415         (libc_feholdsetround_53bit_ctx): Likewise.
48416         (libc_feresetround_53bit_ctx): Likewise.
48417         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48418         (libc_feholdexcept_setround_sse_ctx): New function.
48419         (libc_fesetenv_sse_ctx): Likewise.
48420         (libc_feupdateenv_sse_ctx): Likewise.
48421         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48422         (libc_feholdexcept_setround_387_ctx): Likewise.
48423         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48424         (libc_feholdsetround_387_prec_ctx): Likewise.
48425         (libc_feholdsetround_387_ctx): Likewise.
48426         (libc_feholdsetround_387_53bit_ctx): Likewise.
48427         (libc_feholdsetround_sse_ctx): Likewise.
48428         (libc_feresetround_sse_ctx): Likewise.
48429         (libc_feresetround_387_ctx): Likewise.
48430         (libc_feupdateenv_387_ctx): Likewise.
48431         (libc_feholdexcept_setroundf_ctx): Define macro.
48432         (libc_fesetenvf_ctx): Likewise.
48433         (libc_feupdateenvf_ctx): Likewise.
48434         (libc_feholdsetroundf_ctx): Likewise.
48435         (libc_feresetroundf_ctx): Likewise.
48436         (libc_feholdexcept_setround_ctx): Likewise.
48437         (libc_fesetenv_ctx): Likewise.
48438         (libc_feupdateenv_ctx): Likewise.
48439         (libc_feholdsetround_ctx): Likewise.
48440         (libc_feresetround_ctx): Likewise.
48441         (libc_feholdexcept_setroundl_ctx): Likewise.
48442         (libc_feupdateenvl_ctx): Likewise.
48443         (libc_feholdsetroundl_ctx): Likewise.
48444         (libc_feresetroundl_ctx): Likewise.
48445         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48446         (libc_feresetround_53bit_ctx): Likewise.
48448 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48450         * locale/iso-639.def: Convert to UTF-8.
48452 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48454         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48455         (EXCEPTION_TESTS_double): Likewise.
48456         (EXCEPTION_TESTS_long_double): Likewise.
48457         (EXCEPTION_TESTS): Likewise.
48458         * math/libm-test.inc (test_exceptions): Only test exceptions if
48459         EXCEPTION_TESTS (FLOAT).
48461 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48463         * benchtests/Makefile (string-bench): Add strcpy_chk and
48464         stpcpy_chk.
48465         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48466         * benchtests/bench-stpcpy_chk.c: New file.
48467         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48468         * benchtests/bench-strcpy_chk.c: New file.
48469         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48470         code.
48471         (do_test): Likewise.
48473 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48475         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48476         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48477         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48478         with tabs where appropriate.
48479         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48480         dl-procinfo.h.
48481         [PPC_PLATFORM_PPC440]: Likewise.
48482         [PPC_PLATFORM_PPC464]: Likewise.
48483         [PPC_PLATFORM_PPC476]: Likewise.
48484         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48485         ppc464, and ppc476 platform strings merging from ports/
48486         dl-procinfo.h.
48488 2013-06-11  Andreas Schwab  <schwab@suse.de>
48490         [BZ #14991]
48491         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48492         (from_ucs4_idx): Regenerate.
48493         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48494         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48495         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48496         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48497         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48498         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48499         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48500         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48501         from FROM_LOOP and TO_LOOP specific macros.
48502         (BODY): Handle combining characters.
48503         * iconvdata/BIG5HKSCS.irreversible: Update.
48504         * iconvdata/BIG5HKSCS.precomposed: New file.
48505         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48506         characters.
48507         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48509 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48511         * include/sys/time.h: Fix indentation and add copyright header.
48513         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48514         (do_test): Likewise.
48515         * string/test-memchr.c (do_one_test): Likewise.
48516         (do_test): Likewise.
48517         * string/test-memcmp.c (do_one_test): Likewise.
48518         (do_test): Likewise.
48519         * string/test-memcpy.c (do_one_test): Likewise.
48520         (do_test): Likewise.
48521         * string/test-memmem.c (do_one_test): Likewise.
48522         (do_test): Likewise.
48523         (do_random_tests): Likewise.
48524         * string/test-memmove.c (do_one_test): Likewise.
48525         (do_test): Likewise.
48526         * string/test-memset.c (do_one_test): Likewise.
48527         (do_test): Likewise.
48528         * string/test-rawmemchr.c (do_one_test): Likewise.
48529         (do_test): Likewise.
48530         * string/test-strcasecmp.c (do_one_test): Likewise.
48531         (do_test): Likewise.
48532         * string/test-strcasestr.c (do_one_test): Likewise.
48533         (do_test): Likewise.
48534         * string/test-strcat.c (do_one_test): Likewise.
48535         (do_test): Likewise.
48536         * string/test-strchr.c (do_one_test): Likewise.
48537         (do_test): Likewise.
48538         * string/test-strcmp.c (do_one_test): Likewise.
48539         (do_test): Likewise.
48540         * string/test-strcpy.c (do_one_test): Likewise.
48541         (do_test): Likewise.
48542         * string/test-string.h: Likewise.
48543         (test_init): Likewise.
48544         * string/test-strlen.c (do_one_test): Likewise.
48545         (do_test): Likewise.
48546         * string/test-strncasecmp.c (do_one_test): Likewise.
48547         (do_test): Likewise.
48548         * string/test-strncat.c (do_one_test): Likewise.
48549         (do_test): Likewise.
48550         * string/test-strncmp.c (do_one_test): Likewise.
48551         (do_test_limit): Likewise.
48552         (do_test): Likewise.
48553         * string/test-strncpy.c (do_one_test): Likewise.
48554         (do_test): Likewise.
48555         * string/test-strnlen.c (do_one_test): Likewise.
48556         (do_test): Likewise.
48557         * string/test-strpbrk.c (do_one_test): Likewise.
48558         (do_test): Likewise.
48559         * string/test-strrchr.c (do_one_test): Likewise.
48560         (do_test): Likewise.
48561         * string/test-strspn.c (do_one_test): Likewise.
48562         (do_test): Likewise.
48563         * string/test-strstr.c (do_one_test): Likewise.
48564         (do_test): Likewise.
48566         * benchtests/Makefile (string-bench): Add string benchmarks.
48567         * benchtests/bench-bcopy-ifunc.c: New file.
48568         * benchtests/bench-bcopy.c: New file.
48569         * benchtests/bench-bzero-ifunc.c: New file.
48570         * benchtests/bench-bzero.c: New file.
48571         * benchtests/bench-memccpy-ifunc.c: New file.
48572         * benchtests/bench-memccpy.c: New file.
48573         * benchtests/bench-memchr-ifunc.c: New file.
48574         * benchtests/bench-memchr.c: New file.
48575         * benchtests/bench-memcmp-ifunc.c: New file.
48576         * benchtests/bench-memcmp.c: New file.
48577         * benchtests/bench-memmem-ifunc.c: New file.
48578         * benchtests/bench-memmem.c: New file.
48579         * benchtests/bench-memmove-ifunc.c: New file.
48580         * benchtests/bench-memmove.c: New file.
48581         * benchtests/bench-mempcpy-ifunc.c: New file.
48582         * benchtests/bench-mempcpy.c: New file.
48583         * benchtests/bench-memset-ifunc.c: New file.
48584         * benchtests/bench-memset.c: New file.
48585         * benchtests/bench-rawmemchr-ifunc.c: New file.
48586         * benchtests/bench-rawmemchr.c: New file.
48587         * benchtests/bench-stpcpy-ifunc.c: New file.
48588         * benchtests/bench-stpcpy.c: New file.
48589         * benchtests/bench-stpncpy-ifunc.c: New file.
48590         * benchtests/bench-stpncpy.c: New file.
48591         * benchtests/bench-strcasecmp-ifunc.c: New file.
48592         * benchtests/bench-strcasecmp.c: New file.
48593         * benchtests/bench-strcasestr-ifunc.c: New file.
48594         * benchtests/bench-strcasestr.c: New file.
48595         * benchtests/bench-strcat-ifunc.c: New file.
48596         * benchtests/bench-strcat.c: New file.
48597         * benchtests/bench-strchr-ifunc.c: New file.
48598         * benchtests/bench-strchr.c: New file.
48599         * benchtests/bench-strchrnul-ifunc.c: New file.
48600         * benchtests/bench-strchrnul.c: New file.
48601         * benchtests/bench-strcmp-ifunc.c: New file.
48602         * benchtests/bench-strcmp.c: New file.
48603         * benchtests/bench-strcpy-ifunc.c: New file.
48604         * benchtests/bench-strcpy.c: New file.
48605         * benchtests/bench-strcspn-ifunc.c: New file.
48606         * benchtests/bench-strcspn.c: New file.
48607         * benchtests/bench-strlen-ifunc.c: New file.
48608         * benchtests/bench-strlen.c: New file.
48609         * benchtests/bench-strncasecmp-ifunc.c: New file.
48610         * benchtests/bench-strncasecmp.c: New file.
48611         * benchtests/bench-strncat-ifunc.c: New file.
48612         * benchtests/bench-strncat.c: New file.
48613         * benchtests/bench-strncmp-ifunc.c: New file.
48614         * benchtests/bench-strncmp.c: New file.
48615         * benchtests/bench-strncpy-ifunc.c: New file.
48616         * benchtests/bench-strncpy.c: New file.
48617         * benchtests/bench-strnlen-ifunc.c: New file.
48618         * benchtests/bench-strnlen.c: New file.
48619         * benchtests/bench-strpbrk-ifunc.c: New file.
48620         * benchtests/bench-strpbrk.c: New file.
48621         * benchtests/bench-strrchr-ifunc.c: New file.
48622         * benchtests/bench-strrchr.c: New file.
48623         * benchtests/bench-strspn-ifunc.c: New file.
48624         * benchtests/bench-strspn.c: New file.
48625         * benchtests/bench-strstr-ifunc.c: New file.
48626         * benchtests/bench-strstr.c: New file.
48628         * benchtests/Makefile: Disable parallel execution of targets.
48629         (string-bench): Add memcpy.
48630         (benchset): New variable to store a list of benchmark sets.
48631         (bench-func): Renamed from bench.
48632         (bench-set): New target.
48633         (bench): Depend on bench-func and bench-set.
48634         * benchtests/README: Add section on benchmark sets.
48635         * benchtests/bench-memcpy-ifunc.c: New file.
48636         * benchtests/bench-memcpy.c: New file.
48637         * benchtests/bench-string.h: New file.
48639 2013-06-11  Andreas Schwab  <schwab@suse.de>
48641         [BZ #15577]
48642         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48643         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48644         values in the triple.
48645         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48646         terminator in the group key.
48648 2013-06-11  Andreas Jaeger  <aj@suse.de>
48650         * po/zh_TW.po: Update Chinese (traditional) translation from
48651         translation project.
48653 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48655         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48656         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48657         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48658         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48659         (clock_getcpuclockid): Likewise.
48660         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48661         Add weak_alias and libc_hidden_def.
48662         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48663         * rt/clock_gettime.c (clock_gettime): Rename to
48664         __clock_gettime.  Add weak_alias and libc_hidden_def.
48665         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48666         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48667         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48668         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48669         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48670         Likewise.
48671         * rt/clock_settime.c (clock_settime): Rename to
48672         __clock_settime.  Add weak_alias and libc_hidden_def.
48673         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48675 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48677         * mach/err_boot.sub: Remove trailing whitespace.
48678         * mach/err_ipc.sub: Likewise.
48679         * mach/err_mach.sub: Likewise.
48681         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48682         (ROUNDING_TESTS_double): Likewise.
48683         (ROUNDING_TESTS_long_double): Likewise.
48684         (ROUNDING_TESTS): Likewise.
48685         * math/libm-test.inc: Include <math-tests.h>.
48686         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48687         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48688         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48689         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48691 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48693         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48694         of assigning.
48696 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48698         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48699         otherwise empty TRANS lines.
48700         * sysdeps/gnu/errlist.c: Regenerated.
48702         * catgets/gencat.c (error_print): Use (void) in function
48703         definition.
48704         * crypt/crypt_util.c (__init_des): Likewise.
48705         * crypt/speeds.c (Stop): Likewise.
48706         (main): Likewise.
48707         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48708         * inet/ruserpass.c (token): Likewise.
48709         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48710         * intl/localealias.c (extend_alias_table): Likewise.
48711         * intl/plural-exp.c (init_germanic_plural): Likewise.
48712         * libio/fcloseall.c (__fcloseall): Likewise.
48713         * libio/genops.c (_IO_flush_all): Likewise.
48714         (_IO_flush_all_linebuffered): Likewise.
48715         (_IO_cleanup): Likewise.
48716         (_IO_iter_begin): Likewise.
48717         (_IO_iter_end): Likewise.
48718         (_IO_list_lock): Likewise.
48719         (_IO_list_unlock): Likewise.
48720         (_IO_list_resetlock): Likewise.
48721         * libio/getchar.c (getchar): Likewise.
48722         * libio/getchar_u.c (getchar_unlocked): Likewise.
48723         * libio/getwchar.c (getwchar): Likewise.
48724         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48725         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48726         * login/getpt.c (__getpt): Likewise.
48727         * login/tst-utmp.c (main): Likewise.
48728         * malloc/hooks.c (__malloc_check_init): Likewise.
48729         * malloc/malloc.c (__malloc_stats): Likewise.
48730         * malloc/mtrace.c (tr_break): Likewise.
48731         (mtrace): Likewise.
48732         (muntrace): Likewise.
48733         * misc/fstab.c (endfsent): Likewise.
48734         * misc/getclktck.c (__getclktck): Likewise.
48735         * misc/getdtsz.c (__getdtablesize): Likewise.
48736         * misc/gethostid.c (gethostid): Likewise.
48737         * misc/getpagesize.c (__getpagesize): Likewise.
48738         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48739         (__get_nprocs): Likewise.
48740         (__get_phys_pages): Likewise.
48741         (__get_avphys_pages): Likewise.
48742         * misc/getttyent.c (getttyent): Likewise.
48743         (setttyent): Likewise.
48744         (endttyent): Likewise.
48745         * misc/getusershell.c (getusershell): Likewise.
48746         (endusershell): Likewise.
48747         (setusershell): Likewise.
48748         (initshells): Likewise.
48749         * misc/hsearch.c (__hdestroy): Likewise.
48750         * misc/sync.c (sync): Likewise.
48751         * misc/syslog.c (closelog_internal): Likewise.
48752         (closelog): Likewise.
48753         * misc/ttyslot.c (ttyslot): Likewise.
48754         * misc/vhangup.c (vhangup): Likewise.
48755         * posix/fork.c (__fork): Likewise.
48756         * posix/getegid.c (__getegid): Likewise.
48757         * posix/geteuid.c (__geteuid): Likewise.
48758         * posix/getgid.c (__getgid): Likewise.
48759         * posix/getpid.c (__getpid): Likewise.
48760         * posix/getppid.c (__getppid): Likewise.
48761         * posix/getuid.c (__getuid): Likewise.
48762         * posix/pause.c (pause): Likewise.
48763         * posix/setpgrp.c (setpgrp): Likewise.
48764         * posix/setsid.c (__setsid): Likewise.
48765         * posix/test-vfork.c (noop): Likewise.
48766         * resolv/gethnamaddr.c (_endhtent): Likewise.
48767         (_gethtent): Likewise.
48768         (ht_endhostent): Likewise.
48769         (gethostent): Likewise.
48770         (dns_service): Likewise.
48771         * stdlib/drand48.c (drand48): Likewise.
48772         * stdlib/lrand48.c (lrand48): Likewise.
48773         * stdlib/mrand48.c (mrand48): Likewise.
48774         * stdlib/rand.c (rand): Likewise.
48775         * stdlib/random.c (__random): Likewise.
48776         * stdlib/setenv.c (clearenv): Likewise.
48777         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48778         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48779         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48780         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48781         (__get_nprocs): Likewise.
48782         (__get_phys_pages): Likewise.
48783         (__get_avphys_pages): Likewise.
48784         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48785         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48786         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48787         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48788         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48789         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48790         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48791         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48792         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48793         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48794         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48795         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48796         * sysdeps/posix/clock.c (clock): Likewise.
48797         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48798         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48799         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48800         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48801         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48802         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48803         (__get_nprocs_conf): Likewise.
48804         (__get_phys_pages): Likewise.
48805         (__get_avphys_pages): Likewise.
48806         * time/clock.c (clock): Likewise.
48807         * time/tzset.c (__tzname_max): Likewise.
48809 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48811         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48812         (__bswap_32): Do not use "register".
48813         * crypt/crypt.c (_ufc_doit_r): Likewise.
48814         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48815         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48816         * gmon/gmon.c (__monstartup): Likewise.
48817         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48818         * hurd/hurdmalloc.c (more_memory): Likewise.
48819         (malloc): Likewise.
48820         (free): Likewise.
48821         (realloc): Likewise.
48822         (malloc_fork_prepare): Likewise.
48823         (malloc_fork_parent): Likewise.
48824         (malloc_fork_child): Likewise.
48825         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48826         (_svcauth_des): Likewise.
48827         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48828         * inet/inet_net.c (inet_network): Likewise.
48829         * inet/inet_netof.c (inet_netof): Likewise.
48830         * inet/rcmd.c (__validuser2_sa): Likewise.
48831         * io/fts.c (fts_open): Likewise.
48832         (fts_load): Likewise.
48833         (fts_close): Likewise.
48834         (fts_read): Likewise.
48835         (fts_children): Likewise.
48836         (fts_build): Likewise.
48837         (fts_stat): Likewise.
48838         (fts_sort): Likewise.
48839         (fts_alloc): Likewise.
48840         (fts_lfree): Likewise.
48841         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48842         (_IO_file_xsgetn): Likewise.
48843         (_IO_file_xsgetn_mmap): Likewise.
48844         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48845         (_IO_cookie_write): Likewise.
48846         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48847         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48848         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48849         * malloc/obstack.c (_obstack_begin): Likewise.
48850         (_obstack_begin_1): Likewise.
48851         (_obstack_newchunk): Likewise.
48852         (_obstack_allocated_p): Likewise.
48853         (obstack_free): Likewise.
48854         (_obstack_memory_used): Likewise.
48855         * misc/getttyent.c (getttynam): Likewise.
48856         (getttyent): Likewise.
48857         (skip): Likewise.
48858         (value): Likewise.
48859         * misc/getusershell.c (initshells): Likewise.
48860         * misc/syslog.c (__vsyslog_chk): Likewise.
48861         * misc/ttyslot.c (ttyslot): Likewise.
48862         * nis/nis_hash.c (__nis_hash): Likewise.
48863         * posix/fnmatch_loop.c (FCT): Likewise.
48864         * posix/getconf.c (print_all): Likewise.
48865         (main): Likewise.
48866         * posix/getopt.c (exchange): Likewise.
48867         * posix/glob.c (globfree): Likewise.
48868         (prefix_array): Likewise.
48869         (__glob_pattern_type): Likewise.
48870         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48871         (NS_GET32): Likewise.
48872         (NS_PUT16): Likewise.
48873         (NS_PUT32): Likewise.
48874         * resolv/gethnamaddr.c (getanswer): Likewise.
48875         (gethostbyname2): Likewise.
48876         (gethostbyaddr): Likewise.
48877         (_gethtent): Likewise.
48878         (_gethtbyname2): Likewise.
48879         (_gethtbyaddr): Likewise.
48880         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48881         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48882         * resolv/res_init.c (__res_vinit): Likewise.
48883         (net_mask): Likewise.
48884         * resolv/res_mkquery.c (outchar): Likewise.
48885         (PRINT): Likewise.
48886         * stdio-common/printf_fp.c (outchar): Likewise.
48887         (PRINT): Likewise.
48888         * stdio-common/printf_fphex.c (outchar): Likewise.
48889         (PRINT): Likewise.
48890         * stdio-common/printf_size.c (outchar): Likewise.
48891         (PRINT): Likewise.
48892         * stdio-common/test_rdwr.c (main): Likewise.
48893         * stdio-common/tfformat.c (matches): Likewise.
48894         * stdio-common/vfprintf.c (outchar): Likewise.
48895         (printf_unknown): Likewise.
48896         (buffered_vfprintf): Likewise.
48897         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48898         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48899         (ReadFile): Likewise.
48900         * stdlib/qsort.c (SWAP): Likewise.
48901         (_quicksort): Likewise.
48902         * stdlib/setenv.c (__add_to_environ): Likewise.
48903         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48904         * stdlib/strtol_l.c (__strtol_l): Likewise.
48905         * stdlib/tst-strtod.c (main): Likewise.
48906         * stdlib/tst-strtol.c (main): Likewise.
48907         * stdlib/tst-strtoll.c (main): Likewise.
48908         * string/bits/string2.h (__strcmp_cc): Likewise.
48909         (__strcmp_cg): Likewise.
48910         (__strcspn_c1): Likewise.
48911         (__strcspn_c2): Likewise.
48912         (__strcspn_c3): Likewise.
48913         (__strspn_c1): Likewise.
48914         (__strspn_c2): Likewise.
48915         (__strspn_c3): Likewise.
48916         (__strsep_1c): Likewise.
48917         (__strsep_2c): Likewise.
48918         (__strsep_3c): Likewise.
48919         * string/memccpy.c (__memccpy): Likewise.
48920         * string/stpcpy.c (__stpcpy): Likewise.
48921         * string/strcmp.c (strcmp): Likewise.
48922         * string/strrchr.c (strrchr): Likewise.
48923         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48924         Likewise.
48925         * sysdeps/mach/hurd/getcwd.c
48926         (_hurd_canonicalize_directory_name_internal): Likewise.
48927         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48928         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48929         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48930         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48931         Likewise, in both definitions.
48932         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48933         definitions.
48934         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48935         64] (__bswap_64): Likewise.
48936         * time/test_time.c (main): Likewise.
48937         * time/tzfile.c (__tzfile_read): Likewise.
48938         (__tzfile_compute): Likewise.
48939         * time/tzset.c (__tzset_parse_tz): Likewise.
48940         (tzset_internal): Likewise.
48941         (compute_change): Likewise.
48942         * wcsmbs/wcscat.c (__wcscat): Likewise.
48943         * wcsmbs/wcschr.c (wcschr): Likewise.
48944         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48945         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48946         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48947         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48948         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48949         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48950         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48951         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48952         * wcsmbs/wmemset.c (wmemset): Likewise.
48954 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48956         * scripts/config.guess: Update to version 2013-05-16.
48957         * scripts/config.sub: Update to version 2013-04-24.
48958         * scripts/install-sh: Update to version 2011-11-20.07.
48959         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48960         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48962 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48964         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48965         * elf/sln.c: Likewise.
48966         * hurd/hurd/ioctl.h: Likewise.
48967         * hurd/hurdmalloc.c: Likewise.
48968         * hurd/xattr.c: Likewise.
48969         * include/shlib-compat.h: Likewise.
48970         * inet/ruserpass.c: Likewise.
48971         * libio/iofgets_u.c: Likewise.
48972         * libio/iofgetws_u.c: Likewise.
48973         * locale/programs/ld-identification.c: Likewise.
48974         * locale/programs/ld-time.c: Likewise.
48975         * mach/msg-destroy.c: Likewise.
48976         * nss/nss_files/files-netgrp.c: Likewise.
48977         * resolv/res_data.c: Likewise.
48978         * soft-fp/op-1.h: Likewise.
48979         * soft-fp/op-2.h: Likewise.
48980         * soft-fp/op-4.h: Likewise.
48981         * soft-fp/op-common.h: Likewise.
48982         * stdio-common/printf_fphex.c: Likewise.
48983         * stdlib/strtod_l.c: Likewise.
48984         * sunrpc/rpc/clnt.h: Likewise.
48985         * sysdeps/generic/framestate.c: Likewise.
48986         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48987         * sysdeps/i386/bsd-setjmp.S: Likewise.
48988         * sysdeps/i386/__longjmp.S: Likewise.
48989         * sysdeps/i386/setjmp.S: Likewise.
48990         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48991         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48992         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48993         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48994         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48995         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48996         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48997         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48998         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48999         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49000         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49001         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49002         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49003         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49004         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49005         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49006         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49007         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49008         * sysdeps/ieee754/support.c: Likewise.
49009         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49010         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49011         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49012         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49013         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49014         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49015         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49016         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49017         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49018         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49019         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49020         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49021         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49022         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49023         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49024         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49025         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49028 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49030         * posix/transbug.c: Remove executable mode.
49032 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49034         * crypt/speeds.c: Remove trailing whitespace.
49035         * dlfcn/default.c: Likewise.
49036         * elf/ifuncdep2.c: Likewise.
49037         * elf/ifuncmain1.c: Likewise.
49038         * elf/ifuncmain1vis.c: Likewise.
49039         * elf/testobj.h: Likewise.
49040         * elf/tst-stackguard1.c: Likewise.
49041         * gmon/sys/gmon.h: Likewise.
49042         * hurd/hurdmsg.c: Likewise.
49043         * hurd/new-fd.c: Likewise.
49044         * hurd/ports-get.c: Likewise.
49045         * iconvdata/ibm1008_420.c: Likewise.
49046         * inet/tst-getni1.c: Likewise.
49047         * inet/tst-getni2.c: Likewise.
49048         * libio/ioungetc.c: Likewise.
49049         * libio/wfiledoalloc.c: Likewise.
49050         * manual/libm-err-tab.pl: Likewise.
49051         * math/w_dremf.c: Likewise.
49052         * misc/ftruncate.c: Likewise.
49053         * posix/bug-glob2.c: Likewise.
49054         * posix/tst-pcre.c: Likewise.
49055         * posix/wait4.c: Likewise.
49056         * resolv/README: Likewise.
49057         * resolv/res_debug.h: Likewise.
49058         * resolv/tst-inet_ntop.c: Likewise.
49059         * setjmp/bug269-setjmp.c: Likewise.
49060         * soft-fp/extended.h: Likewise.
49061         * soft-fp/op-1.h: Likewise.
49062         * soft-fp/op-2.h: Likewise.
49063         * soft-fp/op-4.h: Likewise.
49064         * soft-fp/op-8.h: Likewise.
49065         * soft-fp/testit.c: Likewise.
49066         * stdio-common/bug16.c: Likewise.
49067         * stdlib/random.c: Likewise.
49068         * sunrpc/rpcsvc/rquota.x: Likewise.
49069         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49070         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49071         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49072         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49073         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49074         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49075         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49076         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49077         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49078         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49079         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49080         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49081         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49082         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49083         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49084         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49085         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49086         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49087         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49088         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49089         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49090         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49091         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49092         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49093         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49094         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49096         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49097         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49098         * sysdeps/ieee754/s_lib_version.c: Likewise.
49099         * sysdeps/mach/hurd/check_fds.c: Likewise.
49100         * sysdeps/mach/hurd/getsockname.c: Likewise.
49101         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49102         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49103         * sysdeps/powerpc/bits/link.h: Likewise.
49104         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49105         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49106         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49107         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49108         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49109         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49110         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49111         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49112         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49113         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49114         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49115         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49116         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49117         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49118         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49119         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49120         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49121         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49123         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49124         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49125         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49126         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49127         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49128         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49129         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49130         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49131         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49132         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49133         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49134         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49135         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49136         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49137         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49138         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49139         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49140         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49141         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49142         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49143         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49144         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49145         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49146         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49147         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49148         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49149         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49150         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49151         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49152         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49153         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49154         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49155         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49156         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49157         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49158         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49159         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49160         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49161         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49162         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49163         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49164         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49165         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49166         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49167         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49168         * sysdeps/powerpc/sysdep.h: Likewise.
49169         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49170         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49171         * sysdeps/sh/dl-trampoline.S: Likewise.
49172         * sysdeps/sh/memset.S: Likewise.
49173         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49174         * sysdeps/sh/strlen.S: Likewise.
49175         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49176         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49177         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49178         * sysdeps/sparc/sparc32/rem.S: Likewise.
49179         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49180         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49181         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49182         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49183         * sysdeps/sparc/sparc32/urem.S: Likewise.
49184         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49185         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49186         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49187         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49188         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49189         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49190         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49191         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49192         * sysdeps/unix/bsd/times.c: Likewise.
49193         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49194         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49198         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49199         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49200         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49201         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49202         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49203         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49204         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49205         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49206         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49207         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49208         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49209         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49210         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49211         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49212         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49213         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49214         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49215         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49216         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49217         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49218         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49219         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49220         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49221         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49222         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49223         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49224         * sysdeps/x86_64/strcspn.S: Likewise.
49226 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49228         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49229         generated file.  Regenerate properly from gen-translit.pl.
49230         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49231         locale/C-translit.h.
49233 2013-06-05  Andreas Schwab  <schwab@suse.de>
49235         [BZ #15100]
49236         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49237         week as 6 instead of -1.
49238         * time/tst-strptime.c (day_tests): Add test case.
49240 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49242         * sysdeps/generic/math_private.h
49243         (libc_feholdexcept_setround_53bit): Replace with
49244         libc_feholdsetround_53bit.
49245         (libc_feupdateenv_53bit): Replace with
49246         libc_feresetround_53bit.
49247         (SET_RESTORE_ROUND_53BIT): Adjust.
49249 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49251         * string/test-strchrnul.c: Add copyright header.
49253         * posix/tst-getaddrinfo4.c: Increase test timeout.
49255 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49257         [BZ #15536]
49258         * math/libm-test.inc (MAX_EXP): Remove
49259         (MIN_EXP): Define.
49260         (ulp): Use MIN_EXP - MANT_DIG.
49261         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49263 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49265         * po/be.po: Revert last change.
49266         * po/zh_CN.po: Likewise.
49267         * po/header.pot: Likewise.
49269 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49271         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49272         link-libc-deps to empty as target-specific variable.
49273         * Makerules (link-libc-args): New variable.
49274         (libc-for-link): Likewise.
49275         (link-libc-deps): Likewise.
49276         (lib%.so): Depend on $(link-libc-deps).  Link with
49277         $(link-libc-args).
49278         (build-module): Link with $(link-libc-args).
49279         (build-module-asneeded): Likewise.
49280         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49281         list of objects.
49282         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49283         target-specific variable.
49284         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49285         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49286         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49287         libc.
49288         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49289         libc and ld.so.
49290         ($(objpfx)libpcprofile.so): Likewise.
49291         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49292         libc_nonshared.a.
49293         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49294         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49295         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49296         $(link-libc-deps).
49297         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49298         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49299         * login/Makefile ($(objpfx)libutil.so): Likewise.
49300         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49301         * math/Makefile ($(objpfx)libm.so): Likewise.
49302         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49303         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49304         variable instead of depending directly on libc.
49305         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49306         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49307         $(link-libc-deps).
49308         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49309         libc.
49310         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49311         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49312         ($(objpfx)libanl.so): Likewise.
49313         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49314         ld.so.
49315         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49316         $(link-libc-deps).
49317         * sysdeps/i386/fpu/Makefile: Remove file.
49318         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49319         ($(objpfx)libm.so): Remove dependency on ld.so.
49321 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49323         [BZ # 15553]
49324         * nis/yp_xdr.c (XDRMAXNAME): Define.
49325         (XDRMAXRECORD): Define.
49326         (xdr_domainname): Use XDRMAXNAME.
49327         (xdr_mapname): Likewise.
49328         (xdr_peername): Likewise.
49329         (xdr_keydat): Use XDRMAXRECORD.
49330         (xdr_valdat): Likewise.
49332 2013-05-30  Jeff Law  <law@redhat.com>
49334         [BZ #14256]
49335         * manual/errno.texi (ESTALE): Update to account for more than
49336         just NFS file systems.
49337         * sysdeps/gnu/errlist.c: Regenerated.
49339 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49341         [BZ #15465]
49342         * elf/Makefile (tests): Add tst-null-argv.
49343         (modules-names):  Add tst-null-argv-lib.
49344         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49345         (tst-null-argv-ENV): Set environment for tst-null-argv.
49346         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49347         (RTLD_PROGNAME): New macro.
49348         * elf/tst-null-argv.c: New test case.
49349         * elf/tst-null-argv-lib.c: Library for test case.
49350         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49351         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49352         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49353         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49354         * elf/dl-init.c (call_init): Likewise.
49355         (_dl_init): Likewise.
49356         * elf/dl-load.c (print_search_path): Likewise.
49357         (_dl_map_object): Likewise.
49358         * elf/dl-lookup.c (do_lookup_x): Likewise.
49359         (add_dependency): Likewise.
49360         (_dl_lookup_symbol_x): Likewise.
49361         (_dl_debug_bindings): Likewise.
49362         * elf/dl-open.c (_dl_show_scope): Likewise.
49363         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49364         * elf/dl-version.c (match_symbol): Likewise.
49365         (_dl_check_map_versions): Likewise.
49366         * elf/rtld.c (dl_main): Likewise.
49367         (print_unresolved): Use RTLD_PROGNAME.
49368         (print_missing_version): Likewise.
49369         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49370         (elf_machine_rela): Likewise.
49371         * sysdeps/powerpc/powerpc32/dl-machine.c
49372         (__process_machine_rela): Likewise.
49373         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49374         Likewise.
49375         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49376         Likewise.
49377         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49378         Likewise.
49379         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49380         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49381         Likewise.
49382         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49383         Likewise.
49384         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49386 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49388         * po/be.po: Add descriptive title.
49389         * po/zh_CN.po: Likewise.
49390         * po/header.pot: Likewise.
49392 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49394         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49395         error message.
49396         (enlarge_archive): Likewise.
49398 2013-05-28  Ben North  <ben@redfrontdoor.org>
49400         * manual/arith.texi (frexp): It is the magnitude of the return
49401         value which lies in [0.5, 1), not the return value itself.
49403 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49407 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49409         * stdio-common/bug26.c (main): Correct fscanf template.
49411         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49412         declare _dl_skip_args.
49414         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49415         Don't declare.
49417         * manual/platform.texi: Add missing @end deftypefun.
49419 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49421         [BZ #15529]
49422         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49423         bit of mantissa of 2^16382.
49424         * math/libm-test.inc (hypot_test_data): Add more tests.
49426         * math/libm-test.inc: Add drem and pow10 to list of tested
49427         functions.
49428         (pow10_test): New function.
49429         (drem_test): Likewise.
49430         (drem_test_tonearest): Likewise.
49431         (drem_test_towardzero): Likewise.
49432         (drem_test_downward): Likewise.
49433         (drem_test_upward): Likewise.
49434         (main): Call the new functions.
49436         * math/libm-test.inc (finite_test_data): Remove.
49437         (finite_test): Run tests from isfinite_test_data.
49438         (gamma_test_data): Remove.
49439         (gamma_test): Run tests from lgamma_test_data.
49440         * sysdeps/i386/fpu/libm-test-ulps: Update.
49441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49443 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49445         * manual/platform.texi: Add PowerPC PPR function set documentation.
49446         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49447         implementation.
49449 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49451         * math/libm-test.inc (MAX_EXP): Define.
49452         (ULPDIFF): Define.
49453         (ulp): New function.
49454         (check_float_internal): Use ULPDIFF.
49455         (cpow_test): Disable failing test.
49456         (check_ulp): Test ulp() implemetnation.
49457         (main): Call check_ulp before starting tests.
49459 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49461         * math/gen-libm-test.pl (generate_testfile): Do not handle
49462         START_DATA and END_DATA.
49463         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49464         END_DATA.
49465         (acos_tonearest_test_data): Likewise.
49466         (acos_towardzero_test_data): Likewise.
49467         (acos_downward_test_data): Likewise.
49468         (acos_upward_test_data): Likewise.
49469         (acosh_test_data): Likewise.
49470         (asin_test_data): Likewise.
49471         (asin_tonearest_test_data): Likewise.
49472         (asin_towardzero_test_data): Likewise.
49473         (asin_downward_test_data): Likewise.
49474         (asin_upward_test_data): Likewise.
49475         (asinh_test_data): Likewise.
49476         (atan_test_data): Likewise.
49477         (atanh_test_data): Likewise.
49478         (atan2_test_data): Likewise.
49479         (cabs_test_data): Likewise.
49480         (cacos_test_data): Likewise.
49481         (cacosh_test_data): Likewise.
49482         (carg_test_data): Likewise.
49483         (casin_test_data): Likewise.
49484         (casinh_test_data): Likewise.
49485         (catan_test_data): Likewise.
49486         (catanh_test_data): Likewise.
49487         (cbrt_test_data): Likewise.
49488         (ccos_test_data): Likewise.
49489         (ccosh_test_data): Likewise.
49490         (ceil_test_data): Likewise.
49491         (cexp_test_data): Likewise.
49492         (cimag_test_data): Likewise.
49493         (clog_test_data): Likewise.
49494         (clog10_test_data): Likewise.
49495         (conj_test_data): Likewise.
49496         (copysign_test_data): Likewise.
49497         (cos_test_data): Likewise.
49498         (cos_tonearest_test_data): Likewise.
49499         (cos_towardzero_test_data): Likewise.
49500         (cos_downward_test_data): Likewise.
49501         (cos_upward_test_data): Likewise.
49502         (cosh_test_data): Likewise.
49503         (cosh_tonearest_test_data): Likewise.
49504         (cosh_towardzero_test_data): Likewise.
49505         (cosh_downward_test_data): Likewise.
49506         (cosh_upward_test_data): Likewise.
49507         (cpow_test_data): Likewise.
49508         (cproj_test_data): Likewise.
49509         (creal_test_data): Likewise.
49510         (csin_test_data): Likewise.
49511         (csinh_test_data): Likewise.
49512         (csqrt_test_data): Likewise.
49513         (ctan_test_data): Likewise.
49514         (ctan_tonearest_test_data): Likewise.
49515         (ctan_towardzero_test_data): Likewise.
49516         (ctan_downward_test_data): Likewise.
49517         (ctan_upward_test_data): Likewise.
49518         (ctanh_test_data): Likewise.
49519         (ctanh_tonearest_test_data): Likewise.
49520         (ctanh_towardzero_test_data): Likewise.
49521         (ctanh_downward_test_data): Likewise.
49522         (ctanh_upward_test_data): Likewise.
49523         (erf_test_data): Likewise.
49524         (erfc_test_data): Likewise.
49525         (exp_test_data): Likewise.
49526         (exp_tonearest_test_data): Likewise.
49527         (exp_towardzero_test_data): Likewise.
49528         (exp_downward_test_data): Likewise.
49529         (exp_upward_test_data): Likewise.
49530         (exp10_test_data): Likewise.
49531         (exp2_test_data): Likewise.
49532         (expm1_test_data): Likewise.
49533         (fabs_test_data): Likewise.
49534         (fdim_test_data): Likewise.
49535         (finite_test_data): Likewise.
49536         (floor_test_data): Likewise.
49537         (fma_test_data): Likewise.
49538         (fma_towardzero_test_data): Likewise.
49539         (fma_downward_test_data): Likewise.
49540         (fma_upward_test_data): Likewise.
49541         (fmax_test_data): Likewise.
49542         (fmin_test_data): Likewise.
49543         (fmod_test_data): Likewise.
49544         (fpclassify_test_data): Likewise.
49545         (frexp_test_data): Likewise.
49546         (gamma_test_data): Likewise.
49547         (hypot_test_data): Likewise.
49548         (ilogb_test_data): Likewise.
49549         (isfinite_test_data): Likewise.
49550         (isgreater_test_data): Likewise.
49551         (isgreaterequal_test_data): Likewise.
49552         (isinf_test_data): Likewise.
49553         (isless_test_data): Likewise.
49554         (islessequal_test_data): Likewise.
49555         (islessgreater_test_data): Likewise.
49556         (isnan_test_data): Likewise.
49557         (isnormal_test_data): Likewise.
49558         (issignaling_test_data): Likewise.
49559         (isunordered_test_data): Likewise.
49560         (j0_test_data): Likewise.
49561         (j1_test_data): Likewise.
49562         (jn_test_data): Likewise.
49563         (ldexp_test_data): Likewise.
49564         (lgamma_test_data): Likewise.
49565         (lrint_test_data): Likewise.
49566         (lrint_tonearest_test_data): Likewise.
49567         (lrint_towardzero_test_data): Likewise.
49568         (lrint_downward_test_data): Likewise.
49569         (lrint_upward_test_data): Likewise.
49570         (llrint_test_data): Likewise.
49571         (llrint_tonearest_test_data): Likewise.
49572         (llrint_towardzero_test_data): Likewise.
49573         (llrint_downward_test_data): Likewise.
49574         (llrint_upward_test_data): Likewise.
49575         (log_test_data): Likewise.
49576         (log10_test_data): Likewise.
49577         (log1p_test_data): Likewise.
49578         (log2_test_data): Likewise.
49579         (logb_test_data): Likewise.
49580         (logb_downward_test_data): Likewise.
49581         (lround_test_data): Likewise.
49582         (llround_test_data): Likewise.
49583         (modf_test_data): Likewise.
49584         (nearbyint_test_data): Likewise.
49585         (nextafter_test_data): Likewise.
49586         (nexttoward_test_data): Likewise.
49587         (pow_test_data): Likewise.
49588         (pow_tonearest_test_data): Likewise.
49589         (pow_towardzero_test_data): Likewise.
49590         (pow_downward_test_data): Likewise.
49591         (pow_upward_test_data): Likewise.
49592         (remainder_test_data): Likewise.
49593         (remainder_tonearest_test_data): Likewise.
49594         (remainder_towardzero_test_data): Likewise.
49595         (remainder_downward_test_data): Likewise.
49596         (remainder_upward_test_data): Likewise.
49597         (remquo_test_data): Likewise.
49598         (rint_test_data): Likewise.
49599         (rint_tonearest_test_data): Likewise.
49600         (rint_towardzero_test_data): Likewise.
49601         (rint_downward_test_data): Likewise.
49602         (rint_upward_test_data): Likewise.
49603         (round_test_data): Likewise.
49604         (scalb_test_data): Likewise.
49605         (scalbn_test_data): Likewise.
49606         (scalbln_test_data): Likewise.
49607         (signbit_test_data): Likewise.
49608         (sin_test_data): Likewise.
49609         (sin_tonearest_test_data): Likewise.
49610         (sin_towardzero_test_data): Likewise.
49611         (sin_downward_test_data): Likewise.
49612         (sin_upward_test_data): Likewise.
49613         (sincos_test_data): Likewise.
49614         (sinh_test_data): Likewise.
49615         (sinh_tonearest_test_data): Likewise.
49616         (sinh_towardzero_test_data): Likewise.
49617         (sinh_downward_test_data): Likewise.
49618         (sinh_upward_test_data): Likewise.
49619         (sqrt_test_data): Likewise.
49620         (tan_test_data): Likewise.
49621         (tan_tonearest_test_data): Likewise.
49622         (tan_towardzero_test_data): Likewise.
49623         (tan_downward_test_data): Likewise.
49624         (tan_upward_test_data): Likewise.
49625         (tanh_test_data): Likewise.
49626         (tgamma_test_data): Likewise.
49627         (trunc_test_data): Likewise.
49628         (y0_test_data): Likewise.
49629         (y1_test_data): Likewise.
49630         (yn_test_data): Likewise.
49631         (significand_test_data): Likewise.
49633         * math/gen-libm-test.pl (@functions): Remove variable.
49634         (generate_testfile): Don't handle START and END lines.
49635         * math/libm-test.inc (START): New macro.
49636         (END): Likewise.
49637         (END_COMPLEX): Likewise.
49638         (acos_test): Use END macro without arguments.
49639         (acos_test_tonearest): Likewise.
49640         (acos_test_towardzero): Likewise.
49641         (acos_test_downward): Likewise.
49642         (acos_test_upward): Likewise.
49643         (acosh_test): Likewise.
49644         (asin_test): Likewise.
49645         (asin_test_tonearest): Likewise.
49646         (asin_test_towardzero): Likewise.
49647         (asin_test_downward): Likewise.
49648         (asin_test_upward): Likewise.
49649         (asinh_test): Likewise.
49650         (atan_test): Likewise.
49651         (atanh_test): Likewise.
49652         (atan2_test): Likewise.
49653         (cabs_test): Likewise.
49654         (cacos_test): Use END_COMPLEX macro without arguments.
49655         (cacosh_test): Likewise.
49656         (carg_test): Use END macro without arguments.
49657         (casin_test): Use END_COMPLEX macro without arguments.
49658         (casinh_test): Likewise.
49659         (catan_test): Likewise.
49660         (catanh_test): Likewise.
49661         (cbrt_test): Use END macro without arguments.
49662         (ccos_test): Use END_COMPLEX macro without arguments.
49663         (ccosh_test): Likewise.
49664         (ceil_test): Use END macro without arguments.
49665         (cexp_test): Use END_COMPLEX macro without arguments.
49666         (cimag_test): Use END macro without arguments.
49667         (clog_test): Use END_COMPLEX macro without arguments.
49668         (clog10_test): Likewise.
49669         (conj_test): Likewise.
49670         (copysign_test): Use END macro without arguments.
49671         (cos_test): Likewise.
49672         (cos_test_tonearest): Likewise.
49673         (cos_test_towardzero): Likewise.
49674         (cos_test_downward): Likewise.
49675         (cos_test_upward): Likewise.
49676         (cosh_test): Likewise.
49677         (cosh_test_tonearest): Likewise.
49678         (cosh_test_towardzero): Likewise.
49679         (cosh_test_downward): Likewise.
49680         (cosh_test_upward): Likewise.
49681         (cpow_test): Use END_COMPLEX macro without arguments.
49682         (cproj_test): Likewise.
49683         (creal_test): Use END macro without arguments.
49684         (csin_test): Use END_COMPLEX macro without arguments.
49685         (csinh_test): Likewise.
49686         (csqrt_test): Likewise.
49687         (ctan_test): Likewise.
49688         (ctan_test_tonearest): Likewise.
49689         (ctan_test_towardzero): Likewise.
49690         (ctan_test_downward): Likewise.
49691         (ctan_test_upward): Likewise.
49692         (ctanh_test): Likewise.
49693         (ctanh_test_tonearest): Likewise.
49694         (ctanh_test_towardzero): Likewise.
49695         (ctanh_test_downward): Likewise.
49696         (ctanh_test_upward): Likewise.
49697         (erf_test): Use END macro without arguments.
49698         (erfc_test): Likewise.
49699         (exp_test): Likewise.
49700         (exp_test_tonearest): Likewise.
49701         (exp_test_towardzero): Likewise.
49702         (exp_test_downward): Likewise.
49703         (exp_test_upward): Likewise.
49704         (exp10_test): Likewise.
49705         (exp2_test): Likewise.
49706         (expm1_test): Likewise.
49707         (fabs_test): Likewise.
49708         (fdim_test): Likewise.
49709         (finite_test): Likewise.
49710         (floor_test): Likewise.
49711         (fma_test): Likewise.
49712         (fma_test_towardzero): Likewise.
49713         (fma_test_downward): Likewise.
49714         (fma_test_upward): Likewise.
49715         (fmax_test): Likewise.
49716         (fmin_test): Likewise.
49717         (fmod_test): Likewise.
49718         (fpclassify_test): Likewise.
49719         (frexp_test): Likewise.
49720         (gamma_test): Likewise.
49721         (hypot_test): Likewise.
49722         (ilogb_test): Likewise.
49723         (isfinite_test): Likewise.
49724         (isgreater_test): Likewise.
49725         (isgreaterequal_test): Likewise.
49726         (isinf_test): Likewise.
49727         (isless_test): Likewise.
49728         (islessequal_test): Likewise.
49729         (islessgreater_test): Likewise.
49730         (isnan_test): Likewise.
49731         (isnormal_test): Likewise.
49732         (issignaling_test): Likewise.
49733         (isunordered_test): Likewise.
49734         (j0_test): Likewise.
49735         (j1_test): Likewise.
49736         (jn_test): Likewise.
49737         (ldexp_test): Likewise.
49738         (lgamma_test): Likewise.
49739         (lrint_test): Likewise.
49740         (lrint_test_tonearest): Likewise.
49741         (lrint_test_towardzero): Likewise.
49742         (lrint_test_downward): Likewise.
49743         (lrint_test_upward): Likewise.
49744         (llrint_test): Likewise.
49745         (llrint_test_tonearest): Likewise.
49746         (llrint_test_towardzero): Likewise.
49747         (llrint_test_downward): Likewise.
49748         (llrint_test_upward): Likewise.
49749         (log_test): Likewise.
49750         (log10_test): Likewise.
49751         (log1p_test): Likewise.
49752         (log2_test): Likewise.
49753         (logb_test): Likewise.
49754         (logb_test_downward): Likewise.
49755         (lround_test): Likewise.
49756         (llround_test): Likewise.
49757         (modf_test): Likewise.
49758         (nearbyint_test): Likewise.
49759         (nextafter_test): Likewise.
49760         (nexttoward_test): Likewise.
49761         (pow_test): Likewise.
49762         (pow_test_tonearest): Likewise.
49763         (pow_test_towardzero): Likewise.
49764         (pow_test_downward): Likewise.
49765         (pow_test_upward): Likewise.
49766         (remainder_test): Likewise.
49767         (remainder_test_tonearest): Likewise.
49768         (remainder_test_towardzero): Likewise.
49769         (remainder_test_downward): Likewise.
49770         (remainder_test_upward): Likewise.
49771         (remquo_test): Likewise.
49772         (rint_test): Likewise.
49773         (rint_test_tonearest): Likewise.
49774         (rint_test_towardzero): Likewise.
49775         (rint_test_downward): Likewise.
49776         (rint_test_upward): Likewise.
49777         (round_test): Likewise.
49778         (scalb_test): Likewise.
49779         (scalbn_test): Likewise.
49780         (scalbln_test): Likewise.
49781         (signbit_test): Likewise.
49782         (sin_test): Likewise.
49783         (sin_test_tonearest): Likewise.
49784         (sin_test_towardzero): Likewise.
49785         (sin_test_downward): Likewise.
49786         (sin_test_upward): Likewise.
49787         (sincos_test): Likewise.
49788         (sinh_test): Likewise.
49789         (sinh_test_tonearest): Likewise.
49790         (sinh_test_towardzero): Likewise.
49791         (sinh_test_downward): Likewise.
49792         (sinh_test_upward): Likewise.
49793         (sqrt_test): Likewise.
49794         (tan_test): Likewise.
49795         (tan_test_tonearest): Likewise.
49796         (tan_test_towardzero): Likewise.
49797         (tan_test_downward): Likewise.
49798         (tan_test_upward): Likewise.
49799         (tanh_test): Likewise.
49800         (tgamma_test): Likewise.
49801         (trunc_test): Likewise.
49802         (y0_test): Likewise.
49803         (y1_test): Likewise.
49804         (yn_test): Likewise.
49805         (significand_test): Likewise.
49807 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49809         [BZ #15381]
49810         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49812 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49814         [BZ #14894]
49815         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49816         __ppc_mdoio and __ppc_mdoom.
49817         * manual/platform.texi: Document new functions __ppc_yield,
49818         __ppc_mdoio and __ppc_mdoom.
49820 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49822         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49823         (main): Mention "tls" pseudo-hwcap is legacy.
49824         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49826 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49828         * math/gen-libm-test.pl (parse_args): Output only string of
49829         arguments as text for test name, not full call or descriptions of
49830         tests for extra outputs.
49831         (generate_testfile): Do not pass function name to parse_args.
49832         Generate this_func variable from START.
49833         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49834         field to arg_str.
49835         (struct test_ff_f_data): Likewise.
49836         (test_ff_f_data_nexttoward): Likewise.
49837         (struct test_fi_f_data): Likewise.
49838         (struct test_fl_f_data): Likewise.
49839         (struct test_if_f_data): Likewise.
49840         (struct test_fff_f_data): Likewise.
49841         (struct test_c_f_data): Likewise.
49842         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49843         (struct test_fF_f1_data): Likewise.
49844         (struct test_ffI_f1_data): Likewise.
49845         (struct test_c_c_data): Rename test_name field to arg_str.
49846         (struct test_cc_c_data): Likewise.
49847         (struct test_f_i_data): Likewise.
49848         (struct test_ff_i_data): Likewise.
49849         (struct test_f_l_data): Likewise.
49850         (struct test_f_L_data): Likewise.
49851         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49852         and extra2_name.
49853         (COMMON_TEST_SETUP): New macro.
49854         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49855         (COMMON_TEST_CLEANUP): Likewise.
49856         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49857         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49858         macros.
49859         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49860         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49861         macros.
49862         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49863         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49864         cleanup macros.
49865         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49866         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49867         macros.
49868         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49869         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49870         macros.
49871         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49872         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49873         cleanup macros.
49874         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49875         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49876         cleanup macros.
49877         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49878         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49879         cleanup macros.
49880         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49881         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49882         macros.
49883         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49884         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49885         macros.
49886         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49887         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49888         macros.
49889         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49890         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49891         cleanup macros.
49892         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49893         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49894         cleanup macros.
49895         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49896         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49897         macros.
49898         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49899         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49900         cleanup macros.
49901         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49902         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49903         macros.
49904         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49905         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49906         macros.
49907         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49908         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49909         cleanup macros.
49910         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49912 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49914         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49915         to _sifields.sigfault.
49916         (si_addr_lsb): Define new macro.
49917         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49919         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49921 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49923         [BZ #15441]
49924         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49925         returns -1.
49926         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49927         null return -1.
49928         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49929         loading the domain.
49931 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49933         * math/gen-libm-test.pl (parse_args): Do not include expected
49934         result in test name.
49935         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49936         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49937         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49938         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49939         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49942 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49944         * benchtests/Makefile: Sort function entries.
49946         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49947         tanh, asinh, acosh, atanh.
49948         * benchtests/acos-inputs: New file.
49949         * benchtests/acosh-inputs: New file.
49950         * benchtests/asin-inputs: New file.
49951         * benchtests/asinh-inputs: New file.
49952         * benchtests/atanh-inputs: New file.
49953         * benchtests/cosh-inputs: New file.
49954         * benchtests/log-inputs: New file.
49955         * benchtests/sinh-inputs: New file.
49956         * benchtests/tanh-inputs: New file.
49958 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49960         [BZ #15339]
49961         * posix/tst-getaddrinfo4.c: New test.
49962         * posix/Makefile (tests): Add it.
49964 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49966         [BZ #15339]
49967         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49968         when no services were used.
49969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49970         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49972 2013-05-21  Andreas Schwab  <schwab@suse.de>
49974         [BZ #15014]
49975         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49976         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49977         successful.
49978         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49979         redundant variable declarations and reallocation of buffer when
49980         parsing as IPv6 address.  Always set NSS status when called from
49981         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49982         buffer too small.  Correct computation of needed size.
49983         * nss/Makefile (tests): Add test-digits-dots.
49984         * nss/test-digits-dots.c: New test.
49986 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49988         * benchtests/Makefile: Remove instructions for adding
49989         benchmark tests.
49990         * benchtests/README: New file to explain how to execute and
49991         enhance the benchmark tests.
49993 2013-05-21  Andreas Schwab  <schwab@suse.de>
49995         [BZ #15493]
49996         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49997         * setjmp/tst-sigsetjmp.c: New test.
49999 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50001         * sysdeps/x86_64/memset.S (memset): New implementation.
50002         (__bzero): Likewise.
50003         (__memset_tail): New function.
50005 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50007         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50008         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50009         __memcpy_sse2_unaligned ifunc selection.
50010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50011         Add memcpy-sse2-unaligned.S.
50012         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50013         Add: __memcpy_sse2_unaligned.
50015 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50017         [BZ #15490]
50018         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50019         math_force_eval before restoring floating-point envrionment.
50020         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50021         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50022         Likewise.
50023         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50024         <math_private.h>.
50025         (__nearbyintl): Use math_force_eval before restoring
50026         floating-point environment.
50027         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50029         * math/gen-libm-test.pl (special_functions): Remove.
50030         (parse_args): Don't handle TEST_extra.  Handle functions with no
50031         return value.
50032         * math/libm-test.inc (struct test_sincos_data): Replace with
50033         struct test_fFF_11_data.
50034         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50035         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50036         (sincos_test_data): Change element type to struct
50037         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50038         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50039         RUN_TEST_LOOP_sincos.
50040         * math/README.libm-test: Don't mention special handling of
50041         individual functions.
50042         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50043         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50044         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50045         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50046         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50049         * math/gen-libm-test.pl (get_variable): Remove function.
50050         (parse_args): Don't show pointer parameters to call in test
50051         names.  Use "extra output N" in test names for extra outputs
50052         rather than naming variables.
50054 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50056         [BZ #15488]
50057         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50058         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50059         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50060         double tests.
50061         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50062         disable.
50063         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50064         check_long_double.
50066         * math/gen-libm-test.pl (@tests): Remove variable.
50067         ($count): Likewise.
50068         (new_test): Remove function.
50069         (show_exceptions): New function.
50070         (special_functions): Use show_exceptions instead of new_test.
50071         (parse_args): Likewise.
50072         (generate_testfile): Pass only function name in generated call to
50073         print_max_error or print_complex_max_error.
50074         (get_ulps): Do not handle complex tests specially.
50075         (output_test): Rename to ...
50076         (get_all_ulps_for_test): ... this.  Return a string rather than
50077         printing to a file.  Require ulps to be present.
50078         (output_ulps): Generate arrays rather than #defines.
50079         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50080         (struct ulp_data): New type.
50081         (BUILD_COMPLEX_ULP): Remove macro.
50082         (compare_ulp_data): New function.
50083         (find_ulps): Likewise.
50084         (find_test_ulps): Likewise.
50085         (find_function_ulps): Likewise.
50086         (find_complex_function_ulps): Likewise.
50087         (print_max_error): Determine allowed ulps using
50088         find_function_ulps.
50089         (print_complex_max_error): Determine allowed ulps using
50090         find_complex_function_ulps.
50091         (check_float_internal): Determine max ulps using find_test_ulps.
50092         (check_float): Do not take max_ulp parameter.  Update call to
50093         check_float_internal.
50094         (check_complex): Likewise.
50095         (check_int): Do not take max_ulp parameter.
50096         (check_long): Likewise.
50097         (check_bool): Likewise.
50098         (check_longlong): Likewise.
50099         (struct test_f_f_data): Remove max_ulp field.
50100         (struct test_ff_f_data): Likewise.
50101         (struct test_ff_f_data_nexttoward): Likewise.
50102         (struct test_fi_f_data): Likewise.
50103         (struct test_fl_f_data): Likewise.
50104         (struct test_if_f_data): Likewise.
50105         (struct test_fff_f_data): Likewise.
50106         (struct test_c_f_data): Likewise.
50107         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50108         (struct test_fF_f1_data): Likewise.
50109         (struct test_ffI_f1_data): Likewise.
50110         (struct test_c_c_data): Remove max_ulp field.
50111         (struct test_cc_c_data): Likewise.
50112         (struct test_f_i_data): Likewise.
50113         (struct test_ff_i_data): Likewise.
50114         (struct test_f_l_data): Likewise.
50115         (struct test_f_L_data): Likewise.
50116         (struct test_sincos_data): Likewise.
50117         (RUN_TEST_f_f): Do not handle ulps.
50118         (RUN_TEST_LOOP_f_f): Likewise.
50119         (RUN_TEST_2_f): Likewise.
50120         (RUN_TEST_LOOP_2_f): Likewise.
50121         (RUN_TEST_fff_f): Likewise.
50122         (RUN_TEST_LOOP_fff_f): Likewise.
50123         (RUN_TEST_c_f): Likewise.
50124         (RUN_TEST_LOOP_c_f): Likewise.
50125         (RUN_TEST_f_f1): Likewise.
50126         (RUN_TEST_LOOP_f_f1): Likewise.
50127         (RUN_TEST_fF_f1): Likewise.
50128         (RUN_TEST_LOOP_fF_f1): Likewise.
50129         (RUN_TEST_fI_f1): Likewise.
50130         (RUN_TEST_LOOP_fI_f1): Likewise.
50131         (RUN_TEST_ffI_f1): Likewise.
50132         (RUN_TEST_LOOP_ffI_f1): Likewise.
50133         (RUN_TEST_c_c): Likewise.
50134         (RUN_TEST_LOOP_c_c): Likewise.
50135         (RUN_TEST_cc_c): Likewise.
50136         (RUN_TEST_LOOP_cc_c): Likewise.
50137         (RUN_TEST_f_i): Likewise.
50138         (RUN_TEST_LOOP_f_i): Likewise.
50139         (RUN_TEST_f_i_tg): Likewise.
50140         (RUN_TEST_LOOP_f_i_tg): Likewise.
50141         (RUN_TEST_ff_i_tg): Likewise.
50142         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50143         (RUN_TEST_f_b): Likewise.
50144         (RUN_TEST_LOOP_f_b): Likewise.
50145         (RUN_TEST_f_b_tg): Likewise.
50146         (RUN_TEST_LOOP_f_b_tg): Likewise.
50147         (RUN_TEST_f_l): Likewise.
50148         (RUN_TEST_LOOP_f_l): Likewise.
50149         (RUN_TEST_f_L): Likewise.
50150         (RUN_TEST_LOOP_f_L): Likewise.
50151         (RUN_TEST_sincos): Likewise.
50152         (RUN_TEST_LOOP_sincos): Likewise.
50154 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50156         [BZ #15480]
50157         [BZ #15485]
50158         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50159         main case of finite arguments, set rounding mode to FE_TONEAREST
50160         and discard exceptions.
50161         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50162         exceptions.
50163         (remainder_tonearest_test_data): New variable.
50164         (remainder_test_tonearest): New function.
50165         (remainder_towardzero_test_data): New variable.
50166         (remainder_test_towardzero): New function.
50167         (remainder_downward_test_data): New variable.
50168         (remainder_test_downward): New function.
50169         (remainder_upward_test_data): New variable.
50170         (remainder_test_upward): New function.
50171         (main): Call the new test functions.
50173         * math/libm-test.inc (struct test_f_f1_data): Remove field
50174         extra_init.
50175         (struct test_fF_f1_data): Likewise.
50176         (struct test_ffI_f1_data): Likewise.
50177         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50178         based on value of EXTRA_EXPECTED.
50179         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50180         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50181         EXTRA_VAR based on value of EXTRA_EXPECTED.
50182         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50183         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50184         EXTRA_VAR based on value of EXTRA_EXPECTED.
50185         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50186         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50187         EXTRA_VAR based on value of EXTRA_EXPECTED.
50188         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50189         * math/gen-libm-test.pl (parse_args): Don't output initializers
50190         for extra output values.
50192         * math/libm-test.inc (check_int): Expect result to be exactly
50193         equal to expected value and do not handle ulps.
50194         (check_long): Likewise.
50195         (check_longlong): Likewise.
50197         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50198         exceptions.
50199         (cimag_test_data): Likewise.
50200         (conj_test_data): Likewise.
50201         (copysign_test_data): Likewise.
50202         (cproj_test_data): Likewise.
50203         (creal_test_data): Likewise.
50204         (fabs_test_data): Likewise.
50205         (fdim_test_data): Likewise.
50206         (finite_test_data): Likewise.
50207         (floor_test_data): Likewise.
50208         (fmax_test_data): Likewise.
50209         (fmin_test_data): Likewise.
50210         (fmod_test_data): Likewise.
50211         (fpclassify_test_data): Likewise.
50212         (frexp_test_data): Likewise.
50213         (ilogb_test_data): Likewise.
50214         (isfinite_test_data): Likewise.
50215         (isgreater_test_data): Likewise.
50216         (isgreaterequal_test_data): Likewise.
50217         (isinf_test_data): Likewise.
50218         (isless_test_data): Likewise.
50219         (islessequal_test_data): Likewise.
50220         (islessgreater_test_data): Likewise.
50221         (isnan_test_data): Likewise.
50222         (isnormal_test_data): Likewise.
50223         (issignaling_test_data): Likewise.
50224         (isunordered_test_data): Likewise.
50225         (ldexp_test_data): Likewise.
50226         (lrint_test_data): Likewise.
50227         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50228         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50229         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50230         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50231         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50232         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50233         test input.
50234         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50235         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50236         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50237         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50238         that test input.
50239         (lrint_downward_test_data): Test for "inexact" exceptions.
50240         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50241         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50242         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50243         test input.
50244         (lrint_upward_test_data): Test for "inexact" exceptions.
50245         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50246         test input.
50247         (llrint_test_data): Test for "inexact" exceptions.
50248         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50249         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50250         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50251         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50252         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50253         (llrint_downward_test_data): Test for "inexact" exceptions.
50254         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50255         (llrint_upward_test_data): Test for "inexact" exceptions.
50256         (logb_test_data): Likewise.
50257         (logb_downward_test_data): Likewise.
50258         (nextafter_test_data): Likewise.
50259         (nexttoward_test_data): Likewise.
50260         (remainder_test_data): Likewise.
50261         (remquo_test_data): Likewise.
50262         (scalbn_test_data): Likewise.
50263         (scalbln_test_data): Likewise.
50264         (signbit_test_data): Likewise.
50265         (sqrt_test_data): Likewise.
50266         (significand_test_data): Likewise.
50268 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50270         [BZ #15424]
50271         * benchtests/bench-modf.c (struct args): Mark arg0 as
50272         volatile.
50273         * scripts/bench.pl: Mark members of struct args as volatile.
50275 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50277         [BZ # 15497]
50278         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50279         negative infinity on POWER6 or lower.
50280         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50282 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50284         [BZ #15442]
50285         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50286         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50287         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50288         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50289         (_FP_SETQNAN): New macro.
50290         (_FP_SETQNAN_SEMIRAW): Likewise.
50291         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50292         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50293         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50294         (FP_EXTEND): Use _FP_FRAC_SNANP.
50295         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50296         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50297         into account.
50298         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50299         New macro.
50300         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50301         Likewise.
50303 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50305         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50306         with DIVIDE_BY_ZERO_EXCEPTION.
50307         (gamma_test_data): Likewise.
50308         (lgamma_test_data): Likewise.
50309         (log_test_data): Likewise.
50310         (log10_test_data): Likewise.
50311         (log2_test_data): Likewise.
50312         (tgamma_test_data): Likewise.
50314         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50315         (acos_test_tonearest): Likewise.
50316         (acos_test_towardzero): Likewise.
50317         (acos_test_downward): Likewise.
50318         (acos_test_upward): Likewise.
50319         (acosh_test): Likewise.
50320         (asin_test): Likewise.
50321         (asin_test_tonearest): Likewise.
50322         (asin_test_towardzero): Likewise.
50323         (asin_test_downward): Likewise.
50324         (asin_test_upward): Likewise.
50325         (asinh_test): Likewise.
50326         (atan_test): Likewise.
50327         (atanh_test): Likewise.
50328         (atan2_test): Likewise.
50329         (cabs_test): Likewise.
50330         (cacos_test): Likewise.
50331         (cacosh_test): Likewise.
50332         (casin_test): Likewise.
50333         (casinh_test): Likewise.
50334         (catan_test): Likewise.
50335         (catanh_test): Likewise.
50336         (cbrt_test): Likewise.
50337         (ccos_test): Likewise.
50338         (ccosh_test): Likewise.
50339         (cexp_test): Likewise.
50340         (clog_test): Likewise.
50341         (clog10_test): Likewise.
50342         (cos_test): Likewise.
50343         (cos_test_tonearest): Likewise.
50344         (cos_test_towardzero): Likewise.
50345         (cos_test_downward): Likewise.
50346         (cos_test_upward): Likewise.
50347         (cosh_test): Likewise.
50348         (cosh_test_tonearest): Likewise.
50349         (cosh_test_towardzero): Likewise.
50350         (cosh_test_downward): Likewise.
50351         (cosh_test_upward): Likewise.
50352         (cpow_test): Likewise.
50353         (csin_test): Likewise.
50354         (csinh_test): Likewise.
50355         (csqrt_test): Likewise.
50356         (ctan_test): Likewise.
50357         (ctan_test_tonearest): Likewise.
50358         (ctan_test_towardzero): Likewise.
50359         (ctan_test_downward): Likewise.
50360         (ctan_test_upward): Likewise.
50361         (ctanh_test): Likewise.
50362         (ctanh_test_tonearest): Likewise.
50363         (ctanh_test_towardzero): Likewise.
50364         (ctanh_test_downward): Likewise.
50365         (ctanh_test_upward): Likewise.
50366         (erf_test): Likewise.
50367         (erfc_test): Likewise.
50368         (exp_test): Likewise.
50369         (exp_test_tonearest): Likewise.
50370         (exp_test_towardzero): Likewise.
50371         (exp_test_downward): Likewise.
50372         (exp_test_upward): Likewise.
50373         (exp10_test): Likewise.
50374         (exp2_test): Likewise.
50375         (expm1_test): Likewise.
50376         (fmod_test): Likewise.
50377         (gamma_test): Likewise.
50378         (hypot_test): Likewise.
50379         (j0_test): Likewise.
50380         (j1_test): Likewise.
50381         (jn_test): Likewise.
50382         (lgamma_test): Likewise.
50383         (log_test): Likewise.
50384         (log10_test): Likewise.
50385         (log1p_test): Likewise.
50386         (log2_test): Likewise.
50387         (logb_test_downward): Likewise.
50388         (pow_test): Likewise.
50389         (pow_test_tonearest): Likewise.
50390         (pow_test_towardzero): Likewise.
50391         (pow_test_downward): Likewise.
50392         (pow_test_upward): Likewise.
50393         (remainder_test): Likewise.
50394         (remquo_test): Likewise.
50395         (sin_test): Likewise.
50396         (sin_test_tonearest): Likewise.
50397         (sin_test_towardzero): Likewise.
50398         (sin_test_downward): Likewise.
50399         (sin_test_upward): Likewise.
50400         (sincos_test): Likewise.
50401         (sinh_test): Likewise.
50402         (sinh_test_tonearest): Likewise.
50403         (sinh_test_towardzero): Likewise.
50404         (sinh_test_downward): Likewise.
50405         (sinh_test_upward): Likewise.
50406         (sqrt_test): Likewise.
50407         (tan_test): Likewise.
50408         (tan_test_tonearest): Likewise.
50409         (tan_test_towardzero): Likewise.
50410         (tan_test_downward): Likewise.
50411         (tan_test_upward): Likewise.
50412         (tanh_test): Likewise.
50413         (tgamma_test): Likewise.
50414         (y0_test): Likewise.
50415         (y1_test): Likewise.
50416         (yn_test): Likewise.
50418         * math/gen-libm-test.pl (adjust_arg): Remove function.
50419         (special_function): Remove argument $in_func.  Only handle
50420         generating output for tables of tests, not inside functions.
50421         (parse_args): Likewise.
50422         (generate_testfile): Remove variable $in_func.  Update call to
50423         parse_args.
50424         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50425         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50426         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50427         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50428         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50429         (MAX_VALUE_INIT): Rename macro to max_value.
50430         (MIN_VALUE_INIT): Rename macro to min_value.
50431         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50432         (plus_zero): Remove variable.
50433         (minus_zero): Likewise.
50434         (plus_infty): Likewise.
50435         (minus_infty): Likewise.
50436         (qnan_value): Likewise.
50437         (max_value): Likewise.
50438         (min_value): Likewise.
50439         (min_subnorm_value): Likewise.
50441 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50443         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50444         uint64_t or uint32_t usage.
50445         * crypt/sha256-block.c: Likewise.
50446         * crypt/sha256-crypt.c: Likewise.
50447         * crypt/sha256.c: Likewise.
50448         * crypt/sha512-block.c: Likewise.
50449         * crypt/sha512-crypt.c: Likewise.
50450         * crypt/sha512.c: Likewise.
50451         * debug/backtrace-tst.c: Likewise.
50452         * debug/pcprofiledump.c: Likewise.
50453         * elf/cache.c: Likewise.
50454         * elf/dl-cache.c: Likewise.
50455         * elf/dl-misc.c: Likewise.
50456         * elf/dl-profile.c: Likewise.
50457         * elf/dl-support.c: Likewise.
50458         * elf/ldconfig.c: Likewise.
50459         * elf/sprof.c: Likewise.
50460         * iconv/dummy-repertoire.c: Likewise.
50461         * iconv/iconv_charmap.c: Likewise.
50462         * iconv/skeleton.c: Likewise.
50463         * iconvdata/8bit-generic.c: Likewise.
50464         * iconvdata/cp737.h: Likewise.
50465         * iconvdata/cp775.h: Likewise.
50466         * iconvdata/ibm1008.h: Likewise.
50467         * iconvdata/ibm1025.h: Likewise.
50468         * iconvdata/ibm1046.h: Likewise.
50469         * iconvdata/ibm1097.h: Likewise.
50470         * iconvdata/ibm1112.h: Likewise.
50471         * iconvdata/ibm1122.h: Likewise.
50472         * iconvdata/ibm1123.h: Likewise.
50473         * iconvdata/ibm1124.h: Likewise.
50474         * iconvdata/ibm1129.h: Likewise.
50475         * iconvdata/ibm1130.h: Likewise.
50476         * iconvdata/ibm1132.h: Likewise.
50477         * iconvdata/ibm1133.h: Likewise.
50478         * iconvdata/ibm1137.h: Likewise.
50479         * iconvdata/ibm1140.h: Likewise.
50480         * iconvdata/ibm1141.h: Likewise.
50481         * iconvdata/ibm1142.h: Likewise.
50482         * iconvdata/ibm1143.h: Likewise.
50483         * iconvdata/ibm1144.h: Likewise.
50484         * iconvdata/ibm1145.h: Likewise.
50485         * iconvdata/ibm1146.h: Likewise.
50486         * iconvdata/ibm1147.h: Likewise.
50487         * iconvdata/ibm1148.h: Likewise.
50488         * iconvdata/ibm1149.h: Likewise.
50489         * iconvdata/ibm1153.h: Likewise.
50490         * iconvdata/ibm1154.h: Likewise.
50491         * iconvdata/ibm1155.h: Likewise.
50492         * iconvdata/ibm1156.h: Likewise.
50493         * iconvdata/ibm1157.h: Likewise.
50494         * iconvdata/ibm1158.h: Likewise.
50495         * iconvdata/ibm1160.h: Likewise.
50496         * iconvdata/ibm1161.h: Likewise.
50497         * iconvdata/ibm1162.h: Likewise.
50498         * iconvdata/ibm1163.h: Likewise.
50499         * iconvdata/ibm1164.h: Likewise.
50500         * iconvdata/ibm1166.h: Likewise.
50501         * iconvdata/ibm1167.h: Likewise.
50502         * iconvdata/ibm12712.h: Likewise.
50503         * iconvdata/ibm1390.h: Likewise.
50504         * iconvdata/ibm1399.h: Likewise.
50505         * iconvdata/ibm16804.h: Likewise.
50506         * iconvdata/ibm4517.h: Likewise.
50507         * iconvdata/ibm4899.h: Likewise.
50508         * iconvdata/ibm4909.h: Likewise.
50509         * iconvdata/ibm4971.h: Likewise.
50510         * iconvdata/ibm5347.h: Likewise.
50511         * iconvdata/ibm803.h: Likewise.
50512         * iconvdata/ibm856.h: Likewise.
50513         * iconvdata/ibm901.h: Likewise.
50514         * iconvdata/ibm902.h: Likewise.
50515         * iconvdata/ibm9030.h: Likewise.
50516         * iconvdata/ibm9066.h: Likewise.
50517         * iconvdata/ibm921.h: Likewise.
50518         * iconvdata/ibm922.h: Likewise.
50519         * iconvdata/ibm9448.h: Likewise.
50520         * iconvdata/isiri-3342.h: Likewise.
50521         * iconvdata/jis0201.h: Likewise.
50522         * include/link.h: Likewise.
50523         * include/netdb.h: Likewise.
50524         * inet/check_native.c: Likewise.
50525         * inet/check_pf.c: Likewise.
50526         * inet/getipv4sourcefilter.c: Likewise.
50527         * inet/getnameinfo.c: Likewise.
50528         * inet/getsourcefilter.c: Likewise.
50529         * inet/htonl.c: Likewise.
50530         * inet/setipv4sourcefilter.c: Likewise.
50531         * inet/setsourcefilter.c: Likewise.
50532         * inet/test-inet6_opt.c: Likewise.
50533         * inet/tst-network.c: Likewise.
50534         * locale/C-collate.c: Likewise.
50535         * locale/C-ctype.c: Likewise.
50536         * locale/C-time.c: Likewise.
50537         * locale/C-translit.h: Likewise.
50538         * locale/loadarchive.c: Likewise.
50539         * locale/programs/3level.h: Likewise.
50540         * locale/programs/charmap.c: Likewise.
50541         * locale/programs/charmap.h: Likewise.
50542         * locale/programs/ld-address.c: Likewise.
50543         * locale/programs/ld-collate.c: Likewise.
50544         * locale/programs/ld-ctype.c: Likewise.
50545         * locale/programs/ld-identification.c: Likewise.
50546         * locale/programs/ld-measurement.c: Likewise.
50547         * locale/programs/ld-messages.c: Likewise.
50548         * locale/programs/ld-monetary.c: Likewise.
50549         * locale/programs/ld-name.c: Likewise.
50550         * locale/programs/ld-numeric.c: Likewise.
50551         * locale/programs/ld-paper.c: Likewise.
50552         * locale/programs/ld-telephone.c: Likewise.
50553         * locale/programs/ld-time.c: Likewise.
50554         * locale/programs/linereader.c: Likewise.
50555         * locale/programs/locale.c: Likewise.
50556         * locale/programs/locarchive.c: Likewise.
50557         * locale/programs/locfile.h: Likewise.
50558         * locale/programs/repertoire.c: Likewise.
50559         * locale/programs/simple-hash.c: Likewise.
50560         * locale/programs/simple-hash.h: Likewise.
50561         * malloc/memusage.c: Likewise.
50562         * malloc/memusagestat.c: Likewise.
50563         * nis/nis_defaults.c: Likewise.
50564         * nis/nis_hash.c: Likewise.
50565         * nis/nis_print.c: Likewise.
50566         * nis/nis_xdr.c: Likewise.
50567         * nscd/connections.c: Likewise.
50568         * nscd/hstcache.c: Likewise.
50569         * nscd/nscd_gethst_r.c: Likewise.
50570         * nscd/nscd_getserv_r.c: Likewise.
50571         * nscd/nscd_helper.c: Likewise.
50572         * nscd/servicescache.c: Likewise.
50573         * nss/makedb.c: Likewise.
50574         * nss/nss_db/db-XXX.c: Likewise.
50575         * nss/nss_db/db-initgroups.c: Likewise.
50576         * nss/nss_db/db-netgrp.c: Likewise.
50577         * nss/nss_files/files-network.c: Likewise.
50578         * nss/nss_files/files-parse.c: Likewise.
50579         * posix/bug-regex5.c: Likewise.
50580         * posix/fnmatch_loop.c: Likewise.
50581         * posix/regcomp.c: Likewise.
50582         * posix/regexec.c: Likewise.
50583         * posix/tst-rfc3484-2.c: Likewise.
50584         * posix/tst-rfc3484-3.c: Likewise.
50585         * posix/tst-rfc3484.c: Likewise.
50586         * resolv/nss_dns/dns-canon.c: Likewise.
50587         * resolv/nss_dns/dns-network.c: Likewise.
50588         * resolv/res_init.c: Likewise.
50589         * resolv/res_mkquery.c: Likewise.
50590         * resolv/tst-aton.c: Likewise.
50591         * stdlib/cxa_atexit.c: Likewise.
50592         * stdlib/cxa_finalize.c: Likewise.
50593         * stdlib/gen-fpioconst.c: Likewise.
50594         * stdlib/strtol_l.c: Likewise.
50595         * string/tst-endian.c: Likewise.
50596         * sunrpc/auth_des.c: Likewise.
50597         * sunrpc/clnt_udp.c: Likewise.
50598         * sunrpc/rtime.c: Likewise.
50599         * sunrpc/svcauth_des.c: Likewise.
50600         * sunrpc/xdr.c: Likewise.
50601         * sunrpc/xdr_intXX_t.c: Likewise.
50602         * sunrpc/xdr_rec.c: Likewise.
50603         * sysdeps/generic/ldconfig.h: Likewise.
50604         * sysdeps/generic/ldsodefs.h: Likewise.
50605         * sysdeps/generic/memusage.h: Likewise.
50606         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50607         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50608         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50609         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50610         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50612         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50613         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50614         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50615         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50616         * sysdeps/posix/getaddrinfo.c: Likewise.
50617         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50618         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50619         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50620         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50621         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50622         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50623         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50624         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50625         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50626         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50627         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50628         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50629         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50630         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50631         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50632         * sysdeps/x86_64/dl-tls.h: Likewise.
50633         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50634         * time/alt_digit.c: Likewise.
50635         * time/era.c: Likewise.
50636         * wcsmbs/tst-c16c32-1.c: Likewise.
50638 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50640         * math/libm-test.inc (struct test_sincos_data): New type.
50641         (RUN_TEST_LOOP_sincos): New macro.
50642         (sincos_test_data): New variable.
50643         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50645 2013-05-16  Richard Henderson  <rth@redhat.com>
50647         * math/atest-exp2.c (LIMB64): New macro.
50648         (CONSTSZ): New macro.
50649         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50650         (hexdig): Move ...
50651         (print_mpn_fp): ... to function scope.
50652         (read_mpn_hex): Remove.
50653         (get_log2): Remove.
50654         (exp2_mpn): Use mp_log2.
50655         (main): Use mp_exp1.
50657 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50659         * math/libm-test.inc: Remove comment about not testing "inexact"
50660         exceptions.
50661         (INEXACT_EXCEPTION): New macro.
50662         (NO_INEXACT_EXCEPTION): Likewise.
50663         (INVALID_EXCEPTION_OK): Update value.
50664         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50665         (OVERFLOW_EXCEPTION_OK): Likewise.
50666         (UNDERFLOW_EXCEPTION_OK): Likewise.
50667         (IGNORE_ZERO_INF_SIGN): Likewise.
50668         (ERRNO_UNCHANGED): Likewise.
50669         (ERRNO_EDOM): Likewise.
50670         (ERRNO_ERANGE): Likewise.
50671         (test_exceptions): Handle testing "inexact" exceptions.
50672         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50673         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50674         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50675         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50676         INEXACT_EXCEPTION.
50677         (rint_towardzero_test_data): Likewise.
50678         (rint_downward_test_data): Likewise.
50679         (rint_upward_test_data): Likewise.
50681         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50682         with OVERFLOW_EXCEPTION.
50683         (exp10_test_data): Likewise.
50684         (exp2_test_data): Likewise.
50685         (expm1_test_data): Likewise.
50686         (lgamma_test_data): Likewise.
50687         (pow_test_data): Likewise.
50688         (tgamma_test_data): Likewise.
50689         (yn_test_data): Remove duplicate test of overflow.
50691         * math/libm-test.inc (struct test_cc_c_data): New type.
50692         (RUN_TEST_LOOP_cc_c): New macro.
50693         (cpow_test_data): New variable.
50694         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50696         * math/libm-test.inc (struct test_f_L_data): New type.
50697         (RUN_TEST_LOOP_f_L): New macro.
50698         (llrint_test_data): New variable.
50699         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50700         (llrint_tonearest_test_data): New variable.
50701         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50702         (llrint_towardzero_test_data): New variable.
50703         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50704         (llrint_downward_test_data): New variable.
50705         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50706         (llrint_upward_test_data): New variable.
50707         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50708         (llround_test_data): New variable.
50709         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50711 2013-05-13  Peter Collingbourne  <pcc@google.com>
50713         * math/atest-exp2.c (get_log2): Remove const attribute.
50715 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50717         * math/libm-test.inc (struct test_f_l_data): New type.
50718         (RUN_TEST_LOOP_f_l): New macro.
50719         (lrint_test_data): New variable.
50720         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50721         (lrint_tonearest_test_data): New variable.
50722         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50723         (lrint_towardzero_test_data): New variable.
50724         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50725         (lrint_downward_test_data): New variable.
50726         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50727         (lrint_upward_test_data): New variable.
50728         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50729         (lround_test_data): New variable.
50730         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50732 2013-05-15  Peter Collingbourne  <pcc@google.com>
50734         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50735         (EXTRACT_WORDS64) Use where appropriate.
50736         (INSERT_WORDS64) Likewise.
50738         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50739         constraints with x constraints.
50740         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50742         * malloc/obstack.c (_obstack_compat): Add initializer.
50744 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50746         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50747         si_trapno and add si_addr_lsb to _sifields.sigfault.
50748         (si_trapno): Remove macro.
50749         (si_addr_lsb): Define new macro.
50750         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50752 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50754         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50755         instead of TEST_f_l.
50756         (llrint_test_tonearest): Likewise.
50757         (llrint_test_towardzero): Likewise.
50758         (llrint_test_downward): Likewise.
50759         (llrint_test_upward): Likewise.
50760         (llround_test): Likewise.
50762         * math/libm-test.inc (struct test_f_i_data): Add comment.
50763         (RUN_TEST_LOOP_f_b): New macro.
50764         (RUN_TEST_LOOP_f_b_tg): Likewise.
50765         (finite_test_data): New variable.
50766         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50767         (isfinite_test_data): New variable.
50768         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50769         (isinf_test_data): New variable.
50770         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50771         (isnan_test_data): New variable.
50772         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50773         (isnormal_test_data): New variable.
50774         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50775         (issignaling_test_data): New variable.
50776         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50777         (signbit_test_data): New variable.
50778         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50780         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50781         with INVALID_EXCEPTION.
50782         (acosh_test_data): Likewise.
50783         (asin_test_data): Likewise.
50784         (atanh_test_data): Likewise.
50785         (fmod_test_data): Likewise.
50786         (log_test_data): Likewise.
50787         (log10_test_data): Likewise.
50788         (log2_test_data): Likewise.
50789         (pow_test_data): Likewise.
50790         (sqrt_test_data): Likewise.
50791         (y0_test_data): Likewise.
50792         (y1_test_data): Likewise.
50793         (yn_test_data): Likewise.
50795         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50796         function contents.
50798         * math/libm-test.inc (struct test_ff_i_data): New type.
50799         (RUN_TEST_LOOP_ff_i_tg): New macro.
50800         (isgreater_test_data): New variable.
50801         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50802         (isgreaterequal_test_data): New variable.
50803         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50804         (isless_test_data): New variable.
50805         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50806         (islessequal_test_data): New variable.
50807         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50808         (islessgreater_test_data): New variable.
50809         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50810         (isunordered_test_data): New variable.
50811         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50813 2013-05-14  David S. Miller  <davem@davemloft.net>
50815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50817 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50819         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50821         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50822         extra_test to int.
50823         (struct test_f_i_data): Change type of max_ulp to int.
50825         * math/libm-test.inc (test_ffI_f1_data): New type.
50826         (RUN_TEST_LOOP_ffI_f1): New macro.
50827         (remquo_test_data): New variable.
50828         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50830         * setjmp/tst-setjmp-fp.c: New file.
50831         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50832         (link-libm): New variable.
50833         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50835         * math/libm-test.inc (struct test_f_i_data): New type.
50836         (RUN_TEST_LOOP_f_i): New macro.
50837         (RUN_TEST_LOOP_f_i_tg): Likewise.
50838         (fpclassify_test_data): New variable.
50839         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50840         (ilogb_test_data): New variable.
50841         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50843         * math/libm-test.inc (scalbln_test): Correct function name in END
50844         call.
50846         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50847         (RUN_TEST_LOOP_fI_f1): New macro.
50848         (frexp_test_data): New variable.
50849         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50851         * math/libm-test.inc (struct test_fF_f1_data): New type.
50852         (RUN_TEST_LOOP_fF_f1): New macro.
50853         (modf_test_data): New variable.
50854         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50856         * math/libm-test.inc (struct test_f_f1_data): New type.
50857         (RUN_TEST_LOOP_f_f1): New macro.
50858         (gamma_test_data): New variable.
50859         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50860         (lgamma_test_data): New variable.
50861         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50863 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50865         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50866         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50867         (main): Comment "tls" pseudo-hwcap.
50869 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50871         * math/libm-test.inc (struct test_fl_f_data): New type.
50872         (RUN_TEST_LOOP_fl_f): New variable.
50873         (scalbln_test_data): New variable.
50874         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50876         * math/libm-test.inc (struct test_fi_f_data): New type.
50877         (RUN_TEST_LOOP_fi_f): New macro.
50878         (ldexp_test_data): New variable.
50879         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50880         (scalbn_test_data): New variable.
50881         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50883         * math/libm-test.inc (struct test_c_f_data): New type.
50884         (RUN_TEST_LOOP_c_f): New macro.
50885         (cabs_test_data): New variable.
50886         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50887         (carg_test_data): New variable.
50888         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50889         (cimag_test_data): New variable.
50890         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50891         (creal_test_data): New variable.
50892         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50894         * math/libm-test.inc (struct test_if_f_data): New type.
50895         (RUN_TEST_LOOP_if_f): New macro.
50896         (jn_test_data): New variable.
50897         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50898         (yn_test_data): New variable.
50899         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50901         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50903 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50905         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50906         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50908 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50910         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50911         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50912         (bench-deps): Add bench-timing.h.
50913         * benchtests-bench-skeleton.c: Include bench-timing.h.
50914         (main): Use TIMING_* macros instead of clock_gettime.
50915         * benchtests/bench-timing.h: New file.
50917         [BZ #14582]
50918         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50919         Renamed from _LIB_VERSION.
50920         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50922 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50924         * math/libm-test.inc (struct test_fff_f_data): New type.
50925         (RUN_TEST_LOOP_fff_f): New macro.
50926         (fma_test_data): New variable.
50927         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50928         (fma_towardzero_test_data): New variable.
50929         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50930         (fma_downward_test_data): New variable.
50931         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50932         (fma_upward_test_data): New variable.
50933         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50935         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50936         (struct test_c_c_data): New type.
50937         (RUN_TEST_LOOP_c_c): New macro.
50938         (cacos_test_data): New variable.
50939         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50940         (cacosh_test_data): New variable.
50941         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50942         (casin_test_data): New variable.
50943         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50944         (casinh_test_data): New variable.
50945         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50946         (catan_test_data): New variable.
50947         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50948         (catanh_test_data): New variable.
50949         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50950         (ccos_test_data): New variable.
50951         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50952         (ccosh_test_data): New variable.
50953         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50954         (cexp_test_data): New variable.
50955         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50956         (clog_test_data): New variable.
50957         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50958         (clog10_test_data): New variable.
50959         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50960         (conj_test_data): New variable.
50961         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50962         (cproj_test_data): New variable.
50963         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50964         (csin_test_data): New variable.
50965         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50966         (csinh_test_data): New variable.
50967         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50968         (csqrt_test_data): New variable.
50969         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50970         (ctan_test_data): New variable.
50971         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50972         (ctan_tonearest_test_data): New variable.
50973         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50974         (ctan_towardzero_test_data): New variable.
50975         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50976         (ctan_downward_test_data): New variable.
50977         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50978         (ctan_upward_test_data): New variable.
50979         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50980         (ctanh_test_data): New variable.
50981         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50982         (ctanh_tonearest_test_data): New variable.
50983         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50984         (ctanh_towardzero_test_data): New variable.
50985         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50986         (ctanh_downward_test_data): New variable.
50987         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50988         (ctanh_upward_test_data): New variable.
50989         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50990         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50991         of BUILD_COMPLEX.
50993         * math/libm-test.inc (struct test_ff_f_data): New type.
50994         (struct test_ff_f_data_nexttoward): Likewise.
50995         (RUN_TEST_LOOP_2_f): New macro.
50996         (RUN_TEST_LOOP_ff_f): Likewise.
50997         (atan2_test_data): New variable.
50998         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50999         (copysign_test_data): New variable.
51000         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51001         (fdim_test_data): New variable.
51002         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51003         (fmax_test_data): New variable.
51004         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51005         (fmin_test_data): New variable.
51006         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51007         (fmod_test_data): New variable.
51008         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51009         (hypot_test_data): New variable.
51010         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51011         (nextafter_test_data): New variable.
51012         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51013         (nexttoward_test_data): New variable.
51014         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51015         (pow_test_data): New variable.
51016         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51017         (pow_tonearest_test_data): New variable.
51018         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51019         (pow_towardzero_test_data): New variable.
51020         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51021         (pow_downward_test_data): New variable.
51022         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51023         (pow_upward_test_data): New variable.
51024         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51025         (remainder_test_data): New variable.
51026         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51027         (scalb_test_data): New variable.
51028         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51029         * sysdeps/i386/fpu/libm-test-ulps: Update.
51031 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51033         * math/libm-test.inc (fma_test): Use max_value instead of local
51034         variable fltmax.
51035         (nextafter_test): Likewise.
51037         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51038         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51039         (acos_downward_test_data): New variable.
51040         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51041         (acos_upward_test_data): New variable.
51042         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51043         (acosh_test_data): New variable.
51044         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51045         (asin_test_data): New variable.
51046         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51047         (asin_tonearest_test_data): New variable.
51048         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51049         (asin_towardzero_test_data): New variable.
51050         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51051         (asin_downward_test_data): New variable.
51052         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51053         (asin_upward_test_data): New variable.
51054         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51055         (asinh_test_data): New variable.
51056         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51057         (atan_test_data): New variable.
51058         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51059         (atanh_test_data): New variable.
51060         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51061         (cbrt_test_data): New variable.
51062         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51063         (ceil_test_data): New variable.
51064         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51065         (cos_test_data): New variable.
51066         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51067         (cos_tonearest_test_data): New variable.
51068         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51069         (cos_towardzero_test_data): New variable.
51070         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51071         (cos_downward_test_data): New variable.
51072         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51073         (cos_upward_test_data): New variable.
51074         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51075         (cosh_test_data): New variable.
51076         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51077         (cosh_tonearest_test_data): New variable.
51078         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51079         (cosh_towardzero_test_data): New variable.
51080         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51081         (cosh_downward_test_data): New variable.
51082         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51083         (cosh_upward_test_data): New variable.
51084         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51085         (erf_test_data): New variable.
51086         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51087         (erfc_test_data): New variable.
51088         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51089         (exp_test_data): New variable.
51090         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51091         (exp_tonearest_test_data): New variable.
51092         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51093         (exp_towardzero_test_data): New variable.
51094         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51095         (exp_downward_test_data): New variable.
51096         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51097         (exp_upward_test_data): New variable.
51098         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51099         (exp10_test_data): New variable.
51100         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51101         (exp2_test_data): New variable.
51102         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51103         (expm1_test_data): New variable.
51104         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51105         (fabs_test_data): New variable.
51106         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51107         (floor_test_data): New variable.
51108         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51109         (j0_test_data): New variable.
51110         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51111         (j1_test_data): New variable.
51112         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51113         (log_test_data): New variable.
51114         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51115         (log10_test_data): New variable.
51116         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51117         (log1p_test_data): New variable.
51118         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51119         (log2_test_data): New variable.
51120         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51121         (logb_test_data): New variable.
51122         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51123         (logb_downward_test_data): New variable.
51124         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51125         (nearbyint_test_data): New variable.
51126         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51127         (rint_test_data): New variable.
51128         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51129         (rint_tonearest_test_data): New variable.
51130         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51131         (rint_towardzero_test_data): New variable.
51132         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51133         (rint_downward_test_data): New variable.
51134         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51135         (rint_upward_test_data): New variable.
51136         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51137         (round_test_data): New variable.
51138         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51139         (sin_test_data): New variable.
51140         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51141         (sin_tonearest_test_data): New variable.
51142         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51143         (sin_towardzero_test_data): New variable.
51144         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51145         (sin_downward_test_data): New variable.
51146         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51147         (sin_upward_test_data): New variable.
51148         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51149         (sinh_test_data): New variable.
51150         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51151         (sinh_tonearest_test_data): New variable.
51152         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51153         (sinh_towardzero_test_data): New variable.
51154         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51155         (sinh_downward_test_data): New variable.
51156         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51157         (sinh_upward_test_data): New variable.
51158         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51159         (sqrt_test_data): New variable.
51160         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51161         (tan_test_data): New variable.
51162         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51163         (tan_tonearest_test_data): New variable.
51164         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51165         (tan_towardzero_test_data): New variable.
51166         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51167         (tan_downward_test_data): New variable.
51168         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51169         (tan_upward_test_data): New variable.
51170         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51171         (tanh_test_data): New variable.
51172         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51173         (tgamma_test_data): New variable.
51174         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51175         (trunc_test_data): New variable.
51176         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51177         (y0_test_data): New variable.
51178         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51179         (y1_test_data): New variable.
51180         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51181         (significand_test_data): New variable.
51182         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51184 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51186         [BZ #12387]
51187         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51189 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51191         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51193 2013-05-10  Andreas Jaeger  <aj@suse.de>
51195         [BZ #15448]
51196         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51197         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51199 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51201         * math/gen-libm-test.pl (adjust_arg): New function.
51202         (special_functions): Handle generating output in both functions
51203         and arrays.
51204         (parse_args): Likewise.
51205         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51206         $in_func argument to parse_args.
51207         * math/libm-test.inc (struct test_f_f_data): New type.
51208         (IF_ROUND_INIT_): New macro.
51209         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51210         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51211         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51212         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51213         (ROUND_RESTORE_): Likewise.
51214         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51215         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51216         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51217         (ROUND_RESTORE_FE_UPWARD): Likewise.
51218         (RUN_TEST_LOOP_f_f): New macro.
51219         (acos_test_data): New variable.
51220         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51221         (acos_tonearest_test_data): New variable.
51222         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51224 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51226         * benchtests/bench-skeleton.c (startup): Fix coding style.
51228 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51230         [BZ #6809]
51231         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51232         negative infinity argument.
51233         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51234         negative infinity argument.
51235         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51236         negative infinity argument.
51237         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51238         domain errors.
51240 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51242         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51243         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51244         * iconv/iconv_prog.c (main): Likewise.
51245         * locale/programs/charmap-dir.c (charmap_readdir)
51246         (fopen_uncompressed): Likewise.
51247         * locale/programs/locfile.c (siblings_uncached)
51248         (write_locale_data): Use lstat64 instead of lstat.
51249         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51250         stat.
51252 2013-05-10  Andreas Jaeger  <aj@suse.de>
51254         [BZ #15395]
51255         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51256         localization.
51257         Include <locale.h>.
51259 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51261         * elf/dl-close.c (_dl_close_worker): Add comments.
51263 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51265         [BZ #15359]
51266         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51267         high part of pi/2.
51268         (__ieee754_rem_pio2l): Update comments.
51270         [BZ #15429]
51271         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51272         high part of pi/2.
51273         (__ieee754_rem_pio2l): Update comments.
51275         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51276         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51278         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51279         M_PI_4l.
51281         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51282         (M_PI_34_LOG10El): Likewise.
51283         (M_PI2_LOG10El): Likewise.
51284         (M_PI4_LOG10El): Likewise.
51285         (M_PI_LOG10El): Likewise.
51287 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51291 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51293         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51294         (MINUS_ZERO_INIT): Likewise.
51295         (PLUS_INFTY_INIT): Likewise.
51296         (MINUS_INFTY_INIT): Likewise.
51297         (QNAN_VALUE_INIT): Likewise.
51298         (MAX_VALUE_INIT): Likewise.
51299         (MIN_VALUE_INIT): Likewise.
51300         (MIN_SUBNORM_VALUE_INIT): Likewise.
51301         (plus_zero): Initialize with PLUS_ZERO_INIT.
51302         (minus_zero): Initialize with MINUS_ZERO_INIT.
51303         (plus_infty): Initialize with PLUS_INFTY_INIT.
51304         (minus_infty): Initialize with MINUS_INFTY_INIT.
51305         (qnan_value): Initialize with QNAN_VALUE_INIT.
51306         (max_value): Initialize with MAX_VALUE_INIT.
51307         (min_value): Initialize with MIN_VALUE_INIT.
51308         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51310         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51311         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51312         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51313         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51315         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51316         (RUN_TEST_2_f): Likewise.
51317         (RUN_TEST_ff_f): Likewise.
51318         (RUN_TEST_fi_f): Likewise.
51319         (RUN_TEST_fl_f): Likewise.
51320         (RUN_TEST_fff_f): Likewise.
51321         (RUN_TEST_c_f): Likewise.
51322         (RUN_TEST_f_f1): Likewise.
51323         (RUN_TEST_fF_f1): Likewise.
51324         (RUN_TEST_fI_f1): Likewise.
51325         (RUN_TEST_ffI_f1): Likewise.
51326         (RUN_TEST_c_c): Likewise.
51327         (RUN_TEST_cc_c): Likewise.
51328         (RUN_TEST_f_i): Likewise.
51329         (RUN_TEST_f_i_tg): Likewise.
51330         (RUN_TEST_ff_i_tg): Likewise.
51331         (RUN_TEST_f_b): Likewise.
51332         (RUN_TEST_f_b_tg): Likewise.
51333         (RUN_TEST_f_l): Likewise.
51334         (RUN_TEST_f_L): Likewise.
51335         (RUN_TEST_sincos): Likewise.
51336         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51337         whether to show exceptions.  Do not include ");\n" in return
51338         value.
51339         (special_functions): Output call to RUN_TEST_sincos instead of
51340         check_float calls.  Update calls to new_test.
51341         (parse_args): Output call to single RUN_TEST_* macro instead of
51342         check_* calls and other assignments.  Update calls to new_test.
51344         [BZ #2546]
51345         [BZ #2560]
51346         [BZ #5159]
51347         [BZ #15426]
51348         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51349         input to result for tgamma overflow.
51350         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51351         (gamma_coeff): New variable.
51352         (NCOEFF): New macro.
51353         (gamma_positive): New function.
51354         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51355         underflow here.  Use gamma_positive instead of exp (lgamma) for
51356         other arguments.
51357         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51358         (gamma_coeff): New variable.
51359         (NCOEFF): New macro.
51360         (gammaf_positive): New function.
51361         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51362         underflow here.  Use gamma_positive instead of exp (lgamma) for
51363         other arguments.
51364         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51365         (gamma_coeff): New variable.
51366         (NCOEFF): New macro.
51367         (gammal_positive): New function.
51368         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51369         underflow here.  Use gamma_positive instead of exp (lgamma) for
51370         other arguments.
51371         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51372         (gamma_coeff): New variable.
51373         (NCOEFF): New macro.
51374         (gammal_positive): New function.
51375         (__ieee754_gammal_r): Handle positive infinity, overflow and
51376         underflow here.  Handle NaN the same as positive infinity.  Remove
51377         check x < 0xffffffff for negative integers.  Use gamma_positive
51378         instead of exp (lgamma) for other arguments.
51379         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51380         (gamma_coeff): New variable.
51381         (NCOEFF): New macro.
51382         (gammal_positive): New function.
51383         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51384         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51385         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51386         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51387         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51388         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51389         * sysdeps/generic/math_private.h (__gamma_productf): New
51390         prototype.
51391         (__gamma_product): Likewise.
51392         (__gamma_productl): Likewise.
51393         * math/Makefile (libm-calls): Add gamma_product.
51394         * math/libm-test.inc (tgamma_test): Add more tests.
51395         * sysdeps/i386/fpu/libm-test-ulps: Update.
51396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51398 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51400         * benchtests/bench-skeleton.c (main): Preheat CPU.
51402 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51404         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51406 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51408         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51409         and _dl_skip_args_internal.
51411 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51413         * manual/message.texi (Message Translation): Talk about users.
51414         Message to key mapping impacts design.
51416 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51418         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51420         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51422         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51423         * sysdeps/wordsize-64/glob64.c: ... here.
51425         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51426         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51427         New macros.
51429         * debug/getlogin_r_chk.c: Moved to ...
51430         * login/getlogin_r_chk.c: ... here.
51431         * debug/Makefile (routines): Move getlogin_r_chk to ...
51432         * login/Makefile (routines): ... here.
51433         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51434         * login/Versions (libc: GLIBC_2.4): ... here.
51436         * io/poll.c (__poll): Renamed from poll.
51437         Add libc_hidden_def.
51438         (poll): Define as weak alias.
51440         * debug/ptsname_r_chk.c: Moved to ...
51441         * login/ptsname_r_chk.c: ... here.
51442         * debug/Makefile (routines): Move ptsname_r_chk to ...
51443         * login/Makefile (routines): ... here.
51444         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51445         * login/Versions (libc: GLIBC_2.4): ... here.
51447         * posix/getlogin.c: Moved to ...
51448         * login/getlogin.c: ... here.
51449         * posix/getlogin_r.c: Moved to ...
51450         * login/getlogin_r.c: ... here.
51451         * posix/getlogin_r.c: Moved to ...
51452         * login/getlogin_r.c: ... here.
51453         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51454         * login/Makefile (routines): ... here.
51455         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51456         * login/Versions (libc: GLIBC_2.0): ... here.
51458         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51459         (setrlimit): Define as weak alias.
51461         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51462         Call __ names for open, ftruncate, and close.
51463         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51464         (truncate): Define as weak alias.
51466 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51468         * math/gen-libm-test.pl (parse_args): Initialize x before each
51469         test of frexp, modf and remquo.
51471         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51472         test signgam value.
51474 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51476         [BZ #15418]
51477         [BZ #15419]
51478         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51479         internal tests.
51480         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51482 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51484         * elf/dl-writev.h: New file.
51485         * elf/dl-misc.c: Include it.
51486         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51487         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51489 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51491         * math/libm-test.inc (noXFails): Remove variable.
51492         (noXPasses): Likewise.
51493         (BUILD_COMPLEX_INT): Remove macro.
51494         (print_screen): Remove xfail argument.
51495         (print_screen_max_error): Likewise.
51496         (update_stats): Likewise.
51497         (print_max_error): Likewise.  Update calls to other affected
51498         functions.
51499         (print_complex_max_error): Likewise.
51500         (test_single_exception): Update calls to print_screen.
51501         (test_single_errno): Likewise.
51502         (check_float_internal): Remove xfail argument.  Update calls to
51503         other affected functions.
51504         (check_float): Likewise.
51505         (check_complex): Likewise.
51506         (check_int): Likewise.
51507         (check_long): Likewise.
51508         (check_bool): Likewise.
51509         (check_longlong): Likewise.
51510         (main): Don't print noXFails and noXPasses.
51511         * math/gen-libm-test.pl (top level): Don't mention expected
51512         failure handling in comment.
51513         (new_test): Don't handle expected failures.
51514         (parse_args): Don't mention expected failure handling in comment.
51515         (generate_testfile): Don't handle expected failures.
51516         (parse_ulps): Likewise.
51517         (print_ulps_file): Likewise.
51518         (get_failure): Remove function.
51519         (output_test): Don't handle expected failures.
51520         * make/README.libm-test: Don't mention expected failure handling.
51522         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51523         (minus_zero): Likewise.
51524         (plus_infty): Likewise.
51525         (minus_infty): Likewise.
51526         (qnan_value): Likewise.
51527         (max_value): Likewise.
51528         (min_value): Likewise.
51529         (min_subnorm_value): Likewise.
51530         (initialize): Do not initialize those variables dynamically.
51532 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51534         * io/open.c (__open_2): Moved to ...
51535         * io/open_2.c: ... this new file.
51536         * io/open64.c (__open64_2): Moved to ...
51537         * io/open64_2.c: ... this new file.
51538         * io/openat.c (__openat_2): Moved to ...
51539         * io/openat_2.c: ... this new file.
51540         * io/openat64.c (__openat64_2): Moved to ...
51541         * io/openat64_2.c: ... this new file.
51542         * io/Makefile (routines): Add them.
51543         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51544         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51545         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51546         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51547         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51548         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51549         (__openat64): Add hidden_ver.
51550         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51551         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51553         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51554         Separately conditionalize setting of GLRO(dl_sysinfo) so
51555         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51556         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51558 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51560         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51561         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51562         definition.
51563         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51564         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51565         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51566         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51567         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51569 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51571         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51572         test signgam value.
51574         * math/libm-test.inc (hypot_test): Do not use
51575         IGNORE_ZERO_INF_SIGN.
51577 2013-05-03  Andreas Jaeger  <aj@suse.de>
51579         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51580         Linux 3.9.
51581         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51582         (PF_MAX): Adjust for VSOCK change.
51584 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51588 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51590         [BZ #15264]
51591         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51592         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51593         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51595 2013-05-02  David S. Miller  <davem@davemloft.net>
51597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51599 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51601         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51603 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51605         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51607 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51609         [BZ #14952]
51610         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51611         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51612         Use __attribute__ ((__gnu_inline__)).
51613         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51614         Don't use __attribute__ ((__gnu_inline__)).
51616 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51618         [BZ #15423]
51619         * math/s_catan.c (__catan): Handle small real or imaginary part of
51620         input specially to avoid spurious underflow.
51621         * math/s_catanf.c (__catanf): Likewise.
51622         * math/s_catanh.c (__catanh): Likewise.
51623         * math/s_catanhf.c (__catanhf): Likewise.
51624         * math/s_catanhl.c (__catanhl): Likewise.
51625         * math/s_catanl.c (__catanl): Likewise.
51626         * math/libm-test.inc (catan_test): Add more tests.
51627         (catanh_test): Likewise.
51628         * sysdeps/i386/fpu/libm-test-ulps: Update.
51629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51631 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51635 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51637         [BZ #15416]
51638         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51639         accurately for denominator in atan2.
51640         * math/s_catanf.c (__catanf): Likewise.
51641         * math/s_catanh.c (__catanh): Likewise.
51642         * math/s_catanhf.c (__catanhf): Likewise.
51643         * math/s_catanhl.c (__catanhl): Likewise.
51644         * math/s_catanl.c (__catanl): Likewise.
51645         * math/libm-test.inc (catan_test): Add more tests.
51646         (catanh_test): Likewise.
51647         * sysdeps/i386/fpu/libm-test-ulps: Update.
51648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51650 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51652         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51654         * benchtests/Makefile (bench): Remove slow benchmarks.
51655         * benchtests/atan-inputs: Add slow benchmark inputs.
51656         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51657         (BENCH_FUNC): Accept variant offset.
51658         (VARIANT): Define.
51659         * benchtests/bench-skeleton.c (main): Run benchmark for each
51660         variant.
51661         * benchtests/cos-inputs: Add slow benchmark inputs.
51662         * benchtests/exp-inputs: Likewise.
51663         * benchtests/pow-inputs: Likewise.
51664         * benchtests/sin-inputs: Likewise.
51665         * benchtests/slowatan-inputs: Remove.
51666         * benchtests/slowatan.c: Remove.
51667         * benchtests/slowcos-inputs: Remove.
51668         * benchtests/slowcos.c: Remove.
51669         * benchtests/slowexp-inputs: Remove.
51670         * benchtests/slowexp.c: Remove.
51671         * benchtests/slowpow-inputs: Remove.
51672         * benchtests/slowpow.c: Remove.
51673         * benchtests/slowsin-inputs: Remove.
51674         * benchtests/slowsin.c: Remove.
51675         * benchtests/slowtan-inputs: Remove.
51676         * benchtests/slowtan.c: Remove.
51677         * benchtests/tan-inputs: Add slow benchmark inputs.
51678         * scripts/bench.pl: Parse comments and directives.
51680         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51681         in CPPFLAGS.
51682         ($(objpfx)bench-%.c): Remove *-ITER.
51683         * benchtests/bench-modf.c: Remove definition of ITER.
51684         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51685         (main): Loop for DURATION seconds instead of fixed number of
51686         iterations.
51687         * scripts/bench.pl: Don't expect iterations in parameters.
51689 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51691         * io/fchdir.c (__fchdir): Renamed from fchdir.
51692         (fchdir): Define as weak alias.
51694 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51696         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51697         (ERRNO_EDOM): Likewise.
51698         (ERRNO_ERANGE): Likewise.
51699         (noErrnoTests): New variable.
51700         (init_max_error): Set errno to 0.
51701         (test_single_errno): New function.
51702         (test_errno): Likewise.
51703         (check_float_internal): Call test_errno.  Set errno to 0.
51704         (check_complex): Refer to errno tests in comment.
51705         (check_int): Call test_errno.  Set errno to 0.
51706         (check_long): Likewise.
51707         (check_bool): Likewise.
51708         (check_longlong): Likewise.
51709         (cos_test): Use ERRNO_* flags for errno tests instead of
51710         check_int.
51711         (expm1_test): Likewise.
51712         (fmod_test): Likewise.
51713         (ilogb_test): Likewise.
51714         (lgamma_test): Likewise.
51715         (pow_test): Likewise.
51716         (remainder_test): Likewise.
51717         (sin_test): Likewise.
51718         (tan_test): Likewise.
51719         (yn_test): Likewise.
51720         (initialize): Set errno to 0.
51721         (main): Print number of errno tests.
51722         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51724 2013-04-29  Andreas Jaeger  <aj@suse.de>
51726         [BZ #15084]
51727         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51728         and RES_USEVC.
51730         [BZ #15085]
51731         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51732         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51733         unimplemented.
51735         [BZ #15380]
51736         * stdlib/random.c (__initstate): Return NULL if
51737         __initstate fails.
51739         [BZ #15086]
51740         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51741         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51742         RES_SNGLKUPREOP.
51744 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51748 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51750         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51751         of individual tests.
51752         (casin_test): Likewise.
51753         (casinh_test): Likewise.
51755 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51757         [BZ #15409]
51758         * math/s_catan.c (__catan): Handle arguments with large real or
51759         imaginary part separately without squaring.
51760         * math/s_catanf.c (__catanf): Likewise.
51761         * math/s_catanh.c (__catanh): Likewise.
51762         * math/s_catanhf.c (__catanhf): Likewise.
51763         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51764         and redefine.
51765         (__catanhl): Handle arguments with large real or imaginary part
51766         separately without squaring.
51767         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51768         and redefine.
51769         (__catanl): Handle arguments with large real or imaginary part
51770         separately without squaring.
51771         * math/libm-test.inc (catan_test): Add more tests.
51772         (catanh_test): Likewise.
51773         * sysdeps/i386/fpu/libm-test-ulps: Update.
51774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51776 2013-04-27  Andreas Jaeger  <aj@suse.de>
51778         [BZ #15007]
51779         * stdlib/stdlib.h: Update guards for qecvt.
51780         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51781         <stdlib.h>.
51783 2013-04-27  Allan McRae  <allan@archlinux.org>
51785         * sysdeps/i386/fpu/libm-test-ulps: Update.
51787 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51789         [BZ #15406]
51790         * math/s_catan.c: Include <float.h>.
51791         (__catan): Ensure underflow exception occurs for underflowed
51792         result.
51793         * math/s_catanf.c: Include <float.h>.
51794         (__catanf): Ensure underflow exception occurs for underflowed
51795         result.
51796         * math/s_catanh.c: Include <float.h>.
51797         (__catanh): Ensure underflow exception occurs for underflowed
51798         result.
51799         * math/s_catanhf.c: Include <float.h>.
51800         (__catanhf): Ensure underflow exception occurs for underflowed
51801         result.
51802         * math/s_catanhl.c: Include <float.h>.
51803         (__catanhl): Ensure underflow exception occurs for underflowed
51804         result.
51805         * math/s_catanl.c: Include <float.h>.
51806         (__catanl): Ensure underflow exception occurs for underflowed
51807         result.
51808         * math/libm-test.inc (catan_test): Add more tests.
51809         (catanh_test): Likewise.
51811         [BZ #15405]
51812         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51813         underflowed result.
51814         * math/s_ccoshf.c (__ccoshf): Likewise.
51815         * math/s_ccoshl.c (__ccoshl): Likewise.
51816         * math/s_csin.c (__csin): Likewise.
51817         * math/s_csinf.c (__csinf): Likewise.
51818         * math/s_csinh.c (__csinh): Likewise.
51819         * math/s_csinhf.c (__csinhf): Likewise.
51820         * math/s_csinhl.c (__csinhl): Likewise.
51821         * math/s_csinl.c (__csinl): Likewise.
51822         * math/libm-test.inc (ccos_test): Add more tests.
51823         (ccosh_test): Likewise.
51824         (csin_test): Likewise.
51825         (csinh_test): Likewise.
51827 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51829         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51830         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51831         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51832         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51833         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51834         powerpc/power5+/fpu folders.
51835         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51838 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51842 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51844         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51845         additions to variable.
51846         [$(config-machine) = x86_64] (modules-names): Likewise.
51847         ($(objpfx)tst-audit3): Remove dependency.
51848         ($(objpfx)tst-audit3.out): Likewise.
51849         ($(objpfx)tst-audit4): Likewise.
51850         ($(objpfx)tst-audit4.out): Likewise.
51851         ($(objpfx)tst-audit5): Likewise.
51852         ($(objpfx)tst-audit5.out): Likewise.
51853         ($(objpfx)tst-audit6): Likewise.
51854         ($(objpfx)tst-audit6.out): Likewise.
51855         ($(objpfx)tst-audit7): Likewise.
51856         ($(objpfx)tst-audit7.out): Likewise.
51857         (tst-audit3-ENV): Remove variable.
51858         (tst-audit4-ENV): Likewise.
51859         (tst-audit5-ENV): Likewise.
51860         (tst-audit6-ENV): Likewise.
51861         (tst-audit7-ENV): Likewise.
51862         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51863         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51864         addition to variable.
51865         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51866         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51867         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51868         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51869         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51870         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51871         tst-audit3, tst-audit4 and tst-audit5.
51872         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51873         tst-audit6 and tst-audit7.
51874         [$(subdir) = elf] (modules-names): Add audit modules for those
51875         tests.
51876         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51877         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51878         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51879         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51880         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51881         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51882         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51883         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51884         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51885         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51886         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51887         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51888         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51889         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51890         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51891         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51892         Likewise.
51893         [$(subdir) = elf && $(config-cflags-avx) = yes]
51894         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51895         [$(subdir) = elf && $(config-cflags-avx) = yes]
51896         (CFLAGS-tst-auditmod4a.c): Likewise.
51897         [$(subdir) = elf && $(config-cflags-avx) = yes]
51898         (CFLAGS-tst-auditmod4b.c): Likewise.
51899         [$(subdir) = elf && $(config-cflags-avx) = yes]
51900         (CFLAGS-tst-auditmod6b.c): Likewise.
51901         [$(subdir) = elf && $(config-cflags-avx) = yes]
51902         (CFLAGS-tst-auditmod6c.c): Likewise.
51903         [$(subdir) = elf && $(config-cflags-avx) = yes]
51904         (CFLAGS-tst-auditmod7b.c): Likewise.
51905         * elf/tst-audit3.c: Move to ...
51906         * sysdeps/x86_64/tst-audit3.c: ... here.
51907         * elf/tst-audit4.c: Move to ...
51908         * sysdeps/x86_64/tst-audit4.c: ... here.
51909         * elf/tst-audit5.c: Move to ...
51910         * sysdeps/x86_64/tst-audit5.c: ... here.
51911         * elf/tst-audit6.c: Move to ...
51912         * sysdeps/x86_64/tst-audit6.c: ... here.
51913         * elf/tst-audit7.c: Move to ...
51914         * sysdeps/x86_64/tst-audit7.c: ... here.
51915         * elf/tst-auditmod3a.c: Move to ...
51916         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51917         * elf/tst-auditmod3b.c: Move to ...
51918         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51919         * elf/tst-auditmod4a.c: Move to ...
51920         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51921         * elf/tst-auditmod4b.c: Move to ...
51922         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51923         * elf/tst-auditmod5a.c: Move to ...
51924         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51925         * elf/tst-auditmod5b.c: Move to ...
51926         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51927         * elf/tst-auditmod6a.c: Move to ...
51928         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51929         * elf/tst-auditmod6b.c: Move to ...
51930         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51931         * elf/tst-auditmod6c.c: Move to ...
51932         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51933         * elf/tst-auditmod7a.c: Move to ...
51934         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51935         * elf/tst-auditmod7b.c: Move to ...
51936         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51938 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51940         [BZ #15366]
51941         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51942         define unconditionally.
51943         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51944         define unconditionally.
51945         (INT8_C, INT16_C, etc.): Likewise.
51947 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51949         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51950         __ehdr_start with hidden visibility.
51952         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51954 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51956         * math/libm-test.inc (cos_test): Use accurate hex constants.
51957         (sincost_test): Likewise.
51959 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51961         * math/libm-test.inc (catan_test): Add more tests.
51962         (catanh_test): Likewise.
51964         * math/s_catanf.c (__catanf): Use suffixed floating-point
51965         constants.
51966         * math/s_catanhf.c (__catanhf): Likewise.
51967         * math/s_catanhl.c (__catanhl): Likewise.
51968         * math/s_catanl.c (__catanl): Likewise.
51970         [BZ #15394]
51971         * math/s_catan.c (__catan): Calculate imaginary part of result
51972         with log1p not log unless computing log of number close to 0.
51973         * math/s_catanf.c (__catanf): Likewise.
51974         * math/s_catanl.c (__catanl): Likewise.
51975         * math/s_catanh.c (__catanh): Calculate real part of result with
51976         log1p not log unless computing log of number close to 0.
51977         * math/s_catanhf.c (__catanhf): Likewise.
51978         * math/s_catanhl.c (__catanhl): Likewise.
51979         * math/libm-test.inc (catan_test): Add more tests.
51980         (catanh_test): Likewise.
51981         * sysdeps/i386/fpu/libm-test-ulps: Update.
51982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51984 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51986         * benchtests/Makefile: Mention files in which fast and slow
51987         paths of math functions are implemented.
51989 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51991         * sysdeps/posix/timespec_get.c: New file.
51993 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51995         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51996         POWER.
51997         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51998         for POWER.
51999         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52000         powerpc/power5/fpu folders.
52001         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52002         * benchtests/Makefile: Add modf testcase.
52003         * benchtests/bench-modf.c: New file: Benchmark test for mo
52005 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52007         [BZ #14888]
52008         * time/Makefile (tests): Add tst-strptime-whitespace.
52009         * time/strptime_l.c (get_number): Use ISSPACE.
52010         (__strptime_internal): Likewise.
52011         * time/tst-strptime-whitespace.c: New test case.
52013 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52015         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52016         member.
52017         (_nss_files_init): Set it here.
52019 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52021         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52022         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52023         unsigned.
52025 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52027         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52029 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52031         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52032         size just once.
52034 2013-04-21  David S. Miller  <davem@davemloft.net>
52036         * po/ru.po: Update Russion translation from translation project.
52038 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52040         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52041         and setfsgid.
52043 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52045         * configure.in: Remove i386 configure warning. Remove i386 case.
52046         * configure: Regenerate.
52047         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52048         Add example to error message.
52049         * sysdeps/i386/configure: Regenerate.
52051 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52053         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52054         slowtan.
52055         * benchtests/cos-inputs: New file.
52056         * benchtests/slowcos-inputs: New file.
52057         * benchtests/slowcos.c: New file.
52058         * benchtests/slowtan-inputs: New file.
52059         * benchtests/slowtan.c: New file.
52060         * benchtests/tan-inputs: New file.
52062 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52064         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52065         considered kosher.
52067 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52069         * benchtests/Makefile: Include cppflags-iterator.mk to add
52070         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52072         * Makefile.in (bench-clean): New target.
52073         * benchtests/Makefile (bench-clean): Likewise.
52075 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52077         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52079 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52081         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52083 2013-04-15  Andreas Schwab  <schwab@suse.de>
52085         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52086         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52087         * nscd/pwdcache.c (cache_addpw): Likewise.
52088         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52089         more than recsize.
52091 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52093         * benchtests/Makefile (bench): Write all output to
52094         bench-out.tmp together.
52096 2013-04-15  Andreas Schwab  <schwab@suse.de>
52098         * nscd/nscd.c (main): Don't fork again after closing files.
52100 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52102         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52104         * benchtests/Rules (bench-deps): Collect dependencies into a
52105         single variable.  Add Makefile to dependencies.
52106         ($(objpfx)bench-%.c): Depend on bench-deps.
52108 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52109             Xavier Roche  <roche+kml2@exalead.com>
52111         [BZ #15361]
52112         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52113         just that it's a file descriptor.
52114         * manual/llio.texi (Synchronizing AIO Operations): Update description
52115         for EBADF error from aio_fsync.
52117 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52119         * Rules (bench): Move target definition...
52120         * benchtests/Makefile: ... here.
52122 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52124         * math/libm-test.inc (cos_test): Fix PI/2 test.
52125         (sincos_test): Likewise.
52126         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52127         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52129 2013-04-11  Andreas Schwab  <schwab@suse.de>
52131         [BZ #13988]
52132         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52133         accept exponent character only when digits were seen.
52134         * stdio-common/Makefile (tests): Add bug26.
52135         * stdio-common/bug26.c: New file.
52137         [BZ #14293]
52138         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52139         non-freeable.
52141 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52143         * Makeconfig (rtld-prefix): Define built linker prefix.
52144         * Rules (run-bench): Use it.
52145         * math/Makefile (run-regen-ulps): Likewise.
52147         * Rules (bench): Remove eval.
52149 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52150             Roland McGrath  <roland@hack.frob.com>
52151             Ondrej Bilka  <neleai@seznam.cz>
52153         [BZ #15346]
52154         * time/getdate.c: Include ctype.h and alloca.h.
52155         (__getdate_r): Trim leading and trailing spaces of input.
52156         * time/tst-getdate.c (tests): Add tests with leading and
52157         trailing spaces.
52159 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52161         [BZ #14280]
52162         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52163         when computing value.
52165 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52167         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52168         Use testrun.sh to run libm tests.
52170         [BZ #15309]
52171         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52173 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52175         [BZ #15264]
52176         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52178 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52180         * Makefile.in (regen-ulps): New target.
52181         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52182         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52183         [ifneq (no,$(PERL)] (regen-ulps): New target.
52184         [ifeq (no,$(PERL)] (regen-ulps): New target.
52185         * math/libm-test.inc (ulps_file_name): Define.
52186         (output_dir): New variable.
52187         (options): Add "output-dir" option.
52188         (parse_opt): Handle 'o' case.
52189         (main): If output_dir is non-NULL use it as a prefix
52190         otherwise use "".
52191         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52193 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52195         [BZ #10060, #10062]
52196         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52197         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52198         fail configure if __sync_val_compare_and_swap is not inlined.
52199         * sysdeps/i386/configure: Regenerate.
52200         * configure.in: Build for i686 when configured for i386.
52201         * configure: Regenerate.
52202         * README: Remove i386 reference.
52204 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52206         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52207         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52209 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52211         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52212         (lmsnanval): New variables.
52213         (F): Add conversion tests.
52214         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52215         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52217         * stdio-common/tstdiomisc.c (F): Properly collect individual
52218         tests' results.
52220         [BZ #14686, #15336]
52221         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52222         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52223         Instead, use input NaN values or generate a qNaN by arithmetic
52224         operation.  Also fix bugs to comply with the standard.
52225         * math/libm-test.inc (remainder_test): Add more tests.
52227         [BZ #15335, #15342]
52228         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52229         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52230         input NaN values or generate a qNaN by arithmetic operation.
52232         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52233         unreachable code.
52235         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52236         definitions.
52238 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52240         [BZ #14478]
52241         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52242         underflowed result.
52243         * math/s_cexpf.c (__cexpf): Likewise.
52244         * math/s_cexpl.c (__cexpl): Likewise.
52245         * math/libm-test.inc (cexp_test): Add more tests.
52247 2013-04-03  Andreas Schwab  <schwab@suse.de>
52249         [BZ #15330]
52250         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52251         order arrays from heap if bigger than alloca cutoff.
52253 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52255         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52256         (SNAN_TESTS_double): Refer to GCC PR56831.
52257         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52258         GCC PR56828.
52260 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52262         * Rules (bench): Move bench.out after the run is complete.
52264         * Rules (bench): Echo currently running benchmark.
52266         * benchtests/Makefile (bench): Add atan and slowatan.
52267         * benchtests/atan-inputs: New file.
52268         * benchtests/slowatan-inputs: New file.
52269         * benchtests/slowatan.c: New file.
52271         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52272         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52273         its value.
52275         [BZ #15305]
52276         * sysdeps/unix/sysv/linux/kernel-features.h
52277         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52278         __ASSUME_XFS_RESTRICTED_CHOWN.
52279         * sysdeps/unix/sysv/linux/pathconf.c
52280         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52281         Save and restore errno.
52283 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52285         [BZ #15327]
52286         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52287         arguments using __kernel_casinh.
52288         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52289         arguments using __kernel_casinhf.
52290         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52291         arguments using __kernel_casinhl.
52292         * math/libm-test.inc (cacosh_test): Add more tests.
52293         * sysdeps/i386/fpu/libm-test-ulps: Update.
52294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52296 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52298         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52299         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52301         * bench/Makefile (bench): Add sin and slowsin.
52302         * benchtests/sin-inputs: New file.
52303         * benchtests/slowsin-inputs: New file.
52304         * benchtests/slowsin.c: New file.
52306         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52307         (bench): Add slowexp and slowpow.
52308         (exp-ITER): Increase iterations.
52309         (pow-ITER): Likewise.
52310         * benchtests/exp-inputs: Change input.
52311         * benchtests/pow-inputs: Likewise.
52312         * benchtests/slowexp-inputs: New file.
52313         * benchtests/slowexp.c: New file.
52314         * benchtests/slowpow-inputs: New file.
52315         * benchtests/slowpow.c: New file.
52317 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52319         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52320         instructions.
52321         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52322         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52323         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52324         * benchtests/Makefile: Add rint benchtest.
52325         * benchtests/rint-inputs: Input for rint benchtest.
52327 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52329         * Versions.def (libm): Add GLIBC_2.18.
52330         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52331         hidden libm prototypes.
52332         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52333         * math/Makefile (libm-calls): Add s_issignaling.
52334         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52335         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52336         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52337         declaration.
52338         * math/math.h [__USE_GNU] (issignaling): New macro.
52339         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52340         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52341         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52342         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52343         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52344         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52345         * manual/arith.texi (issignaling): New section.
52346         * manual/libm-err-tab.pl (@all_functions): Update comment.
52347         * math/gen-libm-test.pl (parse_args): Apply special handling for
52348         issignaling.
52349         * math/libm-test.inc (print_float, issignaling_test): New
52350         functions.
52351         (check_float_internal): Add issignaling checks.
52352         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52353         default definition.
52354         * sysdeps/powerpc/math-tests.h: New file.
52355         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52356         tests.
52357         * math/test-snan.c (TEST_FUNC): Likewise.
52359 2013-03-30  David S. Miller  <davem@davemloft.net>
52361         * po/de.po: Update from translation team.
52363 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52365         [BZ #10357]
52366         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52367         imaginary part less than 1.0 and real part less than 0.5
52368         specially.
52369         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52370         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52371         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52372         (cacos_test): Add more tests.
52373         (casin_test): Likewise.
52374         (casinh_test): Likewise.
52375         * sysdeps/i386/fpu/libm-test-ulps: Update.
52376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52378 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52380         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52381         ONE with its value.
52383         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52384         (__pow_mp): Replace ONE and MONE with their values.
52385         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52386         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52387         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52388         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52389         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52390         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52392         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52394         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52395         (__pow_mp): Replace ZERO and MZERO with their values.
52396         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52398         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52399         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52400         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52401         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52402         (__sqr): Likewise.
52404         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52406         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52408 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52410         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52411         Declare with __attribute__ ((weak)).
52412         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52413         Call __call_tls_dtors only if it's not NULL.
52415 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52417         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52418         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52419         magic __ehdr_start linker symbol if it's defined.
52420         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52421         them up here if it was already done.
52423         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52424         (_dl_aux_init): Use const in cast when setting it.
52425         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52426         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52427         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52429         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52430         Declare them here.
52431         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52432         * csu/libc-tls.c: Nor here.
52433         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52435         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52436         (__libc_message): Never call vsyslog.
52438 2013-03-28  Alan Modra  <amodra@gmail.com>
52440         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52441         Define as empty.
52442         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52443         Likewise.
52445 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52447         [BZ #15214]
52448         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52449         underflow.
52450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52452 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52454         [BZ #15304]
52455         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52456         Don't add gid passed as argument.
52458         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52460 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52462         [BZ #15307]
52463         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52464         imaginary part between 1.0 and 1.5 and real part less than 0.5
52465         specially.
52466         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52467         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52468         * math/libm-test.inc (cacos_test): Add more tests.
52469         (casin_test): Likewise.
52470         (casinh_test): Likewise.
52471         * sysdeps/i386/fpu/libm-test-ulps: Update.
52472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52474 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52476         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52477         constants.
52478         (norm): Likewise.
52479         (denorm): Likewise.
52480         (__dbl_mp): Likewise.
52481         (add_magnitudes): Likewise.
52482         (sub_magnitudes): Likewise.
52483         (__add): Likewise.
52484         (__sub): Likewise.
52485         (__mul): Likewise.
52486         (__sqr): Likewise.
52487         (__inv): Likewise.
52488         (__dvd): Likewise.
52490         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52491         commented code.
52492         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52493         (__dubcos): Likewise.
52494         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52495         (__ieee754_acos): Likewise.
52496         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52497         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52498         (__exp1): Likewise.
52499         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52501         (log1): Likewise.
52502         (my_log2): Likewise.
52503         (checkint): Likewise.
52504         * sysdeps/ieee754/dbl-64/e_remainder.c
52505         (__ieee754_remainder): Likewise.
52506         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52508         (bsloww): Likewise.
52509         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52511         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52512         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52513         MANTISSA_STORE_T to store computations on mantissa.  Use
52514         macros for rounding and division.
52515         (denorm): Likewise.
52516         (__dbl_mp): Likewise.
52517         (add_magnitudes): Likewise.
52518         (sub_magnitudes): Likewise.
52519         (__mul): Likewise.
52520         (__sqr): Likewise.
52521         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52522         powers of two in terms of TWOPOW macro.
52523         (mp_no): Make type of mantissa as MANTISSA_T.
52524         [!RADIXI]: Define RADIXI.
52525         [!TWO52]: Define TWO52.
52526         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52528 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52530         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52531         llroundl symbol when building for PPC32.
52533 2013-03-24  Mark H Weaver  <mhw@netris.org>
52535         * manual/arith.texi (Normalization Functions): Fix prototypes for
52536         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52538 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52540         [BZ #13889]
52541         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52542         high value to check if expl overflow.
52543         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52544         to check for underflow and overflow.
52545         * math/libm-test.inc: Add exp test.
52547 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52549         [BZ #11120]
52550         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52551         with NOT_IN_libc.
52553 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52555         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52556         symbol.
52558 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52560         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52561         wrap blocks consisting of several statements.
52563         * sysdeps/generic/math-tests.h: New file.
52564         * sysdeps/i386/fpu/math-tests.h: Likewise.
52565         * math/test-snan.c: Include it.
52566         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52568 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52570         [BZ #15285]
52571         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52572         (__ieee754_j0l): Do not improve calculations using cos of twice
52573         input for inputs above LDBL_MAX / 2.0L.
52574         (__ieee754_y0l): Likewise.
52575         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52576         (__ieee754_j1l): Do not improve calculations using cos of twice
52577         input for inputs above LDBL_MAX / 2.0L.
52578         (__ieee754_y1l): Likewise.
52579         * math/libm-test.inc (j0_test): Add another test.
52580         (j1_test): Likewise.
52581         (y0_test): Likewise.
52582         (y1_test): Likewise.
52583         * sysdeps/i386/fpu/libm-test-ulps: Update.
52585 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52587         * Rules ($(objpfx)bench-%.c): Include code from a C source
52588         file.
52590 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52592         [BZ #15287]
52593         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52594         imaginary part 1.0 and real part less than 0.5 specially.
52595         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52596         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52597         * math/libm-test.inc (cacos_test): Add more tests.
52598         (casin_test): Likewise.
52599         (casinh_test): Likewise.
52600         * sysdeps/i386/fpu/libm-test-ulps: Update.
52601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52603 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52605         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52606         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52608 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52610         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52611         * config.make.in (config-cflags-sse4): Remove variable.
52612         (config-cflags-avx): Likewise.
52613         (config-cflags-sse2avx): Likewise.
52614         (config-cflags-novzeroupper): Likewise.
52615         (config-asflags-i686): Likewise.
52616         (have-mfma4): Likewise.
52617         (have-as-vis3): Likewise.
52618         (MIG): Likewise.
52619         * configure.in (MIG): Do not AC_SUBST.
52620         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52621         (libc_cv_cc_sse4): Do not AC_SUBST.
52622         (libc_cv_cc_avx): Likewise.
52623         (libc_cv_cc_sse2avx): Likewise.
52624         (libc_cv_cc_novzeroupper): Likewise.
52625         (libc_cv_cc_fma4): Likewise.
52626         (libc_cv_as_i686): Likewise.
52627         (libc_cv_sparc_as_vis3): Likewise.
52628         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52629         LIBC_CONFIG_VAR.
52630         (config-asflags-i686): Likewise.
52631         (config-cflags-avx): Likewise.
52632         (config-cflags-sse2avx): Likewise.
52633         (have-mfma4): Likewise.
52634         (config-cflags-novzeroupper): Likewise.
52635         * sysdeps/mach/configure.in (MIG): Likewise.
52636         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52637         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52638         LIBC_CONFIG_VAR.
52639         (config-cflags-avx): Likewise.
52640         (config-cflags-sse2avx): Likewise.
52641         (have-mfma4): Likewise.
52642         (config-cflags-novzeroupper): Likewise.
52643         * configure: Regenerated.
52644         * sysdeps/i386/configure: Likewise.
52645         * sysdeps/mach/configure: Likewise.
52646         * sysdeps/sparc/configure: Likewise.
52647         * sysdeps/x86_64/configure: Likewise.
52649 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52651         [BZ #14812]
52652         * locale/programs/localedef.c (options): Put N_ translation marker
52653         on argument names, not just descriptions.
52655 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52657         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52659 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52661         [BZ #14176]
52662         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52664 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52666         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52667         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52668         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52669         [!BEFORE_ABORT] (before_abort): New function.
52670         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52671         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52672         (writev_for_fatal): New function.
52673         (WRITEV_FOR_FATAL): New macro; call that.
52674         (backtrace_and_maps): New function.
52675         (BEFORE_ABORT): New macro; call that.
52676         (struct str_list): Type removed.
52677         (__libc_message, __libc_fatal): Functions removed.
52678         Include <sysdeps/posix/libc_fatal.c> instead.
52680 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52682         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52683         constants.
52684         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52685         double constants.
52687 2013-03-19  Andreas Schwab  <schwab@suse.de>
52689         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52690         * sysdeps/gnu/configure: Regenerate.
52692         * configure.in: Substitute libc_cv_rtlddir.
52693         * configure: Regenerate.
52694         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52695         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52696         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52697         * elf/Makefile (install-others, CFLAGS-interp.c)
52698         (ldso_install, common-ldd-rewrite): Likewise.
52699         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52700         $(inst_slibdir)/$(rtld-installed-name).
52701         * scripts/rellns-sh: Add -p option.
52702         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52703         for source.
52705 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52707         * manual/nptl.texi: Renamed to ...
52708         * manual/threads.texi: ... this.
52709         * manual/Makefile (chapters): Update.
52711 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52713         [BZ #14812]
52714         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52715         on argument names, not just descriptions.
52716         * malloc/memusagestat.c (options): Likewise.
52717         * nss/getent.c (options): Likewise.
52719 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52721         [BZ #14812]
52722         * iconv/iconv_prog.c (options): Put N_ translation marker
52723         on argument names, not just descriptions.
52724         * iconv/iconvconfig.c (options): Likewise.
52726 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52728         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52729         implementation which is faster on all x86_64 architectures.
52730         Tested on AMD, Intel Nehalem, SNB, IVB.
52731         * sysdeps/x86_64/strnlen.S: Likewise.
52733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52734         Remove all multiarch strlen and strnlen versions.
52735         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52736         Remove strlen and strnlen related parts.
52738         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52739         Inline strlen part.
52740         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52742         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52743         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52744         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52745         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52746         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52747         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52749 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52751         * manual/memory.texi (Malloc Tunable Parameters):
52752         Sort parameters alphabetically. Add comments for missing entries.
52754 2013-03-17  David S. Miller  <davem@davemloft.net>
52756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52758 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52760         [BZ #15283]
52761         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52762         for arguments at most half maximum finite value.
52763         * math/libm-test.inc (j0_test): Add more tests.
52764         (j1_test): Likewise.
52765         (y0_test): Likewise.
52766         (y1_test): Likewise.
52767         * sysdeps/i386/fpu/libm-test-ulps: Update.
52768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52770         [BZ #14155]
52771         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52772         1 / x and functions P and Q for arguments above 0x1p256L.
52773         (__ieee754_y0l): Likewise.
52774         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52775         (__ieee754_y1l): Likewise.
52776         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52777         (j1_test): Likewise.
52778         (y0_test): Likewise.
52779         (y1_test): Likewise.
52781 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52783         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52784         variable.
52786 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52788         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52789         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52790         zero since it's initialized to EXEC_PAGESIZE.
52792         * sysdeps/unix/sysv/linux/ldsodefs.h
52793         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52794         * sysdeps/generic/ldsodefs.h: ... here.
52796 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52798         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52800         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52801         math/test-snan.c.
52802         * math/test-snan.c: Renamed from
52803         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52804         * math/Makefile (tests): Add test-snan.
52805         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52806         test-powerpc-snan.
52808         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52809         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52810         functions.
52811         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52812         __builtin_nan family of functions.
52813         * math/libm-test.inc (initialize): Initialize qnan_value with
52814         __builtin_nan family of functions.
52815         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52816         Remove variables.
52817         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52818         Remove functions.
52819         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52820         storage class.  Initialize qNaN_var and sNaN_var with
52821         __builtin_nan and __builtin_nans families of functions,
52822         respectively.
52824         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52825         (sqrt_test): Remove duplicate test with qNaN input.
52826         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52827         (round_test, signbit_test, significand_test): Note missing +/-Inf
52828         as well as qNaN tests.
52830         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52831         qNaN_var.  Fix a few strings, too.
52832         * math/libm-test.inc (nan_value): Rename to qnan_value.
52833         * math/gen-libm-test.pl (%beautify): Adjust to that.
52834         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52835         * math/test-misc.c (main): Likewise.
52836         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52837         to __qnan_bytes, and __qnan_union, respectively.
52838         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52839         Likewise.
52840         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52841         and lqnanval, respectively.
52842         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52843         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52844         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52845         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52847         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52848         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52849         doubles.
52851         * math/test-misc.c (main): Fix copy'n'pastos.
52852         * misc/tst-efgcvt.c (special): Likewise.
52854         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52855         Remove declarations.
52857 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52859         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52860         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52861         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52862         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52864 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52866         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52867         macro to return vdso values correctly in IFUNC implementations.
52868         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52869         Optimization by using IFUNC.
52871 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52872             Richard Henderson  <rth@redhat.com>
52873             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52875         * Makefile.in (bench): New target.
52876         * NEWS: Mention the benchmark framework.
52877         * Rules (bench): Likewise.
52878         (binaries-bench): Generate binaries for functions to
52879         benchmark.
52880         * benchtests/Makefile: New makefile for benchmark tests.
52881         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52882         programs.
52883         * benchtests/exp-inputs: New input file for EXP function.
52884         * benchtests/pow-inputs: New input file for POW function.
52885         * scripts/bench.pl: New script to generate source files for
52886         benchmark programs.
52888 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52890         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52891         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52892         computations on mantissa.  Use macros for rounding and
52893         division.
52894         (denorm): Likewise.
52895         (__dbl_mp): Likewise.
52896         (add_magnitudes): Likewise.
52897         (sub_magnitudes): Likewise.
52898         (__mul): Likewise.
52899         (__sqr): Likewise.
52900         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52901         powers of two in terms of TWOPOW macro.
52902         (mp_no): Make type of mantissa as MANTISSA_T.
52903         [!RADIXI]: Define RADIXI.
52904         [!TWO52]: Define TWO52.
52905         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52907         * manual/nptl.texi (cindex): Modify threads to pthreads.
52909 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52911         * sysdeps/x86_64/preconfigure: Regenerated.
52913 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52915         [BZ #14155]
52916         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52917         0x1p28 and above.
52918         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52919         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52920         0x1p28 and above.
52921         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52922         * math/libm-test.inc (j0_test): Do not allow one spurious
52923         underflow exception.
52924         (y1_test): Likewise.
52926 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52928         * manual/Makefile (chapters): Add nptl.
52929         * manual/debug.texi (Debugging Support): Add link to Threads
52930         chapter.
52931         * manual/nptl.texi: New file.
52933         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52935 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52937         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52938         for non-NULL pointer before the memory validity test. Pointed
52939         out by Holger Brunck <holger.brunck@keymile.com>.
52941 2013-03-13  Andreas Schwab  <schwab@suse.de>
52943         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52944         instead of .os.
52946 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52948         * timezone/zic.c: Update from tzcode 2013b.
52950 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52952         * manual/install.texi (Configuring and compiling):
52953         Mention i686 and i586.
52954         * INSTALL: Regenerate.
52956 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52958         * sysdeps/init_array/elf-init.c: New file.
52959         * csu/elf-init.c
52960         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52961         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52963         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52964         __gmon_start__ as global, but as static with a .preinit_array pointer.
52965         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52966         * sysdeps/init_array/crti.S: New file, empty except for comments.
52967         * sysdeps/init_array/crtn.S: Likewise.
52969 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52971         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52972         definining bcopy.
52973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52974         Remove Prefer_SSE_for_memop.
52975         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52976         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52977         HAS_PREFER_SSE_FOR_MEMOP.
52978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52979         memset-x86-64.
52980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52981         Remove bzero, memset ifunc support.
52982         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52983         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52984         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52985         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52987 2013-03-11  Andreas Schwab  <schwab@suse.de>
52989         [BZ #15234]
52990         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52991         by SHLIB_COMPAT.
52992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52993         (GLIBC_2.16): Remove pthread_atfork.
52995 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52997         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52998         (ptestcases.h): Likewise.
53000 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53002         * Makeconfig ($(common-objpfx)config.status): Depend on
53003         sysdeps/*/preconfigure{,.in} too.
53005 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53007         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53008         (__free_hook): Use void * instead of __malloc_ptr_t.
53009         (__malloc_hook): Likewise.
53010         (__realloc_hook): Likewise.
53011         (__memalign_hook): Likewise.
53012         (__after_morecore_hook): Likewise.
53013         * malloc/arena.c (save_malloc_hook): Likewise.
53014         (save_free_hook): Likewise.
53015         * malloc/hooks.c (malloc_hook_ini): Likewise.
53016         (realloc_hook_ini): Likewise.
53017         (memalign_hook_ini): Likewise.
53018         * malloc/malloc.c (malloc_hook_ini): Likewise.
53019         (realloc_hook_ini): Likewise.
53020         (memalign_hook_ini): Likewise.
53021         (__free_hook): Likewise.
53022         (__malloc_hook): Likewise.
53023         (__realloc_hook): Likewise.
53024         (__memalign_hook): Likewise.
53025         (__libc_malloc): Likewise.
53026         (__libc_free): Likewise.
53027         (__libc_realloc): Likewise.
53028         (__libc_memalign): Likewise.
53029         (__libc_valloc): Likewise.
53030         (__libc_pvalloc): Likewise.
53031         (__libc_calloc): Likewise.
53032         (__posix_memalign): Likewise.
53033         * malloc/morecore.c (__sbrk): Likewise.
53034         (__default_morecore): Likewise.
53036         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53038         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53039         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53040         __malloc_ptrdiff_t.
53042         * malloc/malloc.h (__malloc_size_t): Remove macro.
53043         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53044         __malloc_size_t.
53045         (old_memalign_hook): Likewise.
53046         (old_realloc_hook): Likewise.
53047         (struct hdr): Likewise.
53048         (flood): Likewise.
53049         (mallochook): Likewise.
53050         (memalignhook): Likewise.
53051         (reallochook): Likewise.
53052         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53053         (tr_old_realloc_hook): Likewise.
53054         (tr_old_memalign_hook): Likewise.
53055         (tr_mallochook): Likewise.
53056         (tr_reallochook): Likewise.
53057         (tr_memalignhook): Likewise.
53059 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53061         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53062         default_ldbl_pack and using as default implementation.
53063         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53064         implementation.
53065         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53066         redundant definition.
53067         (ldbl_insert_mantissa): Likewise.
53068         (ldbl_canonicalize): Likewise.
53069         (ldbl_nearbyint): Likewise.
53070         (ldbl_pack): Rename to ldbl_pack_ppc.
53071         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53072         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53073         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53075 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53078         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53079         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53080         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53082         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53083         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53084         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53086 2013-03-07  Andreas Jaeger  <aj@suse.de>
53088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53089         bits/mman-linux.h.
53091 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53093         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53094         Include mpa.h and declare __MPEXP.
53095         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53096         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53097         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53098         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53099         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53100         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53101         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53103         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53104         (__slowpow): Use long double EXPL and LOGL functions to
53105         compute POW.
53106         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53107         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53108         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53109         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53110         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53111         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53114         intermediate variable to calculate exponent.
53115         (__sqr): Likewise.
53116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53117         Likewise.
53118         (__sqr): Likewise.
53120         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53121         [!NO__SQR]: Define __sqr.
53122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53123         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53124         sysdeps/ieee754/dbl-64/mpa.c.
53125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53127         [BZ #12723]
53128         * posix/Makefile (tests): Add tst-pathconf.
53129         * posix/tst-pathconf.c: New test case.
53130         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53131         _PC_PIPE_BUF.
53132         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53134 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53136         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53138 2013-03-06  Andreas Jaeger  <aj@suse.de>
53140         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53141         definition via __MAP_ANONYMOUS.
53143         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53144         it's not part of Linux headers.
53146         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53147         (MAP_HUGE_MASK): Define.
53149         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53150         Define.
53151         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53152         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53153         Define.
53154         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53155         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53156         Define.
53157         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53158         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53159         Define.
53160         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53162         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53163         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53164         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53165         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53166         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53167         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53169         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53170         Handle f2fs.
53172         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53173         Handle f2fs and efivarfs.
53175         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53176         f2fs.
53178         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53179         (EFIVARFS_MAGIC): Add.
53180         (F2FS_LINK_MAX): Add.
53182 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53184         * stdio-common/vfprintf.c: Replace __builtin_expect with
53185         __glibc_unlikely.
53187 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53189         [BZ #13550]
53190         * sysdeps/generic/bp-sym.h: Remove file.
53191         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53192         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53193         <bp-sym.h> and <bp-asm.h>.
53194         (__longjmp): Don't use BP_SYM.
53195         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53196         and <bp-asm.h>.
53197         (memcpy): Don't use BP_SYM.
53198         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53199         <bp-sym.h> and <bp-asm.h>.
53200         (memcpy): Don't use BP_SYM.
53201         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53202         <bp-asm.h>.
53203         (memcpy): Don't use BP_SYM.
53204         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53205         <bp-asm.h>.
53206         (memset): Don't use BP_SYM.
53207         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53208         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53209         (__bzero): Don't use BP_SYM.
53210         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53211         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53212         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53213         <bp-sym.h> and <bp-asm.h>.
53214         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53215         pointers.
53216         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53217         <bp-sym.h> and <bp-asm.h>.
53218         (memcpy): Don't use BP_SYM.
53219         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53220         <bp-sym.h> and <bp-asm.h>.
53221         (memset): Don't use BP_SYM.
53222         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53223         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53224         (__bzero): Don't use BP_SYM.
53225         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53226         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53227         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53228         <bp-sym.h> and <bp-asm.h>.
53229         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53230         pointers.
53231         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53232         <bp-sym.h> and <bp-asm.h>.
53233         (memcpy): Don't use BP_SYM.
53234         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53235         <bp-sym.h> and <bp-asm.h>.
53236         (memset): Don't use BP_SYM.
53237         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53238         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53239         (__bzero): Don't use BP_SYM.
53240         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53241         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53242         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53243         <bp-sym.h> and <bp-asm.h>.
53244         (__memchr): Don't use BP_SYM.
53245         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53246         <bp-sym.h> and <bp-asm.h>.
53247         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53248         pointers.
53249         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53250         <bp-sym.h> and <bp-asm.h>.
53251         (memcpy): Don't use BP_SYM.
53252         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53253         <bp-sym.h> and <bp-asm.h>.
53254         (__mempcpy): Don't use BP_SYM.
53255         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53256         <bp-sym.h> and <bp-asm.h>.
53257         (__memrchr): Don't use BP_SYM.
53258         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53259         <bp-sym.h> and <bp-asm.h>.
53260         (memset): Don't use BP_SYM.
53261         (__bzero): Likewise.
53262         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53263         <bp-sym.h> and <bp-asm.h>.
53264         (__rawmemchr): Don't use BP_SYM.
53265         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53266         <bp-sym.h> and <bp-asm.h>.
53267         (__STRCMP): Don't use BP_SYM.
53268         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53269         <bp-sym.h> and <bp-asm.h>.
53270         (strchr): Don't use BP_SYM.
53271         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53272         <bp-sym.h> and <bp-asm.h>.
53273         (__strchrnul): Don't use BP_SYM.
53274         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53275         <bp-sym.h> and <bp-asm.h>.
53276         (strlen): Don't use BP_SYM.
53277         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53278         <bp-sym.h> and <bp-asm.h>.
53279         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53280         pointers.
53281         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53282         <bp-sym.h> and <bp-asm.h>.
53283         (__strnlen): Don't use BP_SYM.
53284         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53285         <bp-sym.h> and <bp-asm.h>.
53286         (__GI__setjmp): Don't use BP_SYM.
53287         (_setjmp): Likewise.
53288         (__sigsetjmp): Likewise.
53289         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53290         (L(start_addresses)): Don't use BP_SYM.
53291         (_start): Likewise.
53292         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53293         <bp-asm.h>.
53294         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53295         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53296         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53297         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53298         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53299         <bp-asm.h>.
53300         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53301         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53302         about bounded pointers.
53303         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53304         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53305         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53306         <bp-asm.h>.
53307         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53308         about bounded pointers.  Remove GKM FIXME comments.
53309         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53310         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53311         <bp-asm.h>.
53312         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53313         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53314         Remove GKM FIXME comments.
53315         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53316         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53317         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53318         <bp-asm.h>.
53319         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53320         about bounded pointers.  Remove GKM FIXME comment.
53321         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53322         and <bp-asm.h>.
53323         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53324         pointers.
53325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53326         <bp-sym.h> and <bp-asm.h>.
53327         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53329         <bp-sym.h> and <bp-asm.h>.
53330         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53331         comment.
53333 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53335         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53336         call free(NULL).
53338 2013-03-05  David S. Miller  <davem@davemloft.net>
53340         * po/es.po: Update from translation team.
53342 2013-03-05  Andreas Jaeger  <aj@suse.de>
53344         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53345         <bits/mman-linux.h>.
53346         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53347         is fine.
53348         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53349         <bits/mman-linux.h> to end of file.
53350         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53351         is fine.
53352         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53353         <bits/mman-linux.h> to end of file.
53354         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53355         is fine.
53356         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53357         <bits/mman-linux.h> to end of file.
53359         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53360         (MCL_CURRENT, MCL_FUTURE): Define here.
53362 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53364         [BZ #15232]
53365         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53366         attribute_hidden.
53367         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53369 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53371         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53372         fourth parameter needed for rt_sigprocmask syscall.
53373         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53374         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53375         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53376         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53377         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53378         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53380 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53382         [BZ #13550]
53383         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53384         comment about bounded pointers.
53385         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53386         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53388 2013-03-04  Andreas Jaeger  <aj@suse.de>
53390         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53391         common definitions.
53393         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53394         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53395         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53396         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53397         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53398         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53400 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53402         [BZ #15055]
53403         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53404         __ieee754_sqrl instead of __sqrl.
53406 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53408         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53409         * sysdeps/powerpc/fpu_control.h: ... here.
53410         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53411         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53412         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53413         * sysdeps/powerpc/bits/mathinline.h: ... here.
53415 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53417         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53418         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53419         to just [NEED_DL_SYSINFO_DSO].
53420         * elf/dl-support.c: Likewise.
53421         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53422         * elf/rtld.c (dl_main): Likewise.
53423         * elf/setup-vdso.h (setup_vdso): Likewise.
53424         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53425         * sysdeps/unix/sysv/linux/dl-sysdep.c
53426         (_dl_discover_osversion): Likewise.
53428 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53430         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53431         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53433 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53435         * NEWS: Mention libm performance improvements and non-x86 PI
53436         futex support.
53438         * csu/libc-start.c (__pthread_initialize_minimal): Change
53439         function arguments.
53440         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53442 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53444         [BZ #13550]
53445         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53446         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53447         <bp-sym.h> and <bp-asm.h>.
53448         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53449         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53450         and <bp-asm.h>.
53451         (memcpy): Don't use BP_SYM.
53452         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53453         <bp-asm.h>.
53454         (__mpn_add_n): Don't use BP_SYM.
53455         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53456         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53457         and <bp-asm.h>.
53458         (__mpn_addmul_1): Don't use BP_SYM.
53459         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53460         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53461         <bp-sym.h>.
53462         (_setjmp): Don't use BP_SYM.
53463         (__novmx_setjmp): Likewise.
53464         (__GI__setjmp): Likewise.
53465         (__vmx_setjmp): Likewise.
53466         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53467         <bp-sym.h>.
53468         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53469         (__bzero): Don't use BP_SYM.
53470         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53471         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53472         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53473         <bp-sym.h> and <bp-asm.h>.
53474         (memcpy): Don't use BP_SYM.
53475         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53476         <bp-sym.h> and <bp-asm.h>.
53477         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53478         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53479         <bp-sym.h> and <bp-asm.h>.
53480         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53481         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53482         <bp-asm.h>.
53483         (__mpn_lshift): Don't use BP_SYM.
53484         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53485         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53486         <bp-asm.h>.
53487         (memset): Don't use BP_SYM.
53488         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53489         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53490         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53491         <bp-asm.h>.
53492         (__mpn_mul_1): Don't use BP_SYM.
53493         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53494         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53495         <bp-sym.h> and <bp-asm.h>.
53496         (memcmp): Don't use BP_SYM.
53497         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53498         <bp-sym.h> and <bp-asm.h>.
53499         (memcpy): Don't use BP_SYM.
53500         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53501         <bp-sym.h> and <bp-asm.h>.
53502         (memset): Don't use BP_SYM.
53503         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53504         <bp-sym.h> and <bp-asm.h>.
53505         (strncmp): Don't use BP_SYM.
53506         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53507         <bp-sym.h> and <bp-asm.h>.
53508         (memcpy): Don't use BP_SYM.
53509         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53510         <bp-sym.h> and <bp-asm.h>.
53511         (memset): Don't use BP_SYM.
53512         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53513         <bp-sym.h> and <bp-asm.h>.
53514         (__memchr): Don't use BP_SYM.
53515         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53516         <bp-sym.h> and <bp-asm.h>.
53517         (memcmp): Don't use BP_SYM.
53518         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53519         <bp-sym.h> and <bp-asm.h>.
53520         (memcpy): Don't use BP_SYM.
53521         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53522         <bp-sym.h> and <bp-asm.h>.
53523         (__mempcpy): Don't use BP_SYM.
53524         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53525         <bp-sym.h> and <bp-asm.h>.
53526         (__memrchr): Don't use BP_SYM.
53527         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53528         <bp-sym.h> and <bp-asm.h>.
53529         (memset): Don't use BP_SYM.
53530         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53531         <bp-sym.h> and <bp-asm.h>.
53532         (__rawmemchr): Don't use BP_SYM.
53533         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53534         <bp-sym.h> and <bp-asm.h>.
53535         (__STRCMP): Don't use BP_SYM.
53536         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53537         <bp-sym.h> and <bp-asm.h>.
53538         (strchr): Don't use BP_SYM.
53539         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53540         <bp-sym.h> and <bp-asm.h>.
53541         (__strchrnul): Don't use BP_SYM.
53542         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53543         <bp-sym.h> and <bp-asm.h>.
53544         (strlen): Don't use BP_SYM.
53545         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53546         <bp-sym.h> and <bp-asm.h>.
53547         (strncmp): Don't use BP_SYM.
53548         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53549         <bp-sym.h> and <bp-asm.h>.
53550         (__strnlen): Don't use BP_SYM.
53551         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53552         <bp-asm.h>.
53553         (__mpn_rshift): Don't use BP_SYM.
53554         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53555         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53556         <bp-sym.h> and <bp-asm.h>.
53557         (__sigsetjmp): Don't use BP_SYM.
53558         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53559         (L(start_addresses)): Don't use BP_SYM.
53560         (_start): Likewise.
53561         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53562         <bp-asm.h>.
53563         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53564         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53565         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53566         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53567         <bp-asm.h>.
53568         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53569         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53570         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53571         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53572         <bp-asm.h>.
53573         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53574         comments.
53575         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53576         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53577         <bp-asm.h>.
53578         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53579         FIXME comments.
53580         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53581         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53582         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53583         <bp-asm.h>.
53584         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53585         comment.
53586         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53587         and <bp-asm.h>.
53588         (strncmp): Don't use BP_SYM,
53589         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53590         <bp-asm.h>.
53591         (__mpn_sub_n): Don't use BP_SYM.
53592         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53593         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53594         and <bp-asm.h>.
53595         (__mpn_submul_1): Don't use BP_SYM.
53596         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53598         <bp-sym.h> and <bp-asm.h>.
53599         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53601         <bp-sym.h> and <bp-asm.h>.
53602         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53603         comment.
53605 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53608         Use ZK to minimize writes to Z.
53609         (sub_magnitudes): Simplify code a bit.
53610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53611         Use ZK to minimize writes to Z.
53612         (sub_magnitudes): Simplify code a bit.
53614 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53616         * csu/gmon-start.c: Add special exception to license text.
53618 2013-02-27  Richard Henderson  <rth@redhat.com>
53620         * scripts/config.guess: Update from config.git.
53621         * scripts/config.sub: Likewise.
53623 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53625         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53627         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53629         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53631         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53633         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53635 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53637         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53638         [$(build-shared = yes].
53640 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53642         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53643         (__mul): Reduce iterations for calculating mantissa.
53645         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53646         MPTWO.
53647         (__mpranred): Likewise.
53649         [BZ #15160]
53650         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53651         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53653 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53655         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53656         Define __attribute__.
53658 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53660         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53661         unused.
53662         * posix/regex_internal.h (__attribute): Remove.
53663         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53664         (re_string_context_at): Likewise.
53665         (bitset_not): Use __attribute__ and mark function as possibly
53666         unused.
53667         (bitset_merge): Likewise.
53668         (bitset_mask): Likewise.
53669         (re_string_char_size_at): Likewise.
53670         (re_string_wchar_at): Likewise.
53671         (re_string_elem_size_at): Likewise.
53673 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53675         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53676         code.
53677         (cc32): Likewise.
53679         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53680         (__acr): Likewise.
53681         (__cpy): Likewise.
53682         (norm): Likewise.
53683         (denorm): Likewise.
53684         (__dbl_mp): Likewise.
53685         (add_magnitudes): Likewise.
53686         (sub_magnitudes): Likewise.
53687         (__mul): Likewise.
53688         (__inv): Likewise.
53690         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53691         style.
53693         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53694         style.
53696         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53697         code.
53699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53700         up changes with default code.
53701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53702         Likewise.
53704 2013-02-24  Allan McRae  <allan@archlinux.org>
53706         * manual/socket.texi (The Internet Namespace): Order menu items
53707         to match that in the file.
53709         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53710         node listing of the info page menu.
53712 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53714         [BZ #13550]
53715         * sysdeps/i386/bp-asm.h: Remove file.
53716         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53717         (PARMS): Do not use macros from bp-asm.h.
53718         (S1): Likewise.
53719         (S2): Likewise.
53720         (SIZE): Likewise.
53721         (__mpn_add_n): Do not use BP_SYM
53722         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53723         "bp-asm.h".
53724         (PARMS): Do not use macros from bp-asm.h.
53725         (S1): Likewise.
53726         (SIZE): Likewise.
53727         (__mpn_addmul_1): Do not use BP_SYM
53728         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53729         "bp-asm.h".
53730         (PARMS): Do not use macros from bp-asm.h.
53731         (SIGMSK): Likewise.
53732         (_setjmp): Likewise.  Do not use BP_SYM.
53733         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53734         "bp-asm.h".
53735         (PARMS): Do not use macros from bp-asm.h.
53736         (SIGMSK): Likewise.
53737         (setjmp): Likewise.  Do not use BP_SYM.
53738         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53739         "bp-asm.h".
53740         (PARMS): Do not use macros from bp-asm.h.
53741         (__frexp): Do not use BP_SYM.
53742         (frexp): Likewise.
53743         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53744         "bp-asm.h".
53745         (PARMS): Do not use macros from bp-asm.h.
53746         (__frexpf): Do not use BP_SYM.
53747         (frexpf): Likewise.
53748         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53749         "bp-asm.h".
53750         (PARMS): Do not use macros from bp-asm.h.
53751         (__frexpl): Do not use BP_SYM.
53752         (frexpl): Likewise.
53753         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53754         "bp-asm.h".
53755         (PARMS): Do not use macros from bp-asm.h.
53756         (__remquo): Do not use BP_SYM.
53757         (remquo): Likewise.
53758         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53759         "bp-asm.h".
53760         (PARMS): Do not use macros from bp-asm.h.
53761         (__remquof): Do not use BP_SYM.
53762         (remquof): Likewise.
53763         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53764         "bp-asm.h".
53765         (PARMS): Do not use macros from bp-asm.h.
53766         (__remquol): Do not use BP_SYM.
53767         (remquol): Likewise.
53768         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53769         "bp-asm.h".
53770         (PARMS): Do not use macros from bp-asm.h.
53771         (DEST): Likewise.
53772         (SRC): Likewise.
53773         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53774         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53775         "bp-asm.h".
53776         (PARMS): Do not use macros from bp-asm.h.
53777         (strlen): Do not use BP_SYM.
53778         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53779         "bp-asm.h".
53780         (PARMS): Do not use macros from bp-asm.h.
53781         (S1): Likewise.
53782         (S2): Likewise.
53783         (SIZE): Likewise.
53784         (__mpn_add_n): Do not use BP_SYM.
53785         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53786         "bp-asm.h".
53787         (PARMS): Do not use macros from bp-asm.h.
53788         (S1): Likewise.
53789         (SIZE): Likewise.
53790         (__mpn_addmul_1): Do not use BP_SYM.
53791         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53792         weak_alias.
53793         (bzero): Likewise.
53794         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53795         "bp-asm.h".
53796         (PARMS): Do not use macros from bp-asm.h.
53797         (S): Likewise.
53798         (SIZE): Likewise.
53799         (__mpn_lshift): Do not use BP_SYM.
53800         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53801         "bp-asm.h".
53802         (PARMS): Do not use macros from bp-asm.h.
53803         (DEST): Likewise.
53804         (SRC): Likewise.
53805         (LEN): Likewise.
53806         (memcpy): Likewise.  Do not use BP_SYM.
53807         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53808         libc_hidden_def and weak_alias.
53809         (mempcpy): Do not use BP_SYM in weak_alias.
53810         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53811         "bp-asm.h".
53812         (PARMS): Do not use macros from bp-asm.h.
53813         (DEST): Likewise.
53814         (LEN): Likewise.
53815         [!BZERO_P] (CHR): Likewise.
53816         (memset): Likewise.  Do not use BP_SYM.
53817         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53818         "bp-asm.h".
53819         (PARMS): Do not use macros from bp-asm.h.
53820         (S1): Likewise.
53821         (SIZE): Likewise.
53822         (__mpn_mul_1): Do not use BP_SYM.
53823         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53824         "bp-asm.h".
53825         (PARMS): Do not use macros from bp-asm.h.
53826         (S): Likewise.
53827         (SIZE): Likewise.
53828         (__mpn_rshift): Do not use BP_SYM.
53829         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53830         "bp-asm.h".
53831         (PARMS): Do not use macros from bp-asm.h.
53832         (STR): Likewise.
53833         (CHR): Likewise.
53834         (strchr): Likewise.  Do not use BP_SYM.
53835         (index): Do not use BP_SYM in weak_alias.
53836         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53837         "bp-asm.h".
53838         (PARMS): Do not use macros from bp-asm.h.
53839         (DEST): Likewise.
53840         (SRC): Likewise.
53841         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53842         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53843         "bp-asm.h".
53844         (PARMS): Do not use macros from bp-asm.h.
53845         (strlen): Do not use BP_SYM.
53846         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53847         "bp-asm.h".
53848         (PARMS): Do not use macros from bp-asm.h.
53849         (S1): Likewise.
53850         (S2): Likewise.
53851         (SIZE): Likewise.
53852         (__mpn_sub_n): Do not use BP_SYM.
53853         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53854         "bp-asm.h".
53855         (PARMS): Do not use macros from bp-asm.h.
53856         (S1): Likewise.
53857         (SIZE): Likewise.
53858         (__mpn_submul_1): Do not use BP_SYM.
53859         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53860         "bp-asm.h".
53861         (PARMS): Do not use macros from bp-asm.h.
53862         (S1): Likewise.
53863         (S2): Likewise.
53864         (SIZE): Likewise.
53865         (__mpn_add_n): Do not use BP_SYM.
53866         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53867         weak_alias.
53868         (bzero): Likewise.
53869         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53870         "bp-asm.h".
53871         (PARMS): Do not use macros from bp-asm.h.
53872         (BLK2): Likewise.
53873         (LEN): Likewise.
53874         (memcmp): Do not use BP_SYM.
53875         (bcmp): Do not use BP_SYM in weak_alias.
53876         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53877         "bp-asm.h".
53878         (PARMS): Do not use macros from bp-asm.h.
53879         (DEST): Likewise.
53880         (SRC): Likewise.
53881         (LEN): Likewise.
53882         (memcpy): Likewise.  Do not use BP_SYM.
53883         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53884         "bp-asm.h".
53885         (PARMS): Do not use macros from bp-asm.h.
53886         (DEST): Likewise.
53887         (SRC): Likewise.
53888         (LEN): Likewise.
53889         (memmove): Likewise.  Do not use BP_SYM.
53890         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53891         "bp-asm.h".
53892         (PARMS): Do not use macros from bp-asm.h.
53893         (DEST): Likewise.
53894         (SRC): Likewise.
53895         (LEN): Likewise.
53896         (__mempcpy): Likewise.  Do not use BP_SYM.
53897         (mempcpy): Do not use BP_SYM in weak_alias.
53898         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53899         "bp-asm.h".
53900         (PARMS): Do not use macros from bp-asm.h.
53901         (DEST): Likewise.
53902         (LEN): Likewise.
53903         [!BZERO_P] (CHR): Likewise.
53904         (memset): Likewise.  Do not use BP_SYM.
53905         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53906         "bp-asm.h".
53907         (PARMS): Do not use macros from bp-asm.h.
53908         (STR2): Likewise.
53909         (strcmp): Do not use BP_SYM.
53910         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53911         "bp-asm.h".
53912         (PARMS): Do not use macros from bp-asm.h.
53913         (STR): Likewise.
53914         (DELIM): Likewise.
53915         [USE_AS_STRTOK_R] (SAVE): Likewise.
53916         (FUNCTION): Likewise.  Do not use BP_SYM.
53917         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53918         aliases.
53919         (strtok_r): Likewise.
53920         (__GI___strtok_r): Likewise.
53921         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53922         (PARMS): Do not use macros from bp-asm.h.
53923         (S): Likewise.
53924         (SIZE): Likewise.
53925         (__mpn_lshift): Do not use BP_SYM.
53926         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53927         (PARMS): Do not use macros from bp-asm.h.
53928         (STR): Likewise.
53929         (CHR): Likewise.
53930         (__memchr): Do not use BP_SYM.
53931         (memchr): Do not use BP_SYM in weak_alias.
53932         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53933         (PARMS): Do not use macros from bp-asm.h.
53934         (BLK2): Likewise.
53935         (LEN): Likewise.
53936         (memcmp): Do not use BP_SYM.
53937         (bcmp): Do not use BP_SYM in weak_alias.
53938         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53939         (PARMS): Do not use macros from bp-asm.h.
53940         (S1): Likewise.
53941         (SIZE): Likewise.
53942         (__mpn_mul_1): Do not use BP_SYM.
53943         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53944         "bp-asm.h".
53945         (PARMS): Do not use macros from bp-asm.h.
53946         (STR): Likewise.
53947         (CHR): Likewise.
53948         (__rawmemchr): Do not use BP_SYM.
53949         (rawmemchr): Do not use BP_SYM in weak_alias.
53950         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53951         (PARMS): Do not use macros from bp-asm.h.
53952         (S): Likewise.
53953         (SIZE): Likewise.
53954         (__mpn_rshift): Do not use BP_SYM.
53955         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53956         (PARMS): Do not use macros from bp-asm.h.
53957         (SIGMSK): Likewise.
53958         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53959         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53960         (_start): Do not use BP_SYM.
53961         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53962         (PARMS): Do not use macros from bp-asm.h.
53963         (DEST): Likewise.
53964         (SRC): Likewise.
53965         (__stpcpy): Likewise.  Do not use BP_SYM.
53966         (stpcpy): Do not use BP_SYM in weak_alias.
53967         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53968         "bp-asm.h".
53969         (PARMS): Do not use macros from bp-asm.h.
53970         (DEST): Likewise.
53971         (SRC): Likewise.
53972         (LEN): Likewise.
53973         (__stpncpy): Likewise.  Do not use BP_SYM.
53974         (stpncpy): Do not use BP_SYM in weak_alias.
53975         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53976         (PARMS): Do not use macros from bp-asm.h.
53977         (STR): Likewise.
53978         (CHR): Likewise.
53979         (strchr): Likewise.  Do not use BP_SYM.
53980         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53981         "bp-asm.h".
53982         (PARMS): Do not use macros from bp-asm.h.
53983         (STR): Likewise.
53984         (CHR): Likewise.
53985         (__strchrnul): Likewise.  Do not use BP_SYM.
53986         (strchrnul): Do not use BP_SYM in weak_alias.
53987         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53988         "bp-asm.h".
53989         (PARMS): Do not use macros from bp-asm.h.
53990         (STOP): Likewise.
53991         (strcspn): Do not use BP_SYM.
53992         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53993         "bp-asm.h".
53994         (PARMS): Do not use macros from bp-asm.h.
53995         (STR): Likewise.
53996         (STOP): Likewise.
53997         (strpbrk): Likewise.  Do not use BP_SYM.
53998         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53999         "bp-asm.h".
54000         (PARMS): Do not use macros from bp-asm.h.
54001         (STR): Likewise.
54002         (CHR): Likewise.
54003         (strrchr): Likewise.  Do not use BP_SYM.
54004         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54005         (PARMS): Do not use macros from bp-asm.h.
54006         (SKIP): Likewise.
54007         (strspn): Do not use BP_SYM.
54008         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54009         (PARMS): Do not use macros from bp-asm.h.
54010         (STR): Likewise.
54011         (DELIM): Likewise.
54012         (SAVE): Likewise.
54013         (FUNCTION): Likewise.  Do not use BP_SYM.
54014         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54015         aliases.
54016         (strtok_r): Likewise.
54017         (__GI___strtok_r): Likewise.
54018         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54019         (PARMS): Do not use macros from bp-asm.h.
54020         (S1): Likewise.
54021         (S2): Likewise.
54022         (SIZE): Likewise.
54023         (__mpn_sub_n): Do not use BP_SYM.
54024         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54025         "bp-asm.h".
54026         (PARMS): Do not use macros from bp-asm.h.
54027         (S1): Likewise.
54028         (SIZE): Likewise.
54029         (__mpn_submul_1): Do not use BP_SYM.
54030         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54031         <bp-sym.h>.
54032         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54033         and <bp-asm.h>.
54034         (PARMS): Do not use macros from bp-asm.h.
54035         (FLAGS): Likewise.
54036         (PTID): Likewise.
54037         (TLS): Likewise.
54038         (CTID): Likewise.
54039         (__clone): Do not use BP_SYM.
54040         (clone): Do not use BP_SYM in weak_alias.
54041         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54042         and <bp-asm.h>.
54043         (PARMS): Do not use macros from bp-asm.h.
54044         (LEN): Likewise.
54045         (__mmap64): Do not use BP_SYM.
54046         (mmap64): Do not use BP_SYM in weak_alias.
54047         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54048         <bp-sym.h> and <bp-asm.h>.
54049         (PARMS): Do not use macros from bp-asm.h.
54050         (__posix_fadvise64_l64): Do not use BP_SYM.
54051         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54052         (PARMS): Do not use macros from bp-asm.h.
54053         (NSOPS): Likewise.
54054         (semtimedop): Do not use BP_SYM.
54055         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54056         and <bp-asm.h>.
54058 2013-02-21  Allan McRae  <allan@archlinux.org>
54060         * manual/message.texi (Charset conversion in gettext):
54061         Move @end statement to beginning of line.
54063 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54066         static.
54067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54068         Likewise.
54070         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54071         (denorm): Likewise.
54072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54075 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54077         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54078         tail-call to the resolved function if pltexit isn't needed.
54080 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54083         or Y being zero as being unlikely.
54084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54085         Likewise.
54087 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54089         * manual/nss.texi (System Databases and Name Service Switch):
54090         Remove frobnicate @pxref.
54092 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54094         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54095         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54097 2013-02-20  Petr Machata  <pmachata@redhat.com>
54099         * elf/elf.h (R_ARM_TARGET1): New macro.
54100         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54101         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54102         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54103         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54104         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54105         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54106         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54107         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54108         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54109         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54110         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54111         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54112         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54113         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54114         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54115         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54116         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54117         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54118         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54119         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54120         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54121         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54122         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54123         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54124         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54125         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54126         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54127         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54128         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54129         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54130         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54131         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54132         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54133         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54134         (R_ARM_THM_GOT_BREL12): Likewise.
54135         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54136         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54137         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54138         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54139         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54140         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54141         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54142         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54143         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54145 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54147         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54148         __attribute_used__ to __attribute__ ((unused)).
54150 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54152         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54153         powerpc mpa.c.
54154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54155         comment formatting.
54156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54158 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54160         [BZ #13550]
54161         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54162         Remove macro.
54163         (ENTER): Remove both macro definitions.
54164         (LEAVE): Likewise.
54165         (CHECK_BOUNDS_LOW): Likewise.
54166         (CHECK_BOUNDS_HIGH): Likewise.
54167         (CHECK_BOUNDS_BOTH): Likewise.
54168         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54169         (RETURN_BOUNDED_POINTER): Likewise.
54170         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54171         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54172         (POP_ERRNO_LOCATION_RETURN): Likewise.
54173         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54174         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54175         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54176         macros.
54177         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54178         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54179         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54180         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54181         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54182         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54183         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54184         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54185         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54186         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54187         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54188         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54189         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54190         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54191         removed macros.
54192         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54193         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54194         macros.
54195         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54196         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54197         * sysdeps/i386/i586/memset.S (memset): Likewise.
54198         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54199         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54200         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54201         macros.
54202         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54203         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54204         Change uses of L(2) to L(out).
54205         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54206         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54207         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54208         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54209         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54210         removed macros.
54211         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54212         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54213         macros.
54214         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54215         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54216         (RETURN): Do not use macro LEAVE.
54217         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54218         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54219         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54220         * sysdeps/i386/i686/memset.S (memset): Likewise.
54221         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54222         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54223         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54224         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54225         Likewise.
54226         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54227         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54228         L(1_2) and L(1_3) into L(1).
54229         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54230         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54231         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54232         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54233         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54234         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54235         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54236         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54237         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54238         macros.
54239         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54240         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54241         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54242         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54243         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54244         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54245         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54246         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54247         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54248         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54249         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54250         * sysdeps/i386/strspn.S (strspn): Likewise.
54251         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54252         conditional code.
54253         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54254         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54255         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54256         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54257         L(1_3) into L(1_1).
54258         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54259         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54260         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54261         macros.
54262         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54264 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54266         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54267         macro.
54269 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54271         * math/atest-exp.c (exp_mpn): Remove ROUND.
54272         * math/atest-exp2.c (exp_mpn): Likewise.
54273         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54275         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54276         * stdlib/tst-tls-atexit-lib.c: Likewise.
54277         * stdlib/tst-tls-atexit.c: Likewise.
54279 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54281         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54282         and __attribute_alloc_size__.
54284 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54286         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54287         __attribute_alloc_size__.
54288         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54289         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54291 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54293         * include/programs/xmalloc.h: New file.
54294         * catgets/gencat.c: Include it.
54295         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54296         * elf/pldd.c: Likewise.
54297         * iconv/iconv_charmap.c: Likewise.
54298         * iconv/iconvconfig.c: Likewise.
54299         * iconv/strtab.c: Likewise.
54300         * locale/programs/locale.c: Likewise.
54301         * locale/programs/localedef.h: Likewise.
54302         * locale/programs/simple-hash.c: Likewise.
54303         * nscd/nscd.h: Likewise.
54304         * nss/makedb.c: Likewise.
54305         * sysdeps/generic/ldconfig.h: Likewise.
54307 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54309         * Versions.def: Add GLIBC_2.18.
54310         * include/link.h (struct link_map): New member l_tls_dtor_count.
54311         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54312         (__call_tls_dtors): Likewise.
54313         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54314         __cxa_thread_atexit_impl.
54315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54316         Likewise.
54317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54318         Likewise.
54319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54320         Likewise.
54321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54322         Likewise.
54323         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54325         Likewise.
54326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54327         Likewise.
54328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54330         Likewise.
54331         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54332         (tests): Add test case tst-tls-atexit.
54333         (modules-names): Add shared library for tst-tls-atexit.
54334         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54335         (GLIBC_PRIVATE): Add __call_tls_dtors.
54336         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54337         for libstdc++.
54338         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54339         * stdlib/tst-tls-atexit.c: New test case.
54340         * stdlib/tst-tls-atexit-lib.c: New test case.
54342         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54344         * elf/Versions (ld): Add _dl_find_dso_for_object.
54345         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54346         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54347         (dl_open_worker): Use _dl_find_dso_for_object.
54348         * elf/dl-sym.c (do_sym): Likewise.
54349         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54351 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54353         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54354         Syntactic changes only.
54355         (_dl_runtime_profile): Do a tail-call to the resolved function.
54357 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54359         [BZ #13550]
54360         * sysdeps/x86_64/bp-asm.h: Remove file.
54361         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54362         <bp-sym.h> and <bp-asm.h>.
54363         (__clone): Do not use BP_SYM.
54364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54365         <bp-sym.h> and <bp-asm.h>.
54366         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54367         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54368         "bp-asm.h".
54369         (_setjmp): Do not use BP_SYM.
54370         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54371         "bp-asm.h".
54372         (setjmp): Do not use BP_SYM.
54373         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54374         libc_hidden_def.
54375         (mempcpy): Do not use BP_SYM in weak_alias.
54376         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54377         "bp-asm.h".
54378         (strchr): Do not use BP_SYM.
54379         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54380         "bp-asm.h".
54381         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54382         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54383         (_start): Do not use BP_SYM.
54384         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54385         "bp-asm.h".
54386         (strcat): Do not use BP_SYM.
54387         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54388         "bp-asm.h".
54389         (STRCMP): Do not use BP_SYM.
54390         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54391         "bp-asm.h".
54392         (STRCPY): Do not use BP_SYM.
54393         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54394         "bp-asm.h".
54395         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54396         "bp-asm.h".
54397         (FUNCTION): Do not use BP_SYM.
54398         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54399         weak_alias.
54400         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54402 2013-02-17  Andreas Jaeger  <aj@suse.de>
54404         * time/Versions: Sort entries.
54405         * string/Versions: Likewise.
54406         * resolv/Versions: Likewise.
54407         * posix/Versions: Likewise.
54408         * iconv/Versions: Likewise.
54409         * elf/Versions: Likewise.
54410         * wcsmbs/Versions: Likewise.
54412 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54414         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54415         loop termination condition.
54417         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54418         variable to calculate EZ.
54419         (__sqr): Likewise.
54421         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54422         the lower precision input.
54424 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54426         [BZ #13550]
54427         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54428         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54429         (run-via-rtld-prefix): Do not handle %-bp tests.
54430         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54431         (all-object-suffixes): Remove .ob.
54432         (bppfx): Remove variable.
54433         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54434         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54435         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54436         [$(build-bounded) = yes] (libtype.ob): Likewise.
54437         * Makerules (elide-routines.ob): Remove variable.
54438         (do-tests-clean): Do not handle *-bp.out.
54439         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54440         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54441         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54442         (tests): Do not include $(tests-bp.out).
54443         (xtests): Do not include $(xtests-bp.out).
54444         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54445         [$(build-bounded) = yes] ($(addprefix
54446         $(objpfx),$(binaries-bounded))): Remove rule.
54447         ($(objpfx)%-bp.out): Remove rule.
54448         * config.make.in (build-bounded): Remove variable.
54449         * crypt/Makefile [$(build-bounded) = yes]
54450         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54451         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54452         append to variable.
54453         [$(build-bounded) = yes] (install-lib): Likewise.
54454         [$(build-bounded) = yes] (generated): Likewise.
54455         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54456         Remove rule.
54457         * intl/Makefile [$(build-bounded) = yes]
54458         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54459         * math/Makefile [$(build-bounded) = yes]
54460         ($(tests:%=$(objpfx)%-bp): Likewise.
54461         * misc/Makefile [$(build-bounded) = yes]
54462         ($(objpfx)tst-tsearch-bp): Likewise.
54463         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54464         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54465         Remove dependency.
54466         * string/Makefile (o-objects.ob): Remove variable.
54467         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54468         (CFLAGS-.ob): Remove variable.
54469         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54470         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54471         both definitions of variable.
54472         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54473         (ASFLAGS-.ob): Remove variable.
54475 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54477         [BZ #13550]
54478         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54479         Remove __BOUNDED_POINTERS__ from condition.
54480         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54481         * string/bits/string2.h [!__NO_STRING_INLINES &&
54482         !__BOUNDED_POINTERS__]: Likewise.
54483         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54484         Likewise.
54485         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54486         Remove conditional code.
54487         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54488         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54489         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54490         condition.
54492         [BZ #13550]
54493         * csu/libc-start.c: Do not include <bp-sym.h>.
54494         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54495         * elf/dl-open.c: Do not include <bp-sym.h>.
54496         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54497         * math/fegetenv.c: Do not include <bp-sym.h>.
54498         (fegetenv): Do not use BP_SYM in versioned symbols.
54499         * nptl/sysdeps/pthread/bits/libc-lockP.h
54500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54501         <bp-sym.h>.
54502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54503         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54505         (__pthread_mutex_destroy): Likewise.
54506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54507         (__pthread_mutex_lock): Likewise.
54508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54509         (__pthread_mutex_trylock): Likewise.
54510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54511         (__pthread_mutex_unlock): Likewise.
54512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54513         (__pthread_mutexattr_init): Likewise.
54514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54515         (__pthread_mutexattr_destroy): Likewise.
54516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54517         (__pthread_mutexattr_settype): Likewise.
54518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54519         (__pthread_rwlock_init): Likewise.
54520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54521         (__pthread_rwlock_destroy): Likewise.
54522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54523         (__pthread_rwlock_rdlock): Likewise.
54524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54525         (__pthread_rwlock_tryrdlock): Likewise.
54526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54527         (__pthread_rwlock_wrlock): Likewise.
54528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54529         (__pthread_rwlock_trywrlock): Likewise.
54530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54531         (__pthread_rwlock_unlock): Likewise.
54532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54533         (__pthread_key_create): Likewise.
54534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54535         (__pthread_setspecific): Likewise.
54536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54537         (__pthread_getspecific): Likewise.
54538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54539         Likewise.
54540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54541         (_pthread_cleanup_push_defer): Likewise.
54542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54543         (_pthread_cleanup_pop_restore): Likewise.
54544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54545         (pthread_setcancelstate): Likewise.
54546         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54547         <bp-sym.h>.
54548         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54549         (memchr): Do not use BP_SYM in weak_alias.
54550         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54551         (fegetenv): Do not use BP_SYM in versioned symbols.
54552         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54553         (fesetenv): Do not use BP_SYM in versioned symbols.
54554         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54555         (feupdateenv): Do not use BP_SYM in versioned symbols.
54556         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54557         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54558         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54559         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54560         (open64): Do not use BP_SYM in weak_alias.
54561         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54562         (fegetenv): Do not use BP_SYM in versioned symbols.
54563         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54564         (fesetenv): Do not use BP_SYM in versioned symbols.
54565         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54566         (feupdateenv): Do not use BP_SYM in versioned symbols.
54567         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54568         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54569         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54570         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54571         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54572         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54573         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54574         <bp-sym.h>.
54575         (__libc_start_main): Do not use BP_SYM.
54577 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54580         redundant return line.
54581         (norm): Likewise.
54582         (denorm): Likewise.
54583         (dbl_mp): Likewise.
54584         (sub_magnitudes): Likewise.
54585         (__add): Likewise.
54586         (__sub): Likewise.
54587         (__mul): Likewise.
54588         (__inv): Likewise.
54589         (__dvd): Likewise.
54590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54591         (norm): Likewise.
54592         (denorm): Likewise.
54593         (dbl_mp): Likewise.
54594         (sub_magnitudes): Likewise.
54595         (__add): Likewise.
54596         (__sub): Likewise.
54597         (__mul): Likewise.
54598         (__inv): Likewise.
54599         (__dvd): Likewise.
54601         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54602         instead of __mul.
54603         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54604         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54605         (cc32): Likewise.
54607         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54608         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54609         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54610         of __mul for squares.
54611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54612         function
54613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54614         Likewise.
54615         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54616         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54618 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54620         [BZ #13550]
54621         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54622         code.
54623         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54624         prototype or function definition.  Rename ubp_* variables and
54625         parameters.  Remove argv definitions conditional on
54626         [__BOUNDED_POINTERS__].
54627         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54628         * elf/dl-runtime.c (_dl_fixup): Likewise.
54629         * include/set-hooks.h (RUN_HOOK): Likewise.
54630         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54631         definition.
54632         * string/strcpy.c (strcpy): Do not use __unbounded.
54633         * sysdeps/generic/frame.h (struct layout): Likewise.
54634         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54635         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54636         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54637         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54638         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54639         (__backtrace): Likewise.
54640         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54641         use __ptrvalue.
54642         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54643         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54644         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54645         Likewise.
54646         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54647         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54648         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54649         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54650         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54651         Do not use __unbounded.
54652         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54653         Rename __unboundedrlimits parameter to rlimits in prototype.
54654         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54655         Do not use __unbounded.
54656         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54657         not use __ptrvalue.
54658         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54659         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54660         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54661         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54662         __ptrvalue or __unbounded.
54663         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54664         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54665         use __unbounded.
54666         (__new_msgctl): Do not use __ptrvalue.
54667         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54668         __unbounded.
54669         (__libc_msgrcv): Do not use __ptrvalue.
54670         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54671         startup_info): Do not use __unbounded.
54672         (__libc_start_main): Likewise.  Rename ubp_* variables and
54673         parameters.  Remove argv definitions conditional on
54674         [__BOUNDED_POINTERS__].
54675         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54676         __ptrvalue.
54677         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54678         use __unbounded.
54679         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54680         or __ptrvalue.
54681         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54682         use __unbounded.
54683         (__new_shmctl): Do not use __ptrvalue.
54684         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54685         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54686         Likewise.
54687         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54688         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54689         (__libc_sigaction): Likewise.
54690         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54691         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54692         Likewise.
54693         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54695 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54697         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54699         * string/mempcpy.c: Implement by calling memcpy.
54701 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54703         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54706         evaluation.
54708         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54709         values in the mantissa.
54711         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54712         minimize writes to Z.
54713         (sub_magnitudes): Simplify code a bit.
54715 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54717         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54718         from the message.  The linker prefixes all warnings with that already.
54720 2013-02-12  Andreas Schwab  <schwab@suse.de>
54722         [BZ #15078]
54723         * posix/regexec.c (extend_buffers): Add parameter min_len.
54724         (check_matching): Pass minimum needed length.
54725         (clean_state_log_if_needed): Likewise.
54726         (get_subexp): Likewise.
54727         * posix/Makefile (tests): Add bug-regex34.
54728         (bug-regex34-ENV): Define.
54729         * posix/bug-regex34.c: New file.
54731         [BZ #11561]
54732         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54733         elements compare against the byte sequence of it, not its name.
54734         * posix/Makefile (tests): Add bug-regex35.
54735         (bug-regex35-ENV): Define.
54736         * posix/bug-regex35.c: New file.
54738 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54740         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54741         comment.
54742         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54743         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54744         (CHECK_EOL): Add undef.
54746 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54748         * bits/stdlib-bsearch.h: New file.
54749         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54750         * stdlib/stdlib.h: Likewise.
54752 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54754         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54755         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54756         declaration.
54757         * manual/search.texi (Array Search Function): Add missing const in
54758         lfind prototype.
54759         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54760         declaration to use rlim_t.
54761         (Basic Scheduling Functions): Remove erroneous const from
54762         sched_getparam prototype.  Remove erroneous * from
54763         sched_get_priority_max and sched_get_priority_min prototypes.
54764         (Resource Usage): Fix summary @comment on vtimes to refer to
54765         sys/vtimes.h rather than vtimes.h.
54766         Add missing *s in vtimes prototype.
54767         (Limits on Resources): Fix ulimit prototype to return long int.
54768         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54769         prototypes to use long int rather than double.
54770         (BSD Random): Fix initstate and setstate to use char *, not void *.
54771         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54772         prototype to make second argument 'struct aiocb64 *const[]'.
54773         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54774         (Status of AIO Operations): Remove erroneous const in aio_return and
54775         aio_return64 prototypes.
54776         (Synchronizing I/O): Fix sync prototype to return void.
54777         * manual/startup.texi (Suboptions): Remove an erroneous const in
54778         getsubopt prototype.
54779         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54780         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54781         use size_t rather than int.
54782         (Scanning All Users): Likewise for getpwent_r.
54783         (Setting Groups): Add missing const to setgroups prototype.
54784         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54785         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54786         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54787         'const void *' rather than 'const char *'.
54788         (Host Address Functions): Likewise for inet_ntop.
54789         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54790         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54791         ssize_t for return value.
54792         (Sending Data): Likewise for send, sendto, sendmsg.
54793         (Socket Option Functions): Add a missing const in setsockopt prototype.
54794         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54795         use wchar_t for the argument.
54796         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54797         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54798         take no arguments.
54799         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54800         double/float/long double for second argument.
54801         Fix return types of significand, significandf, significandl.
54802         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54803         argument in fchmod prototype.
54804         (File Owner): Use uid_t and gid_t in fchown prototype.
54805         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54806         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54807         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54808         use 'const struct dirent **' as argument types to CMP function pointer
54809         argument.
54810         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54811         (File Times): Fix summary magic @comment for struct utimbuf and utime
54812         to refer to utime.h, not time.h.
54813         * manual/string.texi (Argz Functions): Add missing const in
54814         argz_extract and argz_next prototypes.
54815         (Finding Tokens in a String): Likewise for basename.
54816         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54817         (Copying and Concatenation): Fix typo in wmemmove prototype.
54818         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54819         (Signal Stack): Remove erroneous const in sigstack prototype.
54820         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54821         prototype.
54822         (Simple Calendar Time): Likewise for stime.
54823         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54824         prototype.
54825         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54826         say sys/sysctl.h instead.
54827         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54828         and vsyslog prototypes.
54830 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54832         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54833         Remove.
54835 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54837         * misc/sys/mman.h: Fix typo in mremap comment.
54839 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54841         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54842         the '\0' terminator.
54844 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54846         [BZ #13550]
54847         * debug/segfault.c: Don't include <bp-checks.h>.
54848         * sysdeps/generic/bp-checks.h: Remove file.
54849         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54850         (__GETDENTS): Don't use CHECK_N.
54851         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54852         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54853         (__getgroups): Don't use CHECK_N.
54854         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54855         (setgroups): Don't use CHECK_N.
54856         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54857         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54858         (__libc_msgrcv): Don't use CHECK_N.
54859         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54860         (__libc_msgsnd): Don't use CHECK_N.
54861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54862         <bp-checks.h>.
54863         (__libc_pread): Don't use CHECK_N.
54864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54865         include <bp-checks.h>.
54866         (__libc_pread64): Don't use CHECK_N.
54867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54868         include <bp-checks.h>.
54869         (__libc_pwrite): Don't use CHECK_N.
54870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54871         include <bp-checks.h>.
54872         (__libc_pwrite64): Don't use CHECK_N.
54873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54874         <bp-checks.h>.
54875         (__libc_pread): Don't use CHECK_N.
54876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54877         include <bp-checks.h>.
54878         (__libc_pread64): Don't use CHECK_N.
54879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54880         include <bp-checks.h>.
54881         (__libc_pwrite): Don't use CHECK_N.
54882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54883         include <bp-checks.h>.
54884         (__libc_pwrite64): Don't use CHECK_N.
54885         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54886         (do_pread): Don't use CHECK_N.
54887         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54888         (do_pread64): Don't use CHECK_N.
54889         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54890         (do_pwrite): Don't use CHECK_N.
54891         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54892         (do_pwrite64): Don't use CHECK_N.
54893         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54894         (__libc_readv): Don't use CHECK_N.
54895         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54896         (semop): Don't use CHECK_N.
54897         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54898         <bp-checks.h>.
54899         (semtimedop): Don't use CHECK_N.
54900         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54901         (__libc_pread): Don't use CHECK_N.
54902         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54903         <bp-checks.h>.
54904         (__libc_pread64): Don't use CHECK_N.
54905         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54906         <bp-checks.h>.
54907         (__libc_pwrite): Don't use CHECK_N.
54908         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54909         <bp-checks.h>.
54910         (__libc_pwrite64): Don't use CHECK_N.
54911         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54912         <bp-checks.h>.
54913         (__libc_msgrcv): Don't use CHECK_N.
54914         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54915         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54916         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54917         (__libc_writev): Don't use CHECK_N.
54919 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54921         * string/strcpy.c: Removed unused variable.
54923         * Makeconfig (+sysdep-includes): Define with := rather than =.
54924         Use an existing include/ subdir of each sysdeps dir before it.
54926 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54928         * nscd/connection.c (register_traced_file): Comment function.
54929         [HAVE_INOTIFY] (union __inev): Define.
54930         [HAVE_INOTIFY] (inotify_check_files): New function.
54931         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54932         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54933         clear_db_cache.
54934         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54936 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54938         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54939         loaded if not already and that a failure is permanent.
54941 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54943         [BZ #15006]
54944         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54945         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54947 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54949         [BZ #13550]
54950         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54951         (CHECK_1_NULL_OK): Likewise.
54952         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54953         (__fxstat): Do not use CHECK_1.
54954         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54955         <bp-checks.h>.
54956         (___fxstat64): Do not use CHECK_1.
54957         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54958         <bp-checks.h>.
54959         (__fxstatat): Do not use CHECK_1.
54960         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54961         <bp-checks.h>.
54962         (__fxstatat64): Do not use CHECK_1.
54963         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54964         <bp-checks.h>.
54965         (__fxstat): Do not use CHECK_1.
54966         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54967         <bp-checks.h>.
54968         (__fxstatat): Do not use CHECK_1.
54969         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54970         <bp-checks.h>.
54971         (__getresgid): Do not use CHECK_1.
54972         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54973         <bp-checks.h>.
54974         (__getresuid): Do not use CHECK_1.
54975         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54976         <bp-checks.h>.
54977         (__lxstat): Do not use CHECK_1.
54978         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54979         <bp-checks.h>.
54980         (__old_msgctl): Do not use CHECK_1.
54981         (__new_msgctl): Likewise.
54982         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54983         <bp-checks.h>.
54984         (__new_setrlimit): Do not use CHECK_1.
54985         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54986         <bp-checks.h>.
54987         (__old_shmctl): Do not use CHECK_1.
54988         (__new_shmctl): Likewise.
54989         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54990         <bp-checks.h>.
54991         (__xstat): Do not use CHECK_1.
54992         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54993         (__lxstat): Do not use CHECK_1.
54994         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54995         <bp-checks.h>.
54996         (___lxstat64): Do not use CHECK_1.
54997         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54998         (__old_msgctl): Do not use CHECK_1.
54999         (__new_msgctl): Likewise.
55000         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55001         <bp-checks.h>.
55002         (__gettimeofday): Do not use CHECK_1.
55003         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55004         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55005         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55006         <bp-checks.h>.
55007         (__gettimeofday): Do not use CHECK_1.
55008         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55009         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55010         (__new_shmctl): Do not use CHECK_1.
55011         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55012         <bp-checks.h>.
55013         (do_sigtimedwait): Do not use CHECK_1.
55014         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55015         <bp-checks.h>.
55016         (do_sigwaitinfo): Do not use CHECK_1.
55017         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55018         <bp-checks.h>.
55019         (msgctl): Do not use CHECK_1.
55020         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55021         <bp-checks.h>.
55022         (shmctl): Do not use CHECK_1.
55023         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55024         (ustat): Do not use CHECK_1.
55025         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55026         <bp-checks.h>.
55027         (__fxstat): Do not use CHECK_1.
55028         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55029         <bp-checks.h>.
55030         (__fxstatat): Do not use CHECK_1.
55031         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55032         <bp-checks.h>.
55033         (__lxstat): Do not use CHECK_1.
55034         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55035         <bp-checks.h>.
55036         (__xstat): Do not use CHECK_1.
55037         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55038         (__xstat): Do not use CHECK_1.
55039         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55040         (___xstat64): Do not use CHECK_1.
55042         [BZ #13550]
55043         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55044         definitions.
55045         (CHECK_BOUNDS_HIGH): Likewise.
55046         * string/strcpy.c: Do not include <bp-checks.h>.
55047         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55049 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55051         * nscd/nscd-client.h (__nscd_drop_map_ref):
55052         Add __attribute__ ((unused)).
55053         * nis/nss-nisplus.h (niserr2nss): Likewise.
55055         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55056         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55058         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55059         Remove inline keyword.
55060         * include/rounding-mode.h (round_away): Likewise.
55061         * libio/wfileops.c (adjust_wide_data): Likewise.
55062         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55063         (__m128i_strloadu_tolower): Likewise.
55064         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55065         (__m128i_strloadu_tolower): Likewise.
55066         * time/mktime.c (ydhms_diff): Likewise.
55067         * locale/elem-hash.h (elem_hash): Likewise.
55068         * locale/setlocale.c (setdata): Likewise.
55069         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55070         (re_string_wchar_at): Likewise.
55071         (bitset_not, bitset_merge, bitset_mask): Likewise.
55072         [!(__GNUC__ > 3)] (inline): Remove macro.
55073         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55074         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55075         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55076         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55077         * string/memcmp.c (memcmp_bytes): Likewise.
55078         * locale/programs/locarchive.c (compute_hashval): Likewise.
55079         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55080         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55081         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55082         * nss/getent.c (print_rpc, print_protocols): Likewise.
55083         (print_passwd, print_group, print_aliases): Likewise.
55084         * nis/nss-nisplus.h (niserr2nss): Likewise.
55085         * nscd/connections.c (restart_p): Likewise.
55086         Change return type to bool.
55088 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55090         * Makeconfig (all-Depend-files): Add existing
55091         $(sorted-subdirs:=/Depend) files.
55092         (all-subdirs): Remove nss.
55093         * sysdeps/unix/inet/Subdirs: Add it here instead.
55094         * hesiod/Depend: New file.
55096         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55097         instead of calling alloca.
55099         * io/lseek.c (__lseek): Rename to __libc_lseek.
55100         Define __lseek as an alias.
55102         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55104 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55106         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55107         else clause and remove check for non-standard endianness.
55109 2013-02-04  David S. Miller  <davem@davemloft.net>
55111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55113 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55115         [BZ #13550]
55116         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55117         (__ubp_memchr): Remove prototype.
55118         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55119         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55120         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55121         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55122         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55123         Remove alias.
55124         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55125         (__ubp_memchr): Likewise.
55126         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55127         (__ubp_memchr): Likewise.
55128         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55129         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55130         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55131         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55132         CHECK_STRING.
55133         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55134         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55135         (__getcwd): Do not use CHECK_STRING.
55136         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55137         <bp-checks.h>.
55138         (__real_chown): Do not use CHECK_STRING.
55139         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55140         <bp-checks.h>.
55141         (fchownat): Do not use CHECK_STRING.
55142         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55143         CHECK_STRING.
55144         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55145         <bp-checks.h>.
55146         (__lchown): Do not use CHECK_STRING.
55147         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55148         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55149         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55150         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55152         include <bp-checks.h>.
55153         (truncate64): Do not use CHECK_STRING.
55154         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55155         <bp-checks.h>.
55156         (__real_chown): Do not use CHECK_STRING.
55157         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55158         <bp-checks.h>.
55159         (__lchown): Do not use CHECK_STRING.
55160         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55161         <bp-checks.h>.
55162         (__chown): Do not use CHECK_STRING.
55163         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55164         <bp-checks.h>.
55165         (truncate64): Do not use CHECK_STRING.
55166         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55167         Likewise.
55168         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55169         (__xmknod): Do not use CHECK_STRING.
55170         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55171         <bp-checks.h>.
55172         (__xmknodat): Do not use CHECK_STRING.
55173         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55174         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55176 2013-02-04  Andreas Schwab  <schwab@suse.de>
55178         [BZ #14142]
55179         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55180         * include/netdb.h: Likewise for h_errno.
55181         * elf/tst-stackguard1.c: Include <tls.h>.
55183 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55185         * elf/link.h (struct link_map): Extend the l_addr comment.
55186         * include/link.h (struct link_map): Likewise.
55188 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55190         [BZ #13550]
55191         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55192         (BOUNDED_1): Remove macro.
55193         * debug/backtrace.c: Don't include <bp-checks.h>.
55194         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55195         (__backtrace): Likewise.
55196         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55197         <bp-checks.h>.
55198         (__backtrace): Don't use BOUNDED_1.
55199         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55200         <bp-checks.h>.
55201         (__backtrace): Don't use BOUNDED_1.
55202         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55203         (__backtrace): Don't use BOUNDED_1.
55204         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55205         (shmat): Don't use BOUNDED_N.
55207 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55209         [BZ #13550]
55210         * sysdeps/generic/bp-start.h: Remove file.
55211         * csu/libc-start.c: Don't include <bp-start.h>.
55212         (LIBC_START_MAIN): Set up __environ directly instead of using
55213         INIT_ARGV_and_ENVIRON.
55214         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55215         <bp-start.h>.
55217         [BZ #13550]
55218         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55219         definitions.
55220         (CHECK_FCNTL): Likewise.
55221         (CHECK_N_PAGES): Likewise.
55223         [BZ #13550]
55224         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55225         definitions.
55226         (CHECK_SIGSET_NULL_OK): Likewise.
55227         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55228         <bp-checks.h>.
55229         (sigpending): Don't use CHECK_SIGSET.
55230         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55231         <bp-checks.h>.
55232         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55233         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55234         <bp-checks.h>.
55235         (do_sigsuspend): Don't use CHECK_SIGSET.
55236         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55237         use CHECK_SIGSET.
55238         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55239         (do_sigwait): Don't use CHECK_SIGSET.
55240         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55241         use CHECK_SIGSET.
55242         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55243         include <bp-checks.h>.
55244         (sigpending): Don't use CHECK_SIGSET.
55245         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55246         include <bp-checks.h>.
55247         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55248         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55249         <bp-checks.h>.
55250         (sigpending): Don't use CHECK_SIGSET.
55251         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55252         <bp-checks.h>.
55253         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55255         [BZ #13550]
55256         * sysdeps/generic/bp-semctl.h: Remove file.
55257         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55258         <bp-checks.h> and <bp-semctl.h>.
55259         (__old_semctl): Don't use CHECK_SEMCTL.
55260         (__new_semctl): Likewise.
55261         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55262         and <bp-semctl.h>.
55263         (__old_semctl): Don't use CHECK_SEMCTL.
55264         (__new_semctl): Likewise.
55265         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55266         <bp-checks.h> and <bp-semctl.h>.
55267         (__old_semctl): Don't use CHECK_SEMCTL.
55268         (__new_semctl): Likewise.
55269         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55270         <bp-checks.h> and <bp-semctl.h>.
55271         (semctl): Don't use CHECK_SEMCTL.
55273         [BZ #13550]
55274         * Makerules (elide-bp-thunks): Remove variable.
55275         (elide-routines.oS): Don't use $(elide-bp-thunks).
55276         (elide-routines.os): Likewise.
55277         (elide-routines.o): Likewise.
55278         (elide-routines.op): Likewise.
55279         (elide-routines.og): Likewise.
55280         (objects): Don't use $(bp-thunks).
55281         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55282         include.
55283         (common-generated): Do not add s-proto-bp.d.
55284         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55285         (int): Likewise.
55286         (typ): Likewise.
55287         Do not generate makefile rules for bounded-pointer thunks.
55288         * sysdeps/generic/bp-thunks.h: Remove file.
55289         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55290         * sysdeps/unix/s-proto-bp.S: Likewise.
55292         [BZ #15062]
55293         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55294         parts of result separately when argument is not close to line from
55295         -i to i and one part of argument is small.
55296         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55297         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55298         * math/libm-test.inc (cacos_test): Add more tests.
55299         (casin_test): Likewise.
55300         (casinh_test): Likewise.
55301         * sysdeps/i386/fpu/libm-test-ulps: Update.
55302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55304 2013-01-31  David S. Miller  <davem@davemloft.net>
55306         * po/de.po: Update from translation team.
55308 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55310         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55312 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55314         * configure.in (_AC_PROG_CC_C89): New definition.
55315         * configure: Regenerate.
55317         * configure.in (AC_PROG_CPP): New definition.
55318         * configure: Regenerate.
55320 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55322         * debug/tst-backtrace.h: New file.
55323         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55324         (ret): Remove variable.
55325         (x): Likewise.
55326         (FAIL): Remove macro.
55327         (NO_INLINE): Likewise.
55328         (fn1): Use match function instead of strstr.
55329         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55330         (ret): Remove variable.
55331         (x): Likewise.
55332         (FAIL): Remove macro.
55333         (NO_INLINE): Likewise.
55334         (fn): Use match function instead of strstr.
55335         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55336         (ret): Remove variable.
55337         (x): Likewise.
55338         (FAIL): Remove macro.
55339         (NO_INLINE): Likewise.
55340         (handle_signal): Use match function instead of strstr.
55341         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55342         (ret): Remove variable.
55343         (x): Likewise.
55344         (FAIL): Remove macro.
55345         (NO_INLINE): Likewise.
55346         (handle_signal): Use match function instead of strstr.
55348 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55350         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55352 2013-01-23  David S. Miller  <davem@davemloft.net>
55354         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55355         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55356         argument of CAS if possible.
55357         * sysdeps/sparc/sparc64/bits/atomic.h
55358         (__arch_compare_and_exchange_val_32_acq): Likewise.
55359         (__arch_compare_and_exchange_val_64_acq): Likewise.
55361 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55363         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55364         * sysdeps/posix/ulimit.c: ... this.
55365         Include <limits.h>.
55366         * sysdeps/unix/bsd/ulimit.c: Remove file.
55368 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55370         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55371         (LDFLAGS-tst-array5): Likewise.
55373 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55375         [BZ #15036]
55376         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55377         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55378         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55379         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55381 2013-01-21  David S. Miller  <davem@davemloft.net>
55383         * sysdeps/sparc/backtrace.c: New file.
55384         * sysdeps/sparc/sparc32/backtrace.h: New file.
55385         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55386         * sysdeps/sparc/sparc64/backtrace.h: New file.
55387         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55388         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55389         -funwind-tables.
55391 2013-01-21  Andreas Schwab  <schwab@suse.de>
55393         [BZ #15020]
55394         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55395         closed its stdout.
55397 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55400         "mpa2.h".
55401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55403 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55404             Mark Mitchell  <mark@codesourcery.com>
55405             Tom de Vries  <tom@codesourcery.com>
55406             Paul Pluzhnikov  <ppluzhnikov@google.com>
55408         * debug/tst-backtrace2.c: New file.
55409         * debug/tst-backtrace3.c: Likewise.
55410         * debug/tst-backtrace4.c: Likewise.
55411         * debug/tst-backtrace5.c: Likewise.
55412         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55413         (CFLAGS-tst-backtrace3.c): Likewise.
55414         (CFLAGS-tst-backtrace4.c): Likewise.
55415         (CFLAGS-tst-backtrace5.c): Likewise.
55416         (LDFLAGS-tst-backtrace2): Likewise.
55417         (LDFLAGS-tst-backtrace3): Likewise.
55418         (LDFLAGS-tst-backtrace4): Likewise.
55419         (LDFLAGS-tst-backtrace5): Likewise.
55420         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55421         tst-backtrace4 and tst-backtrace5.
55423 2013-01-18  Anton Blanchard  <anton@samba.org>
55424             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55426         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55427         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55428         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55429         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55431         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55432         "+r" and remove output regs list as redundant.  Add explicit inline
55433         asm to specify register of return val to work around compiler codegen
55434         bug.  Remove (int) cast on return value.  Add return type parameter to
55435         use in macro so that this macro does not truncate return value for
55436         64-bit values.
55437         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55438         pass to INTERNAL_VSYSCALL_NCS.
55439         (INLINE_VSYSCALL): Add 'long int' as return type to
55440         INTERNAL_VSYSCALL_NCS macro invocation.
55441         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55442         INTERNAL_VSYSCALL_NCS macro invocation.
55443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55445 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55447         [BZ #14496]
55448         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55449         Fix application of SIMD FP exception mask.
55451         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55452         mp_no from a power of two.
55453         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55454         __mpexp_twomm1.  Use __pow_mp.
55456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55457         multiplication.
55459 2013-01-17  David S. Miller  <davem@davemloft.net>
55461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55463 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55465         [BZ #15023]
55466         * include/complex.h: Condition contents on [!_COMPLEX_H].
55467         (__kernel_casinhf): New prototype.
55468         (__kernel_casinh): Likewise.
55469         (__kernel_casinhl): Likewise.
55470         * math/Makefile (libm_calls): Add k_casinh.
55471         * math/k_casinh.c: New file.
55472         * math/k_casinhf.c: Likewise.
55473         * math/k_casinhl.c: Likewise.
55474         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55475         finite nonzero arguments.
55476         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55477         finite nonzero arguments.
55478         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55479         finite nonzero arguments.
55480         * math/s_casinh.c: Do not include <float.h>.
55481         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55482         * math/s_casinhf.c: Do not include <float.h>.
55483         (__casinhf): Move code for finite nonzero arguments to
55484         k_casinhf.c.
55485         * math/s_casinhl.c: Do not include <float.h>.
55486         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55487         redefine.
55488         (__casinhl): Move code for finite nonzero arguments to
55489         k_casinhl.c.
55490         * math/libm-test.inc (cacos_test): Add more tests.
55491         * sysdeps/i386/fpu/libm-test-ulps: Update.
55492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55494 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55496         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55497         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55498         [!HAVE_MREMAP]: Remove [defined linux] case.
55499         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55501 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55503         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55505 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55507         * elf/elf.h (R_386_SIZE32): New relocation.
55508         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55509         R_386_SIZE32.
55510         (elf_machine_rela): Likewise.
55511         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55512         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55514 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55516         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55517         (FP_FAST_FMA): Do not define.
55518         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55519         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55520         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55521         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55522         !_SOFT_FLOAT]: Likewise.
55523         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55524         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55525         value.
55526         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55527         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55528         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55529         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55530         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55531         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55532         file.
55534 2013-01-16  Andreas Schwab  <schwab@suse.de>
55536         [BZ #14327]
55537         * include/stdlib.h (__mktemp): Add declaration.
55538         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55539         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55541 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55543         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55544         definitions.
55545         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55546         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55547         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55548         definitions here.
55549         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55550         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55551         definitions.
55552         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55553         and ONE.
55554         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55555         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55556         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55557         definitions.
55558         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55559         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55560         definitions.
55561         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55563         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55565 2013-01-15  David S. Miller  <davem@davemloft.net>
55567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55568         trunc{,f} to libm-sysdep_routes.
55569         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55571         file.
55572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55574         file.
55575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55576         file.
55577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55579         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55580         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55581         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55582         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55583         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55584         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55587         nearbyint{,f} to libm-sysdep_routes.
55588         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55590         New file.
55591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55592         file.
55593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55594         New file.
55595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55596         file.
55597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55599         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55600         file.
55601         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55602         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55603         file.
55604         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55605         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55606         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55608         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55609         libc_feholdexcept and libc_fesetenv.
55611 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55613         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55615 2013-01-14  David S. Miller  <davem@davemloft.net>
55617         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55618         (SPARC_ASM_VIS2_IFUNC): Likewise.
55619         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55621         use of 'siam' instruction.
55622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55623         Likewise.
55624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55625         Likewise.
55626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55627         Likewise.
55628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55630         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55633         file.
55634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55635         file.
55636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55637         file.
55638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55639         file.
55640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55645         new VIS2 routines.
55646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55649         Likewise.
55650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55652         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55653         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55655         routines to libm-sysdep_routines.
55656         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55659         fdim/fdimf to libm-sysdep_routines.
55660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55661         file.
55662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55664         file.
55665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55668         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55669         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55670         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55671         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55673 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55675         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55676         to optimize copies.
55678         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55683         local variable MPTWO.
55684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55685         Likewise.
55687 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55689         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55690         GLOB_NOESCAPE.
55692 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55694         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55696 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55698         * manual/pattern.texi (glob_t): Document gl_flags.
55699         (glob64_t): Likewise.
55701 2013-01-11  David S. Miller  <davem@davemloft.net>
55703         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55704         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55705         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55706         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55707         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55708         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55709         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55710         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55711         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55712         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55713         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55714         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55715         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55717         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55718         sparc V9 rather than using V8 code.
55719         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55720         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55722         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55723         Move to...
55724         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55725         Here.
55727 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55729         [BZ #14941]
55730         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55731         not in the main loop.
55732         * configure: Regenerated.
55734 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55736         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55737         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55738         to just #else.
55739         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55740         [!__GLIBC_HAVE_LONG_LONG] case.
55741         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55742         condition to just #else.
55743         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55744         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55745         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55746         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55747         unconditional.
55748         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55749         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55750         #elif condition to just #else.
55751         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55752         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55753         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55754         #elif condition to just #else.
55756 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55758         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55759         (EF_MIPS_ARCH_64): Fix value.
55760         (EF_MIPS_ARCH_32R2): New.
55761         (EF_MIPS_ARCH_64R2): New.
55763 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55765         * Makeconfig (+link-pie-before-libc): New.
55766         (+link-pie-after-libc): Likewise.
55767         (+link-pie-tests): Likewise.
55768         (+link-pie): Rewritten.
55769         (link-before-libc): Remove $(config-LDFLAGS).
55770         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55771         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55772         (config-LDFLAGS): Renamed to ...
55773         (rtld-LDFLAGS): This.
55774         (rtld-tests-LDFLAGS): New macro.
55775         (link-libc-rpath-link): Likewise.
55776         (link-libc-tests-rpath-link): Likewise.
55777         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55778         (link-libc): Prepand $(link-libc-rpath-link).
55779         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55780         (test-program-prefix): New macro.
55781         (test-via-rtld-prefix): Likewise.
55782         (test-program-cmd): Likewise.
55783         (host-test-program-cmd): Likewise.
55784         * Makefile ($(common-objpfx)testrun.sh): Replace
55785         $(run-program-prefix) with $(test-program-prefix).
55786         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55787         $(rtld-LDFLAGS).
55788         ($(common-objpfx)shlib.lds): Likewise.
55789         (build-module-helper): Likewise.
55790         ($(common-objpfx)format.lds): Likewise.
55791         * Rules (binaries-pie-tests): New.
55792         (binaries-pie-notests): Likewise.
55793         (binaries-pie): Rewritten.
55794         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55795         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55796         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55797         (make-test-out): Replace $(host-built-program-cmd) with
55798         $(host-test-program-cmd).
55799         * config.make.in (build-hardcoded-path-in-tests): New variable.
55800         * configure.in (--enable-hardcoded-path-in-tests): New configure
55801         option.
55802         (hardcoded_path_in_tests): New AC_SUBST.
55803         * configure: Regenerated.
55804         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55805         $(built-program-cmd) with $(test-program-cmd).
55806         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55807         (test_program_cmd): This.
55808         * elf/Makefile ($(objpfx)order.out): Run test with
55809         $(test-program-prefix).
55810         ($(objpfx)order2.out): Likewise.
55811         ($(objpfx)tst-initorder.out): Likewise.
55812         ($(objpfx)tst-initorder2.out): Likewise.
55813         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55814         $(test-program-cmd).
55815         ($(objpfx)tst-array1-static.out): Likewise.
55816         ($(objpfx)tst-array2.out): Likewise.
55817         ($(objpfx)tst-array3.out): Likewise.
55818         ($(objpfx)tst-array4.out): Likewise.
55819         ($(objpfx)tst-array5.out): Likewise.
55820         ($(objpfx)tst-array5-static.out): Likewise.
55821         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55822         $(test-program-cmd).
55823         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55824         $(run-program-prefix) with $(test-program-prefix).
55825         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55826         (test_program_prefix): This.
55827         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55828         $(run-program-prefix) with $(test-program-prefix).
55829         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55830         (test_program_prefix): This.
55831         * iconvdata/tst-tables.sh: Likewise.
55832         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55833         $(run-program-prefix) with $(test-program-prefix).
55834         ($(objpfx)tst-translit.out): Likewise.
55835         ($(objpfx)tst-gettext2.out): Likewise.
55836         ($(objpfx)tst-gettext4.out): Likewise.
55837         ($(objpfx)tst-gettext6.out): Likewise.
55838         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55839         (test_program_prefix): This.
55840         * intl/tst-gettext2.sh: Likewise.
55841         * intl/tst-gettext4.sh  Likewise.
55842         * intl/tst-gettext6.sh: Likewise.
55843         * intl/tst-translit.sh: Likewise.
55844         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55845         with $(test-program-cmd).
55846         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55847         $(run-program-prefix) with $(test-program-prefix).
55848         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55849         (test_program_prefix): This.
55850         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55851         $(run-program-prefix) with $(test-program-prefix).
55852         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55853         (test_program_prefix): This.
55854         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55855         * posix/Makefile ($(objpfx)globtest.out): Replace
55856         $(run-via-rtld-prefix) and $(test-wrapper) with
55857         $(test-program-prefix) and $(test-via-rtld-prefix).
55858         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55859         $(test-program-prefix).
55860         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55861         $(host-test-program-cmd).
55862         (tst-spawn-ARGS): Likewise.
55863         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55864         $(test-program-prefix).
55865         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55866         (test_via_rtld_prefix): This.
55867         (test_wrapper): Renamed to ...
55868         (test_program_prefix): This.
55869         (run_program_prefix): Replaced by test_program_prefix.
55870         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55871         (test_program_prefix): This.
55872         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55873         with $(host-test-program-cmd).
55874         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55875         $(run-program-prefix) with $(test-program-prefix).
55876         ($(objpfx)tst-printf.out): Likewise.
55877         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55878         $(test-program-cmd).
55879         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55880         (test_program_prefix): This.
55881         * stdio-common/tst-unbputc.sh: Likewise.
55882         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55883         $(run-program-prefix) with $(test-program-prefix).
55884         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55885         (test_program_prefix): This.
55886         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55887         $(built-program-cmd) with $(test-program-cmd).
55889 2013-01-11  Andreas Jaeger  <aj@suse.de>
55891         [BZ #15003]
55892         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55893         value. Sync with Linux 3.7.
55895 2013-01-10  David S. Miller  <davem@davemloft.net>
55897         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55898         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55899         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55901 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55903         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55904         never set.
55905         * configure: Regenerated.
55907 2013-01-10  David S. Miller  <davem@davemloft.net>
55909         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55910         sparc V9 rather than using V8 code.
55911         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55912         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55914 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55916         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55917         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55918         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55919         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55920         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55921         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55922         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55923         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55924         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55925         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55926         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55927         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55928         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55929         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55930         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55931         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55932         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55933         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55934         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55935         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55936         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55937         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55938         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55939         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55940         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55941         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55942         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55944 2013-01-10  David S. Miller  <davem@davemloft.net>
55946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55948 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55950         * posix/Makefile (tests-static): New variable.
55951         (tests): Add $(tests-static).
55952         (tst-exec-static-ARGS): New variable.
55953         (tst-spawn-static-ARGS): Likewise.
55954         * posix/tst-exec-static.c: New file.
55955         * posix/tst-spawn-static.c: Likewise.
55956         * posix/tst-exec.c: Support run directly.
55957         * posix/tst-spawn.c: Likewise.
55959 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55961         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55962         long.
55963         * math/bits/mathcalls.h (llrint): Likewise.
55964         (llround): Likewise.
55965         * stdlib/stdlib.h (struct drand48_data): Likewise.
55966         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55967         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55968         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55969         Likewise.
55970         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55971         Likewise.
55972         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55973         (elf_greg_t): Likewise.
55974         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55975         (__jmp_buf): Likewise.
55976         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55977         definitions.
55978         (llrint): Likewise, for all definitions.
55979         (llrintl): Likewise.
55981         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55982         Remove [__GNUC__] condition.
55983         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55984         condition to just [__USE_ISOC99].
55985         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55987 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55989         [BZ #14200]
55990         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55991         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55992         defined.
55993         (_POSIX_V6_ILP32_OFF32): Likewise.
55994         (_XBS5_ILP32_OFF32): Likewise.
55995         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55996         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55998 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56000         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56002         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56003         doubles __mpexp_twomm1.  Adjust usage.
56004         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56005         Remove.
56007 2013-01-10  Andreas Schwab  <schwab@suse.de>
56009         [BZ #14964]
56010         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56011         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56013 2013-01-09  David S. Miller  <davem@davemloft.net>
56015         [BZ #15003]
56016         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56017         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56018         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56019         (TCP_FASTOPEN): Define.
56020         (tcp_repair_opt): New structure.
56021         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56022         enum values.
56023         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56024         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56025         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56026         (tcp_cookie_transactions): New structure.
56028 2013-01-09  Anton Blanchard  <anton@samba.org>
56030         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56031         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56032         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56033         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56035 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56037         * include/features.h (__USE_ANSI): Remove.
56039 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56041         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56043         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56045 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56047         * sysdeps/s390/fpu/libm-test-ulps: Update.
56049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56051         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56052         (__acr): Likewise.
56053         (__cpy): Likewise.
56054         (norm): Likewise.
56055         (denorm): Likewise.
56056         (__mp_dbl): Likewise.
56057         (__dbl_mp): Likewise.
56058         (add_magnitudes): Likewise.
56059         (sub_magnitudes): Likewise.
56060         (__add): Likewise.
56061         (__sub): Likewise.
56062         (__mul): Likewise.
56063         (__inv): Likewise.
56064         (__dvd): Likewise.
56065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56066         (__acr): Likewise.
56067         (__cpy): Likewise.
56068         (norm): Likewise.
56069         (denorm): Likewise.
56070         (__mp_dbl): Likewise.
56071         (__dbl_mp): Likewise.
56072         (add_magnitudes): Likewise.
56073         (sub_magnitudes): Likewise.
56074         (__add): Likewise.
56075         (__sub): Likewise.
56076         (__mul): Likewise.
56077         (__inv): Likewise.
56078         (__dvd): Likewise.
56079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56080         (__acr): Likewise.
56081         (__cpy): Likewise.
56082         (norm): Likewise.
56083         (denorm): Likewise.
56084         (__mp_dbl): Likewise.
56085         (__dbl_mp): Likewise.
56086         (add_magnitudes): Likewise.
56087         (sub_magnitudes): Likewise.
56088         (__add): Likewise.
56089         (__sub): Likewise.
56090         (__mul): Likewise.
56091         (__inv): Likewise.
56092         (__dvd): Likewise.
56094 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56096         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56097         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56098         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56099         2 && __USE_EXTERN_INLINES]: Likewise.
56101 2013-01-08  Andreas Jaeger  <aj@suse.de>
56103         [BZ# 14985]
56104         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56105         Remove.
56106         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56107         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56109 2013-01-07  Anton Blanchard  <anton@samba.org>
56111         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56112         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56113         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56114         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56115         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56116         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56117         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56118         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56120         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56121         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56122         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56123         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56124         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56125         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56126         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56127         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56128         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56129         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56130         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56131         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56132         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56133         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56134         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56135         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56136         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56137         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56138         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56139         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56140         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56141         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56143         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56144         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56145         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56146         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56147         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56148         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56149         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56150         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56151         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56152         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56153         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56155 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56157         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56158         (__MALLOC_PMT): Likewise.
56159         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56160         [__GNUC__], only on [_LIBC].
56161         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56162         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56163         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56164         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56165         forward declaration.
56166         (realloc_hook_ini): Likewise.
56167         (memalign_hook_ini): Likewise.
56168         (__libc_memalign): Do not use __MALLOC_PMT in variable
56169         declaration.
56170         (__libc_valloc): Likewise.
56171         (__libc_pvalloc): Likewise.
56172         (__libc_calloc): Likewise.
56173         (__posix_memalign): Likewise.
56175         [BZ #14996]
56176         * math/s_casinh.c: Include <float.h>.
56177         (__casinh): Do not do computation with squaring and square root
56178         for large arguments.
56179         * math/s_casinhf.c: Include <float.h>.
56180         (__casinhf): Do not do computation with squaring and square root
56181         for large arguments.
56182         * math/s_casinhl.c: Include <float.h>.
56183         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56184         (__casinhl): Do not do computation with squaring and square root
56185         for large arguments.
56186         * math/libm-test.inc (casin_test): Add more tests.
56187         (casinh_test): Likewise.
56188         * sysdeps/i386/fpu/libm-test-ulps: Update.
56189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56191 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56193         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56194         (__x86_64_raw_data_cache_size): Likewise.
56195         (__x86_64_data_cache_size_half): Likewise.
56196         (__x86_64_raw_data_cache_size_half): Likewise.
56197         (__x86_64_shared_cache_size): Likewise.
56198         (__x86_64_raw_shared_cache_size): Likewise.
56199         (__x86_64_shared_cache_size_half): Likewise.
56200         (__x86_64_raw_shared_cache_size_half): Likewise.
56201         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56202         to ...
56203         (__x86_data_cache_size): This.
56204         (__x86_64_raw_data_cache_size): Renamed to ...
56205         (__x86_raw_data_cache_size): This.
56206         (__x86_64_data_cache_size_half): Renamed to ...
56207         (__x86_data_cache_size_half): This.
56208         (__x86_64_raw_data_cache_size_half): Renamed to ...
56209         (__x86_raw_data_cache_size_half): This.
56210         (__x86_64_shared_cache_size): Renamed to ...
56211         (__x86_shared_cache_size): This.
56212         (__x86_64_raw_shared_cache_size): Renamed to ...
56213         (__x86_raw_shared_cache_size): This.
56214         (__x86_64_shared_cache_size_half): Renamed to ...
56215         (__x86_shared_cache_size_half): This.
56216         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56217         (__x86_raw_shared_cache_size_half): This.
56218         * sysdeps/x86_64/memcpy.S: Updated.
56219         * sysdeps/x86_64/memset.S: Likewise.
56220         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56221         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56222         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56224 2013-01-04  David S. Miller  <davem@davemloft.net>
56226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56228 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56230         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56231         1 to avoid redefinition warning.
56232         (__USE_GNU): Don't define.
56233         (init_signaling_nan): Protoize.
56235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56237 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56239         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56241         (__cpymn): Likewise.
56242         (norm): Remove commented code.
56243         (denorm): Likewise.
56244         (__mp_dbl): Likewise.
56245         (__inv): Likewise.
56246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56247         (__cpymn): Likewise.
56248         (norm): Remove commented code.
56249         (denorm): Likewise.
56250         (__mp_dbl): Likewise.
56251         (__inv): Likewise.
56253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56254         mp_no value for 1.0 and 2.0.
56255         (norm): Use RADIXI instead of radixi.d.
56256         (denorm): Likewise.
56257         (__mul): Use 0.0 instead of zero.d.
56258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56259         mp_no value for 1.0 and 2.0.
56260         (norm): Use RADIXI instead of radixi.d.
56261         (denorm): Likewise.
56262         (__mul): Use 0.0 instead of zero.d.
56264 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56266         [BZ #14994]
56267         * math/s_casinh.c (__casinh): Reduce finite argument to first
56268         quadrant then set signs of results at the end.
56269         * math/s_casinhf.c (__casinhf): Likewise.
56270         * math/s_casinhl.c (__casinhl): Likewise.
56271         * math/libm-test.inc (casin_test): Add more tests.
56272         (casinh_test): Likewise.
56273         * sysdeps/i386/fpu/libm-test-ulps: Update.
56274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56276 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56278         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56280         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56282         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56283         declarations.
56284         (denorm): Likewise.
56285         (__mp_dbl): Likewise.
56286         (__inv): Likewise.
56288         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56289         and adjust the header comment.
56291         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56292         variable name from declaration.
56294 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56297         Initialize COMMON_CPUID_INDEX_7 element.
56298         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56299         (CPUID_RTM): Likewise.
56300         (HAS_RTM): Likewise.
56301         (COMMON_CPUID_INDEX_7): New enum.
56303 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56305         [BZ #14981]
56306         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56307         size is zero, record memory as freed.
56309 2013-01-03  Andreas Jaeger  <aj@suse.de>
56311         * po/ia.po: Add new Interlingua translation.
56313 2012-01-03  Allan McRae  <allan@archlinux.org>
56315         * locale/programs/localedef.c: Fix description of '--posix' flag.
56317 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56319         * NEWS: Update dates in second copyright notice.
56320         * README: Update copyright dates in example.
56321         * manual/libc.texinfo: Update copyright dates.
56322         * scripts/test-installation.pl: Update copyright date in --version
56323         output.
56325         * hurd/ctty-input.c: Fix copyright notice formatting.
56326         * hurd/ctty-output.c: Likewise.
56327         * hurd/dtable.c: Likewise.
56328         * hurd/hurd-raise.c: Likewise.
56329         * hurd/hurdprio.c: Likewise.
56330         * hurd/msgportdemux.c: Likewise.
56331         * misc/sys/file.h: Likewise.
56332         * misc/sys/ioctl.h: Likewise.
56333         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56334         * sysdeps/mach/hurd/chdir.c: Likewise.
56335         * sysdeps/mach/hurd/fchdir.c: Likewise.
56336         * sysdeps/mach/hurd/rename.c: Likewise.
56337         * sysdeps/mach/hurd/rmdir.c: Likewise.
56338         * sysdeps/mach/hurd/seekdir.c: Likewise.
56339         * sysdeps/mach/hurd/setsid.c: Likewise.
56340         * sysdeps/posix/wait3.c: Likewise.
56342         * All files with FSF copyright notices: Update copyright dates
56343         using scripts/update-copyrights.
56344         * intl/plural.c: Regenerated.
56345         * locale/programs/charmap-kw.h: Likewise.
56346         * locale/programs/locfile-kw.h: Likewise.
56348 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56350         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56351         four values.
56353         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56354         calculation loop and add branch prediction.
56356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56357         check access beyond bounds of m1np.
56359         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56360         MPTWO.
56361         (__inv): Remove local variable MPTWO to use the global
56362         constant.
56363         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56365         variable MPTWO.
56366         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56367         MP3HALFS static const.
56369 2013-01-01  David S. Miller  <davem@davemloft.net>
56371         * po/ca.po: Update from translation team.
56373 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56375         * scripts/update-copyrights: New file.
56376         * Makeconfig: Reformat copyright notice.
56377         * ctype/ctype.h: Likewise.
56378         * debug/swprintf_chk.c: Likewise.
56379         * elf/dl-cache.c: Likewise.
56380         * elf/dl-debug.c: Likewise.
56381         * elf/dl-object.c: Likewise.
56382         * grp/initgroups.c: Likewise.
56383         * hurd/Makefile: Likewise.
56384         * hurd/hurd/signal.h: Likewise.
56385         * hurd/hurdfault.c: Likewise.
56386         * hurd/hurdioctl.c: Likewise.
56387         * hurd/hurdlookup.c: Likewise.
56388         * hurd/intr-msg.c: Likewise.
56389         * iconv/gconv_open.c: Likewise.
56390         * libio/swprintf.c: Likewise.
56391         * locale/lc-ctype.c: Likewise.
56392         * locale/nl_langinfo.c: Likewise.
56393         * mach/Machrules: Likewise.
56394         * mach/Makefile: Likewise.
56395         * malloc/obstack.h: Likewise.
56396         * manual/Makefile: Likewise.
56397         * manual/tsort.awk: Likewise.
56398         * misc/bits/stab.def: Likewise.
56399         * nis/nis_print_group_entry.c: Likewise.
56400         * nis/nis_table.c: Likewise.
56401         * nis/nss_compat/compat-pwd.c: Likewise.
56402         * nis/nss_compat/compat-spwd.c: Likewise.
56403         * po/Makefile: Likewise.
56404         * posix/fnmatch.c: Likewise.
56405         * posix/regex.h: Likewise.
56406         * resolv/Makefile: Likewise.
56407         * resolv/nss_dns/dns-network.c: Likewise.
56408         * resolv/res_hconf.c: Likewise.
56409         * scripts/gen-sorted.awk: Likewise.
56410         * soft-fp/soft-fp.h: Likewise.
56411         * stdio-common/printf.h: Likewise.
56412         * stdlib/monetary.h: Likewise.
56413         * stdlib/random.c: Likewise.
56414         * stdlib/random_r.c: Likewise.
56415         * sysdeps/generic/Makefile: Likewise.
56416         * sysdeps/gnu/Makefile: Likewise.
56417         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56418         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56419         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56420         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56421         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56422         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56424         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56425         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56427         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56428         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56429         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56430         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56431         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56432         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56433         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56434         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56435         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56436         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56437         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56438         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56439         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56440         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56441         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56442         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56443         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56444         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56445         * sysdeps/mach/hurd/errnos.awk: Likewise.
56446         * sysdeps/mach/hurd/fork.c: Likewise.
56447         * sysdeps/mach/hurd/getcwd.c: Likewise.
56448         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56449         * sysdeps/mach/hurd/mmap.c: Likewise.
56450         * sysdeps/mach/hurd/utimes.c: Likewise.
56451         * sysdeps/mach/hurd/xmknod.c: Likewise.
56452         * sysdeps/posix/profil.c: Likewise.
56453         * sysdeps/posix/readdir_r.c: Likewise.
56454         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56455         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56456         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56457         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56459         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56460         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56461         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56463         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56464         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56465         * sysdeps/pthread/lio_listio.c: Likewise.
56466         * sysdeps/sparc/dl-procinfo.h: Likewise.
56467         * sysdeps/unix/i386/sysdep.S: Likewise.
56468         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56469         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56470         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56471         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56473         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56474         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56475         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56476         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56477         * sysdeps/wordsize-32/divdi3.c: Likewise.
56478         * time/sys/time.h: Likewise.
56479         * wcsmbs/Makefile: Likewise.
56481 2013-01-01  David S. Miller  <davem@davemloft.net>
56483         * po/fr.po: Update from translation team.
56485         * catgets/gencat.c: Update copyright year.
56486         * csu/version.c: Likewise.
56487         * debug/catchsegv.sh: Likewise.
56488         * debug/pcprofiledump.c: Likewise.
56489         * debug/xtrace.sh: Likewise.
56490         * elf/ldconfig.c: Likewise.
56491         * elf/ldd.bash.in: Likewise.
56492         * elf/pldd.c: Likewise.
56493         * elf/sotruss.ksh: Likewise.
56494         * elf/sprof.c: Likewise.
56495         * iconv/iconv_prog.c: Likewise.
56496         * iconv/iconvconfig.c: Likewise.
56497         * locale/programs/locale.c: Likewise.
56498         * locale/programs/localedef.c: Likewise.
56499         * login/programs/pt_chown.c: Likewise.
56500         * malloc/memusage.sh: Likewise.
56501         * malloc/memusagestat.c: Likewise.
56502         * malloc/mtrace.pl: Likewise.
56503         * nscd/nscd.c: Likewise.
56504         * nss/getent.c: Likewise.
56505         * nss/makedb.c: Likewise.
56506         * posix/getconf.c: Likewise.
56508 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56510         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56511         numbers.
56513 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56515         * math/bits/mathcalls.h (modf): Use __nonnull.
56517 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56519         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56520         (split): Use macro CN instead of the bare value.
56521         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56522         could be used.
56523         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56524         instead of the bare value.
56525         (power1): Likewise.
56527 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56529         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56530         __ATAN_TWOM.
56531         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56533         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56534         their values.
56535         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56536         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56537         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56538         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56540 2012-12-28  Andreas Jaeger  <aj@suse.de>
56542         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56543         values are from Linux 3.7.
56545         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56546         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56548 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56550         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56551         TRUE case.
56553         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56554         (norm): Likewise.
56555         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56556         variables with preprocessor constants.
56557         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56558         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56559         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56561 2012-12-27  Bruno Haible  <bruno@clisp.org>
56563         [BZ #14317]
56564         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56565         only if needed.
56567 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56570         and use variable directly.
56571         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56573         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56574         MPONE.
56575         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56576         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56577         variable MPONE.
56578         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56579         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56580         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56581         include directive.  Remove local variable MPONE.
56582         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56583         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56584         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56586 2012-12-25  David S. Miller  <davem@davemloft.net>
56588         * version.h (RELEASE): Set to "development".
56589         (VERSION): Set to "2.17.90".
56590         * NEWS: Add 2.18 section.
56592 2012-12-21  David S. Miller  <davem@davemloft.net>
56594         * po/hr.po: Update from translation team.
56596 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56598         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56600 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56602         * NEWS:  Mention new memcpy for MIPS.
56604 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56606         * manual/contrib.texi (Contributors): Spelling correction.
56608 2012-12-15  David S. Miller  <davem@davemloft.net>
56610         * po/ru.po: Update from translation team.
56612 2012-12-13  David S. Miller  <davem@davemloft.net>
56614         * NEWS: Mention IFUNC testsuite enhancements.
56616         * po/pl.po: Update from translation team.
56617         * po/bg.po: Likewise.
56619         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56620         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56622 2012-12-11  David S. Miller  <davem@davemloft.net>
56624         * po/sv.po: Update from translation team.
56626         * po/vi.po: Update from translation team.
56628         * po/cs.po: Update from translation team.
56630         * po/de.po: Update from translation team.
56631         * po/eo.po: Likewise.
56632         * po/nl.po: Likewise.
56634 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56636         [BZ #14246]
56637         * manual/argp.texi (Argp Helper Functions): Move node to follow
56638         Argp Parsing State.
56640         [BZ #14872]
56641         * manual/conf.texi (Limits on File System Capacity): Mention if
56642         terminating null is included in the max size.
56644 2012-12-10  Andreas Jaeger  <aj@suse.de>
56646         * po/cs.po: Update from translation team.
56648 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56650         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56651         void pointer and cast to uintptr_t.
56652         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56653         path.
56654         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56655         * sysdeps/s390/s390-64/memset.S: Likewise.
56657 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56659         [BZ #14833]
56660         * menual/message.texi (Message Translation): Fix typos.
56661         (Helper programs for gettext): Likewise.
56663 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56665         [BZ #14898]
56666         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56667         Change to -1.
56669 2012-12-07  David S. Miller  <davem@davemloft.net>
56671         * po/libc.pot: Update.
56673 2012-12-07  Richard Henderson  <rth@redhat.com>
56675         [BZ #10114]
56676         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56677         normal/normal case to before the switch.
56678         (_FP_DIV): Likewise.
56680 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56681             Mike Frysinger  <vapier@gentoo.org>
56683         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56684         check for __NR_fadvise64_64.
56686 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56688         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56689         0, not just to plain "0" as a statement.
56690         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56691         with cw.
56693 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56695         * NEWS: Use sourceware.org in Bugzilla URL.
56697 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56700         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56702         * stdio-common/tst-put-error.c (do_test): Add newline to the
56703         padded test to ensure flush.
56705 2012-12-05  Jeff Law  <law@redhat.com>
56707         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56709 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56711         * README: Don't refer to ports add-on as distributed separately.
56712         Mention AArch64 in list of systems supported in the ports add-on.
56714         * LICENSES: Add more non-FSF copyright and license notices.
56716         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56717         ((unused)).
56719         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56721         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56722         10000 as width of padded output.
56724 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56726         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56728         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56729         variable LX with __attribute__ ((unused)).
56730         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56731         Likewise.
56732         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56733         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56734         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56735         with __attribute__ ((unused)).
56737 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56739         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56741 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56743         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56744         (CFLAGS-nldbl-acos.c): New variable.
56745         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56746         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56747         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56748         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56749         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56750         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56751         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56752         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56753         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56754         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56755         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56756         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56757         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56758         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56759         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56760         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56761         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56762         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56763         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56764         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56765         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56766         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56767         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56768         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56769         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56770         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56771         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56772         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56773         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56774         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56775         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56776         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56777         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56778         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56779         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56780         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56781         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56782         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56783         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56784         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56785         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56786         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56787         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56788         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56789         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56790         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56791         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56792         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56793         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56794         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56795         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56796         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56797         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56798         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56799         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56800         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56801         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56802         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56803         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56804         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56805         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56806         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56807         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56808         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56809         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56810         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56811         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56812         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56813         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56814         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56815         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56816         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56817         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56818         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56819         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56820         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56821         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56822         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56823         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56824         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56825         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56826         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56827         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56828         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56829         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56830         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56831         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56832         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56833         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56834         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56835         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56836         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56837         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56838         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56839         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56840         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56841         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56844         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56846         [BZ #14914]
56847         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56848         whole low double instead of just low 47 bits when splitting values
56849         into two parts.
56851 2012-12-03  Allan McRae  <allan@archlinux.org>
56853         * manual/stdio.texi (Predefined Printf Handlers): Remove
56854         @hsep and @vsep usage.
56856 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56858         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56859         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56861 2012-12-03  Jeff Law  <law@redhat.com>
56863         * time/sys/time.h (settimeofday): Do not mark TV argument
56864         as __nonnull.
56866 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56868         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56869         when currently writing and seek to current position when not.
56870         * libio/Makefile (tests): Remove bug-fclose1.
56871         * libio/bug-fclose1.c: Delete.
56873 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56875         * manual/arith.texi (feenableexcept): Fix typo.
56876         (fedisableexcept): Likewise.
56878 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56880         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56881         second, differently-typed declaration, rather than a cast.
56883 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56885         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56886         * include/rpc/svc.h: ... here.
56888 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56890         [BZ #13013]
56891         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56892         depending n and resplen2 to catch cases where answer
56893         equals answerp2.
56895 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56897         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56898         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56900 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56902         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56904 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56906         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56908 2012-11-28  Jeff Law  <law@redhat.com>
56910         [BZ #13761]
56911         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56912         dataset_temporary.  Track alloca usage into alloca_used.
56913         If dataset is large allocate and release it via malloc/free.
56915 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56917         [BZ #14197]
56918         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56920 2012-11-28  David S. Miller  <davem@davemloft.net>
56922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56924 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56926         [BZ #14803]
56927         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56928         of pi/2 rounded to nearest to 64 bits.
56929         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56930         nearest to 64 bits.
56931         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56932         bits.
56934 2012-11-28  Jeff Law <law@redhat.com>
56935             Martin Osvald <mosvald@redhat.com>
56937         [BZ #14889]
56938         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56939         * sunrpc/svc.c: Include time.h.
56940         (__svc_accept_failed): New function.
56941         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56942         any reason other than EINTR, call __svc_accept_failed.
56943         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56944         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56946 2012-11-28  Andreas Schwab  <schwab@suse.de>
56948         * scripts/abilist.awk: Also handle indirect functions in .opd
56949         section.
56951 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56953         [BZ #13881]
56954         * sysdeps/x86/fpu/powl_helper.c: New file.
56955         * sysdeps/x86/fpu/Makefile: Likewise.
56956         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56957         (p3): New object.
56958         (__ieee754_powl): Use __powl_helper for finite arguments except
56959         integer exponents below 8.
56960         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56961         (p3): New object.
56962         (__ieee754_powl): Use __powl_helper for finite arguments except
56963         integer exponents below 8.
56964         * math/libm-test.inc (pow_test): Add more tests and enable some
56965         previously disabled tests.
56966         * sysdeps/i386/fpu/libm-test-ulps: Update.
56967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56969 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56970             Carlos O'Donell  <carlos_odonell@mentor.com>
56972         * nss/makedb.c (is_prime): Assert that input is odd and greater
56973         than 4.  Note that fact in a comment too.
56974         (next_prime): Add 4 to input.
56976 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56978         [BZ #11741]
56979         * libio/Makefile (tests): Add test case tst-fwrite-error.
56980         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56981         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56982         * libio/tst-fwrite-error.c: New test case.
56984 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56986         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56987         before casting to void *.
56988         * include/libc-internal.h (__pointer_type): New macro.
56989         (__integer_if_pointer_type_sub): Likewise.
56990         (__integer_if_pointer_type): Likewise.
56991         (cast_to_integer): Likewise.
56992         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56993         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56994         before casting to atomic64_t.
56995         (atomic_exchange_acq): Likewise.
56996         (__arch_exchange_and_add_body): Likewise.
56997         (__arch_add_body): Likewise.
56998         (atomic_add_negative): Likewise.
56999         (atomic_add_zero): Likewise.
57001 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57003         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57004         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57005         (add_fdes): Likewise.
57006         (linear_search_fdes): Likewise.
57007         (binary_search_unencoded_fdes): Likewise.
57009 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57011         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57013 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57015         * configure.in: Autodetect C++ header directories.
57016         * configure: Regenerated.
57018 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57020         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57022 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57026 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57028         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57029         LDBL_MANT_DIG == 106]: Disable some tests.
57030         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57031         Likewise.
57032         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57033         Likewise.
57035         [BZ #14871]
57036         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57037         input for small inputs.  Return +/- pi/2 for large inputs.
57038         * math/libm-test.inc (atan_test): Add more tests.
57040         * sysdeps/generic/unwind-dw2-fde-glibc.c
57041         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57042         __attribute__ ((unused)).
57044         [BZ #14645]
57045         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57046         x * y if x and y are nonzero and z is zero.
57048         [BZ #14811]
57049         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57050         nonzero exponents with absolute value below 0x1p-117 to +/-
57051         0x1p-117.
57053         [BZ #14869]
57054         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57055         up arguments below 2**-450, not just those below 2**-500.
57056         * math/libm-test.inc (hypot_test): Add another test.
57058         [BZ #14868]
57059         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57060         Return a+b for ratio over 2**120, not 2**60.
57061         * math/libm-test.inc (hypot_test): Add another test.
57063         * math/libm-test.inc (clog_test): Use
57064         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57065         (clog10_test): Likewise.
57067         [BZ #6778]
57068         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57070 2012-11-22  Andreas Schwab  <schwab@suse.de>
57072         * sysdeps/i386/fpu/libm-test-ulps: Update.
57074 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57076         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57077         printf output with newline.
57079 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57081         [BZ #14865]
57082         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57083         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57084         -z nodlopen, -z initfirst and -z execstack support.
57085         * configure: Regenerated.
57087         * elf/elf.h (DF_1_NODIRECT): New macro.
57088         (DF_1_IGNMULDEF): Likewise.
57089         (DF_1_NOKSYMS): Likewise.
57090         (DF_1_NOHDR): Likewise.
57091         (DF_1_EDITED): Likewise.
57092         (DF_1_NORELOC): Likewise.
57093         (DF_1_SYMINTPOSE): Likewise.
57094         (DF_1_GLOBAUDIT): Likewise.
57095         (DF_1_SINGLETON): Likewise.
57096         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57097         DT_1_SUPPORTED_MASK bits.
57098         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57100 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57102         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57104 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57106         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57107         macro.
57109         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57110         (sendmmsg): Move declarations...
57111         * socket/sys/socket.h: ... here.
57112         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57113         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57114         include it from...
57115         * socket/recvmmsg.c: ... this new file.
57116         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57117         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57118         definition of __sendmmsg hidden.
57119         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57120         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57121         Move ENOSYS stub into and include it from...
57122         * socket/sendmmsg.c: ... this new file.
57123         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57124         (sysdep_routines): Move recvmmsg and sendmmsg...
57125         * socket/Makefile (routines): ... here.
57126         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57127         (GLIBC_PRIVATE): Add __sendmmsg.
57128         * include/sys/socket.h (__sendmmsg): Add declarations.
57129         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57130         sendmmsg.
57132 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57134         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57135         variable I1 with __attribute__ ((unused)).
57136         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57138 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57140         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57141         DUMMY variables with __attribute__ ((unused)).
57143         * bits/byteswap.h: Include <bits/types.h>.
57144         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57146 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57148         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57149         string_t.  Do not manually set errno.
57150         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57151         length with __strnlen.  Make sure to both set errno and return it on
57152         failure.
57154 2012-11-19  David S. Miller  <davem@davemloft.net>
57156         With help from Joseph Myers.
57157         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57158         very large arguments properly.
57159         * math/libm-test.inc (atan_test): New tests.
57160         (atan2_test): New tests.
57161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57164 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57166         [BZ #14856]
57167         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57168         Define to 3.
57170         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57171         [POSIX] (EADDRNOTAVAIL): Likewise.
57172         [POSIX] (EAFNOSUPPORT): Likewise.
57173         [POSIX] (EALREADY): Likewise.
57174         [POSIX] (ECONNABORTED): Likewise.
57175         [POSIX] (ECONNREFUSED): Likewise.
57176         [POSIX] (ECONNRESET): Likewise.
57177         [POSIX] (EDESTADDRREQ): Likewise.
57178         [POSIX] (EDQUOT): Likewise.
57179         [POSIX] (EHOSTUNREACH): Likewise.
57180         [POSIX] (EIDRM): Likewise.
57181         [POSIX] (EISCONN): Likewise.
57182         [POSIX] (ELOOP): Likewise.
57183         [POSIX] (EMULTIHOP): Likewise.
57184         [POSIX] (ENETDOWN): Likewise.
57185         [POSIX] (ENETUNREACH): Likewise.
57186         [POSIX] (ENOBUFS): Likewise.
57187         [POSIX] (ENODATA): Likewise.
57188         [POSIX] (ENOLINK): Likewise.
57189         [POSIX] (ENOMSG): Likewise.
57190         [POSIX] (ENOPROTOOPT): Likewise.
57191         [POSIX] (ENOSR): Likewise.
57192         [POSIX] (ENOSTR): Likewise.
57193         [POSIX] (ENOTCONN): Likewise.
57194         [POSIX] (ENOTSOCK): Likewise.
57195         [POSIX] (EOPNOTSUPP): Likewise.
57196         [POSIX] (EOVERFLOW): Likewise.
57197         [POSIX] (EPROTO): Likewise.
57198         [POSIX] (EPROTONOSUPPORT): Likewise.
57199         [POSIX] (EPROTOTYPE): Likewise.
57200         [POSIX] (ESTALE): Likewise.
57201         [POSIX] (ETIME): Likewise.
57202         [POSIX] (ETXTBSY): Likewise.
57203         [POSIX] (EWOULDBLOCK): Likewise.
57204         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57205         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57206         [POSIX] (SEEK_CUR): Likewise.
57207         [POSIX] (SEEK_END): Likewise.
57208         [POSIX || UNIX98] (mode_t): Do not require.
57209         [POSIX] (off_t): Likewise.
57210         [POSIX] (pid_t): Likewise.
57211         [POSIX] (sys/stat.h): Do not allow header.
57212         [POSIX] (unistd.h): Likewise.
57213         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57214         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57215         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57216         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57217         require.
57218         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57219         sigevent): Specify elements.
57220         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57221         entry.
57222         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57223         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57225         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57226         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57227         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57228         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57229         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57230         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57231         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57232         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57233         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57234         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57235         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57236         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57237         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57238         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57239         Likewise.
57240         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57241         Likewise.
57242         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57243         Likewise.
57244         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57245         Likewise.
57246         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57247         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57248         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57249         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57250         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57251         Specify lower bound on value.
57252         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57253         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57254         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57255         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57256         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57257         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57258         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57259         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57260         value.
57261         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57262         as optional.
57263         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57264         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57265         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57266         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57267         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57268         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57269         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57270         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57271         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57272         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57273         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57274         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57275         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57276         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57277         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57278         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57279         entry.
57280         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57281         optional.
57282         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57283         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57284         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57285         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57286         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57287         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57288         Likewise.
57289         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57290         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57291         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57292         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57293         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57294         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57295         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57296         as optional.
57297         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57298         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57299         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57300         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57301         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57302         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57303         specify as optional.
57304         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57305         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57306         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57307         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57308         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57309         [XPG3] (NL_LANGMAX): Likewise.
57310         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57311         [POSIX || XPG3] (NL_NMAX): Likewise.
57312         [POSIX || XPG3] (NL_SETMAX): Likewise.
57313         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57314         [XPG3] (NZERO): Likewise.
57315         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57316         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57317         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57318         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57319         (REG_ERANGE): Expect.
57320         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57321         optional-constant.
57322         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57323         Use (void) in prototype.
57324         [POSIX] (*_t): Allow.
57325         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57326         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57327         (WRDE_BADVAL): Expect.
57329         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57330         expect.
57331         [XPG3 || XPG4] (O_RSYNC): Likewise.
57332         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57333         Likewise.
57334         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57335         [XPG3 || XPG4] (sigqueue): Likewise.
57336         [XPG3 || XPG4] (sigtimedwait): Likewise.
57337         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57338         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57339         [XPG3 || XPG4] (vsnprintf): Likewise.
57340         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57341         Likewise.
57342         [XPG3 || XPG4] (blksize_t): Likewise.
57343         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57344         Likewise.
57345         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57346         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57347         [XPG3 || XPG4] (struct itimerspec): Likewise.
57348         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57349         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57350         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57351         [XPG3 || XPG4] (clockid_t): Likewise.
57352         [XPG3 || XPG4] (timer_t): Likewise.
57353         [XPG3 || XPG4] (clock_getres): Likewise.
57354         [XPG3 || XPG4] (clock_gettime): Likewise.
57355         [XPG3 || XPG4] (clock_settime): Likewise.
57356         [XPG3 || XPG4] (nanosleep): Likewise.
57357         [XPG3 || XPG4] (timer_create): Likewise.
57358         [XPG3 || XPG4] (timer_delete): Likewise.
57359         [XPG3 || XPG4] (timer_gettime): Likewise.
57360         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57361         [XPG3 || XPG4] (timer_settime): Likewise.
57362         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57363         [XPG3 || XPG4] (getlogin_r): Likewise.
57364         [XPG3 || XPG4] (pread): Likewise.
57365         [XPG3 || XPG4] (pthread_atfork): Likewise.
57366         [XPG3 || XPG4] (pwrite): Likewise.
57368         [BZ #14835]
57369         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57370         <bits/siginfo.h>.
57372 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57374         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57375         finalizing MALLSTREAM.
57377         * sysdeps/mach/hurd/syncfs.c: New file.
57379 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57381         [BZ #14719]
57382         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57383         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57385         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57386         (_nss_dns_gethostbyname4_r): Likewise.
57387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57388         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57390 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57392         [BZ #13763]
57393         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57395 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57397         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57398         * elf/cache.c (print_entry): Print ",AArch64" for
57399         FLAG_AARCH64_LIB64
57401         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57402         * elf/cache.c (print_entry): Print ",hard-float" for
57403         FLAG_ARM_LIBHF.
57405 2012-11-18  David S. Miller  <davem@davemloft.net>
57407         With help from Joseph Myers.
57408         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57409         cutoff to 2**-13.
57410         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57411         cutoff to 2**-25.
57412         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57413         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57414         small.
57415         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57416         * math/libm-test.inc (y0_test): New tests.
57417         (y1_test): New tests.
57418         * sysdeps/i386/fpu/libm-test-ulps: Update.
57419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57422 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57424         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57425         64-bit targets.
57426         * configure: Regenerated.
57428 2012-11-17  David S. Miller  <davem@davemloft.net>
57430         [BZ #14811]
57431         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57432         nonzero exponents with absolute value below 0x1p-128 to +/-
57433         0x1p-128.
57435 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57437         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57439         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57441         * posix/getconf-speclist.c: New file.
57442         * posix/posix-envs.def: Likewise.
57443         * posix/confstr.c (START_ENV_GROUP): New macro.
57444         (END_ENV_GROUP): Likewise.
57445         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57446         (KNOWN_PRESENT_ENV_STRING): Likewise.
57447         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57448         (UNKNOWN_ENVIRONMENT): Likewise.
57449         (confstr): Include posix-envs.def instead of handling
57450         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57451         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57452         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57453         (END_ENV_GROUP): Likewise.
57454         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57455         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57456         (UNKNOWN_ENVIRONMENT): Likewise.
57457         (__sysconf): Include posix-envs.def instead of handling associated
57458         cases directly here.
57459         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57460         preprocessing getconf-speclist.c rather than running getconf or
57461         generating empty file.
57463 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57465         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57467 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57469         [BZ #14672]
57470         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57472 2012-11-16  David S. Miller  <davem@davemloft.net>
57474         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57475         smaller than LDBL_EPSILON/2.0L, just return xm1.
57477 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57479         * elf/tst-array1.c (init): Set constructor priority to 1000.
57480         (fini): Set destructor priority to 1000.
57481         * elf/tst-array2dep.c: Likewise.
57483 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57485         [BZ #11741]
57486         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57487         (_IO_new_file_xsputn): Also return EOF if none of the input
57488         data was written when overflow failed.
57489         * libio/iopadn.c (_IO_padn): Likewise.
57490         * libio/iowpadn.c (_IO_wpadn): Likewise.
57491         * stdio-common/tst-put-error.c: Add copyright notice.
57492         (do_test): Add case for printing padded string.
57493         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57494         _IO_padn returned error.
57495         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57496         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57497         return EOF.
57499 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57501         * libio/libioP.h: Add comment note that the references to C++
57502         bits are now obsolete.
57504 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57506         * math/libm-test.inc (check_complex): Use asprintf.
57508 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57510         * debug/pcprofiledump.c (print_version): Update copyright year.
57511         * malloc/memusagestat.c (print_version): Likewise.
57513 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57515         [BZ #14831]
57516         * elf/Makefile (tests): Add tst-audit8.
57517         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57518         ($(objpfx)tst-audit8.out): New target.
57519         (tst-audit8-ENV): New variable.
57520         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57521         audit if l_reloc_result is NULL.
57522         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57523         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57524         * elf/tst-audit8.c: New file.
57526 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57528         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57529         * misc/Makefile (CFLAGS-select.c): Define.
57530         * posix/Makefile (CFLAGS-pause.c): Define.
57532 2012-11-13  David S. Miller  <davem@davemloft.net>
57534         * crypt/Makefile: Move test targets after toplevel Rules
57535         inclusion.  Grab any necessary sysdep routines when linking.
57536         * crypt/md5.c (md5_process_block): Remove define, we will always
57537         name it __md5_process_block.
57538         (md5_finish_ctx): Update md5_process_block call.
57539         (md5_stream): Likewise.
57540         (md5_process_bytes): Likewise.
57541         (md5_process_block): Rename to __md5_process_block and move to ...
57542         * crypt/md5-block.c: ... here.
57543         * crypt/sha256.c (sha256_process_block): Move to ...
57544         * crypt/sha256-block.c: ... here.
57545         * crypt/sha512.c (sha512_process_block): Move to ...
57546         * crypt/sha512-block.c: ... here.
57547         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57548         path.
57549         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57550         * sysdeps/sparc/sparc64/multiarch/Makefile
57551         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57552         crypt subdir.
57553         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57554         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57555         multiarch changes.
57556         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57557         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57558         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57559         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57560         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57561         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57562         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57563         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57564         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57565         file.
57566         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57567         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57568         file.
57569         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57571 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57573         * timezone/tzselect.ksh: Update from tzcode git revision
57574         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57575         * timezone/zdump.c: Likewise.
57576         * timezone/zic.c: Likewise.
57577         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57578         in TZVERSION setting, not $(PKGVERSION).
57579         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57580         REPORT_BUGS_TO settings.
57582         [BZ #14838]
57583         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57584         macro.
57586 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57588         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57589         detection to immediately after _FP_ROUND().
57590         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57591         bits are 0.
57593 2012-11-11  David S. Miller  <davem@davemloft.net>
57595         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57596         inttypes.h
57597         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57598         __close rather than their public counterparts.
57600 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57602         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57603         file.
57604         [UNIX98] (sem_timedwait): Do not expect.
57605         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57606         [XPG4 || UNIX98] (sockatmark): Do not expect.
57607         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57608         (clock_getcpuclockid): Do not expect.
57609         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57610         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57611         Do not expect.
57612         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57613         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57614         [UNIX98] (vwscanf): Likewise.
57615         [UNIX98] (vswscanf): Likewise.
57617 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57619         * timezone/version.h: Remove file.
57620         * timezone/README: Do not refer to version.h.
57621         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57622         $(objpfx)version.h.
57623         ($(objpfx)zdump.o): Likewise.
57624         ($(objpfx)version.h): New target.
57626         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57627         2012i.
57628         * timezone/README: Don't mention modification to tzselect.ksh.
57629         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57630         work on unmodified tzselect.ksh.  Substitute version numbers in
57631         tzselect.ksh.
57633         * Makefile (format-me): Remove.
57634         (INSTALL): Adjust indentation.  Use commands directly instead of
57635         using $(format-me).
57637         * aclocal.m4 (ACX_PKGVERSION): New macro.
57638         (ACX_BUGURL): Likewise.
57639         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57640         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57641         (REPORT_BUGS_TO): Likewise.
57642         * configure: Regenerated.
57643         * config.h.in (PKGVERSION): New macro.
57644         (REPORT_BUGS_TO): Likewise.
57645         * config.make.in (PKGVERSION): New variable.
57646         (PKGVERSION_TEXI): Likewise.
57647         (REPORT_BUGS_TO): Likewise.
57648         (REPORT_BUGS_TEXI): Likewise.
57649         * Makefile (format-me): Use -I$(common-objpfx)manual.
57650         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57651         ($(common-objpfx)manual/%): New target.
57652         (manual/%): Remove target.
57653         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57654         (print_version): Use PKGVERSION.
57655         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57656         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57657         and REPORT_BUGS_TO.
57658         ($(objpfx)xtrace): Likewise.
57659         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57660         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57661         (print_version): Use PKGVERSION.
57662         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57663         (do_version): Use PKGVERSION.
57664         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57665         REPORT_BUGS_TO.
57666         (common-ldd-rewrite): Likewise.
57667         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57668         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57669         (print_version): Use PKGVERSION.
57670         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57671         * elf/pldd.c (argp_program_bug_address): Remove variable.
57672         (more_help): New function.
57673         (argp): Use more_help.
57674         (print_version): Use PKGVERSION.
57675         * elf/sln.c (main): Use PKGVERSION.
57676         (usage): Use REPORT_BUGS_TO.
57677         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57678         (top level): Use PKGVERSION.
57679         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57680         (print_version): Use PKGVERSION.
57681         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57682         (print_version): Use PKGVERSION.
57683         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57684         (print_version): Use PKGVERSION.
57685         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57686         (print_version): Use PKGVERSION.
57687         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57688         (print_version): Use PKGVERSION.
57689         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57690         (print_version): Use PKGVERSION.
57691         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57692         and BUGURL.
57693         ($(objpfx)memusage): Likewise.
57694         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57695         (do_version): Use PKGVERSION.
57696         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57697         (print_version): Use PKGVERSION.
57698         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57699         ($PKGVERSION): New variable.
57700         ($REPORT_BUGS_TO): Likewise.
57701         (usage): Use $REPORT_BUGS_TO.
57702         (top level): Use $PKGVERSION.
57703         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57704         ($(objpfx)pkgvers.texi): New rule.
57705         ($(objpfx)stamp-pkgvers): Likewise.
57706         * manual/install.texi: Include pkgvers.texi.
57707         (--with-pkgversion): Document new configure option.
57708         (--with-bugurl): Likewise.
57709         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57710         than necessarily for this particular distribution.  Use
57711         REPORT_BUGS_TO for where to report bugs.
57712         * INSTALL: Regenerated.
57713         * manual/libc.texinfo: Include pkgvers.texi.
57714         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57715         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57716         (print_version): Use PKGVERSION.
57717         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57718         (print_version): Use PKGVERSION.
57719         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57720         (print_version): Use PKGVERSION.
57721         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57722         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57723         macro.
57724         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57725         (print_version): Use PKGVERSION.
57726         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57727         (print_version): Use PKGVERSION.
57728         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57729         and PKGVERSION.
57731         * timezone/checktab.awk: Update from tzcode 2012i.
57732         * timezone/ialloc.c: Likewise.
57733         * timezone/private.h: Likewise.
57734         * timezone/scheck.c: Likewise.
57735         * timezone/tzfile.h: Likewise.
57736         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57737         (TZVERSION): Hardcode tzcode version number.
57738         * timezone/zdump.c: Update from tzcode 2012i.
57739         * timezone/zic.c: Likewise.
57740         * timezone/version.h: New file.
57741         * timezone/README: Describe version.h.  Update upstream location.
57743         [BZ #14824]
57744         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57745         (mktemp): Enable declaration.
57746         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57747         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57748         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57749         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57750         Likewise.
57751         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57752         Likewise.
57753         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57754         Likewise.
57755         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57756         Likewise.
57757         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57758         Likewise.
57759         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57760         Likewise.
57762         [BZ #14821]
57763         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57764         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57765         for copies of such integer values.
57766         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57767         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57769 2012-11-09  Andreas Jaeger  <aj@suse.de>
57771         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57772         definitions and declarations that are provided by
57773         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57775 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57777         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57778         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57779         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57780         definition.
57782 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57784         * elf/elf.h: Update comment before AArch64 relocations.
57786 2012-11-07  David S. Miller  <davem@davemloft.net>
57788         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57789         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57790         (__start_context): Declare.
57791         (__makecontext_ret): Delete.
57792         (__makecontext): Hook up __start_context instead of
57793         __makecontext_ret.
57794         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57795         (sysdep_routines): Add __start_context when in stdlib.
57797 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57799         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57800         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57801         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57802         hardcoded "nm".
57803         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57804         (READELF): New variable.  Use it instead of hardcoded "readelf".
57806 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57808         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57809         * sysdeps/x86/Makefile: Here.
57810         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57811         * sysdeps/x86/tst-xmmymm.sh: This.
57813 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57815         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57816         expectations.
57817         [UNIX98] (pthread_barrier_t): Do not expect.
57818         [UNIX98] (pthread_barrierattr_t): Likewise.
57819         [UNIX98] (pthread_spinlock_t): Likewise.
57820         [UNIX98] (pthread_barrier_destroy): Likewise.
57821         [UNIX98] (pthread_barrier_init): Likewise.
57822         [UNIX98] (pthread_barrier_wait): Likewise.
57823         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57824         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57825         [UNIX98] (pthread_barrierattr_init): Likewise.
57826         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57827         [UNIX98] (pthread_getcpuclockid): Likewise.
57828         [UNIX98] (pthread_mutex_timedlock): Likewise.
57829         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57830         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57831         [UNIX98] (pthread_sigmask): Likewise.
57832         [UNIX98] (pthread_spin_destroy): Likewise.
57833         [UNIX98] (pthread_spin_init): Likewise.
57834         [UNIX98] (pthread_spin_lock): Likewise.
57835         [UNIX98] (pthread_spin_trylock): Likewise.
57836         [UNIX98] (pthread_spin_unlock): Likewise.
57837         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57838         Do not expect.
57839         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57840         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57841         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57842         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57843         [XPG3 || XPG4] (pthread_key_t): Likewise.
57844         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57845         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57846         [XPG3 || XPG4] (pthread_once_t): Likewise.
57847         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57848         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57849         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57850         [XPG3 || XPG4] (pthread_t): Likewise.
57852         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57853         not expect.
57854         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57856         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57857         Change function return type to int.
57859         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57860         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57861         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57862         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57863         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57864         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57865         [!POSIX] (posix_madvise): Likewise.
57866         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57867         && !UNIX98].
57868         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57869         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57870         (mode_t): Likewise.
57871         (posix_mem_offset): Likewise.
57872         (posix_typed_mem_get_info): Likewise.
57873         (posix_typed_mem_open): Likewise.
57875         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57876         Change condition to [XOPEN2K8].
57878         * conform/conformtest.pl: Preprocess allow-header data with -x c
57879         instead of from stdin.
57880         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57881         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57882         [C99-based standards] (cerfc): Likewise.
57883         [C99-based standards] (cexp2): Likewise.
57884         [C99-based standards] (cexpm1): Likewise.
57885         [C99-based standards] (clog10): Likewise.
57886         [C99-based standards] (clog1p): Likewise.
57887         [C99-based standards] (clog2): Likewise.
57888         [C99-based standards] (clgamma): Likewise.
57889         [C99-based standards] (ctgamma): Likewise.
57890         [C99-based standards] (cerff): Likewise.
57891         [C99-based standards] (cerfcf): Likewise.
57892         [C99-based standards] (cexp2f): Likewise.
57893         [C99-based standards] (cexpm1f): Likewise.
57894         [C99-based standards] (clog10f): Likewise.
57895         [C99-based standards] (clog1pf): Likewise.
57896         [C99-based standards] (clog2f): Likewise.
57897         [C99-based standards] (clgammaf): Likewise.
57898         [C99-based standards] (ctgammaf): Likewise.
57899         [C99-based standards] (cerfl): Likewise.
57900         [C99-based standards] (cerfcl): Likewise.
57901         [C99-based standards] (cexp2l): Likewise.
57902         [C99-based standards] (cexpm1l): Likewise.
57903         [C99-based standards] (clog10l): Likewise.
57904         [C99-based standards] (clog1pl): Likewise.
57905         [C99-based standards] (clog2l): Likewise.
57906         [C99-based standards] (clgammal): Likewise.
57907         [C99-based standards] (ctgammal): Likewise.
57908         * conform/data/inttypes.h-data [C99-based standards]: Include
57909         stdint.h-data.  Remove all expectations for stdint.h contents.
57910         [C99-based standards] (PRI*): Do not allow.
57911         [C99-based standards] (SCN*): Likewise.
57912         [C99-based standards] (*_t): Likewise.
57913         [C99-based-standards] (PRId8): Expect macro.
57914         [C99-based-standards] (PRIi8): Likewise.
57915         [C99-based-standards] (PRIo8): Likewise.
57916         [C99-based-standards] (PRIu8): Likewise.
57917         [C99-based-standards] (PRIx8): Likewise.
57918         [C99-based-standards] (PRIX8): Likewise.
57919         [C99-based-standards] (SCNd8): Likewise.
57920         [C99-based-standards] (SCNi8): Likewise.
57921         [C99-based-standards] (SCNo8): Likewise.
57922         [C99-based-standards] (SCNu8): Likewise.
57923         [C99-based-standards] (SCNx8): Likewise.
57924         [C99-based-standards] (PRIdLEAST8): Likewise.
57925         [C99-based-standards] (PRIiLEAST8): Likewise.
57926         [C99-based-standards] (PRIoLEAST8): Likewise.
57927         [C99-based-standards] (PRIuLEAST8): Likewise.
57928         [C99-based-standards] (PRIxLEAST8): Likewise.
57929         [C99-based-standards] (PRIXLEAST8): Likewise.
57930         [C99-based-standards] (SCNdLEAST8): Likewise.
57931         [C99-based-standards] (SCNiLEAST8): Likewise.
57932         [C99-based-standards] (SCNoLEAST8): Likewise.
57933         [C99-based-standards] (SCNuLEAST8): Likewise.
57934         [C99-based-standards] (SCNxLEAST8): Likewise.
57935         [C99-based-standards] (PRIdFAST8): Likewise.
57936         [C99-based-standards] (PRIiFAST8): Likewise.
57937         [C99-based-standards] (PRIoFAST8): Likewise.
57938         [C99-based-standards] (PRIuFAST8): Likewise.
57939         [C99-based-standards] (PRIxFAST8): Likewise.
57940         [C99-based-standards] (PRIXFAST8): Likewise.
57941         [C99-based-standards] (SCNdFAST8): Likewise.
57942         [C99-based-standards] (SCNiFAST8): Likewise.
57943         [C99-based-standards] (SCNoFAST8): Likewise.
57944         [C99-based-standards] (SCNuFAST8): Likewise.
57945         [C99-based-standards] (SCNxFAST8): Likewise.
57946         [C99-based-standards] (PRId16): Likewise.
57947         [C99-based-standards] (PRIi16): Likewise.
57948         [C99-based-standards] (PRIo16): Likewise.
57949         [C99-based-standards] (PRIu16): Likewise.
57950         [C99-based-standards] (PRIx16): Likewise.
57951         [C99-based-standards] (PRIX16): Likewise.
57952         [C99-based-standards] (SCNd16): Likewise.
57953         [C99-based-standards] (SCNi16): Likewise.
57954         [C99-based-standards] (SCNo16): Likewise.
57955         [C99-based-standards] (SCNu16): Likewise.
57956         [C99-based-standards] (SCNx16): Likewise.
57957         [C99-based-standards] (PRIdLEAST16): Likewise.
57958         [C99-based-standards] (PRIiLEAST16): Likewise.
57959         [C99-based-standards] (PRIoLEAST16): Likewise.
57960         [C99-based-standards] (PRIuLEAST16): Likewise.
57961         [C99-based-standards] (PRIxLEAST16): Likewise.
57962         [C99-based-standards] (PRIXLEAST16): Likewise.
57963         [C99-based-standards] (SCNdLEAST16): Likewise.
57964         [C99-based-standards] (SCNiLEAST16): Likewise.
57965         [C99-based-standards] (SCNoLEAST16): Likewise.
57966         [C99-based-standards] (SCNuLEAST16): Likewise.
57967         [C99-based-standards] (SCNxLEAST16): Likewise.
57968         [C99-based-standards] (PRIdFAST16): Likewise.
57969         [C99-based-standards] (PRIiFAST16): Likewise.
57970         [C99-based-standards] (PRIoFAST16): Likewise.
57971         [C99-based-standards] (PRIuFAST16): Likewise.
57972         [C99-based-standards] (PRIxFAST16): Likewise.
57973         [C99-based-standards] (PRIXFAST16): Likewise.
57974         [C99-based-standards] (SCNdFAST16): Likewise.
57975         [C99-based-standards] (SCNiFAST16): Likewise.
57976         [C99-based-standards] (SCNoFAST16): Likewise.
57977         [C99-based-standards] (SCNuFAST16): Likewise.
57978         [C99-based-standards] (SCNxFAST16): Likewise.
57979         [C99-based-standards] (PRId32): Likewise.
57980         [C99-based-standards] (PRIi32): Likewise.
57981         [C99-based-standards] (PRIo32): Likewise.
57982         [C99-based-standards] (PRIu32): Likewise.
57983         [C99-based-standards] (PRIx32): Likewise.
57984         [C99-based-standards] (PRIX32): Likewise.
57985         [C99-based-standards] (SCNd32): Likewise.
57986         [C99-based-standards] (SCNi32): Likewise.
57987         [C99-based-standards] (SCNo32): Likewise.
57988         [C99-based-standards] (SCNu32): Likewise.
57989         [C99-based-standards] (SCNx32): Likewise.
57990         [C99-based-standards] (PRIdLEAST32): Likewise.
57991         [C99-based-standards] (PRIiLEAST32): Likewise.
57992         [C99-based-standards] (PRIoLEAST32): Likewise.
57993         [C99-based-standards] (PRIuLEAST32): Likewise.
57994         [C99-based-standards] (PRIxLEAST32): Likewise.
57995         [C99-based-standards] (PRIXLEAST32): Likewise.
57996         [C99-based-standards] (SCNdLEAST32): Likewise.
57997         [C99-based-standards] (SCNiLEAST32): Likewise.
57998         [C99-based-standards] (SCNoLEAST32): Likewise.
57999         [C99-based-standards] (SCNuLEAST32): Likewise.
58000         [C99-based-standards] (SCNxLEAST32): Likewise.
58001         [C99-based-standards] (PRIdFAST32): Likewise.
58002         [C99-based-standards] (PRIiFAST32): Likewise.
58003         [C99-based-standards] (PRIoFAST32): Likewise.
58004         [C99-based-standards] (PRIuFAST32): Likewise.
58005         [C99-based-standards] (PRIxFAST32): Likewise.
58006         [C99-based-standards] (PRIXFAST32): Likewise.
58007         [C99-based-standards] (SCNdFAST32): Likewise.
58008         [C99-based-standards] (SCNiFAST32): Likewise.
58009         [C99-based-standards] (SCNoFAST32): Likewise.
58010         [C99-based-standards] (SCNuFAST32): Likewise.
58011         [C99-based-standards] (SCNxFAST32): Likewise.
58012         [C99-based-standards] (PRId64): Likewise.
58013         [C99-based-standards] (PRIi64): Likewise.
58014         [C99-based-standards] (PRIo64): Likewise.
58015         [C99-based-standards] (PRIu64): Likewise.
58016         [C99-based-standards] (PRIx64): Likewise.
58017         [C99-based-standards] (PRIX64): Likewise.
58018         [C99-based-standards] (SCNd64): Likewise.
58019         [C99-based-standards] (SCNi64): Likewise.
58020         [C99-based-standards] (SCNo64): Likewise.
58021         [C99-based-standards] (SCNu64): Likewise.
58022         [C99-based-standards] (SCNx64): Likewise.
58023         [C99-based-standards] (PRIdLEAST64): Likewise.
58024         [C99-based-standards] (PRIiLEAST64): Likewise.
58025         [C99-based-standards] (PRIoLEAST64): Likewise.
58026         [C99-based-standards] (PRIuLEAST64): Likewise.
58027         [C99-based-standards] (PRIxLEAST64): Likewise.
58028         [C99-based-standards] (PRIXLEAST64): Likewise.
58029         [C99-based-standards] (SCNdLEAST64): Likewise.
58030         [C99-based-standards] (SCNiLEAST64): Likewise.
58031         [C99-based-standards] (SCNoLEAST64): Likewise.
58032         [C99-based-standards] (SCNuLEAST64): Likewise.
58033         [C99-based-standards] (SCNxLEAST64): Likewise.
58034         [C99-based-standards] (PRIdFAST64): Likewise.
58035         [C99-based-standards] (PRIiFAST64): Likewise.
58036         [C99-based-standards] (PRIoFAST64): Likewise.
58037         [C99-based-standards] (PRIuFAST64): Likewise.
58038         [C99-based-standards] (PRIxFAST64): Likewise.
58039         [C99-based-standards] (PRIXFAST64): Likewise.
58040         [C99-based-standards] (SCNdFAST64): Likewise.
58041         [C99-based-standards] (SCNiFAST64): Likewise.
58042         [C99-based-standards] (SCNoFAST64): Likewise.
58043         [C99-based-standards] (SCNuFAST64): Likewise.
58044         [C99-based-standards] (SCNxFAST64): Likewise.
58045         [C99-based-standards] (PRIdMAX): Likewise.
58046         [C99-based-standards] (PRIiMAX): Likewise.
58047         [C99-based-standards] (PRIoMAX): Likewise.
58048         [C99-based-standards] (PRIuMAX): Likewise.
58049         [C99-based-standards] (PRIxMAX): Likewise.
58050         [C99-based-standards] (PRIXMAX): Likewise.
58051         [C99-based-standards] (SCNdMAX): Likewise.
58052         [C99-based-standards] (SCNiMAX): Likewise.
58053         [C99-based-standards] (SCNoMAX): Likewise.
58054         [C99-based-standards] (SCNuMAX): Likewise.
58055         [C99-based-standards] (SCNxMAX): Likewise.
58056         [C99-based-standards] (PRIdPTR): Likewise.
58057         [C99-based-standards] (PRIiPTR): Likewise.
58058         [C99-based-standards] (PRIoPTR): Likewise.
58059         [C99-based-standards] (PRIuPTR): Likewise.
58060         [C99-based-standards] (PRIxPTR): Likewise.
58061         [C99-based-standards] (PRIXPTR): Likewise.
58062         [C99-based-standards] (SCNdPTR): Likewise.
58063         [C99-based-standards] (SCNiPTR): Likewise.
58064         [C99-based-standards] (SCNoPTR): Likewise.
58065         [C99-based-standards] (SCNuPTR): Likewise.
58066         [C99-based-standards] (SCNxPTR): Likewise.
58067         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58068         allow.
58069         * conform/data/stdint.h-data: Update comments to clarify
58070         requirements.
58071         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58072         type.
58073         [C99-based standards] (INT8_MAX): Likewise.
58074         [C99-based standards] (INT16_MIN): Likewise.
58075         [C99-based standards] (INT16_MAX): Likewise.
58076         [C99-based standards] (INT32_MIN): Likewise.
58077         [C99-based standards] (INT32_MAX): Likewise.
58078         [C99-based standards] (INT64_MIN): Likewise.
58079         [C99-based standards] (INT64_MAX): Likewise.
58080         [C99-based standards] (UINT8_MAX): Likewise.
58081         [C99-based standards] (UINT16_MAX): Likewise.
58082         [C99-based standards] (UINT32_MAX): Likewise.
58083         [C99-based standards] (UINT64_MAX): Likewise.
58084         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58085         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58086         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58087         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58088         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58089         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58090         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58091         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58092         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58093         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58094         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58095         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58096         [C99-based standards] (INT_FAST8_MIN): Likewise.
58097         [C99-based standards] (INT_FAST8_MAX): Likewise.
58098         [C99-based standards] (INT_FAST16_MIN): Likewise.
58099         [C99-based standards] (INT_FAST16_MAX): Likewise.
58100         [C99-based standards] (INT_FAST32_MIN): Likewise.
58101         [C99-based standards] (INT_FAST32_MAX): Likewise.
58102         [C99-based standards] (INT_FAST64_MIN): Likewise.
58103         [C99-based standards] (INT_FAST64_MAX): Likewise.
58104         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58105         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58106         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58107         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58108         [C99-based standards] (INTPTR_MIN): Likewise.
58109         [C99-based standards] (INTPTR_MAX): Likewise.
58110         [C99-based standards] (UINTPTR_MAX): Likewise.
58111         [C99-based standards] (INTMAX_MIN): Likewise.
58112         [C99-based standards] (INTMAX_MAX): Likewise.
58113         [C99-based standards] (UINTMAX_MAX): Likewise.
58114         [C99-based standards] (PTRDIFF_MIN): Likewise.
58115         [C99-based standards] (PTRDIFF_MAX): Likewise.
58116         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58117         [C99-based standards] (SIZE_MAX): Likewise.
58118         [C99-based standards] (WCHAR_MAX): Likewise.
58119         [C99-based standards] (WINT_MAX): Likewise.
58120         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58121         constraint on value.
58122         [C99-based standards] (WCHAR_MIN): Likewise.
58123         [C99-based standards] (WINT_MIN): Likewise.
58124         [C99-based standards] (*_t): Allow.
58125         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58126         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58127         Include math.h-data and complex.h-data.  Remove all expectations
58128         of math.h and complex.h contents.
58129         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58130         at end of line.
58131         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58132         (struct tm): Expect tag.
58133         [C99-based-standards] (wcstof): Expect function.
58134         [C99-based-standards] (wcstold): Likewise.
58135         [C99-based-standards] (wcstoll): Likewise.
58136         [C99-based-standards] (wcstoull): Likewise.
58137         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58138         macro-int-constant.  Specify type.
58139         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58140         constraint on value.
58141         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58142         Specify type.
58143         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58144         Specify value.
58145         [ISO C standards]: Do not allow headers.
58146         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58147         wcs[abcdefghijklmnopqrstuvwxyz]*.
58148         [ISO C standards] (*_t): Do not allow.
58149         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58150         Expect function.
58151         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58152         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58153         Specify type.
58154         [ISO C standards]: Do not allow headers.
58155         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58156         is[abcdefghijklmnopqrstuvwxyz]*.
58157         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58158         to[abcdefghijklmnopqrstuvwxyz]*.
58159         [ISO C standards] (*_t): Do not allow.
58160         * conform/data/stdalign.h-data: New file.
58161         * conform/data/stdbool.h-data: Likewise.
58162         * conform/data/stdnoreturn.h-data: Likewise.
58164 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58166         [BZ #14815]
58167         * manual/filesys.texi (Directory Entries): Typo fix.
58168         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58170 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58172         * elf/elf.h (EM_AARCH64): New macro.
58173         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58174         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58175         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58176         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58177         (R_AARCH64_TLSDESC): Likewise.
58178         (NT_ARM_TLS): Likewise.
58179         (NT_ARM_HW_BREAK): Likewise.
58180         (NT_ARM_HW_WATCH): Likewise.
58182 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58184         [BZ #14811]
58185         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58186         (__ieee754_powl): Saturate nonzero exponents with absolute value
58187         below 0x1p-79 to +/- 0x1p-79.
58188         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58189         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58190         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58191         nonzero exponents with absolute value below 0x1p-32 to +/-
58192         0x1p-32.
58193         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58194         (__ieee754_powl): Saturate nonzero exponents with absolute value
58195         below 0x1p-79 to +/- 0x1p-79.
58196         * math/libm-test.inc (pow_test): Add more tests.
58198 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58200         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58201         _dl_s390_cap_flags with kernel. Increase string length.
58202         (_dl_s390_platforms): Add z196 and zEC12.
58204 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58206         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58207         Change XOPEN21K to XOPEN2K.
58209 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58211         * string/memmove.c: Use memcpy when possible.
58213 2012-11-06  Andreas Jaeger  <aj@suse.de>
58215         * po/eo.po: Update from translation team.
58217 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58219         [BZ #14793]
58220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58221         exponent and small x and y exponents, scale x or y up.  Increase
58222         by 2 the exponent used in scaling up.
58223         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58225         * math/libm-test.inc (fma_test): Add more tests.
58226         (fma_test_towardzero): Likewise.
58227         (fma_test_downward): Likewise.
58228         (fma_test_upward): Likewise.
58230 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58232         [BZ #14805]
58233         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58234         fenv_t *.
58236         [BZ #14801]
58237         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58238         namespace for names of struct fields.
58239         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58240         fenv_t fields.
58241         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58242         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58244 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58246         [BZ #3665]
58247         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58249 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58251         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58252         PTR_DEMANGLE.
58254         [BZ #5246]
58255         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58256         PTR_DEMANGLE.
58258 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58260         [BZ #14797]
58261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58262         definitely overflow as x * y not x * y + z.
58263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58265         * math/libm-test.inc (fma_test): Add more tests.
58266         (fma_test_towardzero): Likewise.
58267         (fma_test_downward): Likewise.
58268         (fma_test_upward): Likewise.
58270 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58272         [BZ #157]
58274         * include/stub-tag.h: Remove file.
58275         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58276         '#include' of it.
58277         * manual/maint.texi (Porting): Don't reference it.
58278         * Makerules ($(objpfx)stubs): Likewise.
58279         * dirent/closedir.c: Don't include <stub-tag.h>.
58280         * dirent/dirfd.c: Likewise.
58281         * dirent/fdopendir.c: Likewise.
58282         * dirent/getdents.c: Likewise.
58283         * dirent/getdents64.c: Likewise.
58284         * dirent/opendir.c: Likewise.
58285         * dirent/readdir.c: Likewise.
58286         * dirent/readdir64.c: Likewise.
58287         * dirent/readdir64_r.c: Likewise.
58288         * dirent/readdir_r.c: Likewise.
58289         * dirent/rewinddir.c: Likewise.
58290         * dirent/seekdir.c: Likewise.
58291         * dirent/telldir.c: Likewise.
58292         * gmon/profil.c: Likewise.
58293         * grp/setgroups.c: Likewise.
58294         * inet/if_index.c: Likewise.
58295         * io/access.c: Likewise.
58296         * io/chdir.c: Likewise.
58297         * io/chmod.c: Likewise.
58298         * io/chown.c: Likewise.
58299         * io/close.c: Likewise.
58300         * io/dup.c: Likewise.
58301         * io/dup2.c: Likewise.
58302         * io/dup3.c: Likewise.
58303         * io/euidaccess.c: Likewise.
58304         * io/faccessat.c: Likewise.
58305         * io/fchdir.c: Likewise.
58306         * io/fchmod.c: Likewise.
58307         * io/fchmodat.c: Likewise.
58308         * io/fchown.c: Likewise.
58309         * io/fchownat.c: Likewise.
58310         * io/fcntl.c: Likewise.
58311         * io/flock.c: Likewise.
58312         * io/fstatfs.c: Likewise.
58313         * io/fstatfs64.c: Likewise.
58314         * io/fstatvfs.c: Likewise.
58315         * io/fstatvfs64.c: Likewise.
58316         * io/futimens.c: Likewise.
58317         * io/fxstat.c: Likewise.
58318         * io/fxstat64.c: Likewise.
58319         * io/fxstatat.c: Likewise.
58320         * io/fxstatat64.c: Likewise.
58321         * io/getcwd.c: Likewise.
58322         * io/isatty.c: Likewise.
58323         * io/lchmod.c: Likewise.
58324         * io/lchown.c: Likewise.
58325         * io/link.c: Likewise.
58326         * io/linkat.c: Likewise.
58327         * io/lseek.c: Likewise.
58328         * io/lseek64.c: Likewise.
58329         * io/lxstat64.c: Likewise.
58330         * io/mkdir.c: Likewise.
58331         * io/mkdirat.c: Likewise.
58332         * io/mkfifo.c: Likewise.
58333         * io/mkfifoat.c: Likewise.
58334         * io/open.c: Likewise.
58335         * io/open64.c: Likewise.
58336         * io/openat.c: Likewise.
58337         * io/openat64.c: Likewise.
58338         * io/pipe.c: Likewise.
58339         * io/pipe2.c: Likewise.
58340         * io/poll.c: Likewise.
58341         * io/posix_fadvise.c: Likewise.
58342         * io/posix_fadvise64.c: Likewise.
58343         * io/posix_fallocate.c: Likewise.
58344         * io/posix_fallocate64.c: Likewise.
58345         * io/read.c: Likewise.
58346         * io/readlink.c: Likewise.
58347         * io/readlinkat.c: Likewise.
58348         * io/rmdir.c: Likewise.
58349         * io/sendfile.c: Likewise.
58350         * io/sendfile64.c: Likewise.
58351         * io/statfs.c: Likewise.
58352         * io/statfs64.c: Likewise.
58353         * io/statvfs.c: Likewise.
58354         * io/statvfs64.c: Likewise.
58355         * io/symlink.c: Likewise.
58356         * io/symlinkat.c: Likewise.
58357         * io/ttyname.c: Likewise.
58358         * io/ttyname_r.c: Likewise.
58359         * io/umask.c: Likewise.
58360         * io/unlink.c: Likewise.
58361         * io/unlinkat.c: Likewise.
58362         * io/utime.c: Likewise.
58363         * io/utimensat.c: Likewise.
58364         * io/write.c: Likewise.
58365         * io/xmknod.c: Likewise.
58366         * io/xmknodat.c: Likewise.
58367         * io/xstat.c: Likewise.
58368         * io/xstat64.c: Likewise.
58369         * login/getpt.c: Likewise.
58370         * login/grantpt.c: Likewise.
58371         * login/unlockpt.c: Likewise.
58372         * math/e_acoshl.c: Likewise.
58373         * math/e_acosl.c: Likewise.
58374         * math/e_asinl.c: Likewise.
58375         * math/e_atan2l.c: Likewise.
58376         * math/e_atanhl.c: Likewise.
58377         * math/e_coshl.c: Likewise.
58378         * math/e_expl.c: Likewise.
58379         * math/e_fmodl.c: Likewise.
58380         * math/e_gammal_r.c: Likewise.
58381         * math/e_hypotl.c: Likewise.
58382         * math/e_j0l.c: Likewise.
58383         * math/e_j1l.c: Likewise.
58384         * math/e_jnl.c: Likewise.
58385         * math/e_lgammal_r.c: Likewise.
58386         * math/e_log10l.c: Likewise.
58387         * math/e_log2l.c: Likewise.
58388         * math/e_logl.c: Likewise.
58389         * math/e_powl.c: Likewise.
58390         * math/e_rem_pio2l.c: Likewise.
58391         * math/e_sinhl.c: Likewise.
58392         * math/e_sqrtl.c: Likewise.
58393         * math/fclrexcpt.c: Likewise.
58394         * math/fedisblxcpt.c: Likewise.
58395         * math/feenablxcpt.c: Likewise.
58396         * math/fegetenv.c: Likewise.
58397         * math/fegetexcept.c: Likewise.
58398         * math/fegetround.c: Likewise.
58399         * math/feholdexcpt.c: Likewise.
58400         * math/fesetenv.c: Likewise.
58401         * math/fesetround.c: Likewise.
58402         * math/feupdateenv.c: Likewise.
58403         * math/fgetexcptflg.c: Likewise.
58404         * math/fraiseexcpt.c: Likewise.
58405         * math/fsetexcptflg.c: Likewise.
58406         * math/ftestexcept.c: Likewise.
58407         * math/k_cosl.c: Likewise.
58408         * math/k_rem_pio2l.c: Likewise.
58409         * math/k_sinl.c: Likewise.
58410         * math/k_tanl.c: Likewise.
58411         * math/s_asinhl.c: Likewise.
58412         * math/s_atanl.c: Likewise.
58413         * math/s_cbrtl.c: Likewise.
58414         * math/s_erfl.c: Likewise.
58415         * math/s_expm1l.c: Likewise.
58416         * math/s_log1pl.c: Likewise.
58417         * math/s_tanhl.c: Likewise.
58418         * misc/acct.c: Likewise.
58419         * misc/brk.c: Likewise.
58420         * misc/chflags.c: Likewise.
58421         * misc/chroot.c: Likewise.
58422         * misc/fchflags.c: Likewise.
58423         * misc/fgetxattr.c: Likewise.
58424         * misc/flistxattr.c: Likewise.
58425         * misc/fremovexattr.c: Likewise.
58426         * misc/fsetxattr.c: Likewise.
58427         * misc/fsync.c: Likewise.
58428         * misc/ftruncate.c: Likewise.
58429         * misc/futimes.c: Likewise.
58430         * misc/futimesat.c: Likewise.
58431         * misc/getdomain.c: Likewise.
58432         * misc/getdtsz.c: Likewise.
58433         * misc/gethostid.c: Likewise.
58434         * misc/gethostname.c: Likewise.
58435         * misc/getloadavg.c: Likewise.
58436         * misc/getpagesize.c: Likewise.
58437         * misc/getsysstats.c: Likewise.
58438         * misc/getxattr.c: Likewise.
58439         * misc/gtty.c: Likewise.
58440         * misc/ioctl.c: Likewise.
58441         * misc/lgetxattr.c: Likewise.
58442         * misc/listxattr.c: Likewise.
58443         * misc/llistxattr.c: Likewise.
58444         * misc/lremovexattr.c: Likewise.
58445         * misc/lsetxattr.c: Likewise.
58446         * misc/lutimes.c: Likewise.
58447         * misc/madvise.c: Likewise.
58448         * misc/mincore.c: Likewise.
58449         * misc/mlock.c: Likewise.
58450         * misc/mlockall.c: Likewise.
58451         * misc/mmap.c: Likewise.
58452         * misc/mprotect.c: Likewise.
58453         * misc/msync.c: Likewise.
58454         * misc/munlock.c: Likewise.
58455         * misc/munlockall.c: Likewise.
58456         * misc/munmap.c: Likewise.
58457         * misc/preadv.c: Likewise.
58458         * misc/preadv64.c: Likewise.
58459         * misc/ptrace.c: Likewise.
58460         * misc/pwritev.c: Likewise.
58461         * misc/pwritev64.c: Likewise.
58462         * misc/readv.c: Likewise.
58463         * misc/reboot.c: Likewise.
58464         * misc/remap_file_pages.c: Likewise.
58465         * misc/removexattr.c: Likewise.
58466         * misc/revoke.c: Likewise.
58467         * misc/select.c: Likewise.
58468         * misc/setdomain.c: Likewise.
58469         * misc/setegid.c: Likewise.
58470         * misc/seteuid.c: Likewise.
58471         * misc/sethostid.c: Likewise.
58472         * misc/sethostname.c: Likewise.
58473         * misc/setregid.c: Likewise.
58474         * misc/setreuid.c: Likewise.
58475         * misc/setxattr.c: Likewise.
58476         * misc/sstk.c: Likewise.
58477         * misc/stty.c: Likewise.
58478         * misc/swapoff.c: Likewise.
58479         * misc/swapon.c: Likewise.
58480         * misc/sync.c: Likewise.
58481         * misc/syncfs.c: Likewise.
58482         * misc/syscall.c: Likewise.
58483         * misc/truncate.c: Likewise.
58484         * misc/ualarm.c: Likewise.
58485         * misc/usleep.c: Likewise.
58486         * misc/ustat.c: Likewise.
58487         * misc/utimes.c: Likewise.
58488         * misc/vhangup.c: Likewise.
58489         * misc/writev.c: Likewise.
58490         * posix/_exit.c: Likewise.
58491         * posix/alarm.c: Likewise.
58492         * posix/execve.c: Likewise.
58493         * posix/fexecve.c: Likewise.
58494         * posix/fork.c: Likewise.
58495         * posix/fpathconf.c: Likewise.
58496         * posix/getaddrinfo.c: Likewise.
58497         * posix/getegid.c: Likewise.
58498         * posix/geteuid.c: Likewise.
58499         * posix/getgid.c: Likewise.
58500         * posix/getgroups.c: Likewise.
58501         * posix/getlogin.c: Likewise.
58502         * posix/getlogin_r.c: Likewise.
58503         * posix/getpgid.c: Likewise.
58504         * posix/getpid.c: Likewise.
58505         * posix/getppid.c: Likewise.
58506         * posix/getresgid.c: Likewise.
58507         * posix/getresuid.c: Likewise.
58508         * posix/getsid.c: Likewise.
58509         * posix/getuid.c: Likewise.
58510         * posix/glob64.c: Likewise.
58511         * posix/nanosleep.c: Likewise.
58512         * posix/pathconf.c: Likewise.
58513         * posix/pause.c: Likewise.
58514         * posix/posix_madvise.c: Likewise.
58515         * posix/pread.c: Likewise.
58516         * posix/pread64.c: Likewise.
58517         * posix/pwrite.c: Likewise.
58518         * posix/pwrite64.c: Likewise.
58519         * posix/sched_getaffinity.c: Likewise.
58520         * posix/sched_getp.c: Likewise.
58521         * posix/sched_gets.c: Likewise.
58522         * posix/sched_primax.c: Likewise.
58523         * posix/sched_primin.c: Likewise.
58524         * posix/sched_rr_gi.c: Likewise.
58525         * posix/sched_setaffinity.c: Likewise.
58526         * posix/sched_setp.c: Likewise.
58527         * posix/sched_sets.c: Likewise.
58528         * posix/sched_yield.c: Likewise.
58529         * posix/setgid.c: Likewise.
58530         * posix/setlogin.c: Likewise.
58531         * posix/setpgid.c: Likewise.
58532         * posix/setresgid.c: Likewise.
58533         * posix/setresuid.c: Likewise.
58534         * posix/setsid.c: Likewise.
58535         * posix/setuid.c: Likewise.
58536         * posix/sleep.c: Likewise.
58537         * posix/spawni.c: Likewise.
58538         * posix/sysconf.c: Likewise.
58539         * posix/times.c: Likewise.
58540         * posix/wait.c: Likewise.
58541         * posix/wait3.c: Likewise.
58542         * posix/wait4.c: Likewise.
58543         * posix/waitpid.c: Likewise.
58544         * resolv/gai_sigqueue.c: Likewise.
58545         * resource/getpriority.c: Likewise.
58546         * resource/getrlimit.c: Likewise.
58547         * resource/getrusage.c: Likewise.
58548         * resource/nice.c: Likewise.
58549         * resource/setpriority.c: Likewise.
58550         * resource/setrlimit.c: Likewise.
58551         * resource/ulimit.c: Likewise.
58552         * rt/aio_cancel.c: Likewise.
58553         * rt/aio_fsync.c: Likewise.
58554         * rt/aio_read.c: Likewise.
58555         * rt/aio_sigqueue.c: Likewise.
58556         * rt/aio_suspend.c: Likewise.
58557         * rt/aio_write.c: Likewise.
58558         * rt/clock_getres.c: Likewise.
58559         * rt/clock_gettime.c: Likewise.
58560         * rt/clock_nanosleep.c: Likewise.
58561         * rt/clock_settime.c: Likewise.
58562         * rt/lio_listio.c: Likewise.
58563         * rt/mq_close.c: Likewise.
58564         * rt/mq_getattr.c: Likewise.
58565         * rt/mq_notify.c: Likewise.
58566         * rt/mq_open.c: Likewise.
58567         * rt/mq_receive.c: Likewise.
58568         * rt/mq_send.c: Likewise.
58569         * rt/mq_setattr.c: Likewise.
58570         * rt/mq_timedreceive.c: Likewise.
58571         * rt/mq_timedsend.c: Likewise.
58572         * rt/mq_unlink.c: Likewise.
58573         * rt/shm_open.c: Likewise.
58574         * rt/shm_unlink.c: Likewise.
58575         * rt/timer_create.c: Likewise.
58576         * rt/timer_delete.c: Likewise.
58577         * rt/timer_getoverr.c: Likewise.
58578         * rt/timer_gettime.c: Likewise.
58579         * rt/timer_settime.c: Likewise.
58580         * setjmp/__longjmp.c: Likewise.
58581         * setjmp/setjmp.c: Likewise.
58582         * signal/kill.c: Likewise.
58583         * signal/killpg.c: Likewise.
58584         * signal/raise.c: Likewise.
58585         * signal/sigaction.c: Likewise.
58586         * signal/sigaltstack.c: Likewise.
58587         * signal/sigblock.c: Likewise.
58588         * signal/sigignore.c: Likewise.
58589         * signal/sigintr.c: Likewise.
58590         * signal/signal.c: Likewise.
58591         * signal/sigpause.c: Likewise.
58592         * signal/sigpending.c: Likewise.
58593         * signal/sigqueue.c: Likewise.
58594         * signal/sigreturn.c: Likewise.
58595         * signal/sigset.c: Likewise.
58596         * signal/sigsetmask.c: Likewise.
58597         * signal/sigstack.c: Likewise.
58598         * signal/sigsuspend.c: Likewise.
58599         * signal/sigtimedwait.c: Likewise.
58600         * signal/sigvec.c: Likewise.
58601         * signal/sigwait.c: Likewise.
58602         * signal/sigwaitinfo.c: Likewise.
58603         * signal/sysv_signal.c: Likewise.
58604         * socket/accept.c: Likewise.
58605         * socket/accept4.c: Likewise.
58606         * socket/bind.c: Likewise.
58607         * socket/connect.c: Likewise.
58608         * socket/getpeername.c: Likewise.
58609         * socket/getsockname.c: Likewise.
58610         * socket/getsockopt.c: Likewise.
58611         * socket/isfdtype.c: Likewise.
58612         * socket/listen.c: Likewise.
58613         * socket/recv.c: Likewise.
58614         * socket/recvfrom.c: Likewise.
58615         * socket/recvmsg.c: Likewise.
58616         * socket/send.c: Likewise.
58617         * socket/sendmsg.c: Likewise.
58618         * socket/sendto.c: Likewise.
58619         * socket/setsockopt.c: Likewise.
58620         * socket/shutdown.c: Likewise.
58621         * socket/sockatmark.c: Likewise.
58622         * socket/socket.c: Likewise.
58623         * socket/socketpair.c: Likewise.
58624         * stdio-common/ctermid.c: Likewise.
58625         * stdio-common/cuserid.c: Likewise.
58626         * stdio-common/remove.c: Likewise.
58627         * stdio-common/rename.c: Likewise.
58628         * stdio-common/renameat.c: Likewise.
58629         * stdio-common/tempname.c: Likewise.
58630         * stdlib/getcontext.c: Likewise.
58631         * stdlib/makecontext.c: Likewise.
58632         * stdlib/setcontext.c: Likewise.
58633         * stdlib/swapcontext.c: Likewise.
58634         * stdlib/system.c: Likewise.
58635         * streams/fattach.c: Likewise.
58636         * streams/fdetach.c: Likewise.
58637         * streams/getmsg.c: Likewise.
58638         * streams/getpmsg.c: Likewise.
58639         * streams/putmsg.c: Likewise.
58640         * streams/putpmsg.c: Likewise.
58641         * sysdeps/unix/bsd/getpt.c: Likewise.
58642         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58643         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58644         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58646         Likewise.
58647         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58648         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58649         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58650         * sysvipc/msgctl.c: Likewise.
58651         * sysvipc/msgget.c: Likewise.
58652         * sysvipc/msgrcv.c: Likewise.
58653         * sysvipc/msgsnd.c: Likewise.
58654         * sysvipc/semctl.c: Likewise.
58655         * sysvipc/semget.c: Likewise.
58656         * sysvipc/semop.c: Likewise.
58657         * sysvipc/semtimedop.c: Likewise.
58658         * sysvipc/shmat.c: Likewise.
58659         * sysvipc/shmctl.c: Likewise.
58660         * sysvipc/shmdt.c: Likewise.
58661         * sysvipc/shmget.c: Likewise.
58662         * termios/tcdrain.c: Likewise.
58663         * termios/tcflow.c: Likewise.
58664         * termios/tcflush.c: Likewise.
58665         * termios/tcgetattr.c: Likewise.
58666         * termios/tcgetpgrp.c: Likewise.
58667         * termios/tcsendbrk.c: Likewise.
58668         * termios/tcsetattr.c: Likewise.
58669         * termios/tcsetpgrp.c: Likewise.
58670         * time/adjtime.c: Likewise.
58671         * time/clock.c: Likewise.
58672         * time/getitimer.c: Likewise.
58673         * time/gettimeofday.c: Likewise.
58674         * time/setitimer.c: Likewise.
58675         * time/settimeofday.c: Likewise.
58676         * time/stime.c: Likewise.
58677         * time/time.c: Likewise.
58679 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58681         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58682         /usr/old/bin.
58684         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58685         instead of spaces.
58686         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58688 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58690         [BZ #14796]
58691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58692         FE_TONEAREST before applying Dekker multiplication and Knuth
58693         addition.  Clear inexact exceptions and check for exact zero
58694         results afterwards.
58695         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58696         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58697         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58698         * math/libm-test.inc (fma_test): Add more tests.
58699         (fma_test_towardzero): Likewise.
58700         (fma_test_downward): Likewise.
58701         (fma_test_upward): Likewise.
58702         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58703         function.
58704         (libc_fesetround): New macro.
58705         (libc_fesetroundf): Likewise.
58706         (libc_fesetroundl): Likewise.
58707         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58708         function.
58709         (libc_fesetround_387): Likewise.
58710         (libc_fesetroundf): New macro.
58711         (libc_fesetround): Likewise.
58712         (libc_fesetroundl): Likewise.
58713         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58714         function.
58715         (libc_fesetroundf): New macro.
58716         (libc_fesetround): Likewise.
58717         (libc_fesetroundl): Likewise.
58718         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58719         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58720         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58721         libm_hidden_ver.
58722         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58723         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58724         libm_hidden_def.
58725         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58726         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58727         libm_hidden_ver.
58728         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58729         libm_hidden_def.
58731         [BZ #3439]
58732         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58733         integer constant usable in #if and use that to give value to enum
58734         constant.
58735         (FE_DIVBYZERO): Likewise.
58736         (FE_UNDERFLOW): Likewise.
58737         (FE_OVERFLOW): Likewise.
58738         (FE_INVALID): Likewise.
58739         (FE_INVALID_SNAN): Likewise.
58740         (FE_INVALID_ISI): Likewise.
58741         (FE_INVALID_IDI): Likewise.
58742         (FE_INVALID_ZDZ): Likewise.
58743         (FE_INVALID_IMZ): Likewise.
58744         (FE_INVALID_COMPARE): Likewise.
58745         (FE_INVALID_SOFTWARE): Likewise.
58746         (FE_INVALID_SQRT): Likewise.
58747         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58748         (FE_TONEAREST): Likewise.
58749         (FE_TOWARDZERO): Likewise.
58750         (FE_UPWARD): Likewise.
58751         (FE_DOWNWARD): Likewise.
58752         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58753         (FE_DIVBYZERO): Likewise.
58754         (FE_OVERFLOW): Likewise.
58755         (FE_UNDERFLOW): Likewise.
58756         (FE_INEXACT): Likewise.
58757         (FE_TONEAREST): Likewise.
58758         (FE_DOWNWARD): Likewise.
58759         (FE_UPWARD): Likewise.
58760         (FE_TOWARDZERO): Likewise.
58761         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58762         (FE_UNDERFLOW): Likewise.
58763         (FE_OVERFLOW): Likewise.
58764         (FE_DIVBYZERO): Likewise.
58765         (FE_INVALID): Likewise.
58766         (FE_TONEAREST): Likewise.
58767         (FE_TOWARDZERO): Likewise.
58768         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58769         (FE_OVERFLOW): Likewise.
58770         (FE_UNDERFLOW): Likewise.
58771         (FE_DIVBYZERO): Likewise.
58772         (FE_INEXACT): Likewise.
58773         (FE_TONEAREST): Likewise.
58774         (FE_TOWARDZERO): Likewise.
58775         (FE_UPWARD): Likewise.
58776         (FE_DOWNWARD): Likewise.
58777         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58778         (FE_DIVBYZERO): Likewise.
58779         (FE_OVERFLOW): Likewise.
58780         (FE_UNDERFLOW): Likewise.
58781         (FE_INEXACT): Likewise.
58782         (FE_TONEAREST): Likewise.
58783         (FE_DOWNWARD): Likewise.
58784         (FE_UPWARD): Likewise.
58785         (FE_TOWARDZERO): Likewise.
58787 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58789         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58791 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58793         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58794         commands.  Quote $PWD.
58795         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58796         -x" by "export".
58797         (remove_newlines): Remove.
58799 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58801         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58802         * stdlib/stdlib.h (atof): Moved to ...
58803         * include/bits/stdlib-float.h: Here.  New file.
58804         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58805         * stdlib/bits/stdlib-float.h: New file.
58806         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58807         -mno-sse -mno-mmx.
58808         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58809         <xmmintrin.h>.
58811 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58813         * conform/conformtest.pl (@headers): Add fenv.h.
58814         * conform/data/fenv.h-data: New file.
58815         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58816         include of <math/fenv.h>.
58818         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58819         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58820         && !UNIX98].  Enables tests for XOPEN2K8.
58821         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58822         POSIX2008]: Likewise.
58824         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58825         (struct rusage): Do not expect type or its members.
58827         [BZ #3439]
58828         * math/math.h (FP_NAN): Define macro to integer constant usable in
58829         #if and use that to give value to enum constant.
58830         (FP_INFINITE): Likewise.
58831         (FP_ZERO): Likewise.
58832         (FP_SUBNORMAL): Likewise.
58833         (FP_NORMAL): Likewise.
58835 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58837         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58838         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58839         arguments.
58841 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58843         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58844         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58845         autoconf-time if not.
58846         * configure.in: Remove AC_PREREQ.
58848 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58850         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58851         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58852         of the internal implementation.
58854 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58856         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58857         except include of <misc/sys/syslog.h>.
58859 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58862         function returns with a NULL context exit with zero.
58864 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58866         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58868 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58870         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58871         (run_program_cmd): This.
58872         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58873         (tst_langinfo): New variable.  Use it.
58875 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58877         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58878         floating point opcodes.
58880 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58882         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58883         variable.
58885         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58887         * sysdeps/mach/hurd/powerpc: Remove directory.
58888         * sysdeps/mach/powerpc: Likewise.
58890 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58892         * scripts/check-local-headers.sh: Ignore c++ headers.
58894 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58896         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58897         __libc_cleanup_region_start argument.
58899 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58901         [BZ #14784]
58902         [BZ #14785]
58903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58904         x * y using scaling, not as x * y + z.
58905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58906         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58907         * math/libm-test.inc (fma_test): Add more tests.
58908         (fma_test_towardzero): Likewise.
58909         (fma_test_downward): Likewise.
58910         (fma_test_upward): Likewise.
58912 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58914         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58916 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58918         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58919         New variable.
58921 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58923         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58925 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58928         Fix sort order.
58929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58930         Likewise.
58932 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58935         Fix the order of the list for glibc 2.17.
58936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58937         Likewise.
58939 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58943 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58945         [BZ #14610]
58946         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58947         for low part of x being zero before using __atanl (y).
58948         * math/libm-test.inc (atan2_test): Add another test.
58950         * manual/install.texi (Configuring and compiling): Document
58951         general use of test-wrapper and test-wrapper-env.
58952         * INSTALL: Regenerated.
58954         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58955         (__fma): Do not extract and scale down low bits on after-rounding
58956         systems when result rounded to normal precision would have normal
58957         exponent.
58958         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58959         (__fmal): Do not extract and scale down low bits on after-rounding
58960         systems when result rounded to normal precision would have normal
58961         exponent.
58962         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58963         (__fmal): Do not extract and scale down low bits on after-rounding
58964         systems when result rounded to normal precision would have normal
58965         exponent.
58966         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58967         macro.
58968         (fma_test): Add more tests.
58969         (fma_test_towardzero): Likewise.
58970         (fma_test_downward): Likewise.
58971         (fma_test_upward): Likewise.
58973 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58975         * sysdeps/i386/tininess.h: Renamed to ...
58976         * sysdeps/x86/tininess.h: This.
58977         * sysdeps/x86_64/tininess.h: Removed.
58979 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58981         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58982         input.  Use $(build-program-cmd).
58983         ($(objpfx)tst-array1-static.out): Likewise.
58984         ($(objpfx)tst-array2.out): Likewise.
58985         ($(objpfx)tst-array3.out): Likewise.
58986         ($(objpfx)tst-array4.out): Likewise.
58987         ($(objpfx)tst-array5.out): Likewise.
58988         ($(objpfx)tst-array5-static.out): Likewise.
58990 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58992         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58993         if defined.
58995         * nss/nsswitch.h (nss_interface_function): Provide new
58996         macro for use with NSS functions.
58997         * grp/initgroups.c: Use new macro.
58998         * nss/getXXbyYY.c: Likewise.
58999         * nss/getXXbyYY_r.c: Likewise.
59000         * nss/getXXent.c: Likewise.
59001         * nss/getXXent_r.c: Likewise.
59002         * sysdeps/posix/getaddrinfo.c: Likewise.
59004 2012-10-30  Andreas Jaeger  <aj@suse.de>
59006         * po/ru.po: Update Russion translation from translation project.
59008 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59010         [BZ #14152]
59011         [BZ #14783]
59012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59013         result and shift together with sticky bit instead of replicating
59014         round-to-nearest rounding.
59015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59016         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59017         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59018         missing underflow exceptions.
59019         (fma_test_towardzero): Add more tests.
59020         (fma_test_downward): Likewise.
59021         (fma_test_upward): Likewise.
59023         [BZ #14047]
59024         * sysdeps/generic/tininess.h: New file.
59025         * sysdeps/i386/tininess.h: Likewise.
59026         * sysdeps/sh/tininess.h: Likewise.
59027         * sysdeps/x86_64/tininess.h: Likewise.
59028         * stdlib/tst-strtod-underflow.c: Likewise.
59029         * stdlib/tst-tininess.c: Likewise.
59030         * stdlib/strtod_l.c: Include <tininess.h>.
59031         (round_and_return): Do not set errno for exact underflow cases.
59032         Force an underflow exception when setting errno for underflow.
59033         Determine underflow based on rounding to normal precision if
59034         TININESS_AFTER_ROUNDING.
59035         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59036         ERANGE for exact underflow cases.
59037         * stdlib/Makefile (tests): Add tst-tininess and
59038         tst-strtod-underflow.
59039         ($(objpfx)tst-tininess): Use $(link-libm).
59040         ($(objpfx)tst-strtod-underflow): Likewise.
59042 2012-10-30  Andreas Jaeger  <aj@suse.de>
59044         [BZ#14767]
59045         * elf/Makefile (tests): Remove conditional for have-initfini-array
59046         since this is now always required and the variable does not exist
59047         anymore.
59048         (tests-static): Likewise.
59049         (modules-names): Likewise.
59051         * po/eo.po: Add Esperanto translation from translation project.
59053         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59054         merged with constructor/destructor.
59055         (init_array): Likewise.
59056         * elf/tst-array2dep.c (fini_array): Likewise.
59057         (init_array): Likewise.
59059 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59061         * manual/message.texi: Delete @cartouche tags.
59063 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59065         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59066         EOPNOTSUPP.
59067         * sysdeps/mach/hurd/fsync.c: Likewise.
59069         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59070         [_POSIX_REALTIME_SIGNALS]: Change condition to
59071         [_POSIX_REALTIME_SIGNALS > 0].
59073 2012-10-27  Andreas Jaeger  <aj@suse.de>
59075         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59076         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59077         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59078         [__WORDSIZE != 64]: Likewise.
59080 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59082         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59083         *  iconvdata/tst-tables.sh: Likewise.
59085 2012-10-25  David S. Miller  <davem@davemloft.net>
59087         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59088         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59089         of strtoull.
59091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59092         ifunc-impl-list.c
59093         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59094         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59095         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59096         file.
59098 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59100         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59101         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59102         __getdirentries.
59104 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59105             Jim Blandy  <jimb@codesourcery.com>
59107         * scripts/cross-test-ssh.sh: New file.
59108         * manual/install.texi (Configuring and compiling): Document use of
59109         cross-test-ssh.sh.
59110         * INSTALL: Regenerated.
59112 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59114         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59115         EOPNOTSUPP.
59117 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59119         * Makeconfig (run-program-prefix): Fix comment.
59121 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59122             Jim Blandy  <jimb@codesourcery.com>
59124         * Makeconfig (test-wrapper): New variable,
59125         (test-wrapper-env): Likewise.
59126         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59127         (run-built-tests): Define to yes.
59128         (run-program-prefix): Use $(test-wrapper).
59129         (built-program-cmd): Likewise.
59130         * Rules (make-test-out): Use $(test-wrapper-env) and
59131         $(host-built-program-cmd).
59132         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59133         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59134         tst-pathopt.sh.
59135         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59136         $(test-wrapper-env) to tst-rtld-load-self.sh.
59137         ($(objpfx)order2.out): Use $(test-wrapper).
59138         ($(objpfx)tst-initorder.out): Likewise.
59139         ($(objpfx)tst-initorder2.out): Likewise.
59140         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59141         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59142         (test_wrapper_env): New variable.  Use it to run ld.so.
59143         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59144         Use it to run ld.so.
59145         (test_wrapper_env): Likewise.
59146         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59147         $(test-wrapper) to run-iconv-test.sh.
59148         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59149         (ICONV): Use $test_wrapper.
59150         * posix/Makefile ($(objpfx)globtest.out): Pass
59151         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59152         globtest.sh, not $(run-program-prefix).
59153         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59154         (test_wrapper): Likewise.
59155         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59156         set together with run_via_rtld_prefix.
59157         (run_program_prefix): Define in terms of test_wrapper and
59158         run_via_rtld_prefix.
59160 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59162         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59163         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59164         Targets removed.
59166         [BZ #14743]
59167         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59168         Declare __clock_getres, __clock_gettime, __clock_settime,
59169         __clock_nanosleep, and __clock_getcpuclockid.
59170         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59171         Remove librt_hidden_def (clock_gettime).
59172         * sysdeps/unix/clock_gettime.c: Likewise.
59173         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59174         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59175         * rt/clock_getres.c: Define __clock_getres as an alias.
59176         * sysdeps/posix/clock_getres.c: Likewise.
59177         * rt/clock_settime.c: Define __clock_settime as an alias.
59178         * sysdeps/unix/clock_settime.c: Likewise.
59179         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59180         * sysdeps/unix/clock_nanosleep.c: Likewise.
59181         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59182         * rt/clock-compat.c: New file.
59183         * rt/Makefile (librt-routines): Add clock-compat and move
59184         $(clock-routines) to ...
59185         (routines): ... here, new variable.
59186         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59187         Don't add get_clockfreq here.
59188         * rt/Versions (libc: GLIBC_2.17): New version set.
59189         Add clock_* symbols here.
59190         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59191         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59192         (GLIBC_2.17): Add clock_* symbols.
59193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59197         Likewise.
59198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59199         Likewise.
59200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59204         * NEWS: Mention the move.
59206         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59207         Use __open, __read, __close rather than their public counterparts.
59208         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59209         (__get_clockfreq_via_cpuinfo): Likewise.
59210         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59211         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59213         * config.h.in (HAVE_IFUNC): New #undef.
59214         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59215         was successful.
59216         * configure: Regenerated.
59218 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59220         * configure.in: Move READELF check to start of file.
59221         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59222         libc_cv_asm_gnu_indirect_function in the process.
59223         * configure: Regenerated.
59225 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59227         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59228         send the output to /dev/null.
59229         (libc_cv_cc_with_libunwind): Likewise.
59230         (libc_cv_as_noexecstack): Likewise.
59231         * configure: Regenerate.
59233 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59235         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59237         * posix/globtest.sh (TMPDIR): Do not set.
59238         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59239         (testout): Likewise.
59241 2012-10-24  Andreas Jaeger  <aj@suse.de>
59243         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59244         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59245         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59246         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59247         posix_fadvise64, posix_fallocate64.
59249         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59250         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59251         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59252         Likewise.
59253         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59254         Likewise.
59255         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59257         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59258         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59259         <bits/fcntl-linux.h>.
59260         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59262         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59263         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59264         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59265         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59266         [__WORDSIZE != 64]: Likewise.
59268 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59270         * Makeconfig (run-built-tests): New variable.
59271         * Rules [$(cross-compiling) = yes]: Change condition to
59272         [$(run-built-tests) = no].
59273         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59274         to [$(run-built-tests) = yes].
59275         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59276         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59277         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59278         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59279         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59280         * io/Makefile [$(cross-compiling) = no]: Likewise.
59281         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59282         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59283         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59284         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59285         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59286         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59287         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59288         * string/Makefile [$(cross-compiling) = no]: Likewise.
59290         * posix/Makefile ($(objpfx)globtest.out): Pass
59291         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59292         $(rtld-installed-name).
59293         * posix/globtest.sh (elf_objpfx): Remove variable.
59294         (rtld_installed_name): Likewise.
59295         (library_path): Likewise.
59296         (run_program_prefix): New variable.  Use for running globtest
59297         binary.
59299 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59300             Joseph Myers  <joseph@codesourcery.com>
59302         * Makeconfig (host-built-program-cmd): New variable.
59303         * elf/Makefile (tst-stackguard1-ARGS): Use
59304         $(host-built-program-cmd).
59305         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59306         (tst-spawn-ARGS): Likewise.
59307         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59309 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59310             Jim Blandy  <jimb@codesourcery.com>
59312         * Makeconfig (run-via-rtld-prefix): New variable.
59313         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59314         (built-program-cmd): Likewise.
59316 2012-10-22  Andreas Jaeger  <aj@suse.de>
59318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59319         __O_RSYNC if it exists, otherwise to O_SYNC.
59321 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59322             Joseph Myers  <joseph@codesourcery.com>
59324         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59325         /dev/null.
59326         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59327         from /dev/null
59328         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59329         /dev/null.
59331 2012-10-22  Andreas Jaeger  <aj@suse.de>
59333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59334         Define always.
59335         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59338         bits/fcntl-linux.h.
59340         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59341         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59344         to __O_LARGEFILE.
59345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59346         to __O_LARGEFILE.
59348 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59349             Joseph Myers  <joseph@codesourcery.com>
59351         * config.make.in (NM): New variable.
59353 2012-10-21  Andreas Jaeger  <aj@suse.de>
59355         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59356         definitions and declarations that are provided by
59357         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59359 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59361         [BZ #14683]
59362         * elf/Makefile (tests-static): Add tst-leaks1-static.
59363         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59364         ($(objpfx)tst-leaks1-static): New rule.
59365         ($(objpfx)tst-leaks1-static-mem): Likewise.
59366         (tst-leaks1-static-ENV): New macro.
59367         * elf/dl-open.c (dl_open_worker): Check the main application
59368         only if SHARED is defined.
59369         * elf/tst-leaks1-static.c: New file.
59371 2012-10-20  Andreas Jaeger  <aj@suse.de>
59373         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59374         generic values for Linux.
59375         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59376         and declarations that are provided by <bits/fcntl-linux.h> and
59377         include <bits/fcntl-linux.h>.
59378         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59381 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59383         * io/fcntl.h: Move include of <bits/types.h> to the top and
59384         include it unconditionally.
59386 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59388         * wcsmbs/Makefile (tests-ifunc): New variable.
59389         (tests): Add $(tests-ifunc).
59390         * wcsmbs/test-wcschr-ifunc.c: New file.
59391         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59392         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59393         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59394         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59395         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59397         * string/Makefile (tests-ifunc): New variable.
59398         (tests): Add $(tests-ifunc).
59399         * string/test-memccpy.c (TEST_NAME): New macro.
59400         * string/test-memchr.c (TEST_NAME): Likewise.
59401         * string/test-memcmp.c (TEST_NAME): Likewise.
59402         * string/test-memcpy.c (TEST_NAME): Likewise.
59403         * string/test-memmem.c (TEST_NAME): Likewise.
59404         * string/test-memmove.c (TEST_NAME): Likewise.
59405         * string/test-memset.c (TEST_NAME): Likewise.
59406         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59407         * string/test-stpcpy.c (TEST_NAME): Likewise.
59408         * string/test-stpncpy.c (TEST_NAME): Likewise.
59409         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59410         * string/test-strcasestr.c (TEST_NAME): Likewise.
59411         * string/test-strcat.c (TEST_NAME): Likewise.
59412         * string/test-strchr.c (TEST_NAME): Likewise.
59413         * string/test-strcmp.c(TEST_NAME): Likewise.
59414         * string/test-strcpy.c (TEST_NAME): Likewise.
59415         * string/test-strcspn.c (TEST_NAME): Likewise.
59416         * string/test-strlen.c (TEST_NAME): Likewise.
59417         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59418         * string/test-strncmp.c (TEST_NAME): Likewise.
59419         * string/test-strncpy.c (TEST_NAME): Likewise.
59420         * string/test-strnlen.c (TEST_NAME): Likewise.
59421         * string/test-strpbrk.c (TEST_NAME): Likewise.
59422         * string/test-strrchr.c (TEST_NAME): Likewise.
59423         * string/test-strspn.c (TEST_NAME): Likewise.
59424         * string/test-strstr.c (TEST_NAME): Likewise.
59425         * string/test-bcopy-ifunc.c: New file.
59426         * string/test-bzero-ifunc.c: Likewise.
59427         * string/test-memccpy-ifunc.c: Likewise.
59428         * string/test-memchr-ifunc.c: Likewise.
59429         * string/test-memcmp-ifunc.c: Likewise.
59430         * string/test-memcpy-ifunc.c: Likewise.
59431         * string/test-memmem-ifunc.c: Likewise.
59432         * string/test-memmove-ifunc.c: Likewise.
59433         * string/test-mempcpy-ifunc.c: Likewise.
59434         * string/test-memset-ifunc.c: Likewise.
59435         * string/test-rawmemchr-ifunc.c: Likewise.
59436         * string/test-stpcpy-ifunc.c: Likewise.
59437         * string/test-stpncpy-ifunc.c: Likewise.
59438         * string/test-strcasecmp-ifunc.c: Likewise.
59439         * string/test-strcasestr-ifunc.c: Likewise.
59440         * string/test-strcat-ifunc.c: Likewise.
59441         * string/test-strchr-ifunc.c: Likewise.
59442         * string/test-strchrnul-ifunc.c: Likewise.
59443         * string/test-strcmp-ifunc.c: Likewise.
59444         * string/test-strcpy-ifunc.c: Likewise.
59445         * string/test-strcspn-ifunc.c: Likewise.
59446         * string/test-strlen-ifunc.c: Likewise.
59447         * string/test-strncasecmp-ifunc.c: Likewise.
59448         * string/test-strncat-ifunc.c: Likewise.
59449         * string/test-strncmp-ifunc.c: Likewise.
59450         * string/test-strncpy-ifunc.c: Likewise.
59451         * string/test-strnlen-ifunc.c: Likewise.
59452         * string/test-strpbrk-ifunc.c: Likewise.
59453         * string/test-strrchr-ifunc.c: Likewise.
59454         * string/test-strspn-ifunc.c: Likewise.
59455         * string/test-strstr-ifunc.c: Likewise.
59457         * debug/Makefile (tests-ifunc): New variable.
59458         (tests): Add $(tests-ifunc).
59459         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59460         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59461         * debug/test-stpcpy_chk-ifunc.c: New file.
59462         * debug/test-strcpy_chk-ifunc.c: Likewise.
59464 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59466         [BZ #13601]
59467         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59468         header is not read in.
59470 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59472         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59473         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59474         directly.  Pass built executable to script as
59475         $(built-program-cmd).
59476         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59477         $testprogram without using LD_LIBRARY_PATH and $ldso.
59479         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59480         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59481         $(rtld-installed-name).
59482         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59483         (rtld_installed_name): Likewise.
59484         (library_path): Likewise.
59485         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59486         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59487         $(run-program-prefix) to tst-tables.sh.
59488         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59489         it to run tst-table-from and tst-table-to.
59490         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59491         Pass it to tst-table.sh.
59492         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59493         $(run-program-prefix) to tst-gettext.sh.
59494         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59495         tst-translit.sh.
59496         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59497         tst-gettext2.sh.
59498         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59499         to run tst-gettext.
59500         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59501         to run tst-gettext2.
59502         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59503         to run tst-translit.
59504         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59505         $(run-program-prefix) to tst-mtrace.sh.
59506         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59507         to run tst-mtrace.
59508         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59509         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59510         $(rtld-installed-name).
59511         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59512         (rtld_installed_name): Likewise.
59513         (run_program_prefix): New variable.  Use it to run wordexp-test.
59515         * Makeconfig (ARCH): Remove all definitions.
59516         (machine): Likewise.
59517         [ARCH]: Remove conditional code.
59518         [!objdir]: Give error.
59519         [!objdir] (objpfx): Remove.
59520         [!objdir] (common-objpfx): Likewise.
59521         [!objdir] (common-objdir): Likewise.
59522         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59523         AC_CONFIG_FILES call.
59524         * configure: Regenerated.
59526         [BZ #13888]
59527         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59528         or TMPDIR.
59529         (testout): Likewise.
59531         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59532         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59533         $(rtld-installed-name).
59534         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59535         (rtld_installed_name): Likwise.
59536         (runit): Remove function.
59537         (run_getconf): New variable,  Use it for running getconf binary.
59539 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59541         [BZ #14716]
59542         * string/test-memmem.c (check_result): New function.
59543         (do_one_test): Use it.
59544         (check1): New function.
59545         (test_main): Use it.
59547 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59549         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59551 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59553         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59554         (_G_LSEEK64): Likewise.
59555         (_G_MMAP64): Likewise.
59556         (_G_FSTAT64): Likewise.
59557         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59558         (_G_LSEEK64): Likewise.
59559         (_G_MMAP64): Likewise.
59560         (_G_FSTAT64): Likewise.
59561         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59562         unconditional.  Call __mmap64 directly.
59563         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59564         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59565         __lseek64 directly.
59566         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59567         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59568         __mmap64 directly.
59569         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59570         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59571         __lseek64 directly.
59572         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59573         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59574         __lseek64 directly.
59575         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59576         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59577         __lseek64 directly.
59578         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59579         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59580         __fxstat64 directly.
59581         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59582         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59583         unconditional.
59584         (freopen64) [!_G_OPEN64]: Remove conditional code.
59585         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59586         unconditional.
59587         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59588         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59589         unconditional.
59590         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59591         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59592         unconditional.
59593         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59594         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59595         unconditional.
59596         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59597         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59598         unconditional.
59599         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59600         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59601         unconditional.
59602         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59603         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59604         unconditional.
59605         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59607 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59609         [BZ #12140]
59610         * manual/memory.texi (Malloc Tunable Parameters): Add note
59611         about free list pointers overwriting some perturb bytes.
59612         Wording suggested by Roland McGrath.
59614 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59616         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59617         (lgamma_test): Likewise.
59618         (tgamma_test): Likewise.
59620 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59622         [BZ #14700]
59623         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59624         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59626 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59628         * NEWS: Mention BZ #14716.
59629         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59630         when removing AVAILABLE1_USES_J macro.
59632 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59634         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59635         (__bswap_64): __uint64_t for unsigned 64-bit int.
59637 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59639         * include/string.h (memmem): Declare libc hidden alias.
59640         * string/memmem.c (memmem): Define libc hidden alias.
59641         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59642         __read, __close instead of open, read, close.
59644 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59647         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59648         global and hidden.
59649         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59650         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59651         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59652         Likewise.
59653         (__rawmemchr_sse2): Likewise.
59654         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59655         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59656         (__strchr_sse2): Likewise.
59657         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59658         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59659         (__strcasecmp_sse2): Likewise.
59660         (__strncasecmp_sse2): Likewise.
59661         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59662         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59663         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59664         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59665         (__strrchr_sse2): Likewise.
59666         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59667         ifunc-impl-list.c.
59668         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59669         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59670         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59671         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59672         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59673         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59674         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59675         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59676         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59677         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59678         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59679         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59680         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59681         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59682         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59683         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59684         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59685         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59686         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59687         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59688         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59689         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59690         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59691         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59692         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59693         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59694         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59695         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59696         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59697         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59699         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59700         global and hidden.
59701         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59702         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59703         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59704         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59705         Likewise.
59706         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59707         Likewise.
59708         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59709         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59710         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59711         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59712         ifunc-impl-list.c.
59713         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59714         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59715         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59716         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59717         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59718         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59719         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59720         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59721         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59722         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59723         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59724         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59725         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59726         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59727         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59728         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59729         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59730         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59731         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59732         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59733         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59734         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59735         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59736         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59737         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59738         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59739         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59740         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59741         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59742         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59743         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59744         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59745         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59746         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59747         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59748         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59749         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59750         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59751         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59752         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59753         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59755         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59756         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59757         * include/ifunc-impl-list.h: New file.
59758         * misc/ifunc-impl-list.c: Likewise.
59759         * misc/Makefile (routines): Add ifunc-impl-list.
59760         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59761         * string/test-string.h: Include <ifunc-impl-list.h>.
59762         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59763         TEST_NAME]: New variables.
59764         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59765         are defined.
59766         (test_init): Call __libc_ifunc_impl_list to initialize
59767         func_list if TEST_IFUNC and TEST_NAME are defined.
59769         * string/Makefile (strop-tests): Add bcopy and bzero.
59770         * string/test-bcopy.c: New file.
59771         * string/test-bzero.c: Likewise.
59772         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59773         defined.
59774         * string/test-memset.c: Support bzero test if TEST_BZERO is
59775         defined.
59776         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59777         __libc_memmove.
59778         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59779         __libc_memset.
59780         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59781         of memset.
59783 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59785         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59786         * configure: Regenerated.
59788         * Makeconfig (+link-static-before-libc): Don't include
59789         $(link-static-libc).
59791         * libio/libio.h (_IO_pos_t): Remove.
59793 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59795         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59796         McGrath.
59798 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59800         * crypt/crypt-entry.c: Include fips-private.h.
59801         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59802         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59803         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59804         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59806 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59808         * crypt/crypt-private.h: Include stdbool.h.
59809         (_ufc_setup_salt_r): Return bool.
59810         * crypt/crypt-entry.c: Include errno.h.
59811         (__crypt_r): Return NULL with EINVAL for bad salt.
59812         * crypt/crypt_util.c (bad_for_salt): New.
59813         (_ufc_setup_salt_r): Check that salt is long enough and within
59814         the specified alphabet.
59815         * crypt/badsalttest.c: New file.
59816         * crypt/Makefile (tests): Add it.
59817         ($(objpfx)badsalttest): New.
59819 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59821         * NEWS: Add entry for BZ #14602.
59823 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59825         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59826         type-generic.
59827         * math/libm-test.inc: Update comment listing what functions and
59828         macros are tested.
59829         (isgreater_test): New function.
59830         (isgreaterequal_test): Likewise.
59831         (isless_test): Likewise.
59832         (islessequal_test): Likewise.
59833         (islessgreater_test): Likewise.
59834         (isunordered_test): Likewise.
59835         (main): Call the new functions.
59837 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59839         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59840         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59841         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59842         * sysdeps/i386/configure: Regenerated.
59843         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59844         * sysdeps/mach/configure: Regenerated.
59845         * sysdeps/mach/hurd/configure: Regenerated.
59846         * sysdeps/powerpc/configure: Regenerated.
59847         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59848         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59849         * sysdeps/s390/s390-32/configure: Regenerated.
59850         * sysdeps/s390/s390-64/configure: Regenerated.
59851         * sysdeps/sh/configure: Regenerated.
59852         * sysdeps/sparc/configure: Regenerated.
59853         * sysdeps/unix/sysv/linux/configure: Regenerated.
59854         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59855         * sysdeps/x86_64/configure: Regenerated.
59857         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59858         defined.  Don't check if MAP is NULL.
59860 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59862         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59863         (_G_stat64): Likewise.
59864         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59865         (_G_stat64): Likewise.
59866         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59867         instead of struct _G_stat64.
59868         * libio/fileops.c (mmap_remap_check): Likewise.
59869         (decide_maybe_mmap): Likewise.
59870         (_IO_new_file_seekoff): Likewise.
59871         (_IO_file_stat): Likewise.
59872         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59873         _G_off64_t.
59874         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59875         instead of struct _G_stat64.
59876         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59878 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59880         [BZ #14602]
59881         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59882         Replace with ...
59883         (CHECK_EOL): New macro.
59884         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59885         CHECK_EOL.
59886         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59887         Replace with CHECK_EOL.
59888         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59889         Replace with CHECK_EOL.
59891 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59893         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59894         type-generic.
59895         * math/libm-test.inc: Update comment listing what functions and
59896         macros are tested.
59897         (finite_test): New function.
59898         (isinf_test): Likewise.
59899         (isnan_test): Likewise.
59900         (fpclassify_test): Test subnormal input.
59901         (isfinite_test): Likewise.
59902         (isnormal_test): Likewise.
59903         (main): Call the new functions.
59905 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59907         [BZ #14660]
59908         * Makerules (%.dynsym): Force C locale when running
59909         $(OBJDUMP) --dynamic-syms.
59911 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59913         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59914         <stdint.h>.
59916 2012-10-06  David S. Miller  <davem@davemloft.net>
59918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59919         upper 32-bits of the length value in %o2 since we use branch-on-register
59920         tests which consider the entire 64-bit register.
59922 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59924         * string/test-strstr.c (check2): Add a test for page boundary.
59926 2012-10-05  David S. Miller  <davem@davemloft.net>
59928         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59929         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59930         file.
59931         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59932         sysdep_routines.
59933         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59934         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59935         and bzero when HWCAP_SPARC_CRYPTO is present.
59937 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59939         [BZ #14602]
59940         * string/test-strstr.c (check2): New function.
59941         (test_main): Call check2.
59943         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59944         and bug-strchr1.
59945         * string/bug-strcasestr1.c (do_test): Moved to ...
59946         * string/test-strcasestr.c (check1): Here.  New function.
59947         (do_one_test): Break out result checking code into ...
59948         (check_result): This.  New function.
59949         (do_one_test): Call check_result.
59950         (test_main): Call check1.
59951         * string/bug-strchr1.c (do_test): Moved to ...
59952         * string/test-strchr.c (check1): Here.  New function.
59953         (do_one_test): Break out result checking code into ...
59954         (check_result): This.  New function.
59955         (do_one_test): Call check_result.
59956         (test_main): Call check1.
59957         * string/bug-strstr1.c (main): Moved to ...
59958         * string/test-strstr.c (check1): Here.  New function.
59959         (do_one_test): Break out result checking code into ...
59960         (check_result): This.  New function.
59961         (do_one_test): Call check_result.
59962         (test_main): Call check1.
59963         * string/bug-strcasestr1.c: Removed.
59964         * string/bug-strchr1.c: Likewise.
59965         * string/bug-strstr1.c: Likewise.
59967         * elf/Makefile (dl-routines): Add hwcaps.
59968         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59969         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59970         (_dl_important_hwcaps): Moved to ...
59971         * elf/dl-hwcaps.c: Here.  New file.
59972         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59974         [BZ #14557]
59975         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59976         if IS_IN_rtld isn't defined.
59978         * elf/dl-support.c (_dl_sysinfo_map): New.
59979         Include "get-dynamic-info.h" and "setup-vdso.h".
59980         (_dl_non_dynamic_init): Call setup_vdso.
59981         * elf/dynamic-link.h: Don't include <assert.h>.
59982         (elf_get_dynamic_info): Moved to ...
59983         * elf/get-dynamic-info.h: Here.  New file.
59984         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59985         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59986         * elf/setup-vdso.h: Here.  New file.
59987         * elf/rtld.c: Include "setup-vdso.h".
59988         (dl_main): Call setup_vdso.
59990 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59992         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59993         creal in comment listing functions tested.  List finite, isinf,
59994         isnan, isless, islessequal, isgreater, isgreaterequal,
59995         islessgreater, isunordered, lgamma_r and pow10 as functions and
59996         macros not tested.  Mention which functions not tested are aliases
59997         for other functions.  Fix typo.  Note that signs of NaNs are not
59998         tested.
60000         * scripts/config.guess: Update from config.git.
60001         * scripts/config.sub: Likewise.
60003 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60005         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60006         * misc/madvise.c (madvise): Renamed to __madvise.
60007         Make madvise a weak alias.
60008         * include/sys/mman.h: Declare __madvise.
60009         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60010         * sysdeps/unix/syscalls.list
60011         (madvise): Make __madvise the strong name, and madvise a weak alias.
60012         * sysdeps/unix/sysv/linux/syscalls.list
60013         (madvise, mmap): Remove redundant entries.
60014         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60015         * malloc/malloc.c (mtrim): Likewise.
60016         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60018 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60020         * sysdeps/mach/hurd/dl-cache.c: File removed.
60021         * config.h.in (USE_LDCONFIG): New #undef.
60022         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60023         * configure: Regenerated.
60024         * elf/Makefile (dl-routines): Add dl-cache only under
60025         [$(use-ldconfig) = yes].
60026         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60027         cache on [USE_LDCONFIG].
60028         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60029         [USE_LDCONFIG].
60030         * elf/rtld.c (dl_main): Likewise.
60032 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60034         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60035         _SC_LEVEL4_CACHE_LINESIZE.
60037 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60039         * sysdeps/unix/bsd/confstr.h: File removed.
60041 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60043         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60044         sys/sdt-config.h.
60046 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60048         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60049         Make 'mapoff' field ElfW(Off) rather than off_t.
60051 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60053         * nscd/Makefile: Remove nscd-cflags and all its users.
60054         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60055         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60057         [BZ #10631]
60058         * malloc.c (malloc_printerr): Clarify error message.
60060 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60062         [BZ #14648]
60063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60064         Set bit_FMA_Usable if FMA is supported.
60065         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60066         macro.
60067         (bit_FMA4_Usable): Updated.
60068         (index_FMA_Usable): New macro.
60069         (CPUID_FMA): Likewise.
60070         (HAS_FMA): Defined with bit_FMA_Usable.
60072 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60074         * bits/types.h (__swblk_t): Type removed.
60075         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60076         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60077         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60078         (__SWBLK_T_TYPE): Likewise.
60079         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60080         (__SWBLK_T_TYPE): Likewise.
60081         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60082         (__SWBLK_T_TYPE): Likewise.
60083         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60084         (__SWBLK_T_TYPE): Likewise.
60086 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60087             Honza Horak <hhorak@redhat.com>
60089         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60090         (xdr_mapname): Use YPMAXMAP as maxsize.
60091         (xdr_peername): Use YPMAXPEER as maxsize.
60092         (xdr_keydat): Use YPAXRECORD as maxsize.
60093         (xdr_valdat): Use YPMAXRECORD as maxsize.
60095 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60097         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60099         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60100         * csu/init-first.c: ... here.
60101         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60102         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60103         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60104         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60105         * sysdeps/i386/init-first.c: File removed.
60106         * sysdeps/sh/init-first.c: File removed.
60108 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60110         [BZ #14645]
60111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60112         if x * y might underflow to zero and z is zero.
60113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60115         * math/libm-test.inc (min_subnorm_value): New variable.
60116         (fma_test): Add more tests.
60117         (fma_test_towardzero): Likewise.
60118         (fma_test_downward): Likewise.
60119         (fma_test_upward): Likewise.
60120         (initialize): Set min_subnorm_value.
60122 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60124         [BZ #14638]
60125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60126         0 + 0.
60127         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60128         mode for addition resulting in exact zero.
60129         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60131         exact 0 + 0.
60132         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60134         * math/libm-test.inc (fma_test): Add more tests.
60135         (fma_test_towardzero): New function.
60136         (fma_test_downward): Likewise.
60137         (fma_test_upward): Likewise.
60138         (main): Call the new functions.
60140 2012-09-28  David S. Miller  <davem@davemloft.net>
60142         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60144 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60146         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60147         instead of SIGALRM.
60149         * sysdeps/gnu/_G_config.h: Moved to ...
60150         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60151         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60152         * sysdeps/generic/_G_config.h: ... here.
60154         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60156         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60158         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60159         Conditionalize target on [libnss_test1.so-version].
60161         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60163         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60164         (elfobjdir): Move out of conditionals.
60166         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60167         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60168         (__nss_lookup_function): Conditionalize label remove_from_tree on
60169         [!DO_STATIC_NSS || SHARED], matching its only use.
60171 2012-09-28  David S. Miller  <davem@davemloft.net>
60173         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60174         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60175         file.
60176         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60177         sysdep_routines.
60178         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60179         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60180         when HWCAP_SPARC_CRYPTO is present.
60182 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60184         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60186 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60188         [BZ #6530]
60189         * stdio-common/vfprintf.c (process_string_arg): Revert
60190         2000-07-22 change.
60192 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60194         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60195         for testcase.
60196         * stdio-common/tst-sprintf.c: Include <locale.h>
60197         (main): Test sprintf's handling of incomplete multibyte
60198         characters.
60200 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60202         * elf/dl-runtime.c (VERSYMIDX): Removed.
60203         * elf/dl-version.c (VERSYMIDX): Likewise.
60204         * elf/do-rel.h (VERSYMIDX): Likewise.
60205         (VALIDX): Likewise.
60206         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60207         * elf/rtld.c (VALIDX): Likewise.
60208         (ADDRIDX): Likewise.
60209         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60210         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60211         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60212         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60213         (VALIDX): Likewise.
60214         (ADDRIDX): Likewise.
60216 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60218         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60220 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60222         [BZ #11438]
60223         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60224         to global scope.
60225         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60226         addresses are in the same scope as 192.0.2/24.
60227         * posix/gai.conf: Document new scope table defaults.
60229 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60231         [BZ #5298]
60232         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60233         for ftell.  Compute offsets from write pointers instead.
60234         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60236 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60238         [BZ #14543]
60239         * libio/Makefile (tests): New test case tst-fseek.
60240         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60241         combination works in wide mode.
60242         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60243         state when the external buffer state changes.
60245 2012-09-27  David S. Miller  <davem@davemloft.net>
60247         [BZ #14376]
60248         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60249         pass reloc->r_addend in as the 'high' argument to
60250         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60254 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60256         * rt/tst-aio2.c: Include <pthread.h>.
60257         * rt/tst-aio3.c: Likewise.
60259 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60261         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60263 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60265         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60266         contents on [SHARED].
60268 2012-09-26  Marek Polacek  <polacek@redhat.com>
60270         [BZ #14530]
60271         [BZ #13741]
60272         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60273         for C++ and GCC <4.3 as well as for non GCC compilers.
60275 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60279 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60281         * Makefile.in (all, install): Declare with .PHONY.
60282         Reported by Michael Hope <michael.hope@linaro.org>.
60284 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60286         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60287         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60288         system header.
60289         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60290         Likewise.
60291         (sydep_routines): Add the new and the internal functions.
60292         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60293         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60295         (GLIBC_2.17): Add the new function.
60296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60297         (GLIBC_2.17): Likewise.
60298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60299         (GLIBC_2.17): Likewise.
60300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60301         (GLIBC_2.17): Likewise.
60302         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60304 2012-09-25  Alan Modra  <amodra@gmail.com>
60306         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60307         Add release barrier before setting once_control to say
60308         initialisation is done.  Add hints on lwarx.  Use macro in
60309         place of isync.
60310         (clear_once_control): Add release barrier.
60312 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60314         [BZ #13629]
60315         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60316         specially.
60317         * math/s_clog10.c (__clog10): Likewise.
60318         * math/s_clog10f.c (__clog10f): Likewise.
60319         * math/s_clog10l.c (__clog10l): Likewise.
60320         * math/s_clogf.c (__clogf): Likewise.
60321         * math/s_clogl.c (__clogl): Likewise.
60322         * math/Makefile (libm-calls): Add x2y2m1.
60323         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60324         (__x2y2m1): Likewise.
60325         (__x2y2m1l): Likewise.
60326         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60327         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60328         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60329         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60330         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60331         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60332         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60333         * sysdeps/i386/fpu/libm-test-ulps: Update.
60334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60336         [BZ #14621]
60337         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60338         int as type of variable DEPTH.
60339         (glob): Use size_t instead of int as type of variables NEWCOUNT
60340         and OLD_PATHC.
60342 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60344         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60345         Add s_sincosf-sse2.
60346         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60347         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60348         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60349         macros for using routine as __sincosf_ia32.
60350         Use macro for function declaration and weak_alias.
60351         * sysdeps/i386/fpu/libm-test-ulps: Update.
60353         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60356         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60357         subnormal argument.
60358         * math/s_cexpf.c (__cexpf): Likewise.
60359         * math/s_csinf.c (__csinf): Likewise.
60360         * math/s_csinhf.c (__csinhf): Likewise.
60361         * math/s_ctanf.c (__ctanf): Likewise.
60362         * math/s_ctanhf.c (__ctanhf): Likewise.
60363         * math/s_ccosh.c (__ccoshf): Likewise.
60364         * math/s_cexp.c (__cexpl): Likewise.
60365         * math/s_csin.c (__csin): Likewise.
60366         * math/s_csinh.c (__csinh): Likewise.
60367         * math/s_ctan.c (__ctan): Likewise.
60368         * math/s_ctanh.c (ctanh): Likewise.
60369         * math/s_ccoshl.c (__ccoshl): Likewise.
60370         * math/s_cexpl.c (__cexpl): Likewise.
60371         * math/s_csinl.c (__csinl): Likewise.
60372         * math/s_csinhl.c (__csinhl): Likewise.
60373         * math/s_ctanl.c (__ctanl): Likewise.
60374         * math/s_ctanhl.c (__ctanhl): Likewise.
60376 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60378         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60379         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60380         (_IO_off_t): Define to __off_t, not _G_off_t.
60381         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60382         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60383         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60384         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60385         type of __dummy and __dummy2 fields.
60386         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60387         (_G_ssize_t): Likewise.
60388         (_G_off_t): Likewise.
60389         (_G_pid_t): Likewise.
60390         (_G_uid_t): Likewise.
60391         (_G_wchar_t): Likewise.
60392         (_G_wint_t): Likewise.
60393         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60394         (_G_ssize_t): Likewise.
60395         (_G_off_t): Likewise.
60396         (_G_pid_t): Likewise.
60397         (_G_uid_t): Likewise.
60398         (_G_wchar_t): Likewise.
60399         (_G_wint_t): Likewise.
60400         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60401         (_G_ssize_t): Likewise.
60402         (_G_off_t): Likewise.
60403         (_G_pid_t): Likewise.
60404         (_G_uid_t): Likewise.
60405         (_G_wchar_t): Likewise.
60406         (_G_wint_t): Likewise.
60408 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60410         * malloc/arena.c: Include malloc-sysdep.h.
60411         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60412         is sufficient to shrink the heap or an unmap is needed.
60413         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60414         new function check_may_shrink_heap.
60415         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60416         new function check_may_shrink_heap.
60418 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60420         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60421         comments.
60423 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60425         * catgets/test-gencat.sh: Add "set -e".
60426         * elf/tst-pathopt.sh: Likewise.
60427         * grp/tst_fgetgrent.sh: Likewise.
60428         * iconvdata/run-iconv-test.sh: Likewise.
60429         * intl/tst-gettext.sh: Likewise.
60430         * intl/tst-gettext2.sh: Likewise.
60431         * intl/tst-gettext4.sh: Likewise.
60432         * intl/tst-gettext6.sh: Likewise.
60433         * intl/tst-translit.sh: Likewise.
60434         * io/ftwtest-sh: Likewise.
60435         * libio/test-freopen.sh: Likewise.
60436         * malloc/tst-mtrace.sh: Likewise.
60437         * posix/globtest.sh: Likewise.
60438         * posix/tst-getconf.sh: Likewise.
60439         * posix/wordexp-tst.sh: Likewise.
60440         * stdio-common/tst-printf.sh: Likewise.
60441         * stdio-common/tst-unbputc.sh: Likewise.
60442         * stdlib/tst-fmtmsg.sh: Likewise.
60443         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60444         * catgets/Makefile: Do not specify -e option when running
60445         testsuite shell scripts.
60446         * elf/Makefile: Likewise.
60447         * grp/Makefile: Likewise.
60448         * iconvdata/Makefile: Likewise.
60449         * intl/Makefile: Likewise.
60450         * io/Makefile: Likewise.
60451         * libio/Makefile: Likewise.
60452         * malloc/Makefile: Likewise.
60453         * posix/Makefile: Likewise.
60454         * stdio-common/Makefile: Likewise.
60455         * stdlib/Makefile: Likewise.
60456         * sysdeps/x86_64/Makefile: Likewise.
60458         * io/ftwtest-sh: Add copyright header.
60459         * posix/globtest.sh: Likewise.
60460         * posix/tst-getconf.sh: Likewise.
60461         * posix/wordexp-tst.sh: Likewise.
60462         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60464 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60466         [BZ #13679]
60467         * Makeconfig (+link): Defined as $(+link-static) if
60468         $(build-shared) isn't yes.
60469         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60470         isn't yes.
60471         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60473         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60475         [BZ #14562]
60476         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60477         new chunk size with MALLOC_ALIGN_MASK.
60479 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60481         [BZ #5044]
60482         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60483         <rounding-mode.h>.
60484         (__printf_fphex): Determine rounding using get_rounding_mode and
60485         round_away.
60486         * stdio-common/tst-printf-round.c (struct hex_test): New
60487         structure.
60488         (hex_tests): New variable.
60489         (test_hex_in_one_mode): New function.
60490         (do_test): Also run tests for hex float output.
60492 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60494         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60495         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60496         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60497         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60498         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60499         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60500         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60501         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60503 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60505         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60506         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60507         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60508         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60510 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60512         [BZ #14579]
60513         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60514         mode only.
60515         * elf/tst-rtld-load-self.sh: New test.
60516         * elf/Makefile: Run it.
60518 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60520         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60521         (tst-writev-ENV): Remove.
60522         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60524 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60526         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60528 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60530         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60531         unconditional.
60532         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60533         Likewise.
60534         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60535         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60536         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60537         Likewise.
60539 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60541         [BZ #14587]
60542         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60543         * config.make.in (have-cpp-asm-debuginfo): Removed.
60544         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60545         * configure: Regenerated.
60547 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60549         [BZ #5044]
60550         * stdio-common/printf_fp.c: Include <stdbool.h> and
60551         <rounding-mode.h>.
60552         (___printf_fp): Determine rounding using get_rounding_mode and
60553         round_away.
60554         * stdio-common/tst-printf-round.c: New file.
60555         * stdio-common/Makefile (tests): Add tst-printf-round.
60556         (link-libm): New variable.
60557         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60559 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60561         [BZ #14576]
60562         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60563         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60564         Likewise.
60565         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60566         Likewise.
60568 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60570         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60571         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60572         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60573         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60575 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60577         [BZ #14518]
60578         * include/rounding-mode.h: New file.
60579         * sysdeps/generic/get-rounding-mode.h: Likewise.
60580         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60581         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60582         (MAX_VALUE): New macro.
60583         (MIN_VALUE): Likewise.
60584         (overflow_value): New function.
60585         (underflow_value): Likewise.
60586         (round_and_return): Use overflow_value and underflow_value to
60587         determine return values in overflow and underflow cases.  Use
60588         round_away to determine rounding depending on rounding mode.
60589         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60590         determine return values in overflow and underflow cases.
60591         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60592         (struct test_results): New structure.
60593         (struct test): Use struct test_results to store expected results
60594         for all rounding modes.
60595         (TEST): Include expected results for all rounding modes.
60596         (test_in_one_mode): New function.
60597         (do_test): Use test_in_one_mode to compute and check results.
60598         Check results for all rounding modes.
60599         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60600         $(link-libm).
60602 2012-12-09  Allan McRae  <allan@archlinux.org>
60604         * sysdeps/i386/fpu/libm-test-ulps: Update
60606 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60608         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60609         (_G_int32_t): Likewise.
60610         (_G_uint16_t): Likewise.
60611         (_G_uint32_t): Likewise.
60612         (_G_HAVE_BOOL): Likewise.
60613         (_G_HAVE_ATEXIT): Likewise.
60614         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60615         (_G_HAVE_IO_FILE_OPEN): Likewise.
60616         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60617         (_G_int32_t): Likewise.
60618         (_G_uint16_t): Likewise.
60619         (_G_uint32_t): Likewise.
60620         (_G_HAVE_BOOL): Likewise.
60621         (_G_HAVE_ATEXIT): Likewise.
60622         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60623         (_G_HAVE_IO_FILE_OPEN): Likewise.
60624         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60625         (_G_int32_t): Likewise.
60626         (_G_uint16_t): Likewise.
60627         (_G_uint32_t): Likewise.
60628         (_G_HAVE_BOOL): Likewise.
60629         (_G_HAVE_ATEXIT): Likewise.
60630         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60631         (_G_HAVE_IO_FILE_OPEN): Likewise.
60633 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60635         * csu/libc-tls.c: Update copyright years.
60637 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60639         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60640         [!_G_USING_THUNKS]: Remove conditional code.
60641         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60642         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60644         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60645         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60646         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60647         (_G_VTABLE_LABEL_PREFIX): Likewise.
60648         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60649         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60650         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60651         (_G_VTABLE_LABEL_PREFIX): Likewise.
60652         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60653         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60654         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60655         (_G_VTABLE_LABEL_PREFIX): Likewise.
60656         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60658 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60660         * libio/Makefile: Include ../Makeconfig before tests.
60661         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60662         only if $(build-shared) is yes.
60664         * iconv/gconv_db.c: Update copyright years.
60666 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60668         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60669         unwind info if defined PIC. Fix special cases description.
60670         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60672         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60673         DP_HI_MASK entry.
60674         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60676 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60678         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60680         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60681         is NULL.
60683         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60684         (LDLIBS-tst-chk4): This.
60685         (LDFLAGS-tst-chk5): Renamed to ...
60686         (LDLIBS-tst-chk5): This.
60687         (LDFLAGS-tst-chk6): Renamed to ...
60688         (LDLIBS-tst-chk6): This.
60689         (LDFLAGS-tst-lfschk4): Renamed to ...
60690         (LDLIBS-tst-lfschk4): This.
60691         (LDFLAGS-tst-lfschk5): Renamed to ...
60692         (LDLIBS-tst-lfschk5): This.
60693         (LDFLAGS-tst-lfschk6): Renamed to ...
60694         (LDLIBS-tst-lfschk6): This.
60696         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60697         on $(common-objpfx)soversions.mk.
60699 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60701         [BZ #10014]
60702         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60703         example host name.
60705 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60707         * malloc/arena.c (arena_get_retry): New function that gets
60708         another arena for the caller to try its request on.
60709         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60710         current arena cannot fulfill the request.
60711         (__libc_memalign): Likewise.
60712         (__libc_memalign): Likewise.
60713         (__libc_pvalloc): Likewise.
60714         (__libc_calloc): Likewise.
60716 2012-09-05  John Tobey  <john.tobey@gmail.com>
60718         [BZ #13542]
60719         * manual/arith.texi (Operations on Complex): Fix description
60720         of carg branch cut.
60722 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60724         [BZ #10014]
60725         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60726         host name.
60728         [BZ #10038]
60729         * manual/memory.texi (Memory): Make order of menu items match
60730         order of sections.
60732 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60734         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60735         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60736         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60738 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60740         * csu/libc-tls.c (static_dtv): Renamed to ...
60741         (_dl_static_dtv): This.  Make it global.
60742         (_dl_initial_dtv): Removed.
60743         (__libc_setup_tls): Updated.
60744         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60745         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60746         DL_INITIAL_DTV.
60748 2012-09-06  Petr Machata  <pmachata@redhat.com>
60750         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60751         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60752         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60753         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60755 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60757         [BZ #14545]
60758         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60759         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60760         freeing dtv[-1].
60762 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60764         [BZ #14544]
60765         * Makeconfig (link-static-before-libc): Replace $(+prector)
60766         with $(+prectorT).
60767         (link-static-after-libc): Replace $(+postctor) with
60768         $(+postctorT).
60769         (link-bounded): Replace $(+prector)/$(+postctor) with
60770         $(+prectorT)/$(+postctorT).
60771         (+prectorT): New macro.
60772         (+postctorT): Likewise.
60774 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60776         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60777         (round_str): Handle values above the maximum for IBM long double
60778         as inexact.
60779         * stdlib/tst-strtod-round.c (tests): Regenerated.
60781 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60783         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60784         assembler flag.
60785         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60786         zarch_nohighgprs around the zarch optimized routines.
60787         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60788         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60789         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60790         for zarch.
60792 2012-09-05  David S. Miller  <davem@davemloft.net>
60794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60796         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60797         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60798         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60799         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60800         entries.
60802 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60804         * malloc/arena.c: Fold copyright years.
60805         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60807 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60809         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60811 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60813         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60815 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60817         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60818         change internal state upon failure.
60820 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60822         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60823         * malloc/memusage.c (mmap): Likewise.
60824         (mmap64, mremap): Likewise.  Adjust name in comment.
60826 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60828         * libio/fileops.c: Fix typos in comments.
60829         * libio/oldfileops.c: Likewise.
60830         * libio/wfileops.c: Likewise.
60832 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60834         [BZ #1349]
60835         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60836         (tst-malloc-usable-ENV): Set environment for test case.
60837         * malloc/hooks.c (malloc_check_get_size): New function to get
60838         requested size.
60839         * malloc/malloc.c (musable): Use malloc_check_get_size.
60840         * malloc/tst-malloc-usable.c: New test case.
60842 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60844         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60846 2012-09-05  Allan McRae  <allan@archlinux.org>
60848         [BZ #13966]
60849         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60850         determine header location.
60851         * configure: Regenerated.
60853 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60855         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60856         float format.
60857         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60858         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60859         format.
60860         (test): Regenerate.
60862 2012-09-04  David S. Miller  <davem@davemloft.net>
60864         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60865         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60866         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60868 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60870         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60871         failures.
60873         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60875 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60877         [BZ #9914]
60878         * libio/iogetdelim.c: Include <limits.h>.
60879         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60880         + len + 1 would overflow.
60882 2012-09-03  Andreas Jaeger  <aj@suse.de>
60884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60885         * sysdeps/i386/fpu/libm-test-ulps: Update.
60887 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60889         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60890         Add s_sinf-sse2, s_conf-sse2.
60892         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60893         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60894         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60895         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60897         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60898         for using routine as __sinf_ia32.
60899         Use macro for function declaration and weak_alias.
60900         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60901         for using routine as __cosf_ia32.
60902         Use macro for function declaration and weak_alias.
60904         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60905         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60907         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60908         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60911         * math/libm-test.inc (cos_test): Add more test cases.
60912         (sin_test): Likewise.
60913         (sincos_test): Likewise.
60915 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60917         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60918         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60919         hidden.
60920         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60922 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60924         [BZ #14538]
60925         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60926         first element of the GOT.
60927         (elf_machine_load_address): Return the difference between
60928         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60930 2012-09-01  Allan McRae  <allan@archlinux.org>
60932         [BZ #13412]
60933         * configure.in (AWK): Require gawk version 3.0 or later.
60934         * configure: Regenerated.
60936 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60938         * sysdeps/unix/sysv/linux/kernel-features.h
60939         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60940         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60941         [__NR_clock_getres]: Make code unconditional.
60942         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60943         (clock_getcpuclockid): Remove code left unreachable by removal of
60944         conditionals.
60945         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60946         code unconditional.
60947         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60948         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60949         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60950         Make code unconditional.
60951         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60952         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60953         * sysdeps/unix/sysv/linux/clock_settime.c
60954         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60955         conditional code.
60956         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60957         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60959 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60961         [BZ #14476]
60962         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60963         scripts/test-installation.pl.
60965         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60966         and $ld_so_version if it is set.
60968 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60970         [BZ #14516]
60971         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60972         failure if reading from procfs failed.
60973         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60975 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60977         * sysdeps/unix/sysv/linux/kernel-features.h
60978         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60979         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60980         Remove conditional code.
60981         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60982         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60983         Remove conditional code.
60984         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60985         * sysdeps/unix/sysv/linux/i386/fxstat.c
60986         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60987         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60988         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60989         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60990         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60991         * sysdeps/unix/sysv/linux/i386/lxstat.c
60992         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60993         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60994         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60995         Remove conditional code.
60996         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60997         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60998         Remove conditional code.
60999         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61000         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61001         <kernel-features.h>.
61002         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61003         Remove.
61004         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61005         Remove conditional code.
61006         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61007         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61008         Remove conditional.
61010 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61012         [BZ #5400]
61013         * NEWS: Add fixed bug number.
61015 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61017         [BZ #14519]
61018         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61019         underflowing exponent in case of negative sign.
61020         * stdlib/tst-strtod-round-data: Add more tests.
61021         * stdlib/tst-strtod-round.c (tests): Regenerated.
61023         [BZ #3479]
61024         * stdlib/strtod_l.c (NDIG): Remove.
61025         (HEXNDIG): Likewise.
61026         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61027         smallest representable value.
61028         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61029         lie within an exact representation of 1/2 ulp of the result.
61030         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61031         unconditionally.
61032         (TENS_P9_IDX): Define unconditionally.
61033         (TENS_P9_SIZE): Likewise.
61034         (TENS_P10_IDX): Likewise.
61035         (TENS_P10_SIZE): Likewise.
61036         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61037         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61038         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61039         entries for 10^2^13 and 10^2^14.
61040         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61041         (TENS_P13_IDX): Define.
61042         (TENS_P13_SIZE): Likewise.
61043         (TENS_P14_IDX): Likewise.
61044         (TENS_P14_SIZE): Likewise.
61045         (_fpioconst_pow10): Change array size to
61046         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61047         unconditional.
61048         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61049         1024]: Add entries for 10^2^13 and 10^2^14.
61050         [LAST_POW10 > _LAST_POW10]: Remove #error.
61051         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61052         (_fpioconst_pow10): Change array size to
61053         FPIOCONST_POW10_ARRAY_SIZE.
61054         * stdlib/gen-fpioconst.c: New file.
61055         * stdlib/gen-tst-strtod-round.c: Likewise.
61056         * stdlib/tst-strtod-round-data: Likewise.
61057         * stdlib/tst-strtod-round.c: Likewise.
61058         * stdlib/Makefile (tests): Add tst-strtod-round.
61060         [BZ #14459]
61061         * stdlib/strtod_l.c: Include <stdint.h>.
61062         (NDEBUG): Do not define.
61063         (round_and_return): Change EXPONENT parameter to type intmax_t.
61064         Rearrange calculations to avoid internal overflow possibilities.
61065         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61066         Rearrange calculations to avoid internal overflow possibilities.
61067         Assert that number fits inside MPNSIZE limbs.
61068         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61069         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61070         calculations and add assertions to avoid internal overflow
61071         possibilities.  Add casts to avoid signed/unsigned operations.
61072         * stdlib/tst-strtod-overflow.c: New file.
61073         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61075 2012-08-25  Marek Polacek  <polacek@redhat.com>
61077         * time/time.h: Fix some typos in comments.
61079 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61081         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61082         * posix/tst-rfc3484-2.c: Likewise.
61083         * posix/tst-rfc3484-3.c: Likewise.
61085 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61087         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61088         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61090 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61092         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61093         #include of fxstatat64.c.
61095 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61097         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61098         * shadow/getspent_r.c: Likewise.
61099         * shadow/getspnam.c: Likewise.
61100         * shadow/getspnam_r.c: Likewise.
61101         * gshadow/getsgent.c: Likewise.
61102         * gshadow/getsgent_r.c: Likewise.
61103         * gshadow/getsgnam.c: Likewise.
61104         * gshadow/getsgnam_r.c: Likewise.
61105         * inet/getnetbyad.c: Likewise.
61106         * inet/getnetbyad_r.c: Likewise.
61107         * inet/getnetbynm.c: Likewise.
61108         * inet/getnetbynm_r.c: Likewise.
61109         * inet/getnetent.c: Likewise.
61110         * inet/getnetent_r.c: Likewise.
61111         * inet/getproto.c: Likewise.
61112         * inet/getproto_r.c: Likewise.
61113         * inet/getprtent.c: Likewise.
61114         * inet/getprtent_r.c: Likewise.
61115         * inet/getprtname.c: Likewise.
61116         * inet/getprtname_r.c: Likewise.
61117         * inet/getrpcbyname.c: Likewise.
61118         * inet/getrpcbyname_r.c: Likewise.
61119         * inet/getrpcbynumber.c: Likewise.
61120         * inet/getrpcbynumber_r.c: Likewise.
61121         * inet/getrpcent.c: Likewise.
61122         * inet/getrpcent_r.c: Likewise.
61123         * inet/getaliasent.c: Likewise.
61124         * inet/getaliasent_r.c: Likewise.
61125         * inet/getaliasname.c: Likewise.
61126         * inet/getaliasname_r.c: Likewise.
61127         * nscd/getgrgid_r.c: Likewise.
61128         * nscd/getgrnam_r.c: Likewise.
61129         * nscd/gethstbyad_r.c: Likewise.
61130         * nscd/gethstbynm3_r.c: Likewise.
61131         * nscd/getpwnam_r.c: Likewise.
61132         * nscd/getpwuid_r.c: Likewise.
61133         * nscd/getsrvbynm_r.c: Likewise.
61134         * nscd/getsrvbypt_r.c: Likewise.
61135         * nscd/gai.c: Likewise.
61137         * configure.in (build_nscd): New substituted variable, set
61138         by --disable-build-nscd and defaults to $use_nscd.
61139         * configure: Regenerated.
61140         * config.make.in (build-nscd): New substituted variable.
61141         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61142         Change conditional to require [$(build-nscd) = yes] as well.
61143         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61145         [BZ# 13696]
61146         * configure.in (use_nscd): New substituted variable, set by
61147         --disable-nscd.  If enabled, define USE_NSCD.
61148         * configure: Regenerated.
61149         * config.h.in: Add USE_NSCD.
61150         * config.make.in (use-nscd): New substituted variable.
61151         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61152         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61153         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61154         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61155         (CFLAGS-getgrnam_r.c): Likewise.
61156         (CFLAGS-initgroups.c): Likewise.
61157         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61158         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61159         Variables removed.
61160         * inet/getnetgrent_r.c
61161         (nscd_setnetgrent): New function, broken out of ...
61162         (setnetgrent): ... here.  Call it.
61163         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61164         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61165         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61166         * nscd/Makefile (routines, aux): Move definitions after include of
61167         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61168         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61169         Conditionalize on [USE_NSCD].
61170         (is_nscd, nscd_init_cb): Likewise.
61171         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61172         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61173         * nss/nss_db/db-init.c: Likewise.
61174         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61175         [USE_NSCD].
61176         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61177         (make_request): Use it.
61178         (cache_valid_p): New function.
61179         (__check_pf): Use it.
61180         * NEWS: Add item for --disable-nscd.
61182 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61184         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61185         to support sed >= 4.2.1-20-ga9bf076.
61186         * configure: Regenerated.
61188 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61190         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61191         Conditionalize whole body on [IREL].
61193 2012-08-22  Jeff Law <law@redhat.com>
61195         [BZ #14505]
61196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61197         if the family is PF_UNSPEC.
61199 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61201         * Makerules (lib-version): Rename from V.
61202         (install-lib-nosubdir): Change V to lib-version.
61204 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61206         [BZ #14252]
61207         * powerpc32/power6/wcschr.c: New file.
61208         * powerpc32/power6/wcscpy.c: New file.
61209         * powerpc32/power6/wcsrchr.c: New file.
61210         * powerpc64/power6/wcschr.c: New file.
61211         * powerpc64/power6/wcscpy.c: New file.
61212         * powerpc64/power6/wcsrchr.c: New file.
61214 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61216         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61217         (two_way_short_needle): Use it.
61218         * string/strstr.c (AVAILABLE1_USES_J): Define.
61219         * string/strcasestr.c: Likewise.
61221         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61222         array references.
61223         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61225         [BZ #11607]
61226         * NEWS: Add an entry.
61227         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61228         define their defaults.
61229         (two_way_short_needle): Detect end-of-string on-the-fly.
61230         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61231         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61232         * string/bug-strcasestr1.c: New test.
61233         * string/Makefile: Run it.
61235 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61237         [BZ #11607]
61238         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61239         the first character.
61241 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61243         * csu/elf-init.c (__libc_csu_irel): Function removed.
61244         * csu/libc-start.c (apply_irel): New function.
61245         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61247 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61249         * sysdeps/unix/sysv/linux/kernel-features.h
61250         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61251         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61252         <kernel-features.h>.
61253         [__NR_fadvise64_64]: Make code unconditional.
61254         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61255         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61256         !__NR_fadvise64_64)]: Likewise.
61257         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61258         !__NR_fadvise64_64))]: Likewise.
61259         [__NR_fadvise64]: Make code unconditional.
61260         [!__NR_fadvise64]: Remove conditional code.
61261         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61262         <kernel-features.h>.
61263         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61264         unconditional.
61265         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61266         conditional code.
61267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61268         not include <kernel-features.h>.
61269         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61270         unconditional.
61271         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61272         conditional code.
61273         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61274         include <kernel-features.h>.
61275         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61276         unconditional.
61277         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61278         conditional code.
61280 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61282         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61283         slight instruction rearrangements per scrollpipe analysis.
61284         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61286 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61288         * manual/syslog.texi (syslog; vsyslog, closelog):
61289         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61290         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61292         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61293         DSOCAPS to match condition on defining it.
61295 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61297         * sysdeps/unix/sysv/linux/kernel-features.h
61298         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61300         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61301         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61303         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61304         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61306         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61307         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61309         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61310         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61312         * sysdeps/unix/sysv/linux/kernel-features.h
61313         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61314         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61315         unconditional.
61316         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61317         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61318         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61319         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61320         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61321         Make code unconditional.
61322         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61323         (__mmap64) [!__NR_mmap2]: Likewise.
61324         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61325         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61326         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61327         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61328         [__NR_mmap2]: Make code unconditional.
61329         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61330         (__mmap64) [!__NR_mmap2]: Likewise.
61332 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61334         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61336 2012-08-18  Andreas Jaeger  <aj@suse.de>
61338         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61340 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61342         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61343         * include/unistd.h (__have_sock_cloexec): Likewise.
61344         (__have_pipe2): Likewise.
61345         (__have_dup3): Likewise.
61347 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61349         [BZ #9685]
61350         * include/unistd.h (__have_pipe2): Change define into an extern int.
61351         (__have_dup3): Likewise.
61352         * socket/have_sock_cloexec.c: Include fcntl.h.
61353         (__have_pipe2): New variable.
61354         (__have_dup3): Likewise.
61356 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61358         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61360 2012-08-17  Marek Polacek  <polacek@redhat.com>
61362         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61363         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61365 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61367         * configure.in: Add AC_SUBST for sysheaders.
61368         * configure: Regenerated.
61369         * config.make.in (sysheaders): New substituted variable.
61371         * sysdeps/unix/mkfifo.c: Moved ...
61372         * sysdeps/posix/mkfifo.c: ... here.
61373         * sysdeps/unix/mkfifoat.c: Moved ...
61374         * sysdeps/posix/mkfifoat.c: ... here.
61376         * sysdeps/unix/utime.c: Moved ...
61377         * sysdeps/posix/utime.c: ... here.
61379         * sysdeps/unix/time.c: Moved ...
61380         * sysdeps/posix/time.c: ... here.
61381         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61382         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61384         * sysdeps/unix/nice.c: Moved ...
61385         * sysdeps/posix/nice.c: ... here.
61387         * sysdeps/unix/alarm.c: Moved ...
61388         * sysdeps/posix/alarm.c: ... here.
61390         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61392 2012-08-17  Jeff Law <law@redhat.com>
61394         * intl/Makefile (codeset_mo): New variable.
61395         ($(codeset_mo)): New target.
61396         (tst-codeset.out): Depend on that.  Remove explicit rule.
61397         (tst-gettext3.out, tst-gettext5.out): Likewise.
61398         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61399         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61400         * intl/tst-codeset.sh: Remove.
61401         * intl/tst-gettext3.sh: Likewise.
61402         * intl/tst-gettext5.sh: Likewise.
61404 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61406         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61407         * sysdeps/unix/syscalls.list: ... here.
61409         * sysdeps/posix/getaddrinfo.c
61410         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61411         (gaiconf_init, gaiconf_reload): Use them.
61412         [!_STATBUF_ST_NSEC]
61413         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61414         Define using time_t rather than struct timespec.
61416         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61417         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61418         Macros removed.
61419         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61420         [!NO_THREADS].
61421         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61422         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61423         Likewise.
61425         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61426         __libc_cleanup_push argument.
61428         * bits/param.h: New file.
61429         * misc/sys/param.h: New file.
61430         * include/sys/param.h: New file.
61431         * misc/Makefile (headers): Add bits/param.h.
61432         * sysdeps/generic/sys/param.h: File removed.
61433         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61434         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61435         * sysdeps/mach/hurd/bits/param.h: New file.
61436         * sysdeps/mach/hurd/sys/param.h: File removed.
61438         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61439         last change.
61441         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61442         [_IO_MTSAFE_IO].
61443         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61444         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61445         New macros.
61447         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61448         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61449         rather than -D_IO_MTSAFE_IO conditionally.
61450         * stdio-common/Makefile (CPPFLAGS): Likewise.
61451         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61452         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61453         Use $(libio-mtsafe).
61454         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61455         of -D_IO_MTSAFE_IO.
61456         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61457         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61458         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61459         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61460         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61461         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61462         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61463         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61464         (CFLAGS-fread_u_chk.c): Likewise.
61465         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61466         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61467         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61468         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61469         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61470         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61471         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61472         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61473         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61475         * libio/Makefile: Test [$(libc-reentrant) = yes]
61476         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61478         * Makeconfig
61479         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61480         * sysdeps/pthread/configure: File removed.
61481         * sysdeps/pthread/Makeconfig: New file.
61482         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61483         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61485 2012-08-16  Gary Benson  <gbenson@redhat.com>
61487         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61488         unmapping the first object in a namespace.
61490 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61492         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61493         (__internal_setnetgrent): ... this.  Add internal_function to
61494         definition.  Add libc_hidden_def.
61495         (setnetgrent): Update caller.
61496         (internal_endnetgrent): Renamed to ...
61497         (__internal_endnetgrent): ... this.  Add internal_function to
61498         definition.  Add libc_hidden_def.
61499         (endnetgrent): Update caller.
61500         (internal_getnetgrent_r): Renamed to ...
61501         (__internal_getnetgrent_r): ... this.  Add internal_function to
61502         definition.  Add libc_hidden_def.
61503         (__getnetgrent_r): Update caller.
61504         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61506 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61508         * stdlib/longlong.h: Update from GCC.
61510 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61512         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61513         on _QL, which is set by umul_ppmm but never used.
61514         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61515         variables, which are set by GMP macros but never used.
61516         * stdio-common/_itowa.c (_itowa): Likewise.
61517         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61518         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61520 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61522         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61523         struct La_sh_regs is not constant.
61524         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61525         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61526         and struct La_sparc64_regs are not constant.
61528 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61530         * sysdeps/unix/sysv/linux/kernel-features.h
61531         (__ASSUME_POSIX_TIMERS): Remove.
61532         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61533         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61534         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61535         Make code unconditional.
61536         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61537         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61538         Make code unconditional.
61539         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61540         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61541         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61542         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61543         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61544         Make code unconditional.
61545         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61546         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61547         (__libc_missing_posix_timers): Remove.
61549 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61551         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61552         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61554         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61556         * elf/dl-sym.c: Include <stdlib.h>.
61558         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61559         constants, which avoids warnings in 32-bit builds.
61561         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61562         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61564         * misc/lseek.c: File moved to ...
61565         * io/lseek.c: ... here.
61567         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61569         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61570         shifting LEN more than 31 bits at once.
61572 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61574         [BZ #14195]
61575         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61576         segmentation fault for a case of two empty input strings.
61577         * string/test-strncasecmp.c (check1): Renamed to...
61578         (bz12205): ...this.
61579         (bz14195): Add new testcase for two empty input strings and N > 0.
61580         (test_main): Call new testcase, adapt for renamed function.
61582 2012-08-15  Andreas Jaeger  <aj@suse.de>
61584         [BZ #14090]
61585         * crypt/md5test2.c: New test, based on test supplied by Serge
61586         Belyshev <belyshev@depni.sinp.msu.ru>.
61587         * crypt/Makefile (xtests): Add md5test-giant..
61588         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61590 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61592         [BZ #14090]
61593         * crypt/md5.c (md5_process_block): Don't assume the buffer
61594         length is less than 2**32.
61595         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61596         length is less than 2**64.
61598 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61600         * string/str-two-way.h: Include <sys/param.h>.
61601         (MAX): Macro removed.
61603         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61604         Move #define and #undef of memmove to just before and after
61605         including <string.h>.
61607         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61608         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61609         and after including <string.h>.  Move declarations of
61610         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61611         to before #include "string/memmove.c".
61613         * include/dirent.h: Declare __getdirentries.
61615         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61616         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61618 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61620         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61621         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61622         * sysdeps/i386/configure: Regenerated.
61623         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61624         STABS_CURRENT_FILE, and STABS_FUN.
61625         (END): Remove call to STABS_FUN_END.
61626         (STABS_CURRENT_FILE1): Delete.
61627         (STABS_CURRENT_FILE): Likewise.
61628         (STABS_FUN): Likewise.
61629         (STABS_FUN_END): Likewise.
61630         (STABS_FUN2): Likewise.
61631         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61632         * sysdeps/x86_64/configure: Regenerated.
61634 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61636         * elf/dl-open.c: Include <atomic.h>.
61637         * elf/dl-lookup.c: Likewise.
61639 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61641         * sysdeps/unix/sysv/linux/kernel-features.h
61642         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61643         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61644         unconditionally.
61645         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61646         unconditionally.
61647         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61648         condition on __ASSUME_CLONE_THREAD_FLAGS.
61650 2012-08-14  Andreas Jaeger  <aj@suse.de>
61652         * sysdeps/i386/fpu/libm-test-ulps: Update.
61654 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61656         * include/atomic.h (atomic_exchange_and_add): Split into ...
61657         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61658         New atomic macros.
61660 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61664 2012-08-13  Jeff Law <law@redhat.com>
61666         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61667         null byte in the output string.
61669 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61671         * sysdeps/unix/sysv/linux/kernel-features.h
61672         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61673         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61674         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61675         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61676         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61677         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61678         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61680 2012-08-09  Jeff Law <law@redhat.com>
61682         [BZ #13939]
61683         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61684         When avoid_arena is set, don't retry in the that arena.  Pick the
61685         next one, whatever it might be.
61686         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61687         (arena_lock): Pass in new parameter to arena_get2.
61688         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61689         arena_get2.
61690         (__libc_malloc): Unify retrying after main arena failure with
61691         __libc_memalign version.
61692         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61694 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61696         [BZ #14166]
61697         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61698         to __redirect_strstr.
61699         (__strstr_sse42): Use typeof __redirect_strstr.
61700         (__strstr_ia32): Likewise.
61701         (__libc_strstr): New prototype.
61702         (strstr): Renamed to ...
61703         (__libc_strstr): This.
61704         (strstr): New strong alias of __libc_strstr.
61705         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61706         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61707         __redirect_time.
61708         Include <time.h>.
61709         (__libc_time): New prototype.
61710         (time_ifunc): Replace time with __libc_time.
61711         (time): New strong alias and hidden definition of __libc_time.
61712         (__GI_time): Remove strong alias.
61713         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61714         Include <stddef.h>.
61715         (memmove): Redefined to __redirect_memmove.
61716         (__memmove_sse2): Use typeof __redirect_memmove.
61717         (__memmove_ssse3): Likewise.
61718         (__memmove_ssse3_back): Likewise.
61719         (__libc_memmove): New prototype.
61720         (memmove): Renamed to ...
61721         (__libc_memmove): This.
61722         (memmove): New strong alias of __libc_memmove.
61724 2012-08-08  Mark Salter  <msalter@redhat.com>
61726         * elf/elf.h
61727         (R_MN10300_TLS_GD): Define.
61728         (R_MN10300_TLS_LD): Likewise.
61729         (R_MN10300_TLS_LDO): Likewise.
61730         (R_MN10300_TLS_GOTIE): Likewise.
61731         (R_MN10300_TLS_IE): Likewise.
61732         (R_MN10300_TLS_LE): Likewise.
61733         (R_MN10300_TLS_DTPMOD): Likewise.
61734         (R_MN10300_TLS_DTPOFF): Likewise.
61735         (R_MN10300_TLS_TPOFF): Likewise.
61736         (R_MN10300_SYM_DIFF): Likewise.
61737         (R_MN10300_ALIGN): Likewise.
61738         (R_MN10300_NUM): Update.
61740 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61742         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61743         Remove.
61745 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61747         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61749         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61750         sysdeps/unix -> sysdeps/posix move.
61751         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61753 2012-08-07      Allan McRae     <allan@archlinux.org>
61755         [BZ #14303]
61756         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61757         (SUNOS_CPP): Likewise.
61758         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61759         not found.
61760         (open_input): Call CPP using execvp.
61762 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61764         * sysdeps/unix/sysv/linux/kernel-features.h
61765         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61766         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61767         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61768         (__ASSUME_WAITID_SYSCALL): Likewise.
61769         * sysdeps/unix/sysv/linux/dl-execstack.c
61770         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61771         code unconditional.
61772         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61773         conditional code.
61774         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61775         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61776         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61777         code.
61778         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61779         unconditional.
61780         [__ASSUME_WAITID_SYSCALL]: Likewise.
61781         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61783 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61785         * sysdeps/unix/closedir.c: Renamed to ...
61786         * sysdeps/posix/closedir.c: ... here.
61787         * sysdeps/unix/dirfd.c: Renamed to ...
61788         * sysdeps/posix/dirfd.c: ... here.
61789         * sysdeps/unix/dirstream.h: Renamed to ...
61790         * sysdeps/posix/dirstream.h: ... here.
61791         * sysdeps/unix/fdopendir.c: Renamed to ...
61792         * sysdeps/posix/fdopendir.c: ... here.
61793         * sysdeps/unix/opendir.c: Renamed to ...
61794         * sysdeps/posix/opendir.c: ... here.
61795         * sysdeps/unix/readdir.c: Renamed to ...
61796         * sysdeps/posix/readdir.c: ... here.
61797         * sysdeps/unix/readdir_r.c: Renamed to ...
61798         * sysdeps/posix/readdir_r.c: ... here.
61799         * sysdeps/unix/rewinddir.c: Renamed to ...
61800         * sysdeps/posix/rewinddir.c: ... here.
61801         * sysdeps/unix/seekdir.c: Renamed to ...
61802         * sysdeps/posix/seekdir.c: ... here.
61803         * sysdeps/unix/telldir.c: Renamed to ...
61804         * sysdeps/posix/telldir.c: ... here.
61805         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61806         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61807         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61808         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61810         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61811         * bits/fcntl.h: ... here.
61813         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61814         not 0.
61815         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61816         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61817         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61818         (struct flock): Move l_start, l_len to the beginning.
61819         Use __pid_t for l_pid.
61820         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61821         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61822         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61823         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61824         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61825         [__USE_LARGEFILE64] (struct flock64): New type.
61826         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61828         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61829         * bits/dirent.h: ... here.
61831         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61832         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61834 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61836         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61837         Change from 2.6.0 to 2.6.16.
61838         * sysdeps/unix/sysv/linux/configure: Regenerated.
61839         * sysdeps/unix/sysv/linux/kernel-features.h
61840         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61841         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61842         version.
61843         (__ASSUME_UTIMES): Likewise.
61844         (__ASSUME_CLONE_STOPPED): Remove.
61845         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61846         architectures, not kernel version.
61847         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61848         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61849         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61850         (__ASSUME_WAITID_SYSCALL): Likewise.
61851         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61852         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61853         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61854         refer to older versions.
61856 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61858         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61859         Define alphasort64 as an alias.
61860         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61861         Define versionsort64 as an alias.
61862         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61863         Define scandir64 as an alias.
61864         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61865         Define scandirat64 as an alias.
61866         * dirent/alphasort64.c (alphasort64):
61867         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61868         * dirent/versionsort64.c: Likewise.
61869         * dirent/scandir64.c: Likewise.
61870         * dirent/scandirat64.c: Likewise.
61871         * sysdeps/wordsize-64/alphasort.c: File removed.
61872         * sysdeps/wordsize-64/alphasort64.c: File removed.
61873         * sysdeps/wordsize-64/scandir.c: File removed.
61874         * sysdeps/wordsize-64/scandir64.c: File removed.
61875         * sysdeps/wordsize-64/scandirat.c: File removed.
61876         * sysdeps/wordsize-64/scandirat64.c: File removed.
61877         * sysdeps/wordsize-64/versionsort.c: File removed.
61878         * sysdeps/wordsize-64/versionsort64.c: File removed.
61879         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61880         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61881         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61882         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61883         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61884         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61885         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61886         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61888         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61890         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61892         [defined __arch64__ || defined __sparcv9]
61893         (__INO_T_MATCHES_INO64_T): New macro.
61894         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61895         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61896         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61897         * sysdeps/unix/sysv/linux/bits/dirent.h
61898         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61899         (_DIRENT_MATCHES_DIRENT64): New macro.
61901         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61902         Define lockf64 as an alias.
61903         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61904         Define fseeko64 as an alias.
61905         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61906         Define ftello64 as an alias.
61907         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61908         Define _IO_fgetpos64 and fgetpos64 as aliases.
61909         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61910         Define _IO_fsetpos64 and fsetpos64 as aliases.
61911         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61912         Conditionalize body on this.
61913         * libio/fseeko64.c: Likewise.
61914         * libio/ftello64.c: Likewise.
61915         * libio/iofgetpos64.c: Likewise.
61916         * libio/iofsetpos64.c: Likewise.
61917         * sysdeps/wordsize-64/lockf.c: File removed.
61918         * sysdeps/wordsize-64/lockf64.c: File removed.
61919         * sysdeps/wordsize-64/fseeko.c: File removed.
61920         * sysdeps/wordsize-64/fseeko64.c: File removed.
61921         * sysdeps/wordsize-64/ftello.c: File removed.
61922         * sysdeps/wordsize-64/ftello64.c: File removed.
61923         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61924         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61925         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61926         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61927         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61928         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61929         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61930         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61931         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61932         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61933         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61934         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61935         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61936         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61938         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61939         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61940         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61941         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61942         [defined __arch64__ || defined __sparcv9]
61943         (__OFF_T_MATCHES_OFF64_T): New macro.
61944         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61945         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61947         (__OFF_T_MATCHES_OFF64_T): New macro.
61949 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61951         * stdlib/secure-getenv.c (__secure_getenv): Replace
61952         GLIBC_2_16 with GLIBC_2_17.
61954 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61956         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61957         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61959 2012-08-03  David S. Miller  <davem@davemloft.net>
61961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61963 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61965         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61966         Remove.
61967         (__ASSUME_CORRECT_SI_PID): Likewise.
61968         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61969         (__ASSUME_TMPFS_NAME): Likewise.
61970         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61971         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61972         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61973         (HAVE_AUX_SECURE): Make definition unconditional.
61974         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61975         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61977 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61979         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61980         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61981         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61982         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61983         __eloop_threshold instead of SYMLOOP_MAX.
61985         * sysdeps/generic/eloop-threshold.h: New file.
61986         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61987         of MAXSYMLINKS.
61988         * elf/chroot_canon.c (chroot_canon): Likewise.
61990 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61992         [BZ #13717]
61993         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61994         Change to 2.6.0 everywhere.
61995         * sysdeps/unix/sysv/linux/configure: Regenerated.
61996         * sysdeps/unix/sysv/linux/kernel-features.h
61997         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61998         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61999         kernel versions.
62000         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62001         (__ASSUME_FUTEX_REQUEUE): Remove.
62002         (__ASSUME_STATFS64): Define unconditionally.
62003         (__ASSUME_AT_SECURE): Likewise.
62004         (__ASSUME_CORRECT_SI_PID): Likewise.
62005         (__ASSUME_TGKILL): Define without depending on kernel version for
62006         i386.
62007         (__ASSUME_UTIMES): Likewise.
62008         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62009         kernel version.
62010         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62011         (__ASSUME_TMPFS_NAME): Likewise.
62012         * README: Update reference to Linux kernel versions.
62014 2012-08-02  Marek Polacek  <polacek@redhat.com>
62016         [BZ# 14150]
62017         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62018         libc_cv_asm_type_prefix with %.
62019         * configure: Regenerated.
62020         * include/libc-symbols.h: Remove comment about
62021         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62022         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62023         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62024         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62025         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62026         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62027         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62028         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62029         * elf/tst-unique2mod1.c: Likewise.
62030         * elf/tst-unique1mod2.c: Likewise.
62031         * elf/tst-unique1mod1.c: Likewise.
62032         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62033         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62034         Replace ASM_TYPE_DIRECTIVE with .type.
62035         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62036         * sysdeps/i386/sysdep.h: Likewise.
62037         * sysdeps/x86_64/sysdep.h: Likewise.
62038         * sysdeps/sh/sysdep.h: Likewise.
62039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62040         Do not define ASM_TYPE_DIRECTIVE.
62041         * sysdeps/powerpc/sysdep.h: Likewise.
62042         * sysdeps/powerpc/powerpc32/sysdep.h:
62043         Replace ASM_TYPE_DIRECTIVE with .type.
62044         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62045         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62046         * sysdeps/i386/fpu/e_powf.S: Likewise.
62047         * sysdeps/i386/fpu/e_expl.S: Likewise.
62048         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62049         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62050         * sysdeps/i386/fpu/e_pow.S: Likewise.
62051         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62052         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62053         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62054         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62055         * sysdeps/i386/fpu/e_log2.S: Likewise.
62056         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62057         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62058         * sysdeps/i386/fpu/e_powl.S: Likewise.
62059         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62060         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62061         * sysdeps/i386/fpu/e_logl.S: Likewise.
62062         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62063         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62064         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62065         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62066         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62067         * sysdeps/i386/fpu/e_log.S: Likewise.
62068         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62069         * sysdeps/i386/fpu/e_logf.S: Likewise.
62070         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62071         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62072         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62073         * sysdeps/i386/fpu/e_log10.S: Likewise.
62074         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62075         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62076         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62077         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62078         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62079         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62080         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62081         * sysdeps/i386/i686/strtok.S: Likewise.
62082         * sysdeps/i386/i386-mcount.S: Likewise.
62083         * sysdeps/i386/strtok.S: Likewise.
62084         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62085         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62086         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62087         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62088         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62089         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62090         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62091         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62092         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62093         * sysdeps/x86_64/_mcount.S: Likewise.
62094         * sysdeps/x86_64/strtok.S: Likewise.
62095         * sysdeps/sh/_mcount.S: Likewise.
62097 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62099         * libio/iofopen.c: Include <fcntl.h>.
62100         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62101         (_IO_fopen64, fopen64): Define as aliases.
62102         * libio/iofopen64.c: Include <fcntl.h>.
62103         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62104         Conditionalize body on this.
62105         * sysdeps/wordsize-64/iofopen.c: File removed.
62106         * sysdeps/wordsize-64/iofopen64.c: File removed.
62108 2012-08-01  Marek Polacek  <polacek@redhat.com>
62110         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62111         Use dlfcn directly instead of a variable.
62112         (binfmt-subdir): Do not define.
62113         (dlfcn): Likewise.
62115 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62117         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62118         Remove all definitions.
62119         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62120         <kernel-features.h>.
62121         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62122         (miss_F_GETOWN_EX): Remove all definitions.
62123         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62124         macro definition.
62125         [!__ASSUME_FCNTL64]: Remove conditional code.
62126         [__ASSUME_FCNTL64]: Make code unconditional.
62127         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62128         <kernel-features.h>.
62129         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62130         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62131         (lockf64) [__NR_fcntl64]: Make code unconditional.
62132         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62134         * sysdeps/unix/sysv/linux/kernel-features.h
62135         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62136         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62137         Make code unconditional.
62138         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62139         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62141         [__NR_vfork]: Make code unconditional.
62142         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62143         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62145         [__NR_vfork]: Make code unconditional.
62146         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62147         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62149 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62151         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62152         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62154         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62155         Define mkstemp64 as an alias.
62156         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62157         Define mkstemps64 as an alias.
62158         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62159         Define mkostemp64 as an alias.
62160         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62161         Define mkostemps64 as an alias.
62162         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62163         Conditionalize body on this.
62164         * misc/mkostemp64.c: Likewise.
62165         * misc/mkostemps64.c: Likewise.
62166         * misc/mkstemps64.c: Likewise.
62167         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62168         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62169         * sysdeps/wordsize-64/mkostemp.c: File removed.
62170         * sysdeps/wordsize-64/mkstemp.c: File removed.
62171         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62172         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62173         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62174         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62176         [BZ #14138]
62177         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62178         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62179         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62180         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62182         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62183         compat_symbol macros from <shlib-compat.h> rather than the underlying
62184         default_symbol_version and symbol_version macros, so that DEFAULT
62185         lines in shlib-versions are respected.
62186         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62188 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62190         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62191         Declare with warn_unused_result.
62192         (setgid, setregid, setegid, setresgid): Likewise.
62193         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62194         Likewise.
62195         * WUR-REPORT: Remove set*id functions.
62197 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62199         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62201 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62203         [BZ #10191]
62204         * include/sys/socket.h (__libc_accept, __libc_accept4):
62205         Add attribute_hidden.
62206         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62208         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62209         use of PTR_MANGLE.
62210         * inet/getnetgrent_r.c (setup): Likewise.
62212         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62214 2012-07-31  David S. Miller  <davem@davemloft.net>
62216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62218 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62220         [BZ #13629]
62221         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62222         value between 1.0 and 2.0 and smaller part has absolute value less
62223         than 1.0.
62224         * math/s_clog10.c (__clog10): Likewise.
62225         * math/s_clog10f.c (__clog10f): Likewise.
62226         * math/s_clog10l.c (__clog10l): Likewise.
62227         * math/s_clogf.c (__clogf): Likewise.
62228         * math/s_clogl.c (__clogl): Likewise.
62229         * math/libm-test.inc (clog_test): Add more tests.
62230         (clog10_test): Likewise.
62231         * sysdeps/i386/fpu/libm-test-ulps: Update.
62232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62234 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62236         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62237         Exit with zero in case no suitable GID is found, and write a
62238         message to standard error.
62240 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62242         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62243         rather than to 1.
62244         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62245         (MAXPATHLEN): Removed.
62246         (NOGROUP, NODEV): New macros.
62247         (setbit, clrbit, isset, isclr): New macros.
62248         (howmany, roundup, powerof2): New macros.
62249         (DEV_BSIZE): New macro.
62251         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62252         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62254         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62255         definition on [!__NO_LONG_DOUBLE_MATH].
62257         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62258         PTR_MANGLE and PTR_DEMANGLE.
62260         * socket/accept4.c (accept4): Rename to __libc_accept4.
62261         Define accept4 as a weak alias.
62263         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62264         on [_DIRENT_HAVE_D_TYPE].
62265         * io/ftw.c (ftw_dir): Likewise.
62267         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62269         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62271         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62272         Use the BSD numbers rather than the arbitrary ones we had.
62273         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62274         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62275         (SIGXCPU, SIGXFSZ): New macros.
62276         (_NSIG): Now 32.
62278         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62279         initializer on [_LIBC_REENTRANT].
62281         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62282         definitions inside [_POSIX_MAPPED_FILES].
62284         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62286         * dirent/opendir.c: Include <fcntl.h>.
62288         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62289         (__libc_getspecific): Likewise.
62290         (__libc_key_create): Likewise.
62292         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62293         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62294         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62295         (tmpfile64): Define as alias.
62296         * sysdeps/wordsize-64/tmpfile.c: File removed.
62297         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62298         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62299         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62301         * stdio-common/vfscanf.c: Include <stdbool.h>.
62302         * nss/makedb.c: Likewise.
62303         * stdio-common/_i18n_number.h: Likewise.
62304         * argp/argp-help.c: Likewise.
62305         * posix/wordexp.c: Likewise.
62306         * sysdeps/posix/spawni.c: Likewise.
62307         * nss/nss_files/files-initgroups.c: Likewise.
62308         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62309         * nss/nss_files/files-initgroups.c: Likewise.
62310         * nss/nss_db/db-netgrp.c: Likewise.
62311         * nss/nss_db/db-initgroups.c: Likewise.
62312         * io/fchmodat.c: Include <sys/stat.h>.
62314         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62315         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62317         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62318         [HAVE_MMAP].
62320         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62321         Add multiple inclusion protection.
62323 2012-07-27  David S. Miller  <davem@davemloft.net>
62325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62327 2012-07-27  Gary Benson  <gbenson@redhat.com>
62329         [BZ #14298]
62330         * elf/rtld.c: Include <stap-probe.h>.
62331         (dl_main): Added static probes "init_start" and "init_complete".
62332         * elf/dl-load.c: Include <stap-probe.h>.
62333         (lose): Take new parameter "nsid".
62334         Added static probe "map_failed".
62335         (_dl_map_object_from_fd): Pass namespace id to lose.
62336         Added static probe "map_start".
62337         (open_verify): Pass namespace id to lose.
62338         * elf/dl-open.c: Include <stap-probe.h>.
62339         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62340         and "reloc_complete".
62341         * elf/dl-close.c: Include <stap-probe.h>.
62342         (_dl_close_worker): Added static probes "unmap_start" and
62343         "unmap_complete".
62344         * elf/rtld-debugger-interface.txt: New file documenting the above.
62346 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62348         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62349         rather than a string variable.
62350         * sunrpc/rpc_main.c (h_output): Likewise.
62351         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62353 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62355         * inet/check_native.c: New file.
62357 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62359         [BZ #13629]
62360         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62361         if larger part has absolute value 1.0.
62362         * math/s_clog10.c (__clog10): Likewise.
62363         * math/s_clog10f.c (__clog10f): Likewise.
62364         * math/s_clog10l.c (__clog10l): Likewise.
62365         * math/s_clogf.c (__clogf): Likewise.
62366         * math/s_clogl.c (__clogl): Likewise.
62367         * math/libm-test.inc (clog_test): Add more tests.
62368         (clog10_test): Likewise.
62369         * sysdeps/i386/fpu/libm-test-ulps: Update.
62370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62372         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62373         (pltexit): Likewise.
62374         (La_regs): Likewise.
62375         (La_retval): Likewise.
62376         (int_retval): Likewise.
62377         Update #error for removed macros to refer only to definitions in
62378         tst-audit.h.
62379         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62380         macro.
62381         (pltexit): Likewise.
62382         (La_regs): Likewise.
62383         (La_retval): Likewise.
62384         (int_retval): Likewise.
62385         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62386         macro.
62387         (pltexit): Likewise.
62388         (La_regs): Likewise.
62389         (La_retval): Likewise.
62390         (int_retval): Likewise.
62391         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62392         macro.
62393         (pltexit): Likewise.
62394         (La_regs): Likewise.
62395         (La_retval): Likewise.
62396         (int_retval): Likewise.
62397         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62398         macro.
62399         (pltexit): Likewise.
62400         (La_regs): Likewise.
62401         (La_retval): Likewise.
62402         (int_retval): Likewise.
62403         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62404         macro.
62405         (pltexit): Likewise.
62406         (La_regs): Likewise.
62407         (La_retval): Likewise.
62408         (int_retval): Likewise.
62409         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62410         macro.
62411         (pltexit): Likewise.
62412         (La_regs): Likewise.
62413         (La_retval): Likewise.
62414         (int_retval): Likewise.
62415         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62416         macro definitions in tst-audit.h.
62417         * sysdeps/i386/tst-audit.h: New file.
62418         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62419         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62420         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62421         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62422         * sysdeps/sh/tst-audit.h: Likewise.
62423         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62424         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62425         * sysdeps/x86_64/tst-audit.h: Likewise.
62427 2012-07-26  Andreas Jaeger  <aj@suse.de>
62429         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62430         ptrace.
62432         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62433         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62434         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62435         PTRACE_O_MASK.
62436         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62437         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62438         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62440         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62441         value.
62443         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62444         _sigsys.
62445         (si_call_addr, si_syscall, si_arch): Define new macro.
62446         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62447         _sigsys.
62448         (si_call_addr, si_syscall, si_arch): Define new marcro.
62449         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62450         _sigsys.
62451         (si_call_addr, si_syscall, si_arch): Define new macro.
62452         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62453         _sigsys.
62454         (si_call_addr, si_syscall, si_arch): Define new macro.
62456 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62458         [BZ #13717]
62459         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62460         Change to 2.4.21 where previously 2.4.1.
62461         * sysdeps/unix/sysv/linux/configure: Regenerated.
62462         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62463         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62464         Linux kernel version.
62465         (__ASSUME_STD_AUXV): Remove.
62466         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62467         kernel version.
62468         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62469         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62470         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62471         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62472         (__ASSUME_NETLINK_SUPPORT): Likewise.
62473         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62474         (__no_netlink_support): Remove conditional definition.
62475         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62476         Remove.
62477         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62478         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62479         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62480         (if_nameindex_ioctl): Remove.
62481         (if_nameindex_netlink): Do not handle __no_netlink_support.
62482         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62483         code.
62484         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62485         Remove conditional code.
62486         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62487         code.
62488         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62489         unconditional.
62490         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62491         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62492         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62493         Remove.
62494         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62495         [!__ASSUME_STD_AUXV]: Remove conditional code.
62496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62497         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62498         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62500         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62501         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62502         code.
62503         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62505         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62506         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62507         conditional code.
62508         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62510         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62511         code.
62512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62513         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62514         conditional code.
62515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62516         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62517         code unconditional.
62518         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62519         conditional code.
62520         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62521         unconditional.
62522         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62523         conditional code.
62524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62525         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62526         unconditional.
62527         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62528         conditional code.
62529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62530         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62531         code unconditional.
62532         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62533         conditional code.
62534         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62535         unconditional.
62536         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62537         conditional code.
62538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62539         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62540         code unconditional.
62541         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62542         conditional code.
62543         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62544         unconditional.
62545         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62546         conditional code.
62548 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62550         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62551         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62552         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62553         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62554         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62555         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62556         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62557         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62558         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62559         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62560         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62561         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62562         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62563         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62564         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62565         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62566         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62567         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62568         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62570         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62571         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62572         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62574 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62576         * Versions.def: Add GLIBC_2.17.
62577         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62578         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62579         Introduce __libc_secure_getenv.
62580         * stdlib/Versions (2.17): Add secure_getenv
62581         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62582         * stdlib/secure-getenv.c: Rename __secure_getenv to
62583         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62584         symbol __secure_getenv for GLIBC_2.0.
62585         * stdlib/tst-secure-getenv.c: New.
62586         * stdlib/Makefile (tests): Add testcase.
62587         * manual/startup.texi (Environment Access): Document
62588         secure_getenv.
62589         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62590         __libc_secure_getenv.
62591         * inet/ruserpass.c (ruserpass): Likewise.
62592         * malloc/mtrace.c (mtrace): Likewise.
62593         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62594         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62595         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62596         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62597         HAVE_SECURE_GETENV.
62598         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62599         __secure_getenv to __libc_secure_getenv.
62600         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62602         Likewise.
62603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62604         Likewise.
62605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62607         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62613 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62615         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62616         (struct La_i86_retval): Likewise.
62617         (struct La_x86_64_regs): Likewise.
62618         (struct La_x86_64_retval): Likewise.
62619         (struct La_x32_regs): Likewise.
62620         (struct La_x32_retval): Likewise.
62621         (struct La_ppc32_regs): Likewise.
62622         (struct La_ppc32_retval): Likewise.
62623         (struct La_ppc64_regs): Likewise.
62624         (struct La_ppc64_retval): Likewise.
62625         (struct La_sh_regs): Likewise.
62626         (struct La_sh_retval): Likewise.
62627         (struct La_s390_32_regs): Likewise.
62628         (struct La_s390_32_retval): Likewise.
62629         (struct La_s390_64_regs): Likewise.
62630         (struct La_s390_64_retval): Likewise.
62631         (struct La_sparc32_regs): Likewise.
62632         (struct La_sparc32_retval): Likewise.
62633         (struct La_sparc64_regs): Likewise.
62634         (struct La_sparc64_retval): Likewise.
62635         (struct audit_ifaces): Remove architecture-specific pltenter and
62636         pltexit members.
62637         * sysdeps/i386/ldsodefs.h: New file.
62638         * sysdeps/powerpc/ldsodefs.h: Likewise.
62639         * sysdeps/s390/ldsodefs.h: Likewise.
62640         * sysdeps/sh/ldsodefs.h: Likewise.
62641         * sysdeps/sparc/ldsodefs.h: Likewise.
62642         * sysdeps/x86_64/ldsodefs.h: Likewise.
62644 2012-07-25  Marek Polacek  <polacek@redhat.com>
62646         [BZ #6808]
62647         * math/libm-test.inc (yn_test): Add another test.
62648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62649         to ERANGE when the result is +-Inf.
62650         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62651         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62652         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62653         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62655 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62657         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62658         equal to 0.
62659         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62660         clock_t.
62661         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62663 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62665         * configure.in <sysdeps resolving>: Correct printing
62666         Implies_before.
62667         * configure: Regenerate.
62669 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62671         * math/w_ilogb.c: Include <limits.h>.
62672         * math/w_ilogbl.c: Likewise.
62674 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62676         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62677         va_copy.  Document allowing for unavailable va_copy only as
62678         pre-C99 compatibility.
62679         * manual/string.texi (Copying and Concatenation): Use va_copy
62680         instead of __va_copy in concat example.
62682 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62684         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62685         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62686         it if not null.
62688         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62689         with O_NOLINK passed to __file_name_lookup.
62691         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62692         with O_NOLINK passed to __file_name_lookup.
62694         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62695         negative N or less than NGIDS.
62697         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62698         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62699         enough.  Use memcpy instead of strncpy.
62701 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62703         * elf/Makefile (check-data): Remove.
62704         (localplt.data): New vpath directive.
62705         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62706         instead of $(check-data).
62707         * scripts/data/localplt-generic.data: Move to ...
62708         * sysdeps/generic/localplt.data: ... here.
62709         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62710         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62711         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62713         ... here.
62714         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62716         ... here.
62717         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62719         ... here.
62720         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62722         ... here.
62723         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62725         ... here.
62726         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62728         ... here.
62730 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62732         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62733         PPC32 and PPC64 files.
62734         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62735         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62737 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62739         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62740         __makecontext_ret to ...
62741         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62742         ... here and call exit if uc_link is NULL.  New file.
62743         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62744         __makecontext_ret.S.
62745         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62746         __makecontext_ret to ...
62747         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62748         ... here and call exit if uc_link is NULL.  New file.
62749         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62750         __makecontext_ret.S.
62752 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62754         * elf/elf.h (R_390_IRELATIVE): New definition.
62755         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62756         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62757         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62759         (elf_machine_lazy_rel): Likewise.
62760         * sysdeps/s390/dl-irel.h: New file.
62761         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62762         * sysdeps/s390/s390-64/memset.S: New asm code.
62763         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62764         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62765         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62766         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62767         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62768         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62769         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62770         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62771         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62772         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62773         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62774         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62775         * sysdeps/s390/s390-32/memset.S: New asm code.
62776         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62778 2012-07-17  Marek Polacek  <polacek@redhat.com>
62780         [BZ #14349]
62781         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62782         * sysdeps/s390/s390-64/configure.in: Likewise.
62783         * sysdeps/sparc/configure.in: Likewise.
62784         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62785         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62786         * sysdeps/i386/configure.in: Likewise.
62787         * sysdeps/x86_64/configure.in: Likewise.
62788         * sysdeps/sh/configure.in: Likewise.
62789         * sysdeps/s390/s390-32/configure: Regenerated.
62790         * sysdeps/s390/s390-64/configure: Likewise.
62791         * sysdeps/x86_64/configure: Likewise.
62792         * sysdeps/sh/configure: Likewise.
62793         * sysdeps/powerpc/powerpc64/configure: Likewise.
62794         * sysdeps/powerpc/powerpc32/configure: Likewise.
62795         * sysdeps/sparc/configure: Likwise.
62796         * sysdeps/i386/configure: Likewise.
62798         * elf/dl-open.c: Comment fixes.
62800 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62802         * Makefile [CXX] (check-data): Remove.
62803         [CXX] (c++-types.data): New vpath directive.
62804         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62805         vpath.  Do not allow for C++ type data being missing.
62806         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62807         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62808         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62809         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62810         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62811         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62812         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62814         ... here.
62815         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62817         ... here.
62818         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62820         ... here.
62821         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62823         ... here.
62824         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62826         ... here.
62827         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62829         ... here.
62830         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62832         ... here.
62833         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62836         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62837         definitions to architecture-specific files.
62838         (TLS_IE): Likewise.
62839         (TLS_LD): Likewise.
62840         (TLS_GD): Likewise.
62841         * sysdeps/i386/tls-macros.h: New file.
62842         * sysdeps/powerpc/tls-macros.h: Likewise.
62843         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62844         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62845         * sysdeps/sh/tls-macros.h: Likewise.
62846         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62847         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62848         * sysdeps/x86_64/tls-macros.h: Likewise.
62850 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62852         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62853         zero value for regular exit case.
62855         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62856         (__start_context): Preserve zero value for regular exit case.
62858 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62859             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62861         * manual/setjmp.texi (setcontext): Clarify normal process
62862         termination when uc_link is the null pointer.
62863         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62864         exit call.
62866 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62868         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62869         preprocessor.  Test for each exception mask separately.
62871 2012-07-16  Andreas Jaeger  <aj@suse.de>
62873         * po/ru.po: Update from translation team.
62875 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62877         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62878         equal to 0.
62879         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62880         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62881         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62882         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62883         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62885 2012-07-13  Andreas Jaeger  <aj@suse.de>
62887         * po/fr.po: Update from translation team.
62889 2012-07-12  Marek Polacek  <polacek@redhat.com>
62891         [BZ #14173]
62892         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62894         loop condition.
62896 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62898         [BZ #13717]
62899         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62900         Change to 2.4.1 where previously 2.4.0.
62901         * sysdeps/unix/sysv/linux/configure: Regenerated.
62902         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62903         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62904         version.
62905         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62906         (__ASSUME_AT_CLKTCK): Remove.
62907         (__ASSUME_AT_PAGESIZE): Likewise.
62908         (__ASSUME_AT_XID): Likewise.
62909         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62910         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62911         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62912         unconditionally.
62913         (HAVE_AUX_PAGESIZE): Likewise.
62914         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62915         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62916         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62918 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62920         [BZ #14307]
62921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62922         the temporary buffer used to invoke __gethostbyname2_r,
62923         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62924         host_data / struct gaih_addrtuple.
62925         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62926         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62927         header file nss/nsswitch.h.
62928         * nss/nsswitch.h (global scope): Add definition of implementation
62929         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62930         resolv/nss_dns/dns-host.c).
62932 2012-07-11  Andreas Jaeger  <aj@suse.de>
62934         * po/fr.po: Update from translation team.
62936         * po/sv.po: Update from translation team
62937         * po/fr.po: Another update from translation team.
62939 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62941         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62942         for subnormals or multiply small sinh result by itself.
62943         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62946 2012-07-11  David S. Miller  <davem@davemloft.net>
62948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62950 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62952         [BZ #14347]
62953         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62954         (INTERNAL_MARK): Shift it here.
62956 2012-07-10  Marek Polacek  <polacek@redhat.com>
62958         [BZ #14151]
62959         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62960         libc_cv_asm_global_directive with .globl.
62961         * configure: Regenerated.
62962         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62963         with .globl.
62964         * sysdeps/i386/configure: Regenerated.
62965         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62966         with .globl.
62967         * sysdeps/x86_64/configure: Regenerated.
62968         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62969         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62970         * elf/tst-unique2mod2.c: Likewise.
62971         * elf/tst-unique2mod1.c: Likewise.
62972         * elf/tst-unique1mod2.c: Likewise.
62973         * elf/tst-unique1mod1.c: Likewise.
62974         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62975         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62976         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62977         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62978         * sysdeps/mach/sysdep.h: Likewise.
62979         * sysdeps/i386/sysdep.h: Likewise.
62980         * sysdeps/i386/i386-mcount.S: Likewise.
62981         * sysdeps/x86_64/_mcount.S: Likewise.
62982         * sysdeps/x86_64/sysdep.h: Likewise.
62983         * sysdeps/sh/_mcount.S: Likewise.
62984         * sysdeps/sh/sysdep.h: Likewise.
62985         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62986         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62987         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62988         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62989         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62990         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62991         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62992         * locale/localeinfo.h: Likewise.
62993         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62994         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62996 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62998         [BZ #14336]
62999         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63000         system".
63001         * manual/message.texi (The Uniforum approach): Likewise.
63002         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63003         (glibc iconv Implementation): Likewise.
63005 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63007         [BZ #14337]
63008         * math/s_clog.c (__clog): Avoid scaling a value down where that
63009         could result in underflow.
63010         * math/s_clog10.c (__clog10): Likewise.
63011         * math/s_clog10f.c (__clog10f): Likewise.
63012         * math/s_clog10l.c (__clog10l): Likewise.
63013         * math/s_clogf.c (__clogf): Likewise.
63014         * math/s_clogl.c (__clogl): Likewise.
63015         * math/libm-test.inc (clog_test): Add more tests.
63016         (clog10_test): Likewise.
63017         * sysdeps/i386/fpu/libm-test-ulps: Update.
63018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63020 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63022         [BZ #14283]
63023         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63024         by 7 not 8 to examine high bit of fractional part.
63026         [BZ #14042]
63027         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63028         for call to __mcount_internal.
63029         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63030         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63031         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63033 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63035         [BZ #14154]
63036         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63037         approximation for values within 0x1p-13f of an odd multiple of
63038         pi/4.
63039         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63040         exception.  Add more tests.
63041         * sysdeps/i386/fpu/libm-test-ulps: Update.
63043         [BZ #6778]
63044         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63045         inputs and return -1 for them.  Do not check for +Inf in case not
63046         reachable for +Inf.
63047         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63048         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63049         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63050         and return -1 for them.  Do not check for +Inf in case not
63051         reachable for +Inf.
63052         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63053         define.
63054         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63055         and return -1 for them.  Do not check for +Inf in case not
63056         reachable for +Inf.
63057         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63058         spurious underflow.
63059         * sysdeps/i386/fpu/libm-test-ulps: Update.
63060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63062 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63064         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63066 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63068         [BZ #14157]
63069         [BZ #14331]
63070         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63071         could result in spurious underflow.  Scale down values above
63072         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63073         * math/s_csqrtf.c (__csqrtf): Likewise.
63074         * math/s_csqrtl.c (__csqrtl): Likewise.
63075         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63076         spurious underflow.
63077         * sysdeps/i386/fpu/libm-test-ulps: Update.
63078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63080 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63082         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63083         xopen-msg.sed.
63084         * catgets/xopen-msg.awk: New file.
63085         * catgets/xopen-msg.sed: Removed.
63087         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63088         po2text.sed.
63089         * intl/po2test.awk: New file.
63090         * intl/po2test.sed: Removed.
63092 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63094         [BZ #14328]
63095         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63096         or multiply small sinh result by itself.
63097         * math/s_ctanf.c (__ctanf): Likewise.
63098         * math/s_ctanh.c (__ctanh): Likewise.
63099         * math/s_ctanhf.c (__ctanhf): Likewise.
63100         * math/s_ctanhl.c (__ctanhl): Likewise.
63101         * math/s_ctanl.c (__ctanl): Likewise.
63102         * math/libm-test.inc (ctan_test_tonearest): New function.
63103         (ctan_test_towardzero): Likewise.
63104         (ctan_test_downward): Likewise.
63105         (ctan_test_upward): Likewise.
63106         (ctanh_test_tonearest): Likewise.
63107         (ctanh_test_towardzero): Likewise.
63108         (ctanh_test_downward): Likewise.
63109         (ctanh_test_upward): Likewise.
63110         (main): Call these new functions.
63111         * sysdeps/i386/fpu/libm-test-ulps: Update.
63112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63114 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63116         * .gitignore: Delete /ports entry.
63118 2012-07-03  Andreas Jaeger  <aj@suse.de>
63120         * po/bg.po: Update from translation team.
63121         * po/cs.po: Likewise.
63122         * po/de.po: Likewise.
63123         * po/hr.po: Likewise.
63124         * po/nl.pl: Likewise.
63125         * po/pl.po: Likewise.
63126         * po/vi.po: Likewise.
63128 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63130         * Makeconfig [!+link] (+link-before-libc): New variable.
63131         [!+link] (+link-after-libc): Likewise.
63132         [!+link] (+link-tests): Likewise.
63133         [!+link] (+link): Define in terms of $(+link-before-libc) and
63134         $(+link-after-libc).
63135         [!+link-static] (+link-static-before-libc): New variable.
63136         [!+link-static] (+link-static-after-libc): Likewise.
63137         [!+link-static] (+link-static-tests): Likewise.
63138         [!+link-static] (+link-static): Define in terms of
63139         $(+link-static-before-libc) and $(+link-static-after-libc).
63140         [build-shared] (link-libc-before-gnulib): New variable.
63141         [build-shared] (link-libc-tests): Likewise.
63142         [build-shared] (link-libc): Define in terms of
63143         $(link-libc-before-gnulib).
63144         [!build-shared] (link-libc-tests): New variable.
63145         (link-libc-static-tests): New variable.
63146         [!gnulib] (gnulib-arch): New variable.
63147         [!gnulib] (gnulib-tests): Likewise.
63148         [!gnulib] (static-gnulib-arch): Likewise.
63149         [!gnulib] (static-gnulib-tests): Likewise.
63150         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63151         Define with "=" instead of ":=".
63152         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63153         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63154         * Rules (binaries-all-notests): New variable.
63155         (binaries-all-tests): Likewise.
63156         (binaries-static-notests): Likewise.
63157         (binaries-static-tests): Likewise.
63158         (binaries-all): Define using $(binaries-all-notests) and
63159         $(binaries-all-tests).
63160         (binaries-static): Define using $(binaries-static-notests) and
63161         $(binaries-static-tests).
63162         (binaries-shared-tests): New variable.
63163         (binaries-shared-notests): Likewise.
63164         (binaries-shared): Remove variable.
63165         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63166         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63167         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63168         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63169         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63170         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63171         * elf/Makefile (sln-modules): New variable.
63172         (extra-objs): Add $(sln-modules:=.o).
63173         (ldconfig-modules): Add static-stubs.
63174         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63175         * elf/static-stubs.c: New file.
63177         [BZ #14283]
63178         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63179         by 7 not 8 to examine high bit of fractional part.  Use volatile
63180         variables when splitting into final array of floats if
63181         __FLT_EVAL_METHOD__ != 0.
63182         * math/libm-test.inc (cos_test): Add another test.
63183         (sin_test): Likewise.
63184         * sysdeps/i386/fpu/libm-test-ulps: Update.
63186         [BZ #14273]
63187         * math/libm-test.inc (cosh_test): Add more tests.
63189         * version.h (RELEASE): Set to "development".
63190         (VERSION): Set to "2.16.90".
63192 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63194         * NEWS: Update copyright. Remove last-updated date.
63195         Mention math library bug fixes and timezone data changes.
63196         * README: Mention GNU/Hurd, x32, and HPPA support status.
63198 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63200         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63202 2012-06-27  Andreas Jaeger  <aj@suse.de>
63204         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63206 2012-06-25  Andreas Jaeger  <aj@suse.de>
63208         * sysdeps/s390/fpu/libm-test-ulps: Update.
63210 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63211             Thomas Schwinge  <thomas@codesourcery.com>
63213         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63214         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63215         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63216         fanotify_mark.
63218 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63220         * sysdeps/mach/start.c: Remove file.
63221         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63222         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63223         * sysdeps/sh/init-first.c: Likewise.
63225         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63226         registers for frame unwinding purposes, add CFI directives.
63227         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63228         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63229         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63230         Likewise.
63232         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63233         __fortify_fail returning.
63234         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63236         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63237         sysdeps/sh/____longjmp_chk.S.
63238         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63239         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63240         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63241         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63243         * sysdeps/sh/abort-instr.h: New file.
63244         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63245         process in case exit returns.
63247         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63248         initialize the GOT register before use.
63250         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63251         calculation of ARGC > 4.
63253         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63254         meaningful names to some local labels.
63256 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63257             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63259         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63260         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63261         (__arch_compare_and_exchange_val_16_acq): Likewise.
63262         (__arch_compare_and_exchange_val_32_acq): Likewise.
63263         (atomic_exchange_and_add): Fix gUSA sequence.
63264         (atomic_add): Likewise.
63265         (atomic_add_negative): Likewise.
63266         (atomic_add_zero): Likewise.
63267         (atomic_bit_test_set): Likewise.
63269 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63271         [BZ #13579]
63272         * include/link.h (struct link_map): Add l_free_initfini.
63273         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63274         l_initfini.
63275         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63276         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63277         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63278         set.
63280 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63282         * configure.in: Use AC_LANG_SOURCE.
63283         * configure: Regenerate.
63285 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63287         * configure.in (libc_cv_localstatedir): New substituted variable.
63288         * configure: Regenerated.
63289         * config.make.in (localstatedir): New variable, substituted from
63290         libc_cv_localstatedir.
63291         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63292         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63293         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63294         * sysdeps/gnu/configure: Regenerated.
63296 2012-06-21  Jeff Law  <law@redhat.com>
63298         [BZ #14277]
63299         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63300         free.  Simplify list management for _LIBC case.
63302 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63304         [BZ #14273]
63305         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63306         Clear sign bit of 64-bit integer value before comparing against
63307         overflow value.
63309         * sysdeps/mach/configure: Regenerated.
63311 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63313         [BZ #14278]
63314         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63316 2012-06-21  Jeff Law  <law@redhat.com>
63318         [BZ #13882]
63319         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63320         uint16_t for elements in the "seen" array to avoid char overflows.
63321         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63322         * elf/dl-open.c (dl_open_worker): Likewise.
63324 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63326         * scripts/list-sources.sh: Scan PORTS for translations.
63327         * po/libc.pot: Regenerated.
63329 2012-06-21  Andreas Jaeger  <aj@suse.de>
63331         [BZ #12194]
63332         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63333         warning.
63334         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63335         * bits/byteswap-16.h (__bswap_16): Likewise.
63336         * bits/byteswap.h (__bswap_constant_16): Likewise.
63338 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63340         [BZ #14117]
63341         * sysdeps/i386/fpu_control.h: Removed.
63342         * sysdeps/x86_64/fpu_control.h: Moved to ...
63343         * sysdeps/x86/fpu_control.h: Here.
63345         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63346         (_FPU_SETCW): Likewise.
63348 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63350         [BZ #14117]
63351         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63352         * sysdeps/x86/fpu/bits/mathinline.h: This.
63353         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63355         [BZ #14050]
63356         [BZ #14117]
63357         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63358         functions if __x86_64__ is defined.
63360 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63362         * string/endian.h: Add !__ASSEMBLER__ condition for including
63363         conversion interfaces.
63365 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63367         [BZ #14241]
63368         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63369         of ABS(x) in calculating zero to negative powers other than odd
63370         integers.
63371         * math/libm-test.inc (pow_test): Add more tests.
63373 2012-06-15  Andreas Jaeger  <aj@suse.de>
63375         * manual/contrib.texi (Contributors): Update entry of Liubov
63376         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63377         Machado Filho.
63379 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63381         * string/string.h: Add __wur to GNU version of strerror_r.
63383 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63385         [BZ #14229]
63386         * string/Makefile (tests): Add tst-strtok_r.
63387         * string/tst-strtok_r.c: New file.
63388         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63389         RAX_LP/RDX_LP on SAVE_PTR.
63391 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63393         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63395 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63397         * libm_test.inc (csqrt_test): Allow more spurious underflow
63398         exceptions.
63399         (j0_test): Likewise.
63400         (j1_test): Likewise.
63401         (y0_test): Likewise.
63402         (y1_test): Likewise.
63404 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63406         * po/Makefile (libc.pot): Use UTF-8 charset.
63408 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63410         [BZ #14210]
63411         Suppress sign-conversion warning from FD_SET.
63412         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63413         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63414         not unsigned long int.
63415         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63417 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63419         [BZ #14050]
63420         [BZ #14117]
63421         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63422         __extern_always_inline instead of __extern_inline.
63423         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63424         (__signbit): Likewise.
63425         (__signbitl): Support C++ namespace.
63426         (lrintf): New inline function.
63427         (lrint): Likewise.
63428         (llrintf): Likewise.
63429         (llrint): Likewise.
63430         (fmaxf): Likewise.
63431         (fmax): Likewise.
63432         (fminf): Likewise.
63433         (fmin): Likewise.
63434         (rint): Likewise.
63435         (rintf): Likewise.
63436         (ceil): Likewise.
63437         (ceilf): Likewise.
63438         (floor): Likewise.
63439         (floorf): Likewise.
63440         (nearbyint): Likewise.
63441         (nearbyintf): Likewise.
63443 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63445         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63446         non-default versions.
63448 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63450         [BZ #14218]
63451         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63453 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63455         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63456         (FE_UPWARD, FE_DOWNWARD): Don't define.
63457         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63458         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63460         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63461         reading it.
63462         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63463         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63465 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63467         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63468         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63469         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63470         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63472 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63474         [BZ #14117]
63475         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63476         * sysdeps/i386/fpu/Implies: New file.
63477         * sysdeps/x86_64/fpu/Implies: Likewise.
63478         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63479         * sysdeps/x86/fpu/bits/fenv.h: This.
63481         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63482         __SSE_MATH__.
63484 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63486         [BZ #14134]
63487         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63488         character 0xffff that matches the last element of the
63489         conversion table.
63491 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63493         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63494         fmodl commit.
63496 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63498         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63499         values higher than 25.6283.
63501 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63504         subnormal exponent extraction and add some __builtin_expect.
63505         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63506         Fix for subnormal mantissa calculation.
63508 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63510         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63511         cpu2 is -1 and errno is not ENOSYS.
63513 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63515         [BZ #14117]
63516         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63517         * sysdeps/x86/bits/string.h: This.
63518         * sysdeps/x86_64/bits/string.h: Removed.
63520         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63521         if not compiling for x86-64, but compiling for >= i486.
63523         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63524         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63526         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63527         New macro from Linux kernel 3.4.0.
63528         (FP_XSTATE_MAGIC2): Likewise.
63529         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63530         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63531         (struct _fpx_sw_bytes): New struct.
63532         (struct _xsave_hdr): Likewise.
63533         (struct _ymmh_state): Likewise.
63534         (struct _xstate): Likewise.
63536         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63537         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63538         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63539         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63540         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63541         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63543         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63544         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63545         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63546         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63547         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63548         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63550 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63552         [BZ #13743]
63553         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63554         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63555         (sysdep_headers): Include sys/platform/ppc.h.
63556         * sysdeps/powerpc/test-gettimebase.c: Test for
63557         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63558         * manual/Makefile (appendices): Include platform.texi.
63559         * manual/contrib.texi (Contributors): Update @node pointers.
63560         * manual/maint.texi (Maintenance): Likewise.
63561         (Platform): New node.
63562         * manual/platform.texi: New file.  Document the new features.
63564 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63565             Jakub Jelinek  <jakub@redhat.com>
63567         [BZ #14188]
63568         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63569         where __builtin_expect is unavailable.
63571 2012-06-03  David S. Miller  <davem@davemloft.net>
63573         * stdlib/longlong.h: Updated from GCC.
63575 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63577         [BZ #14042]
63578         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63579         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63580         __mcount_internal.
63581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63582         (GLIBC_2.16): Likewise.
63584 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63586         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63588 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63591         (default-abi): New variable.
63592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63593         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63594         variable.
63595         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63596         Likewise.
63597         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63598         Likewise.
63599         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63600         Likewise.
63602         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63603         definition.  Document in comment.
63605 2012-06-01  David S. Miller  <davem@davemloft.net>
63607         * stdlib/longlong.h: Updated from GCC.
63609 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63611         [BZ #14117]
63612         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63613         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63614         sys/debugreg.h sys/io.h here.
63615         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63616         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63617         sys/io.h.
63618         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63619         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63620         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63621         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63622         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63623         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63625         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63626         Define only if __x86_64__ is defined.
63628 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63630         [BZ #14048]
63631         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63632         Use int64_t for variable i.
63633         * math/libm-test.inc (fmod_test): Add more tests.
63635         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63636         z computation is not scheduled after fetestexcept.
63637         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63638         Use math_force_eval instead of asm to ensure calculation scheduled
63639         before exception test.
63640         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63641         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63643 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63646         computation is not scheduled after fetestexcept.
63648 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63650         [BZ #14117]
63651         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63652         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63654 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63656         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63657         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63659 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63661         [BZ #14117]
63662         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63663         <bits/wordsize.h>.
63664         (__WCHAR_MIN): Support __WORDSIZE == 64.
63665         (__WCHAR_MAX): Likewise.
63667         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63668         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63670         [BZ #14183]
63671         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63672         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63674         [BZ #14117]
63675         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63676         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63678         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63679         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63681         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63682         Defined to 1 if __x86_64__ isn't defined.
63683         (_STAT_VER_LINUX_OLD): New.
63684         (st_atime): Remove duplicate.
63685         (st_mtime): Likewise.
63686         (st_ctime): Likewise.
63688 2012-05-31  David S. Miller  <davem@davemloft.net>
63690         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63691         entries.
63693 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63695         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63696         gen-libm-test.pl.
63698         [BZ #14132]
63699         * elf/dl-reloc.c: Include <_itoa.h>.
63700         (_dl_reloc_bad_type): Remove use of INTUSE.
63701         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63702         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63703         * stdio-common/psiginfo.c (psiginfo): Likewise.
63704         * stdio-common/psignal.c (psignal): Likewise.
63705         * string/strsignal.c (strsignal): Likewise.
63706         * include/signal.h (_sys_siglist): Declare hidden proto.
63707         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63708         INTVARDEF with libc_hidden_data_def.
63709         * stdio-common/itoa-udigits.c: Likewise.
63710         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63711         (_itoa_lower_digits_internal): Remove declaration.
63712         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63713         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63714         (_sys_sigabbrev_internal): Remove aliases.
63715         (_sys_siglist): Define hidden alias.
63717 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63720         bits/sysctl.h.
63722 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63724         [BZ #14117]
63725         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63726         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63728         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63729         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63730         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63731         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63732         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63733         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63735         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63736         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63737         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63739         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63740         with __addr.
63741         (insw): Likewise.
63742         (insl): Likewise.
63743         (outsb): Likewise.
63744         (outsw): Likewise.
63745         (outsl): Likewise.
63747         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63748         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63749         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63751         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63752         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63753         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63754         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63755         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63756         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63758         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63759         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63761         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63762         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63764         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63765         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63766         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63768         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63769         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63770         to ...
63771         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63773         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63774         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63775         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63777         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63778         for x86-64.
63779         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63781 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63783         * math/math.h (M_El): Use two more decimal places.
63784         (M_LOG2El): Likewise.
63785         (M_LOG10El): Likewise.
63786         (M_LN2l): Likewise.
63787         (M_LN10l): Likewise.
63788         (M_PIl): Likewise.
63789         (M_PI_2l): Likewise.
63790         (M_PI_4l): Likewise.
63791         (M_1_PIl): Likewise.
63792         (M_2_PIl): Likewise.
63793         (M_2_SQRTPIl): Likewise.
63794         (M_SQRT2l): Likewise.
63795         (M_SQRT1_2l): Likewise.
63797 2012-05-31  David S. Miller  <davem@davemloft.net>
63799         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63800         values between float registers.
63801         * sysdeps/sparc/sparc64/memset.S: Likewise.
63802         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63804 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63806         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63807         -D_FORTIFY_SOURCE=1.
63808         (CPPFLAGS-tst-longjmp_chk.c): Define.
63809         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63810         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63811         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63812         CFLAGS-tst-wchar-h.c.
63814 2012-05-31  Marek Polacek  <polacek@redhat.com>
63816         [BZ #14132]
63817         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63818         __endmntent_internal): Remove declaration.
63819         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63820         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63821         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63823 2012-05-30  David S. Miller  <davem@davemloft.net>
63825         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63826         (___Q_simulate_exceptions): Use real FP ops rather than writing
63827         into the %fsr.
63828         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63829         Likewise.
63831 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63833         [BZ #14117]
63834         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63835         * sysdeps/x86/bits/xtitypes.h: This.
63837         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63838         * sysdeps/x86/bits/wordsize.h: This.
63840         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63841         * sysdeps/x86/bits/huge_vall.h: This.
63843         * sysdeps/i386/bits/select.h: Removed.
63844         * sysdeps/x86_64/bits/select.h: Renamed to ...
63845         * sysdeps/x86/bits/select.h: This.
63847         * sysdeps/i386/bits/setjmp.h: Removed.
63848         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63849         * sysdeps/x86/bits/setjmp.h: This.
63851         * sysdeps/i386/bits/mathdef.h: Removed.
63852         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63853         * sysdeps/x86/bits/mathdef.h: This.
63855 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63857         [BZ #14132]
63858         * include/sys/socket.h (__connect_internal)
63859         (__libc_sa_len_internal): Remove declaration.
63860         (__connect, __libc_sa_len): Declare hidden_proto.
63861         (SA_LEN): Remove use of INTUSE.
63862         * socket/connect.c: Add libc_hidden_def.
63863         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63864         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63865         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63866         alias.
63867         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63868         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63869         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63870         of adding _internal alias.
63872 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63874         [BZ #14117]
63875         * sysdeps/i386/bits/link.h: Removed.
63876         * sysdeps/i386/bits/linkmap.h: Likewise.
63877         * sysdeps/x86_64/bits/link.h: Renamed to ...
63878         * sysdeps/x86/bits/link.h: This.
63879         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63880         * sysdeps/x86/bits/linkmap.h: This.
63882         * sysdeps/i386/bits/endian.h: Removed.
63883         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63884         * sysdeps/x86/bits/endian.h: This.
63886         * sysdeps/i386/bits/byteswap.h: Removed.
63887         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63888         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63889         * sysdeps/x86/bits/byteswap.h: This.
63890         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63891         * sysdeps/x86/bits/byteswap-16.h: This.
63892         * sysdeps/i386/Implies: Add x86.
63893         * sysdeps/x86_64/Implies: Likewise.
63895 2012-05-30  David S. Miller  <davem@davemloft.net>
63897         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63898         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63899         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63900         (FP_TRAPPING_EXCEPTIONS): Define.
63901         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63902         (FP_TRAPPING_EXCEPTIONS): Define.
63903         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63904         subnormals only when inexact has been signalled or underflow
63905         exceptions are enabled.
63906         (_FP_PACK_CANONICAL): Likewise.
63908 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63910         [BZ #14183]
63911         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63912         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63914 2012-05-30  Richard Henderson  <rth@twiddle.net>
63916         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63917         with #ifndef NOT_IN_libc.
63919         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63920         marked to avoid plt entry.
63922 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63924         [BZ #14112]
63925         * Makeconfig (default-abi): New macro.
63926         (abi-includes): Likewise.
63927         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63928         $(abi-$(default-abi)-lib-soname) for soname if defined.
63929         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63930         abi-variants.
63931         * Makefile (installed-stubs): Likewise.
63932         * include/stubs-biarch.h: Removed.
63933         * scripts/lib-names.awk: Only handle one library at a time.
63934         * scripts/soversions.awk: Remove WORDSIZE support.
63935         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63936         entries.
63937         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63938         Removed.
63939         (syscall-list-default-condition): Likewise.
63940         (syscall-list-default-condition): Likewise.
63941         (syscall-list-includes): Likewise.
63942         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63943         syscall-list-* with abi-*.  Handle undefined abi-variants.
63944         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63945         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63946         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63947         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63948         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63949         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63950         Removed.
63951         (syscall-list-32-options): Likewise.
63952         (syscall-list-32-condition): Likewise.
63953         (syscall-list-64-options): Likewise.
63954         (syscall-list-64-condition): Likewise.
63955         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63956         macro.
63957         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63958         Renamed to ...
63959         (abi-*): This.
63960         (abi-64-ld-soname): New macro.
63961         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63962         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63963         Renamed to ...
63964         (abi-*): This.
63965         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63966         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63968 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63970         * sysdeps/unix/sysv/linux/kernel-features.h
63971         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63972         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63973         include <kernel-features.h>.
63974         [!__NR_ftruncate64]: Remove conditional code.
63975         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63976         [__NR_ftruncate64]: Make code unconditional.
63977         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63978         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63979         include <kernel-features.h>.
63980         [!__NR_ftruncate64]: Remove conditional code.
63981         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63982         [__NR_ftruncate64]: Make code unconditional.
63983         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63985         include <kernel-features.h>.
63986         [!__NR_ftruncate64]: Remove conditional code.
63987         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63988         [__NR_ftruncate64]: Make code unconditional.
63989         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63991         include <kernel-features.h>.
63992         [!__NR_ftruncate64]: Remove conditional code.
63993         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63994         [__NR_ftruncate64]: Make code unconditional.
63995         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63997         * configure.in (libc_cv_fpie): Weaken to a compile test using
63998         LIBC_TRY_CC_OPTION.
63999         * configure: Regenerated.
64001 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64007         Refreshed.
64008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64014         Refreshed.
64016 2012-05-27  David S. Miller  <davem@davemloft.net>
64018         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64019         (___Q_zero): New.
64020         (__Q_simulate_exceptions): Return void.  Change to simulate
64021         exceptions by writing into the %fsr.
64022         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64023         (__Qp_handle_exceptions): Likewise.
64024         (numbers): Delete.
64025         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64026         __Qp_handle_exceptions.
64027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64028         __Qp_handle_exceptions.
64029         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64030         as unused and give dummy FP_RND_NEAREST initializer.
64031         (FP_INHIBIT_RESULTS): Define.
64032         (___Q_simulate_exceptions): Update declaration.
64033         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64034         formatting.
64035         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64036         as unused and give dummy FP_RND_NEAREST initializer.
64037         (__Qp_handle_exceptions): Update declaration.
64038         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64039         formatting.
64041 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64043         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64044         the temporary FPU control word.
64045         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64046         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64047         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64048         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64049         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64050         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64051         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64052         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64053         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64054         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64055         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64057 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64059         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64060         fields.
64062 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64064         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64065         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64066         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64067         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64068         Likewise.
64069         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64070         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64071         Likewise.
64073 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64075         * po/h.po: Update from translation team.
64077 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64079         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64081         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64082         handling of denormals.
64083         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64084         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64085         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64086         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64087         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64088         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64089         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64090         Likewise.
64092 2012-05-26  Marek Polacek  <polacek@redhat.com>
64094         [BZ #14152]
64095         * math/libm-test.inc (fma_test): Don't always expect underflow
64096         exception.
64098 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64100         [BZ #12416]
64101         * elf/tst-execstack.c: Include stackinfo.h.
64102         (do_test): Adjust test case to ensure that pthread_getattr_np
64103         behaviour remains the same after marking stack executable.
64105 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64107         * sysdeps/unix/sysv/linux/kernel-features.h
64108         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64109         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64110         kernel-features.h.
64111         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64112         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64113         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64114         kernel-features.h.
64115         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64116         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64118 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64120         * configure.in: Define the default includes to being none.
64121         * configure: Regenerated.
64123 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64125         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64126         * sysdeps/x86_64/setjmp.S: Likewise.
64127         * sysdeps/i386/bsd-setjmp.S: Likewise.
64128         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64129         * sysdeps/i386/setjmp.S: Likewise.
64130         * sysdeps/i386/__longjmp.S: Likewise.
64131         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64132         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64134         * include/stap-probe.h: New file.
64135         * configure.in: Handle --enable-systemtap.
64136         * configure: Regenerated.
64137         * config.h.in (USE_STAP_PROBE): New #undef.
64138         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64139         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64140         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64142 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64144         [BZ #13717]
64145         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64146         to 2.4.0 where earlier.
64147         * sysdeps/unix/sysv/linux/configure: Regenerated.
64148         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64149         <kernel-features.h>.
64150         [__ASSUME_32BITUIDS]: Make code unconditional.
64151         [!__ASSUME_32BITUIDS]: Remove conditional code.
64152         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64153         <kernel-features.h>.
64154         [__ASSUME_32BITUIDS]: Make code unconditional.
64155         [!__ASSUME_32BITUIDS]: Remove conditional code.
64156         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64157         [__ASSUME_32BITUIDS]: Make code unconditional.
64158         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64159         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64160         <kernel-features.h>.
64161         [__ASSUME_32BITUIDS]: Make code unconditional.
64162         [!__ASSUME_32BITUIDS]: Remove conditional code.
64163         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64164         <kernel-features.h>.
64165         [__ASSUME_32BITUIDS]: Make code unconditional.
64166         [!__ASSUME_32BITUIDS]: Remove conditional code.
64167         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64168         <kernel-features.h>.
64169         [__ASSUME_32BITUIDS]: Make code unconditional.
64170         [!__ASSUME_32BITUIDS]: Remove conditional code.
64171         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64172         <kernel-features.h>.
64173         [__ASSUME_32BITUIDS]: Make code unconditional.
64174         [!__ASSUME_32BITUIDS]: Remove conditional code.
64175         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64176         <kernel-features.h>.
64177         [__ASSUME_32BITUIDS]: Make code unconditional.
64178         [!__ASSUME_32BITUIDS]: Remove conditional code.
64179         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64180         <kernel-features.h>.
64181         [__ASSUME_32BITUIDS]: Make code unconditional.
64182         [!__ASSUME_32BITUIDS]: Remove conditional code.
64183         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64184         <kernel-features.h>.
64185         [__ASSUME_32BITUIDS]: Make code unconditional.
64186         [!__ASSUME_32BITUIDS]: Remove conditional code.
64187         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64188         <kernel-features.h>.
64189         [__ASSUME_32BITUIDS]: Make code unconditional.
64190         [!__ASSUME_32BITUIDS]: Remove conditional code.
64191         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64192         <kernel-features.h>.
64193         [__ASSUME_32BITUIDS]: Make code unconditional.
64194         [!__ASSUME_32BITUIDS]: Remove conditional code.
64195         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64196         <kernel-features.h>.
64197         [__ASSUME_32BITUIDS]: Make code unconditional.
64198         [!__ASSUME_32BITUIDS]: Remove conditional code.
64199         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64200         <kernel-features.h>.
64201         [__NR_setresgid] (__setresgid): Do not declare.
64202         [__ASSUME_32BITUIDS]: Make code unconditional.
64203         [!__ASSUME_32BITUIDS]: Remove conditional code.
64204         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64205         <kernel-features.h>.
64206         [__NR_setresuid] (__setresuid): Do not declare.
64207         [__ASSUME_32BITUIDS]: Make code unconditional.
64208         [!__ASSUME_32BITUIDS]: Remove conditional code.
64209         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64210         <kernel-features.h>.
64211         [__ASSUME_32BITUIDS]: Make code unconditional.
64212         [!__ASSUME_32BITUIDS]: Remove conditional code.
64213         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64214         <kernel-features.h>.
64215         [__ASSUME_32BITUIDS]: Make code unconditional.
64216         [!__ASSUME_32BITUIDS]: Remove conditional code.
64217         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64218         <kernel-features.h>.
64219         [__ASSUME_32BITUIDS]: Make code unconditional.
64220         [!__ASSUME_32BITUIDS]: Remove conditional code.
64221         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64222         <kernel-features.h>.
64223         [__ASSUME_32BITUIDS]: Make code unconditional.
64224         [!__ASSUME_32BITUIDS]: Remove conditional code.
64225         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64226         <kernel-features.h>.
64227         [__ASSUME_32BITUIDS]: Make code unconditional.
64228         [!__ASSUME_32BITUIDS]: Remove conditional code.
64229         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64230         <kernel-features.h>.
64231         [__ASSUME_32BITUIDS]: Make code unconditional.
64232         [!__ASSUME_32BITUIDS]: Remove conditional code.
64233         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64234         <kernel-features.h>.
64235         [__ASSUME_32BITUIDS]: Make code unconditional.
64236         [!__ASSUME_32BITUIDS]: Remove conditional code.
64237         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64238         <kernel-features.h>.
64239         [__ASSUME_32BITUIDS]: Make code unconditional.
64240         [!__ASSUME_32BITUIDS]: Remove conditional code.
64241         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64242         <kernel-features.h>.
64243         [__ASSUME_32BITUIDS]: Make code unconditional.
64244         [!__ASSUME_32BITUIDS]: Remove conditional code.
64245         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64246         <kernel-features.h>.
64247         [__ASSUME_32BITUIDS]: Make code unconditional.
64248         [!__ASSUME_32BITUIDS]: Remove conditional code.
64249         * sysdeps/unix/sysv/linux/kernel-features.h
64250         (__ASSUME_SETRESUID_SYSCALL): Remove.
64251         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64252         (__ASSUME_32BITUIDS): Likewise.
64253         (__ASSUME_LDT_WORKS): Likewise.
64254         (__ASSUME_O_DIRECTORY): Likewise.
64255         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64256         architecture but not kernel version.
64257         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64258         (__ASSUME_MMAP2_SYSCALL): Likewise.
64259         (__ASSUME_STAT64_SYSCALL): Likewise.
64260         (__ASSUME_IPC64): Likewise.
64261         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64262         <kernel-features.h>.
64263         [__ASSUME_32BITUIDS]: Make code unconditional.
64264         [!__ASSUME_32BITUIDS]: Remove conditional code.
64265         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64266         <kernel-features.h>.
64267         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64268         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64269         132096]: Remove conditional code.
64270         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64271         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64272         <kernel-features.h>.
64273         [__ASSUME_32BITUIDS]: Make code unconditional.
64274         [!__ASSUME_32BITUIDS]: Remove conditional code.
64275         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64276         <kernel-features.h>.
64277         [__ASSUME_32BITUIDS]: Make code unconditional.
64278         [!__ASSUME_32BITUIDS]: Remove conditional code.
64279         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64280         <kernel-features.h>.
64281         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64282         unconditional.
64283         (__setresgid): Do not declare.
64284         [__ASSUME_32BITUIDS]: Make code unconditional.
64285         [!__ASSUME_32BITUIDS]: Remove conditional code.
64286         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64287         <kernel-features.h>.
64288         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64289         unconditional.
64290         (__setresuid): Do not declare.
64291         [__ASSUME_32BITUIDS]: Make code unconditional.
64292         [!__ASSUME_32BITUIDS]: Remove conditional code.
64293         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64294         <kernel-features.h>.
64295         [__ASSUME_32BITUIDS]: Make code unconditional.
64296         [!__ASSUME_32BITUIDS]: Remove conditional code.
64297         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64298         <kernel-features.h>.
64299         [__ASSUME_32BITUIDS]: Make code unconditional.
64300         [!__ASSUME_32BITUIDS]: Remove conditional code.
64302 2012-05-25  Richard Henderson  <rth@twiddle.net>
64304         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64305         dl_hwcap to ifunc resolver.
64306         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64307         elf_ifunc_invoke.
64308         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64309         dl_hwcap to ifunc resolver.
64310         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64312 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64314         [BZ #14153]
64315         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64316         for |x| <= 2**-26, not 2**-57.
64317         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64318         exception.
64320 2012-05-24  Jeff Law  <law@redhat.com>
64322         * stdio-common/Makefile (tests): Add bug25.
64323         * stdio-common/bug25.c: New test.
64325 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64327         [BZ #13576]
64328         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64329         multiple of MALLOC_ALIGNMENT in size.
64330         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64332 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64334         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64335         Require >= 256.
64336         (FILENAME_MAX): Use macro-int-constant.
64337         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64338         (_IOFBF): Use macro-int-constant.
64339         (_IOLBF): Likewise.
64340         (_IONBF): Likewise.
64341         (SEEK_CUR): Likewise.
64342         (SEEK_END): Likewise.
64343         (SEEK_SET): Likewise.
64344         (TMP_MAX): Likewise.
64345         (EOF): Use macro-int-constant.  Require < 0.
64346         (NULL): Use macro-constant.  Require == 0.
64347         (stdin): Require type to be FILE *.
64348         (stdout): Likewise.
64349         (stderr): Likewise.
64350         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64351         macro-int-constant.
64352         (EXIT_SUCCESS): Likewise.
64353         (NULL): Use macro-constant.  Require == 0.
64354         (RAND_MAX): Use macro-int-constant.
64355         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64356         [C99-based standards] (strtof): Require function.
64357         [C99-based standards] (strtold): Likewise.
64358         [C99-based standards] (strtoll): Likewise.
64359         [C99-based standards] (strtoull): Likewise.
64360         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64361         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64362         [ISO || ISO99 || ISO11] (math.h): Likewise.
64363         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64364         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64365         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64367 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64369         [BZ #14132]
64370         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64371         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64372         * intl/dgettext.c (DCGETTEXT): Likewise.
64373         * intl/gettext.c (DCGETTEXT): Likewise.
64374         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64375         * posix/regex_internal.h (gettext): Likewise.
64376         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64377         Remove declaration.
64378         * include/argz.h (__argz_count_internal)
64379         (__argz_stringify_internal): Remove declaration.
64380         (__argz_count, __argz_stringify): Declare hidden proto.
64381         * intl/dcgettext.c: Remove use of INTDEF.
64382         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64383         * string/argz-stringify.c: Likewise.
64384         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64385         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64386         Declare hidden proto.
64387         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64388         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64389         Declare hidden proto.
64390         * include/stdio.h (__asprintf_internal): Don't declare.
64391         (__asprintf): Don't define as macro.  Declare hidden proto.
64392         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64393         (__fsetlocking): Declare hidden proto.
64394         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64395         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64396         hidden proto.
64397         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64398         (_IO_setlinebuf): Remove use of INTUSE.
64399         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64400         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64401         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64402         Remove declaration.
64403         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64404         (_IO_do_flush): Remove use of INTUSE.
64405         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64406         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64407         (_IO_adjust_column, _IO_least_wmarker)
64408         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64409         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64410         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64411         (_IO_default_doallocate, _IO_wdefault_doallocate)
64412         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64413         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64414         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64415         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64416         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64417         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64418         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64419         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64420         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64421         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64422         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64423         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64424         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64425         proto.
64426         (_IO_flush_all_internal, _IO_adjust_column_internal)
64427         (_IO_default_uflow_internal, _IO_default_finish_internal)
64428         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64429         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64430         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64431         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64432         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64433         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64434         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64435         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64436         (_IO_file_close_internal, _IO_file_close_it_internal)
64437         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64438         (_IO_file_init_internal, _IO_file_attach_internal)
64439         (_IO_file_fopen_internal, _IO_file_read_internal)
64440         (_IO_file_sync_internal, _IO_file_seek_internal)
64441         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64442         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64443         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64444         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64445         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64446         (_IO_list_all_internal, _IO_link_in_internal)
64447         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64448         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64449         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64450         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64451         (_IO_do_write_internal, _IO_padn_internal)
64452         (_IO_getline_info_internal, _IO_getline_internal)
64453         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64454         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64455         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64456         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64457         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64458         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64459         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64460         with libc_hidden_ver, remove use of INTUSE.
64461         * libio/genops.c: Likewise.
64462         * libio/freopen.c: Likewise.
64463         * libio/freopen64.c: Likewise.
64464         * libio/iofclose.c: Likewise.
64465         * libio/iofdopen.c: Likewise.
64466         * libio/iofflush.c: Likewise.
64467         * libio/iofflush_u.c: Likewise.
64468         * libio/iofgets.c: Likewise.
64469         * libio/iofgets_u.c: Likewise.
64470         * libio/iofopen.c: Likewise.
64471         * libio/iofopncook.c: Likewise.
64472         * libio/iofread.c: Likewise.
64473         * libio/iofread_u.c: Likewise.
64474         * libio/ioftell.c: Likewise.
64475         * libio/iofwrite.c: Likewise.
64476         * libio/iogetline.c: Likewise.
64477         * libio/iogets.c: Likewise.
64478         * libio/iogetwline.c: Likewise.
64479         * libio/iopadn.c: Likewise.
64480         * libio/iopopen.c: Likewise.
64481         * libio/ioseekoff.c: Likewise.
64482         * libio/ioseekpos.c: Likewise.
64483         * libio/iosetbuffer.c: Likewise.
64484         * libio/iosetvbuf.c: Likewise.
64485         * libio/ioungetc.c: Likewise.
64486         * libio/ioungetwc.c: Likewise.
64487         * libio/iovdprintf.c: Likewise.
64488         * libio/iovsprintf.c: Likewise.
64489         * libio/iovsscanf.c: Likewise.
64490         * libio/memstream.c: Likewise.
64491         * libio/obprintf.c: Likewise.
64492         * libio/oldfileops.c: Likewise.
64493         * libio/oldiofclose.c: Likewise.
64494         * libio/oldiofdopen.c: Likewise.
64495         * libio/oldiofopen.c: Likewise.
64496         * libio/oldiopopen.c: Likewise.
64497         * libio/oldstdfiles.c: Likewise.
64498         * libio/putc.c: Likewise.
64499         * libio/setbuf.c: Likewise.
64500         * libio/setlinebuf.c: Likewise.
64501         * libio/stdfiles.c: Likewise.
64502         * libio/strops.c: Likewise.
64503         * libio/vasprintf.c: Likewise.
64504         * libio/vscanf.c: Likewise.
64505         * libio/vsnprintf.c: Likewise.
64506         * libio/vswprintf.c: Likewise.
64507         * libio/wfiledoalloc.c: Likewise.
64508         * libio/wfileops.c: Likewise.
64509         * libio/wgenops.c: Likewise.
64510         * libio/wmemstream.c: Likewise.
64511         * libio/wstrops.c: Likewise.
64512         * libio/__fpurge.c: Likewise.
64513         * libio/__fsetlocking.c: Likewise.
64514         * assert/assert.c: Likewise.
64515         * debug/fgets_chk.c: Likewise.
64516         * debug/fgets_u_chk.c: Likewise.
64517         * debug/fread_chk.c: Likewise.
64518         * debug/fread_u_chk.c: Likewise.
64519         * debug/gets_chk.c: Likewise.
64520         * debug/obprintf_chk.c: Likewise.
64521         * debug/vasprintf_chk.c: Likewise.
64522         * debug/vdprintf_chk.c: Likewise.
64523         * debug/vsnprintf_chk.c: Likewise.
64524         * debug/vsprintf_chk.c: Likewise.
64525         * malloc/mtrace.c: Likewise.
64526         * misc/error.c: Likewise.
64527         * misc/syslog.c: Likewise.
64528         * stdio-common/asprintf.c: Likewise.
64529         * stdio-common/fxprintf.c: Likewise.
64530         * stdio-common/getw.c: Likewise.
64531         * stdio-common/isoc99_fscanf.c: Likewise.
64532         * stdio-common/isoc99_scanf.c: Likewise.
64533         * stdio-common/isoc99_vfscanf.c: Likewise.
64534         * stdio-common/isoc99_vscanf.c: Likewise.
64535         * stdio-common/isoc99_vsscanf.c: Likewise.
64536         * stdio-common/printf-prs.c: Likewise.
64537         * stdio-common/printf_fp.c: Likewise.
64538         * stdio-common/printf_fphex.c: Likewise.
64539         * stdio-common/printf_size.c: Likewise.
64540         * stdio-common/putw.c: Likewise.
64541         * stdio-common/scanf.c: Likewise.
64542         * stdio-common/sprintf.c: Likewise.
64543         * stdio-common/tmpfile.c: Likewise.
64544         * stdio-common/vfprintf.c: Likewise.
64545         * stdio-common/vfscanf.c: Likewise.
64546         * stdlib/strfmon_l.c: Likewise.
64547         * sunrpc/openchild.c: Likewise.
64548         * sunrpc/xdr_stdio.c: Likewise.
64549         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64550         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64552 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64554         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64556         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64557         in the third column, to generate for the shared library an IFUNC
64558         that uses _dl_vdso_vsym.
64559         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64560         * Makeconfig (object-suffixes-noshared): New variable.
64562         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64563         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64564         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64565         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64567         [BZ #14132]
64568         * include/sys/time.h (__gettimeofday): Remove macro.
64569         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64570         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64571         Remove INTDEF.
64572         (__gettimeofday): Add libc_hidden_def.
64573         (gettimeofday): Add libc_hidden_weak.
64574         * sysdeps/mach/gettimeofday.c: Likewise.
64575         * sysdeps/posix/gettimeofday.c: Likewise.
64576         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64577         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64578         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64579         (__gettimeofday_internal): Remove strong_alias.
64580         (__gettimeofday): Add libc_hidden_def.
64581         (gettimeofday): Add libc_hidden_weak.
64582         * sysdeps/unix/syscalls.list (gettimeofday):
64583         Remove __gettimeofday_internal alias.
64585 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64586             H.J. Lu  <hongjiu.lu@intel.com>
64588         [BZ #12495]
64589         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64590         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64591         (largebin_index_32_big): New.
64592         (largebin_index): Use it for 16-byte alignment.
64593         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64594         correction with front_misalign.
64596 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64600         Likewise.
64601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64602         Likewise.
64603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64604         Likewise.
64605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64606         Likewise.
64607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64608         Likewise.
64609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64610         Likewise.
64611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64612         Likewise.
64613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64614         Likewise.
64615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64616         Likewise.
64617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64618         Likewise.
64619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64620         Likewise.
64621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64622         Likewise.
64624         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64625         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64627 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64629         [BZ #10846]
64630         [BZ #14036]
64631         * math/libm-test.inc (exp_test): Add test from bug 14036.
64632         (pow_test): Add test from bug 10846.
64634         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64635         and other flags.
64636         (special_function): Do not include flags in test name.
64637         (parse_args): Likewise.
64638         * sysdeps/i386/fpu/libm-test-ulps: Update.
64639         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64640         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64641         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64644         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64645         exceptions.
64646         * math/libm-test.inc ("Philosophy"): Update comment about
64647         exception testing.
64648         (UNDERFLOW_EXCEPTION): New macro.
64649         (UNDERFLOW_EXCEPTION_OK): Likewise.
64650         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64651         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64652         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64653         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64654         (INVALID_EXCEPTION_OK): Update value.
64655         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64656         (OVERFLOW_EXCEPTION_OK): Likewise.
64657         (IGNORE_ZERO_INF_SIGN): Likewise.
64658         (test_exceptions): Handle underflow exceptions.
64659         (acos_test): Update for underflow exception expectations.
64660         (cexp_test): Likewise.
64661         (clog_test): Likewise.
64662         (clog10_test): Likewise.
64663         (csqrt_test): Likewise.
64664         (ctan_test): Likewise.
64665         (ctanh_test): Likewise.
64666         (exp_test): Likewise.
64667         (exp10_test): Likewise.
64668         (exp2_test): Likewise.
64669         (expm1_test): Likewise.
64670         (fma_test): Likewise.
64671         (j0_test): Likewise.
64672         (jn_test): Likewise.
64673         (nexttoward_test): Likewise.
64674         (pow_test): Likewise.
64675         (scalbn_test): Likewise.
64676         (scalbln_test): Likewise.
64677         (tan_test): Likewise.
64678         (y1_test): Likewise.
64679         * sysdeps/i386/fpu/libm-test-ulps: Update.
64680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64682 2012-05-23  David S. Miller  <davem@davemloft.net>
64684         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64685         (__libc_sigaction): Remove unused local variables.
64687 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64689         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64691 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64693         mktime: avoid signed integer overflow
64694         * time/mktime.c (__mktime_internal): Do not mishandle the case
64695         where diff == INT_MIN.
64697         mktime: simplify computation of average
64698         * time/mktime.c (ranged_convert): Use new time_t_avg function
64699         instead of rolling our own (probably-slower) code.
64701         mktime: do not assume signed right shift propagates sign bit
64702         * time/mktime.c (isdst_differ): New static function.
64703         (__mktime_internal): No need to normalize tm_isdst now.
64704         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64705         tm_isdst values.
64707         mktime: merge another wrapv change from gnulib
64708         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64709         from some compilers.
64711         mktime: remove incorrect attempt at unusual arithmetics
64712         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64713         The code didn't really work on such machines anyway.
64714         (TYPE_MINIMUM): Assume two's complement.
64715         (twos_complement_arithmetic): Verify that long_int and time_t
64716         are two's complement (or unsigned, in the latter case).
64718         mktime: check signed shifts on long_int and time_t, too
64719         * time/mktime.c (SHR): Check that shifts work as desired
64720         on the types long_int and time_t too, as SHR is used on
64721         such types.
64723         mktime: do not assume 'long' is wide enough
64724         * time/mktime.c (verify): Move decl up.
64725         (long_int): New type.
64726         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64727         to remove assumption in the code that 'long' is wide enough to
64728         store year values.  This assumption is not true on x32 and on
64729         some non-glibc platforms.
64731         mktime: merge wrapv change from gnulib
64732         * time/mktime.c (WRAPV): New macro.
64733         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64734         (guess_time_tm, __mktime_internal): Do not assume that signed
64735         integer overflow wraps around; modern compilers generate code
64736         where this assumption is no longer valid.
64738 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64740         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64741         Replace "jmp L(pseudo_end)" with "ret".
64742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64743         Likewise.
64745 2012-05-23  Andreas Jaeger  <aj@suse.de>
64747         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64748         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64750 2012-05-23  Andreas Jaeger  <aj@suse.de>
64751             Maximilian Attems  <max@stro.at>
64753         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64754         New macros.
64756 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64758         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64759         code so that pseudo_end is just ret and the stack pointer is
64760         correct also for static library in error case.
64762 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64764         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64765         move to syscalls.list.
64766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64771         * manual/install.texi (Running make install): Do not mention Linux
64772         kernel version for which pt_chown is not needed.
64773         (Linux): Do not mention problems with nscd with 2.0 kernels.
64774         * INSTALL: Regenerated.
64776 2012-05-23  Andreas Jaeger  <aj@suse.de>
64778         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64779         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64780         macro.
64781         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64782         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64783         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64784         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64785         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64786         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64787         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64788         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64789         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64790         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64791         * sysdeps/unix/sysv/linux/bits/in.h
64792         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64794 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64796         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64797         (PREPARE_VERSION): Just use assert instead, it will be elided
64798         under [NDEBUG] anyway.
64800 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64802         * sysdeps/unix/sysv/linux/Makefile: Include
64803         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64804         (sysdep_routines): Remove sysctl.
64805         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64806         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64807         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64808         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64809         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64811 2012-05-22  Andreas Jaeger  <aj@suse.de>
64813         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64814         that pseudo_end is just ret and the stack pointer is correct also
64815         for static library in error case.
64817 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64819         [BZ #14122]
64820         * nss/nsswitch.c (defconfig_entries): New variable.
64821         (__nss_database_lookup): Don't leak defconfig entries.
64822         (nss_parse_service_list): Don't leak on error paths.
64823         (free_database_entries): New function.
64824         (free_defconfig): New function.
64825         (free_mem): Move common code to free_database_entries.
64827 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64829         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64830         Add arch_prctl.
64831         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64833         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64834         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64836         New macro.
64837         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64838         (INTERNAL_SYSCALL_TYPES): Likewise.
64839         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64840         (LOAD_REGS_TYPES_[1-6]): Likewise.
64841         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64842         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64844 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64846         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64847         copysignl for GLIBC_2_0.
64848         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64849         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64851         logbl for GLIBC_2_0.
64852         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64853         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64855 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64857         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64858         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64860         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64861         Use "neg %eax".
64863         * time/mktime.c: Update copyright years.
64865 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64867         mktime: merge comment-quoting-style change from gnulib
64868         * time/mktime.c: Quote 'like this' in comments.
64869         The GNU coding standards suggest that we no longer quote `like this',
64870         as "`" and "'" are typically rendered asymmetrically nowadays.
64871         The typical gnulib style is to quote 'like this' when quoting
64872         code, and "like this" when quoting English.
64874         * time/mktime.c (compile-command): Add "-I.".
64876         mktime: merge mktime-internal.h change from gnulib
64877         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64879         mktime: merge time_r change from gnulib
64880         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64882         mktime: merge DEBUG change from gnulib
64883         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64884         case system <time.h> has a #define.
64886         mktime: merge <sys/types.h> change from gnulib
64887         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64888         since <time.t> is now guaranteed to define time_t.
64890         mktime: merge HAVE_CONFIG_H change from gnulib
64891         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64893 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64896         Use "neg %eax".
64898         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64899         __rlim_t cast.
64900         (struct rusage): Use anonymous union to pad each field to
64901         __syscall_slong_t.
64903 2012-05-21  David S. Miller  <davem@davemloft.net>
64905         * Makefules (o-iterator): Remove .s cases.
64906         (compile-command.s): Delete.
64907         (COMPILE.s): Delete.
64908         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64910 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64912         * configure.in (libc_cv_predef_stack_protector): Only consider
64913         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64914         * configure: Regenerated.
64916 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64918         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64919         New macro.  Use R*LP on int and pointer.
64920         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64921         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64922         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64923         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64925         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64926         [__WORDSIZE_TIME64_COMPAT32] instead of
64927         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64928         (struct utmp): Likewise.
64929         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64930         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64931         Renamed to ...
64932         (__WORDSIZE_TIME64_COMPAT32): This.
64933         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64934         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64935         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64936         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64937         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64938         (__WORDSIZE_TIME64_COMPAT32): New macro.
64940 2012-05-21  Andreas Jaeger  <aj@suse.de>
64942         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64943         only if [SHARED]. Add prototype for __wcschr_ia32.
64945 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64947         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64948         of %rbp unmolested in the jmp_buf while mangling the low bits.
64949         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64950         unmolested high bits of %rbp while demangling the low bits.
64951         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64953 2012-05-21  Andreas Jaeger  <aj@suse.de>
64955         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64956         * sunrpc/svc_simple.c: Use it for registerrpc.
64957         * sunrpc/xcrypt.c: Use it for passwd2des.
64959         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64961 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64963         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64964         Don't define if [__SYSCALL_WORDSIZE != 32].
64965         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64966         New macro.
64968 2012-05-21  Bruno Haible  <bruno@clisp.org>
64969             Andreas Jaeger  <aj@suse.de>
64971         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64972         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64973         inptr and inend for must_buffer_ch.
64974         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64975         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64976         * stdio-common/Makefile (tests): Remove bug15.
64977         (bug15-ENV): Remove macro.
64978         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64979         anymore.
64981 2012-05-19  Andreas Jaeger  <aj@suse.de>
64982             Roland McGrath  <roland@hack.frob.com>
64984         * manual/contrib.texi: Completely rewritten. It contains now an
64985         alphabetical list of contributors and their contributions.
64987 2012-05-21  Richard Henderson  <rth@twiddle.net>
64989         * misc/getauxval.c (__getauxval): Use unsigned long int.
64990         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64991         (getauxval): Use unsigned long int.
64993 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64995         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64997 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64999         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65000         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65001         __alignof__ (long double).
65003 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65007 2012-05-20  Richard Henderson  <rth@twiddle.net>
65009         * misc/getauxval.c: New file.
65010         * misc/sys/auxv.h: New file.
65011         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65012         (routines): Add getauxval.
65013         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65014         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65015         * elf/dl-sysdep.c (_dl_auxv): Remove.
65016         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65017         * elf/dl-support.c (_dl_auxv): New variable.
65018         (_dl_aux_init): Initialize it.
65019         * manual/startup.texi (Auxiliary Vector): New node.
65020         * sysdeps/generic/bits/hwcap.h: New file.
65021         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65022         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65023         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65024         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65025         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65026         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65028         Update.
65029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65032         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65038 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65042 2012-05-19  David S. Miller  <davem@davemloft.net>
65044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65046 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65048         [BZ #14123]
65049         * math/s_ccosh.c: Include <float.h>
65050         (__ccosh): Avoid internal overflow calculating sinh and cosh
65051         values before multiplying by sin and cos values.
65052         * math/s_ccoshf.c: Likewise.
65053         * math/s_ccoshl.c: Likewise.
65054         * math/s_csin.c: Likewise.
65055         * math/s_csinf.c: Likewise.
65056         * math/s_csinl.c: Likewise.
65057         * math/s_csinh.c: Likewise.
65058         * math/s_csinhf.c: Likewise.
65059         * math/s_csinhl.c: Likewise.
65060         * math/libm-test.inc (ccos_test): Add more tests.
65061         (ccosh_test): Likewise.
65062         (csin_test): Likewise.
65063         (csinh_test): Likewise.
65064         * sysdeps/i386/fpu/libm-test-ulps: Update.
65065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65067 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65069         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65070         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65072         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65074 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65076         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65077         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65078         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65079         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65080         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65081         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65082         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65083         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65084         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65085         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65086         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65087         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65088         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65089         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65090         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65091         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65092         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65093         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65094         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65095         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65096         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65097         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65098         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65099         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65100         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65101         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65102         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65103         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65104         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65105         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65106         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65108 2012-05-18  Andreas Jaeger  <aj@suse.de>
65110         * csu/.gitignore: Delete.
65112 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65114         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65115         (timex): Use __syscall_slong_t.
65117 2012-05-18  Andreas Jaeger  <aj@suse.de>
65118             Carlos O'Donell  <carlos_odonell@mentor.com>
65120         * manual/install.texi (Configuring and compiling): Update
65121         description about files modified in the source directory.
65122         * INSTALL: Regenerated.
65124 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65126         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65127         value.  Use "or" to set return value to -1.
65128         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65129         negate return value.
65131 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65133         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65134         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65135         failure if the compiler has Graphite support disabled.
65136         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65137         Likewise.
65138         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65139         (CFLAGS-memmove.c): Likewise.
65140         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65141         Likewise.
65143 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65145         * sysdeps/x86_64/x32/_itoa.h: New file.
65147         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65148         getdents system call only if kernel and user dirents have the
65149         same d_ino and d_off.
65151         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65152         LLONG_MAX != LONG_MAX.
65153         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65154         (_fitoa_word): Likewise.
65156         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65157         years.
65158         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65159         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65160         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65162         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65163         include <bits/wordsize.h>.  Check __x86_64__ instead of
65164         __WORDSIZE.
65165         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65166         if __x86_64__ is defined.  Use anonymous union on fpstate.
65168         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65169         anonymous union.
65171 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65173         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65174         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65175         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65176         Refer to _rtld_local_ro instead of _rtld_global_ro.
65177         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65178         Likewise.
65179         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65180         Likewise.
65181         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65182         Likewise.
65183         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65184         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65185         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65187         [BZ #10882]
65188         * sysdeps/powerpc/powerpc32/dl-machine.c
65189         (__elf_machine_runtime_setup) [PROF]: Don't reference
65190         _dl_prof_resolve.
65192 2012-05-18  Andreas Jaeger  <aj@suse.de>
65194         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65195         function only available for GCCs before 3.4 since GCC 3.4
65196         introduced a builtin.
65197         (lrint): Likewise.
65198         (llrintf): Likewise.
65199         (llrint): Likewise.
65200         (fmaxf): Likewise.
65201         (fmax): Likewise.
65202         (fminf): Likewise.
65203         (fmin): Likewise.
65204         (rint): Likewise.
65205         (rintf): Likewise.
65206         (nearbyint): Likewise.
65207         (nearbyintf): Likewise.
65208         (ceil): Likewise.
65209         (ceilf): Likewise.
65210         (floor): Likewise.
65211         (floorf): Likewise.
65213 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65215         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65216         on both fields and cast pointer to __syscall_ulong_t.
65218         * bits/types.h (__fsword_t): New type.
65219         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65220         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65221         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65222         (__FSWORD_T_TYPE): Likewise.
65223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65224         (__FSWORD_T_TYPE): Likewise.
65225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65226         (__FSWORD_T_TYPE): Likewise.
65227         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65228         (__FSWORD_T_TYPE): Likewise.
65229         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65230         __SWORD_TYPE with __fsword_t.
65231         (statfs64): Likewise.
65233 2012-05-17  David S. Miller  <davem@davemloft.net>
65235         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65237 2012-05-17  Andreas Jaeger  <aj@suse.de>
65239         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65240         warning.
65242 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65244         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65246 2012-05-17  Andreas Jaeger  <aj@suse.de>
65248         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65249         when it is used.
65251 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65253         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65255 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65257         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65258         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65260 2012-05-17  Andreas Jaeger  <aj@suse.de>
65261             Carlos O'Donell  <carlos_odonell@mentor.com>
65263         [BZ #14059]
65264         * sysdeps/x86_64/multiarch/init-arch.h
65265         (bit_YMM_Usable): Rename to...
65266         (bit_AVX_Usable): ... this.
65267         (bit_FMA4_Usable): New macro.
65268         (bit_XMM_state): New macro.
65269         (bit_YMM_state): New macro.
65270         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65271         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65272         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65273         (CPUID_OSXSAVE): New macro.
65274         (CPUID_AVX): New macro.
65275         (CPUID_FMA4): New macro.
65276         (index_YMM_Usable): Rename to...
65277         (index_AVX_Usable): ... this.
65278         (HAS_AVX): Use HAS_ARCH_FEATURE.
65279         (HAS_FMA4): Likewise.
65280         (HAS_YMM_USABLE): Remove.
65281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65282         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65283         are present.
65284         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65285         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65286         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65287         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65288         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65290 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65292         * math/libm-test.c: Support platforms without multiple rounding modes.
65293         * math/bug-nextafter.c: Support platforms without FP exceptions.
65294         * math/bug-nexttoward.c: Likewise.
65295         * math/test-fenv.c: Likewise.
65296         * math/test-misc.c: Likewise.
65297         * stdlib/bug-getcontext.c: Likewise.
65299 2012-05-17  Andreas Jaeger  <aj@suse.de>
65301         * manual/examples/search.c (critter_cmp): Change signature to
65302         avoid warnings.
65303         * manual/string.texi (Collation Functions): Likewise.
65305 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65307         * bits/types.h: Fold copyright years.
65308         * bits/typesizes.h: Likewise.
65309         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65310         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65313         * time/time.h: Likewise.
65315 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65317         [BZ #208]
65318         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65319         in instead of returning them.  Return void.
65320         (__libc_mallinfo): Accumulate over all arenas.
65321         (__malloc_stats): Adjust for change in int_mallinfo interface.
65323 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65325         [BZ #10375]
65326         * configure.in (NM): Add AC_CHECK_TOOL for it.
65327         (libc_extra_cflags): New substituted variable.
65328         Check for -fstack-protector being used implicitly.
65329         * configure: Regenerated.
65330         * config.make.in (config-extra-cflags): New variable,
65331         gets @libc_extra_cflags@.
65332         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65334         [BZ #10375]
65335         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65336         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65337         * configure: Regenerated.
65338         * config.make.in (CPPUNDEFS): New substituted variable.
65339         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65340         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65341         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65343 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65345         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65346         (mq_attr): Use __syscall_slong_t.
65348 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65350         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65351         Check __x86_64__ instead of __WORDSIZE.
65352         (_STAT_VER_LINUX): Likewise.
65353         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65354         __syscall_ulong_t and __syscall_slong_t.
65355         (stat64): Likewise.
65357 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65359         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65361 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65363         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65365 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65367         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65368         __syscall_ulong_t.
65370         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65371         include <bits/wordsize.h>.  Check __x86_64__ instead of
65372         __WORDSIZE.
65373         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65374         defined.
65375         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65377         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65378         include <bits/wordsize.h>.  Check __x86_64__ instead of
65379         __WORDSIZE.
65380         (user_regs_struct): Use "__extension__ unsigned long long"
65381         instead of "unsigned long" if __x86_64__ is defined.
65382         (user): Likewise.  Pad after pointer field if __ILP32__ is
65383         defined.
65385 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65387         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65388         versions 5 to 9.
65389         * configure: Regenerated.
65390         * manual/install.texi (texinfo): Increase version requirement to
65391         4.5 or later.
65392         * INSTALL: Regenerated.
65394         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65396 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65398         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65400         * sysdeps/x86_64/x32/ffs.c: New file.
65402         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65403         __syscall_ulong_t.
65404         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65405         defined.  Use __syscall_ulong_t.
65406         (shminfo): Use __syscall_ulong_t.
65407         (shm_info): Likewise.
65409         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65410         __syscall_ulong_t.
65412         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65413         <bits/wordsize.h>.
65414         (msgqnum_t): Use __syscall_ulong_t.
65415         (msglen_t): Likewise.
65416         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65417         __syscall_ulong_t.
65419         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65420         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65422         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65424         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65425         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65427         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65428         __syscall_slong_t.
65430         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65431         include <bits/wordsize.h>.  Check __x86_64__ instead of
65432         __WORDSIZE.
65434         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65435         "unsigned long long int" if __x86_64__ is defined.
65436         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65438         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65439         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65440         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65442         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65443         <stdint.h>.
65444         (GET_PC): Cast to uintptr_t first.
65445         (GET_FRAME): Likewise.
65446         (GET_STACK): Likewise.
65448         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65449         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65450         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65451         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65452         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65453         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65454         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65455         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65456         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65457         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65458         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65459         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65460         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65461         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65462         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65463         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65464         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65465         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65466         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65467         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65468         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65469         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65470         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65471         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65472         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65473         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65474         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65475         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65476         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65478 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65480         * Makerules (+depfiles): Also collect depfiles from .oS in
65481         $(extra-objs).
65482         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65483         .oS, $(libnldbl-routines)).
65485         * Makerules (native-compile-mkdep-flags): Define.
65486         * sunrpc/Makefile (extra-objs): Add $(addprefix
65487         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65488         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65489         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65490         calling $(make-target-directory).
65492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65494         * bits/types.h (__snseconds_t): Removed.
65495         * time/time.h (struct timespec): Replace __snseconds_t with
65496         __syscall_slong_t.
65497         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65498         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65499         Likewise.
65500         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65501         (__SNSECONDS_T_TYPE): Likewise.
65502         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65503         (__SNSECONDS_T_TYPE): Likewise.
65504         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65505         (__SNSECONDS_T_TYPE): Likewise.
65507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65509         * sysdeps/mach/hurd/bits/typesizes.h
65510         (__SYSCALL_SLONG_TYPE): New macro.
65511         (__SYSCALL_ULONG_TYPE): Likewise.
65513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65515         * bits/types.h (__syscall_slong_t): New type.
65516         (__syscall_ulong_t): Likewise.
65518         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65519         (__SYSCALL_ULONG_TYPE): Likewise.
65520         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65521         (__SYSCALL_SLONG_TYPE): Likewise.
65522         (__SYSCALL_ULONG_TYPE): Likewise.
65523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65524         (__SYSCALL_SLONG_TYPE): Likewise.
65525         (__SYSCALL_ULONG_TYPE): Likewise.
65526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65527         (__SYSCALL_SLONG_TYPE): Likewise.
65528         (__SYSCALL_ULONG_TYPE): Likewise.
65530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65532         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65533         Add sigaltstack-offsets.sym.
65534         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65535         <sigaltstack-offsets.h>.
65536         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65537         longjmp_msg pointer.
65538         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65539         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65540         signal stack.
65541         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65543 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65545         * elf/stackguard-macros.h: Remove file.
65546         * sysdeps/generic/stackguard-macros.h: New file.
65547         * sysdeps/i386/stackguard-macros.h: Likewise.
65548         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65549         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65550         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65551         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65552         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65553         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65554         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65555         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65556         <elf/stackguard-macros.h>.
65558         [BZ #14109]
65559         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65560         __aligned__ in attribute.
65561         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65562         (gregset_t): Likewise.
65564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65566         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65567         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65568         * sysdeps/x86_64/x32/Implies-after: New file.
65570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65572         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65573         and access return value for _dl_profile_fixup.  Use R10_LP to
65574         load frame size.
65576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65578         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65582         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65583         * sysdeps/x86_64/x32/sysdep.h: New file.
65585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65587         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65588         * sysdeps/x86_64/setjmp.S: Likewise.
65590 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65592         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65593         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65594         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65595         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65596         remove unused global constant.
65598 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65600         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65601         include of <not-cancel.h>.
65603 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65605         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65607 2012-05-15  Jeff Law  <law@redhat.com>
65608             Andreas Jaeger  <aj@suse.de>
65610         [BZ #13594]
65611         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65612         out from...
65613         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65614         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65615         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65616         code changing __hst_map_handle.map.
65618 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65620         * configure.in (sysnames): Look for Implies-before and Implies-after
65621         files.
65622         * configure: Regenerated.
65624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65626         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65627         8-byte data alignment with LP_SIZE alignment.
65629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65631         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65632         into R10_LP.
65634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65636         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65640         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65641         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65642         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65643         Likewise.
65644         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65648         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65649         (stackinfo_sub_sp): Likewise.
65651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65653         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65654         RAX_LP.
65656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65658         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65659         into R*_LP.
65661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65663         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65664         sizes into R*_LP.
65666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65668         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65672         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65673         into R11_LP and load __x86_64_shared_cache_size_half into
65674         R8_LP.
65676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65678         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65679         R8_LP.
65681 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65683         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65684         logb for POWER7.
65685         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65686         logbf for POWER7.
65687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65688         logbl for POWER7.
65689         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65690         powerpc32/power7/fpu/s_logb.c via #include.
65691         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65692         powerpc32/power7/fpu/s_logbf.c via #include.
65693         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65694         powerpc32/power7/fpu/s_logbl.c via #include.
65696 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65698         * README.libm: Remove file.
65700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65702         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65703         count for x32.  Use R*_LP and omit operand-size suffix.
65705 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65707         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65708         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65709         * sysdeps/x86_64/x32/shlib-versions: New file.
65711 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65713         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65714         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65715         Use _dl_fatal_printf instead.
65717 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65719         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65720         set if not set by the user.  Do not allow for being unset.
65721         * sysdeps/unix/sysv/linux/configure: Regenerated.
65723 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65725         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65726         the `q' suffix from lea and replace .quad with ASM_ADDR.
65728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65731         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65732         instead of $17.
65733         (PTR_DEMANGLE): Likewise.
65735 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65737         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65738         (LP_OP): Likewise.
65739         (ASM_ADDR): Likewise.
65740         (RAX_LP): Likewise.
65741         (RBP_LP): Likewise.
65742         (RBX_LP): Likewise.
65743         (RCX_LP): Likewise.
65744         (RDI_LP): Likewise.
65745         (RSI_LP): Likewise.
65746         (RSP_LP): Likewise.
65747         (R8_LP): Likewise.
65748         (R9_LP): Likewise.
65749         (R10_LP): Likewise.
65750         (R10_LP): Likewise.
65751         (R11_LP): Likewise.
65752         (R12_LP): Likewise.
65753         (R13_LP): Likewise.
65754         (R14_LP): Likewise.
65755         (R15_LP): Likewise.
65757 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65759         * sysdeps/x86_64/x32/dl-machine.h: New file.
65761 2012-05-14  Andreas Jaeger  <aj@suse.de>
65763         * manual/Makefile (subdir): Remove export of subdir.
65764         (all): Remove target.
65765         (.PHONY): Remove all from list.
65766         (mkinstalldirs): Remove.
65767         (.PHONY): Remove installdirs from list.
65768         ($(inst_infodir)/libc.info): Use make-target-directory.
65769         (installdirs): Remove.
65770         (subdir_%): Remove.
65771         (glibc-targets): Remove.
65772         (lib): Remove.
65773         (stubs): Remove.
65774         ($(objpfx)stubs ../po/manual.pot): Remove.
65775         ($(objpfx)stamp%): Remove.
65776         (make-target-directory): Remove.
65777         (subdir_install): Remove.
65778         (routines): Remove.
65779         (aux): Remove.
65780         (sources): Remove.
65781         (objects): Remove.
65782         (headers): Remove.
65784         [BZ #13750]
65785         * manual/.gitignore: Remove, it's not needed anymore.
65786         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65787         all files in it.
65788         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65789         directory.
65790         (texis): Renamed to $(objpfx)texis.
65791         (texis-path): New, contains path to generated files.
65792         (chapters.%): Use texis-path for complete path, add extra argument
65793         libc-texinfo.sh.
65794         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65795         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65796         (summary,texi, stamp-summary): Use complete path of
65797         files. Generate files in build dir.
65798         (dir-add.texi): Build in build dir.
65799         (libm-err.texi,stamp-libm-err): Likewise.
65800         (version.texi, stamp-version): Likewise.
65801         (.%c.texi): Likewise.
65802         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65803         (mostlyclean): Remove target.
65804         (realclean): Remove target.
65805         (generated): Add new variable with contents from mostlyclean and
65806         realclean, remove entries duplicated in common-mostlyclean, add
65807         stamp-libm-err and stamp-version.
65808         (generated-dirs): Add libc directory.
65809         ($(inst_infodir)/libc.info): Install files from build dir.
65811         * manual/install.texi (Configuring and compiling): Adjust since
65812         the info files are not part of the tar ball anymore.
65814 2012-05-14  Andreas Jaeger  <aj@suse.de>
65816         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65817         variable.
65819 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65821         [BZ #13717]
65822         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65823         to 2.2.0 where earlier.
65824         * sysdeps/unix/sysv/linux/configure: Regenerated.
65825         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65826         Remove conditional code.
65827         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65828         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65829         Remove conditional code.
65830         [!__NR_lchown]: Likewise.
65831         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65832         [__NR_lchown]: Likewise.
65833         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65834         comment referencing __ASSUME_LCHOWN_SYSCALL.
65835         * sysdeps/unix/sysv/linux/i386/sigaction.c
65836         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65837         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65838         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65839         Remove conditional code.
65840         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65841         (__protocol_available): Remove #if 0 code.
65842         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65843         conditional code.
65844         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65845         * sysdeps/unix/sysv/linux/kernel-features.h
65846         (__ASSUME_GETCWD_SYSCALL): Don't define.
65847         (__ASSUME_REALTIME_SIGNALS): Likewise.
65848         (__ASSUME_PREAD_SYSCALL): Likewise.
65849         (__ASSUME_PWRITE_SYSCALL): Likewise.
65850         (__ASSUME_POLL_SYSCALL): Likewise.
65851         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65852         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65853         non-SPARC.
65854         (__ASSUME_SIOCGIFNAME): Don't define.
65855         (__ASSUME_MSG_NOSIGNAL): Likewise.
65856         (__ASSUME_SENDFILE): Define unconditionally.
65857         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65858         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65859         conditional code.
65860         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65861         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65862         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65863         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65864         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65865         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65866         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65868         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65869         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65871         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65872         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65874         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65875         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65877         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65878         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65880         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65883         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65884         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65886         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65889         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65890         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65891         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65892         Remove conditional code.
65893         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65894         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65895         Remove conditional code.
65896         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65897         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65898         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65899         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65900         Remove conditional code.
65901         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65902         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65903         Remove conditional code.
65904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65905         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65906         Remove conditional code.
65907         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65908         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65909         Remove conditional code.
65910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65911         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65912         Remove conditional code.
65913         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65914         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65915         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65916         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65917         * sysdeps/unix/sysv/linux/sigaction.c
65918         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65919         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65920         * sysdeps/unix/sysv/linux/sigpending.c
65921         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65922         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65923         * sysdeps/unix/sysv/linux/sigprocmask.c
65924         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65925         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65926         * sysdeps/unix/sysv/linux/sigsuspend.c
65927         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65928         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65929         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65930         (__libc_missing_rt_sigs): Remove.
65931         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65932         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65933         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65934         Remove conditional code.
65935         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65936         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65937         return 1.
65938         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65939         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65940         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65941         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65943 2012-05-14  Andreas Jaeger  <aj@suse.de>
65945         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65946         it's not used in glibc.
65947         (__coshm1): Likewise.
65948         (__acosh1p): Likewise.
65949         (__sgn): Likewise.
65951         * manual/string.texi (Copying and Concatenation): Add missing
65952         variable in concat example.
65953         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65957         [BZ #14103]
65958         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65959         __builtin_clzl with __builtin_clzll.
65961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65963         [BZ #14104]
65964         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65965         libc_freeres_ptr.
65967 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65969         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65970         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65971         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65972         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65974 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65976         * NEWS: Update ia64 info.
65978 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65980         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65981         used as bcopy.
65983 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65985         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65986         * sysdeps/unix/syscalls.list (dup3): Likewise.
65987         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65988         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65990 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65992         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65993         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65995 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65997         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65998         thread pointer.
65999         (TLS_IE): Use mov/add instead of movq/addq to load thread
66000         pointer.
66001         (TLS_GD_PREFIX): New.
66002         (TLS_GD): Use it.
66004 2012-05-11  David S. Miller  <davem@davemloft.net>
66006         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66007         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66008         (_FPU_SETCW): Likewise.
66010 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66012         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66013         is 32-byte aligned.
66015 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66017         [BZ #11837]
66018         * iconvdata/gb18030.c: Update tables.
66019         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66020         characters specially.
66021         (BODY for TO_LOOP): Add encoding of missing ranges.
66023 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66025         [BZ #13673]
66026         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66027         * sysdeps/mach/hurd/dup3.c: Likewise.
66028         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66029         * sysdeps/powerpc/memmove.c:: Likewise.
66031 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66034         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66036 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66038         * elf/elf.h (R_X86_64_RELATIVE64): New.
66039         (R_X86_64_NUM): Updated.
66040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66041         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66042         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66043         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66044         tst-quad1pie tst-quad2pie
66045         (modules-names): Add tst-quadmod1 tst-quadmod2.
66046         ($(objpfx)tst-quad1): New dependency.
66047         ($(objpfx)tst-quad2): Likewise.
66048         ($(objpfx)tst-quad1pie): Likewise.
66049         ($(objpfx)tst-quad2pie): Likewise.
66050         * sysdeps/x86_64/tst-quad1.c: New file.
66051         * sysdeps/x86_64/tst-quad1pie.c: New file.
66052         * sysdeps/x86_64/tst-quad2.c: Likewise.
66053         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66054         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66055         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66056         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66057         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66059 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66061         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66062         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66063         * streams/stropts.h (t_scalar_t): Define type.
66065         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66066         (_PATH_PRESERVE): Set to "/var/lib".
66067         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66069         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66070         instead of int.
66072         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66073         if __dir_mkfile succeeded.
66075         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66076         checking for _hurd_dtablesize.  Unlock it right after having
66077         finished _hurd_dtable allocation.
66079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66081         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66082         * sysdeps/mach/hurd/configure: Regenerated.
66083         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66084         special-casing to...
66085         * sysdeps/gnu/configure.in: ... this new file.
66086         * sysdeps/unix/sysv/linux/configure: Regenerated.
66087         * sysdeps/gnu/configure: New generated file.
66089         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66090         for Linux: use nsec instead of usec, as well as:
66091         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66092         members of type struct timespec.
66093         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66094         New macros.
66095         (struct stat64): Likewise.
66096         (_STATBUF_ST_NSEC): New macro.
66097         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66099         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66100         __strtoul_internal rather than strtoul.
66102 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66104         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66105         and reject them.
66107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66109         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66110         which preserves existing values.
66111         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66113 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66115         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66116         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66117         greater than FD_SETSIZE.
66119 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66121         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66122         allocated, call __vm_protect to finish enabling the existing space, and
66123         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66124         allocate the remainder.
66126 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66128         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66129         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66133         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66134         sysdeps/mach/hurd/readlink.c.
66136         * posix/tst-sysconf.c (posix_options): Only use
66137         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66138         _POSIX_SYNCHRONIZED_IO when they are defined
66139         * sysdeps/mach/hurd/bits/posix_opt.h:
66140         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66141         (_XOPEN_REALTIME): Undefine macro.
66142         (_XOPEN_REALTIME_THREADS): Undefine macro.
66143         (_XOPEN_SHM): Undefine macro.
66144         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66145         macro to -1.
66146         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66147         macro to -1.
66148         (_POSIX_ASYNC_IO): Undefine macro.
66149         (_POSIX_PRIORITIZED_IO): Undefine macro.
66150         (_POSIX_SPIN_LOCKS): Define macro to -1.
66152         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66153         SA_NODEFER, SA_RESETHAND.
66154         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66155         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66156         F_DUPFD_CLOEXEC.
66158 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66160         * elf/Makefile (pldd-modules): Define unconditionally.
66162 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66164         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66168         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66169         Return ENOENT when name is empty.
66170         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66174         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66176         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66180         Fix mlock in all cases except non-readable pages.
66181         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66182         instead of VM_PROT_ALL as parameter to __vm_wire function.
66184         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66185         (__mkdir): When path is `/', just fail with EEXIST.
66186         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66190         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66191         <sys/uio.h> (for writev).
66192         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66193         and <sys/param.h> (for MIN).
66195 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66197         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66198         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66199         if interrupted.
66201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66203         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66204         Depend on against $(link-rpcuserlibs).
66206 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66208         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66209         (__libc_stack_end): Do not use attribute_relro.
66210         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66211         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66212         to libthread-provided value.
66213         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66214         attribute_relro.
66216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66218         [BZ #3748]
66219         * bits/libc-lock.h (__libc_once_get): New macro.
66220         * sysdeps/mach/bits/libc-lock.h: Likewise.
66221         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66222         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66223         instead of using implementation details.
66225         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66226         * libio/freopen.c: Likewise.
66227         * libio/freopen64.c: Likewise.
66228         * misc/syslog.c: Likewise.
66229         * nscd/connections.c: Likewise.
66230         * nscd/netgroupcache.c: Likewise.
66231         * sysdeps/posix/getcwd.c: Likewise.
66233 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66235         * math/w_ilogbf.c: Add #include <limits.h>.
66237 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66239         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66240         path instead of returning without unlocking.
66242         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66243         immediate-write ioctls.
66244         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66248         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66249         __builtin_frame_address instead of making assumptions about the
66250         location of the return address relative to DATA.  Force early load of
66251         the return address.
66252         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66253         __builtin_frame_address.
66255         dup3 for GNU Hurd.
66256         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66257         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66258         implement dup3 and do some further code clean-ups.
66259         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66260         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66264         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66266         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66267         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66268         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66269         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66270         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66271         d->port.lock.
66273         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66274         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66275         when handler == SIG_ERR, not when handler != SIG_ERR.
66277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66279         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66280         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66281         definitions.
66283         accept4 for GNU Hurd.
66284         * include/sys/socket.h (__libc_accept4): New prototype.
66285         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66286         to implement __libc_accept4.
66287         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66288         __libc_accept4.
66289         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66291         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66292         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66293         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66294         signal-defines.sym.
66296 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66298         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66302         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66303         assertion on O_CLOEXEC flag.
66304         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66305         * hurd/intern-fd.c: Likewise.
66306         * hurd/port2fd.c: Likewise.
66308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66310         [BZ #3906]
66311         * bits/in.h (IPV6_PKTINFO): Define new macro.
66312         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66314 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66316         [BZ #13954]
66317         [BZ #13955]
66318         [BZ #13956]
66319         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66320         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66321         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66322         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66323         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66324         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66325         * math/libm-test.inc (logb_test) : Additional logb tests.
66327 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66328             Andreas Jaeger  <aj@suse.de>
66330         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66331         * configure: Regenerated.
66332         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66333         * config.make.in (link-obsolete-rpc): New substituted variable.
66334         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66335         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66336         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66337         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66338         so that libc.a contains the symbols.
66339         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66340         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66341         * sunrpc/auth_none.c: Likewise.
66342         * sunrpc/auth_unix.c: Likewise.
66343         * sunrpc/authdes_prot.c: Likewise.
66344         * sunrpc/authuxprot.c: Likewise.
66345         * sunrpc/clnt_gen.c: Likewise.
66346         * sunrpc/clnt_perr.c: Likewise.
66347         * sunrpc/clnt_raw.c: Likewise.
66348         * sunrpc/clnt_simp.c: Likewise.
66349         * sunrpc/clnt_tcp.c: Likewise.
66350         * sunrpc/clnt_udp.c: Likewise.
66351         * sunrpc/clnt_unix.c: Likewise.
66352         * sunrpc/des_crypt.c: Likewise.
66353         * sunrpc/des_soft.c: Likewise.
66354         * sunrpc/get_myaddr.c: Likewise.
66355         * sunrpc/key_call.c: Likewise.
66356         * sunrpc/key_prot.c: Likewise.
66357         * sunrpc/netname.c: Likewise.
66358         * sunrpc/pm_getmaps.c: Likewise.
66359         * sunrpc/pm_getport.c: Likewise.
66360         * sunrpc/pmap_clnt.c: Likewise.
66361         * sunrpc/pmap_prot.c: Likewise.
66362         * sunrpc/pmap_prot2.c: Likewise.
66363         * sunrpc/pmap_rmt.c: Likewise.
66364         * sunrpc/publickey.c: Likewise.
66365         * sunrpc/rpc_cmsg.c: Likewise.
66366         * sunrpc/rpc_common.c: Likewise.
66367         * sunrpc/rpc_dtable.c: Likewise.
66368         * sunrpc/rpc_prot.c: Likewise.
66369         * sunrpc/rpc_thread.c: Likewise.
66370         * sunrpc/rtime.c: Likewise.
66371         * sunrpc/svc.c: Likewise.
66372         * sunrpc/svc_auth.c: Likewise.
66373         * sunrpc/svc_raw.c: Likewise.
66374         * sunrpc/svc_run.c: Likewise.
66375         * sunrpc/svc_tcp.c: Likewise.
66376         * sunrpc/svc_udp.c: Likewise.
66377         * sunrpc/svc_unix.c: Likewise.
66378         * sunrpc/svcauth_des.c: Likewise.
66379         * sunrpc/xcrypt.c: Likewise.
66380         * sunrpc/xdr.c: Likewise.
66381         * sunrpc/xdr_array.c: Likewise.
66382         * sunrpc/xdr_float.c: Likewise.
66383         * sunrpc/xdr_intXX_t.c: Likewise.
66384         * sunrpc/xdr_mem.c: Likewise.
66385         * sunrpc/xdr_rec.c: Likewise.
66386         * sunrpc/xdr_ref.c: Likewise.
66387         * sunrpc/xdr_sizeof.c: Likewise.
66388         * sunrpc/xdr_stdio.c: Likewise.
66390 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66392         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66393         change.  Update copyright years.
66395 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66397         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66399 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66400             Joseph Myers  <joseph@codesourcery.com>
66401             Paul Pluzhnikov  <ppluzhnikov@google.com>
66403         [BZ #14012]
66404         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66405         requiring rpcgen.
66406         [cross-compiling] (extra-libs): Likewise.
66407         [cross-compiling] (extra-libs-others): Likewise.
66408         [cross-compiling] (librpcsvc-routines): Likewise.
66409         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66410         [cross-compiling] (omit-deps): Likewise.
66411         (sunrpc-CPPFLAGS): New variable.
66412         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66413         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66414         (cross-rpcgen-objs): New variable.
66415         (extra-objs): Append $(cross-rpcgen-objs).
66416         ($(cross-rpcgen-objs)): New rule.
66417         ($(objpfx)cross-rpcgen): Likewise.
66418         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66419         comment.
66420         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66421         ($(objpfx)x%.stmp): Likewise.
66422         * sunrpc/proto.h [IS_IN_build] (_): Define.
66423         [IS_IN_build] (_libc_intl_domainname): Likewise.
66425 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66427         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66428         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66429         and R_X86_64_TPOFF64.
66431 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66433         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66434         sysdeps/unix/sysv/syscalls.list.
66435         (stime): Likewise.
66436         (utime): Likewise.
66437         * sysdeps/unix/sysv/syscalls.list: Remove file.
66439 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66441         [BZ #3440]
66442         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66443         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66444         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66445         (__LC_IDENTIFICATION): Make these macros useful in #if
66446         expressions, as required by C99.
66448 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66450         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66451         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66452         after this.
66454 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66456         * stdlib/longlong.h: Updated from GCC.
66458 2012-05-09  Andreas Jaeger  <aj@suse.de>
66460         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66461         default is first entry.
66462         (run_mode): Set type.
66463         (main): Remove informal message about syslog.
66464         (options): Fix typo.
66466         [BZ #14053]
66467         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66468         to asm.
66469         (lrint): Likewise.
66470         (llrintf): Likewise.
66471         (llrint): Likewise.
66472         (rint): Likewise.
66473         (rintf): Likewise.
66474         (nearbyint): Likewise.
66475         (nearbyintf): Likewise.
66477 2012-05-09  Andreas Jaeger  <aj@suse.de>
66478             Pedro Alves  <palves@redhat.com>
66480         * nscd/nscd.c (run_mode): Use enum.
66481         (main): Cleanup coding style issue.
66483 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66484             Andreas Jaeger  <aj@suse.de>
66486         * nscd/nscd.c (go_background): Replaced with...
66487         (run_mode): ... this.
66488         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66489         (options): Add -F --foreground.
66490         (main): Implement it.
66491         (parse_opt): Parse it.
66493 2012-05-09  Andreas Jaeger  <aj@suse.de>
66495         [BZ #14083]
66496         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66497         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66498         -Wconversion warning.
66499         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66500         Likewise.
66502 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66504         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66505         == 0.
66506         (LC_ALL): Use macro-int-constant.
66507         (LC_COLLATE): Likewise.
66508         (LC_CTYPE): Likewise.
66509         (LC_MESSAGES): Likewise.
66510         (LC_MONETARY): Likewise.
66511         (LC_NUMERIC): Likewise.
66512         (LC_TIME): Likewise.
66513         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66514         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66515         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66516         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66517         Specify type.
66518         [C99-based standards] (float_t): Expect type.
66519         [C99-based standards] (double_t): Expect type.
66520         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66521         type.
66522         [C99-based standards] (HUGE_VALL): Likewise.
66523         [C99-based standards] (INFINITY): Likewise.
66524         [C99-based standards] (NAN): Likewise.
66525         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66526         [C99-based standards] (FP_NAN): Likewise.
66527         [C99-based standards] (FP_NORMAL): Likewise.
66528         [C99-based standards] (FP_SUBNORMAL): Likewise.
66529         [C99-based standards] (FP_ZERO): Likewise.
66530         [C99-based standards] (FP_FAST_FMA): Use
66531         optional-macro-int-constant.  Specify type.  Require == 1.
66532         [C99-based standards] (FP_FAST_FMAF): Likewise.
66533         [C99-based standards] (FP_FAST_FMAL): Likewise.
66534         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66535         [C99-based standards] (FP_ILOGBNAN): Likewise.
66536         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66537         Specify type.
66538         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66539         [C99-based standards] (math_errhandling): Specify type.
66540         [ISO99 || ISO11] (signgam): Do not allow.
66541         [non-C99-based standards] (copysignf): Do not allow.
66542         [non-C99-based standards] (exp2f): Likewise.
66543         [non-C99-based standards] (log2f): Likewise.
66544         [non-C99-based standards] (modff): Allow.
66545         [non-C99-based standards] (erff): Do not allow.
66546         [non-C99-based standards] (erfcf): Likewise.
66547         [non-C99-based standards] (gammaf): Likewise.
66548         [non-C99-based standards] (hypotf): Likewise.
66549         [non-C99-based standards] (j0f): Likewise.
66550         [non-C99-based standards] (j1f): Likewise.
66551         [non-C99-based standards] (jnf): Likewise.
66552         [non-C99-based standards] (lgammaf): Likewise.
66553         [non-C99-based standards] (tgammaf): Likewise.
66554         [non-C99-based standards] (y0f): Likewise.
66555         [non-C99-based standards] (y1f): Likewise.
66556         [non-C99-based standards] (ynf): Likewise.
66557         [non-C99-based standards] (isnanf): Likewise.
66558         [non-C99-based standards] (acoshf): Likewise.
66559         [non-C99-based standards] (asinhf): Likewise.
66560         [non-C99-based standards] (atanhf): Likewise.
66561         [non-C99-based standards] (cbrtf): Likewise.
66562         [non-C99-based standards] (expm1f): Likewise.
66563         [non-C99-based standards] (ilogbf): Likewise.
66564         [non-C99-based standards] (log1pf): Likewise.
66565         [non-C99-based standards] (logbf): Likewise.
66566         [non-C99-based standards] (nextafterf): Likewise.
66567         [non-C99-based standards] (remainderf): Likewise.
66568         [non-C99-based standards] (rintf): Likewise.
66569         [non-C99-based standards] (scalbf): Likewise.
66570         [non-C99-based standards] (copysignl): Likewise.
66571         [non-C99-based standards] (exp2l): Likewise.
66572         [non-C99-based standards] (log2l): Likewise.
66573         [non-C99-based standards] (modfl): Allow.
66574         [non-C99-based standards] (erfl): Do not allow.
66575         [non-C99-based standards] (erfcl): Likewise.
66576         [non-C99-based standards] (gammal): Likewise.
66577         [non-C99-based standards] (hypotl): Likewise.
66578         [non-C99-based standards] (j0l): Likewise.
66579         [non-C99-based standards] (j1l): Likewise.
66580         [non-C99-based standards] (jnl): Likewise.
66581         [non-C99-based standards] (lgammal): Likewise.
66582         [non-C99-based standards] (tgammal): Likewise.
66583         [non-C99-based standards] (y0l): Likewise.
66584         [non-C99-based standards] (y1l): Likewise.
66585         [non-C99-based standards] (ynl): Likewise.
66586         [non-C99-based standards] (isnanl): Likewise.
66587         [non-C99-based standards] (acoshl): Likewise.
66588         [non-C99-based standards] (asinhl): Likewise.
66589         [non-C99-based standards] (atanhl): Likewise.
66590         [non-C99-based standards] (cbrtl): Likewise.
66591         [non-C99-based standards] (expm1l): Likewise.
66592         [non-C99-based standards] (ilogbl): Likewise.
66593         [non-C99-based standards] (log1pl): Likewise.
66594         [non-C99-based standards] (logbl): Likewise.
66595         [non-C99-based standards] (nextafterl): Likewise.
66596         [non-C99-based standards] (remainderl): Likewise.
66597         [non-C99-based standards] (rintl): Likewise.
66598         [non-C99-based standards] (scalbl): Likewise.
66599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66600         [non-C99-based standards] (FP_*): Do not allow.
66601         [C99-based standards] (FP_*): Change to
66602         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66603         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66604         allow.
66605         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66606         (SIG_ERR): Likewise.
66607         [X/Open-based standards] (SIG_HOLD): Likewise.
66608         (SIG_IGN): Likewise.
66609         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66610         positive value.
66611         (SIGFPE): Likewise.
66612         (SIGILL): Likewise.
66613         (SIGINT): Likewise.
66614         (SIGSEGV): Likewise.
66615         (SIGTER): Likewise.
66616         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66617         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66618         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66619         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66620         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66621         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66622         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66623         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66624         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66625         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66626         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66627         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66628         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66629         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66630         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66631         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66632         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66633         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66634         [X/Open-based standards] (SIGTRAP): Likewise.
66635         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66636         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66637         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66638         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66639         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66640         allow.
66642 2012-05-08  Ian Wienand  <ianw@vmware.com>
66644         [BZ #14080]
66645         * time/tzset.c (__tzset_parse_tz): Update default rules for
66646         daylight time changes in the Energy Policy Act of 2005.
66648 2012-05-09  Andreas Jaeger  <aj@suse.de>
66650         [BZ #13983]
66651         * elf/ldconfig.c (parse_conf): Change string to make clear that
66652         ldconfig only issued a warning if ld.so.conf does not exist.
66654 2012-05-08  David S. Miller  <davem@davemloft.net>
66656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66657         movxtod instead of popping the value on the stack.
66659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66661 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66663         * config.h.in: Add HAVE_ARM_PCS_VFP.
66665 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66667         [BZ #13979]
66668         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66669         checking but the checks are disabled for any reason.
66671 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66673         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66674         and ELF64_R_TYPE with ELFW(R_TYPE).
66676 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66678         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66679         (ulimit): Likewise.
66681         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66682         (settimeofday): Likewise.
66684 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66686         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66687         a struct th_u2 inside the union, and move tu_block/tu_code into
66688         a new th_u3 union of tu_block/tu_code inside of that.  Move
66689         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66690         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66691         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66692         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66693         (th_stuff): Change to th_u1.tu_stuff.
66694         (th_data): Define.
66695         (th_msg): Change to th_u1.th_u2.tu_data.
66697 2012-05-07  David S. Miller  <davem@davemloft.net>
66699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66701         [BZ #14074]
66702         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66703         (SETUP_PIC_REG): Use it.
66704         (SETUP_PIC_REG_LEAF): Use it.
66706 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66708         [BZ #13885]
66709         [BZ #13923]
66710         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66711         USE_AS_EXPM1L.
66712         (EXPL_FINITE): Likewise.
66713         (FLDLOG): Likewise.
66714         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66715         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66716         e_expl.S.
66717         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66718         USE_AS_EXPM1L.
66719         (EXPL_FINITE): Likewise.
66720         (FLDLOG): Likewise.
66721         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66722         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66723         e_expl.S.
66724         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66725         test of -max_value argument for long double.
66726         * sysdeps/i386/fpu/libm-test-ulps: Update.
66727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66729 2012-05-06  David S. Miller  <davem@davemloft.net>
66731         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66732         quad soft-float symbols whose references which are compiler
66733         generated.
66734         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66736 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66738         [BZ #13884]
66739         [BZ #13914]
66740         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66741         USE_AS_EXP10L.
66742         (EXPL_FINITE): Likewise.
66743         (FLDLOG): Likewise.
66744         (c0): Likewise.
66745         (c1): Likewise.
66746         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66747         Adjust comments for base varying.
66748         (__expl_finite): Change alias to EXPL_FINITE.
66749         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66750         e_expl.S.
66751         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66752         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66753         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66754         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66755         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66756         USE_AS_EXP10L.
66757         (EXPL_FINITE): Likewise.
66758         (FLDLOG): Likewise.
66759         (c0): Likewise.
66760         (c1): Likewise.
66761         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66762         Adjust comments for base varying.
66763         (__expl_finite): Change alias to EXPL_FINITE.
66764         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66765         tests for bugs.
66766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66768         [BZ #14064]
66769         * math/libm-test.inc (check_float_internal): Correct ulp
66770         calculation for subnormal expected results.
66772 2012-05-06  Andreas Jaeger  <aj@suse.de>
66774         * Makeconfig (+math-flags): New, set to -frounding-math.
66775         (+cflags): Add +math-flags so that all of glibc gets compiled with
66776         it.
66778         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66780 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66782         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66783         Disable one test.
66785         [BZ #13787]
66786         [BZ #13922]
66787         [BZ #14036]
66788         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66789         (__ieee754_expl): Allow for and saturate large arguments.
66790         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66791         (u_threshold): Likewise.
66792         (__exp): Call __ieee754_exp before checking for overflow and
66793         underflow.
66794         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66795         (u_threshold): Likewise.
66796         (__expf): Call __ieee754_expf before checking for overflow and
66797         underflow.
66798         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66799         (u_threshold): Likewise.
66800         (__expl): Call __ieee754_expl before checking for overflow and
66801         underflow.
66802         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66803         (__ieee754_expl): Allow for and saturate large arguments.
66804         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66805         missing overflow exception on overflow.
66806         (expm1_test): Do not allow missing overflow exception on overflow.
66808         * sysdeps/i386/fpu/e_expl.c: Move to ...
66809         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66810         rather than using inline asm.
66811         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66812         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66813         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66815         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66816         (nice): Likewise.
66817         (poll): Likewise.
66818         (signal): Likewise.
66819         (time): Likewise.
66820         (times): Likewise.
66822 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66824         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66825         sysdeps/unix/common/syscalls.list.
66826         (fchmod): Likewise.
66827         (fchown): Likewise.
66828         (ftruncate): Likewise.
66829         (getrusage): Likewise.
66830         (gettimeofday): Likewise.
66831         (setpgid): Likewise.
66832         (setregid): Likewise.
66833         (setreuid): Likewise.
66834         (sigaction): Likewise.
66835         (truncate): Likewise.
66836         (vhangup): Likewise.
66837         * sysdeps/unix/common/syscalls.list: Remove file.
66838         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66839         * sysdeps/unix/sysv/linux/Implies: Likewise.
66841 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66843         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66845         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66846         Moved to ...
66847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66848         Here.
66849         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66850         to ...
66851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66852         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66853         to ...
66854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66855         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66856         to ...
66857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66858         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66859         to ...
66860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66861         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66862         to ...
66863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66864         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66865         to ...
66866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66867         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66868         to ...
66869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66870         Here.
66871         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66872         to ...
66873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66874         Here.
66875         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66876         to ...
66877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66878         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66879         Moved to ...
66880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66881         Here.
66882         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66883         to ...
66884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66886 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66888         * sysdeps/unix/common/bits/dirent.h: Remove file.
66889         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66891         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66892         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66893         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66894         * sysdeps/unix/bsd/isatty.c: Likewise.
66895         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66896         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66897         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66899 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66901         [BZ #13563]
66902         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66903         long double comparison inaccuracies.
66904         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66907 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66909         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66910         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66912 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66914         [BZ #14049]
66915         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66916         nonzero digits before rounding a hex value.
66917         * stdlib/tst-strtod.c (tests): Add another test.
66919 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66921         * sysdeps/s390/fpu/libm-test-ulps: Update.
66923 2012-05-03  Andreas Jaeger  <aj@suse.de>
66925         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66926         does not get optimized out.
66927         (malloc_opt_barrier): New.
66929 2012-05-03  Andreas Jaeger  <aj@suse.de>
66930             Roland McGrath  <roland@hack.frob.com>
66932         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66933         intermediate file deletion.
66934         (generated): Add .symlist files.
66936 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66938         [BZ #13775]
66939         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66940         Redirect under this condition.
66941         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66942         [__USE_GNU] (__dprintf_chk): Not under this condition.
66943         [__USE_GNU] (__vdprintf_chk): Likewise.
66944         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66945         under this condition.
66946         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66947         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66948         [__USE_XOPEN2K8] (vdprintf): Likewise.
66949         [__USE_GNU] (__dprintf_chk): Not under this condition.
66950         [__USE_GNU] (__vdprintf_chk): Likewise.
66951         [__USE_GNU] (dprintf): Likewise.
66952         [__USE_GNU] (vdprintf): Likewise.
66954 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66956         * elf/Makefile (common-generated): Set this instead of generated for
66957         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66958         $(all-built-dso)-derived lists.
66960 2012-05-03  Andreas Jaeger  <aj@suse.de>
66962         * sysdeps/i386/fpu/libm-test-ulps: Update.
66964         * FAQ: Removed.
66965         * FAQ.in: Likewise.
66966         * scripts/gen-FAQ.pl: Likewise.
66967         * manual/install.texi (Installation): Point to online location of
66968         FAQ.
66969         * Makefile (files-for-dist): Remove FAQ.
66970         (FAQ): Remove.
66972 2012-05-02  Allan McRae  <allan@archlinux.org>
66974         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66975         (LDFLAGS-reldepmod5.so): Likewise.
66976         (LDFLAGS-reldep6mod1.so): Likewise.
66977         (LDFLAGS-reldep6mod4.so): Likewise.
66978         (LDFLAGS-reldep8mod3.so): Likewise.
66979         (LDFLAGS-unload4mod1.so): Likewise.
66980         (LDFLAGS-unload4mod2.so): Likewise.
66981         (LDFLAGS-tst-initorder): Likewise.
66982         (LDFLAGS-tst-initordera2.so): Likewise.
66983         (LDFLAGS-tst-initordera3.so): Likewise.
66984         (LDFLAGS-tst-initordera4.so): Likewise.
66985         (LDFLAGS-tst-initorderb2.so): Likewise.
66986         (LDFLAGS-noload): Likewise.
66987         (LDFLAGS-next): Likewise.
66988         (LDFLAGS-order2mod1.so): Likewise.
66989         (LDFLAGS-order2mod2.so): Likewise.
66990         (LDFLAGS-tst-initorder2): Likewise.
66991         (LDFLAGS-tst-initorder2a.so): Likewise.
66992         (LDFLAGS-tst-initorder2b.so): Likewise.
66993         (LDFLAGS-tst-initorder2c.so): Likewise.
66994         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66996 2012-05-02  David S. Miller  <davem@davemloft.net>
66998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67000 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67002         [BZ #14055]
67003         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67005 2012-05-02  Andreas Jaeger  <aj@suse.de>
67007         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67008         since we manipulate rounding mode.
67009         (CPPFLAGS-test-idouble.c): Likewise.
67010         (CPPFLAGS-test-ifloat.c): Likewise.
67011         (CFLAGS-test-ldouble.c): Likewise.
67012         (CFLAGS-test-double.c): Likewise.
67013         (CFLAGS-test-float.c): Likewise.
67014         (CFLAGS-test-misc.c): Likewise.
67015         (CFLAGS-test-test-fenv.c): Likewise.
67017 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67019         [BZ #2550]
67020         [BZ #2570]
67021         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67022         comparisons to determine direction to adjust input.
67024 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67026         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67027         output to the target.
67029         * scripts/localplt.awk: New file.
67030         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67031         (check-localplt-CFLAGS): Variable removed.
67032         ($(all-built-dso:=.jmprel)): New static pattern rule.
67033         (generated): Add those targets.
67034         (localplt-built-dso): New variable.
67035         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67037         * elf/check-localplt.c: File removed.
67039         * scripts/check-execstack.awk: New file.
67040         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67041         (check-execstack-CFLAGS): Variable removed.
67042         ($(objpfx)check-execstack.h): Target removed.
67043         ($(objpfx)execstack-default): New target.
67044         (generated): Add that instead of check-execstack.h.
67045         ($(all-built-dso:=.phdr)): New static pattern rule.
67046         (generated): Add those targets.
67047         * elf/check-execstack.c: File removed.
67049         * scripts/check-textrel.awk: New file.
67050         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67051         (check-textrel-CFLAGS): Variable removed.
67052         (all-built-dso): Use := to define.o
67053         ($(all-built-dso:=.dyn)): New static pattern rule.
67054         (generated): Add those targets.
67055         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67056         * config.make.in (READELF): New substituted variable.
67057         * elf/check-textrel.c: File removed.
67059 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67061         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67062         allow.
67063         * conform/data/ctype.h-data [C99-based standards] (isblank):
67064         Expect function.
67065         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67066         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67067         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67068         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67069         Specify type.  Require positive value.
67070         (EILSEQ): Likewise.
67071         (ERANGE): Likewise.
67072         [ISO || POSIX] (EILSEQ): Do not expect.
67073         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67074         Specify type.  Require positive value.
67075         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67076         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67077         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67078         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67079         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67080         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67081         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67082         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67083         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67084         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67085         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67086         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67087         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67088         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67089         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67090         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67091         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67092         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67093         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67094         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67095         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67096         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67097         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67098         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67099         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67100         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67101         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67102         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67103         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67104         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67105         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67106         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67107         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67108         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67109         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67110         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67111         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67112         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67113         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67114         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67115         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67116         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67117         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67118         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67119         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67120         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67121         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67122         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67123         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67124         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67125         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67126         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67127         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67128         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67129         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67130         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67131         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67132         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67133         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67134         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67135         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67136         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67137         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67138         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67139         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67140         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67141         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67142         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67143         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67144         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67145         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67146         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67147         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67148         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67149         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67150         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67151         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67152         Require >= 2.
67153         (FLT_ROUNDS): Expect as macro, not constant.
67154         (FLT_MANT_DIG): Use macro-int-constant.
67155         (DBL_MANT_DIG): Likewise.
67156         (LDBL_MANT_DIG): Likewise.
67157         (FLT_DIG): Likewise.
67158         (DBL_DIG): Likewise.
67159         (LDBL_DIG): Likewise.
67160         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67161         (DBL_MIN_EXP): Likewise.
67162         (LDBL_MIN_EXP): Likewise.
67163         (FLT_MAX_EXP): Use macro-int-constant.
67164         (DBL_MAX_EXP): Likewise.
67165         (LDBL_MAX_EXP): Likewise.
67166         (FLT_MAX_10_EXP): Likewise.
67167         (DBL_MAX_10_EXP): Likewise.
67168         (LDBL_MAX_10_EXP): Likewise.
67169         (FLT_MAX): Use macro-constant.
67170         (DBL_MAX): Likewise.
67171         (LDBL_MAX): Likewise.
67172         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67173         (DBL_EPSILON): Likewise.
67174         (LDBL_EPSILON): Likewise.
67175         (FLT_MIN): Likewise.
67176         (DBL_MIN): Likewise.
67177         (LDBL_MIN): Likewise.
67178         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67179         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67180         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67181         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67182         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67183         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67184         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67185         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67186         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67187         [ISO11] (FLT_TRUE_MIN): Likewise.
67188         [ISO11] (LDBL_TRUE_MIN): Likewise.
67189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67190         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67191         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67192         (SCHAR_MAX): Likewise.
67193         (UCHAR_MAX): Likewise.
67194         (CHAR_MIN): Likewise.
67195         (CHAR_MAX): Likewise.
67196         (MB_LEN_MAX): Use macro-int-constant.
67197         (SHRT_MIN): Use macro-int-constant.  Specify type.
67198         (SHRT_MAX): Likewise.
67199         (USHRT_MAX): Likewise.
67200         (INT_MAX): Likewise.
67201         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67202         bound negative.
67203         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67204         bound with "U".
67205         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67206         bound with "L".
67207         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67208         bound negative.  Suffix upper bound with "L".
67209         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67210         bound with "UL".
67211         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67212         Specify type.
67213         [C99-based standards] (LLONG_MAX): Likewise.
67214         [C99-based standards] (ULLONG_MAX): Likewise.
67215         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67216         == 0.
67217         [ISO11] (max_align_t): Require type.
67218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67220         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67221         from $CFLAGS, without defining away __attribute__ calls.
67222         (checknamespace): Use $CFLAGS_namespace.
67224         * conform/conformtest.pl (@keywords): Only include C99 keywords
67225         for standards based on C99 or C11.
67227         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67228         Disable tests.
67229         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67230         UNIX98]: Likewise.
67232         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67233         usability of symbols in #if.
67235         * conform/conformtest.pl: If macro or constant types start
67236         "promoted:", expect the symbol to be of the following type
67237         promoted by the integer promotions.
67239         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67240         in one place.  Also handle "macro-constant".
67242         * conform/conformtest.pl: Only accept expected macro values with
67243         "==".  Parse all "macro" lines in one place.
67244         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67246         * conform/conformtest.pl: Handle braced types on "constant" lines
67247         instead of handling "typed-constant".
67248         * conform/data/signal.h-data: Use "constant" instead of
67249         "typed-constant".
67251         * conform/conformtest.pl: Handle "optional-" at start of lines in
67252         one place rather than duplicating several cases.  Handle each
67253         format of "macro" line with initial "optional-".
67255         * conform/conformtest.pl: Only accept expected constant or
67256         optional-constant values with "==".  Parse all "constant" lines in
67257         one place.  Parse all "optional-constant" lines in one place.
67258         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67259         * conform/data/fmtmsg.h-data: Likewise.
67260         * conform/data/netinet/in.h-data: Likewise.
67261         * conform/data/tar.h-data: Likewise.
67262         * conform/data/limits.h-data: Use "==" form on "constant" and
67263         "optional-constant" lines.
67265         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67266         Use -std=c99 for XOPEN2K.
67267         (@knownproblems): Remove.
67268         (newtoken): Don't check %isknown.
67270         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67271         Do not expect macro.
67272         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67273         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67274         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67275         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67276         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67277         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67278         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67279         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67280         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67281         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67282         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67283         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67284         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67285         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67286         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67287         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67288         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67289         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67290         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67291         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67292         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67293         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67294         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67295         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67296         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67297         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67298         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67299         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67300         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67301         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67302         [XPG3] (acosh): Likewise.
67303         [XPG3] (asinh): Likewise.
67304         [XPG3] (atanh): Likewise.
67305         [XPG3] (cbrt): Likewise.
67306         [XPG3] (expm1): Likewise.
67307         [XPG3] (ilogb): Likewise.
67308         [XPG3] (log1p): Likewise.
67309         [XPG3] (logb): Likewise.
67310         [XPG3] (nextafter): Likewise.
67311         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67312         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67313         [XPG3] (remainder): Likewise.
67314         [XPG3] (rint): Likewise.
67315         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67316         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67317         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67318         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67319         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67320         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67321         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67322         [UNIX98 || XOPEN2K] (scalb): Expect.
67323         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67324         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67325         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67326         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67327         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67328         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67329         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67330         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67331         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67332         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67333         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67334         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67335         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67336         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67337         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67338         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67339         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67340         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67341         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67342         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67343         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67344         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67345         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67346         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67347         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67348         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67349         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67350         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67351         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67352         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67353         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67354         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67355         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67356         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67357         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67358         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67359         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67360         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67361         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67362         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67363         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67364         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67365         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67366         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67367         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67368         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67369         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67370         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67371         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67372         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67373         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67374         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67375         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67376         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67377         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67378         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67379         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67380         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67381         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67382         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67383         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67384         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67385         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67386         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67387         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67388         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67389         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67390         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67391         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67392         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67393         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67394         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67395         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67396         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67397         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67398         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67399         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67400         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67401         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67402         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67403         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67404         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67405         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67406         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67407         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67408         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67409         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67410         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67411         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67412         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67413         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67414         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67415         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67416         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67417         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67418         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67419         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67420         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67421         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67422         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67423         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67424         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67425         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67426         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67427         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67428         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67429         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67430         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67431         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67432         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67433         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67434         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67435         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67436         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67437         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67438         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67439         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67440         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67441         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67442         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67443         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67444         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67445         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67446         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67447         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67448         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67449         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67450         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67451         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67452         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67453         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67454         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67455         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67456         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67457         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67458         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67459         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67461         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67462         _XOPEN_SOURCE_EXTENDED for XPG4.
67464         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67466         * Makeconfig (localtime): Remove variable.
67467         (inst_localtime-file): Likewise.
67469 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67472         Update.
67473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67474         Update.
67475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67476         Update.
67477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67478         Update.
67479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67480         Update.
67481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67482         Update.
67483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67484         Update.
67485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67486         Update.
67487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67488         Update.
67490 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67492         [BZ #2550]
67493         [BZ #2570]
67494         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67495         comparisons to determine direction to adjust input.
67496         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67497         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67498         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67499         Likewise.
67500         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67501         Likewise.
67502         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67503         Likewise.
67504         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67505         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67506         Likewise.
67507         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67508         Likewise.
67509         * math/libm-test.inc (nexttoward_test): Add more tests.
67511 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67513         [BZ #14040]
67514         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67515         in version GLIBC_2.1, not GLIBC_2.0.
67516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67517         Likewise.
67519 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67521         [BZ #13942]
67522         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67523         (1 - x) * (1 + x).
67524         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67525         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67526         * math/libm-test.inc (acos_test): Add more tests.
67527         (asin_test): Likewise.
67528         * sysdeps/i386/fpu/libm-test-ulps: Update.
67529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67531         [BZ #14034]
67532         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67533         of square root.
67534         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67535         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67536         * math/libm-test.inc (acos_test_tonearest): New function.
67537         (acos_test_towardzero): Likewise.
67538         (acos_test_downward): Likewise.
67539         (acos_test_upward): Likewise.
67540         (asin_test_tonearest): Likewise.
67541         (asin_test_towardzero): Likewise.
67542         (asin_test_downward): Likewise.
67543         (asin_test_upward): Likewise.
67544         (main): Call the new functions.
67545         * sysdeps/i386/fpu/libm-test-ulps: Update.
67546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67548         [BZ #13884]
67549         [BZ #13924]
67550         * math/e_exp10.c: Include <float.h>.
67551         (__ieee754_exp10): Handle underflow here rather than multiplying
67552         large negative argument by M_LN10.
67553         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67554         of __ieee754_expf.
67555         * math/e_exp10l.c: Include <float.h>.
67556         (__ieee754_exp10l): Handle underflow here rather than multiplying
67557         large negative argument by M_LN10l.
67558         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67559         spurious overflow exception on underflow.
67561 2012-04-29  Marek Polacek  <polacek@redhat.com>
67563         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67564         (__fortify_function): New macro.
67565         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67566         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67567         __extern_always_inline.
67568         * libio/bits/stdio2.h: Likewise.
67569         * libio/bits/stdio.h: Likewise.
67570         * string/string.h: Likewise.
67571         * string/bits/string3.h: Likewise.
67572         * include/stdio.h: Likewise.
67573         * stdlib/bits/stdlib.h: Likewise.
67574         * stdlib/stdlib.h: Likewise.
67575         * rt/bits/mqueue2.h: Likewise.
67576         * rt/mqueue.h: Likewise.
67577         * posix/bits/unistd.h: Likewise.
67578         * posix/unistd.h: Likewise.
67579         * io/bits/poll2.h: Likewise.
67580         * io/bits/fcntl2.h: Likewise.
67581         * io/fcntl.h: Likewise.
67582         * io/sys/poll.h: Likewise.
67583         * misc/bits/syslog.h: Likewise.
67584         * misc/bits/syslog-ldbl.h: Likewise.
67585         * misc/sys/syslog.h: Likewise.
67586         * socket/bits/socket2.h: Likewise.
67587         * socket/sys/socket.h: Likewise.
67588         * debug/tst-chk1.c: Likewise.
67589         * wcsmbs/bits/wchar2.h: Likewise.
67590         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67591         * wcsmbs/wchar.h: Likewise.
67593 2012-04-29  Andreas Jaeger  <aj@suse.de>
67595         * Makerules (tests): Remove enable-check-abi protection.
67596         (check-abi-warn): Remove.
67597         (check-abi-%): Remove check-abi-warn usage.
67599         * configure.in: Remove check-abi configure option.
67600         * configure: Regenerated.
67601         * config.make.in (enable-check-abi): Remove.
67603 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67605         [BZ #14033]
67606         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67607         double functions to double *_finite functions.
67609         [BZ #13941]
67610         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67611         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67612         LDBL_MIN_EXP.
67613         * stdio-common/Makefile (tests): Add tst-sprintf3.
67614         * stdio-common/tst-sprintf3.c: New file.
67616         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67617         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67619 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67621         * conform/conformtest.pl: Remove duplicate typed-constant
67622         handling.
67624 2012-04-28  David S. Miller  <davem@davemloft.net>
67626         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67627         (check-abi-%): Remove AWK script prerequisite and explicit
67628         abilist directory.
67629         (check-abi): Rewrite to just diff the symlist with the abilist.
67630         (config-tls, config-abi-config): Delete, no longer used.
67631         (update-abi-%): Remove AWK script and explicit abilist directory.
67632         (update-abi): Rewrite to simply compare and conditionally copy the
67633         symlist and the sysdep abilist file.  Remove update-abi-config
67634         checks.
67635         * abilist/ld.abilist: Remove.
67636         * abilist/libBrokenLocale.abilist: Remove.
67637         * abilist/libanl.abilist: Remove.
67638         * abilist/libcrypt.abilist: Remove.
67639         * abilist/libdl.abilist: Remove.
67640         * abilist/librt.abilist: Remove.
67641         * abilist/libthread_db.abilist: Remove.
67642         * abilist/libutil.abilist: Remove.
67643         * scripts/extract-abilist.awk: Remove.
67644         * scripts/merge-abilist.awk: Remove.
67645         * sysdeps/generic/libcidn.abilist: New file.
67646         * sysdeps/generic/libnss_compat.abilist: New file.
67647         * sysdeps/generic/libnss_db.abilist: New file.
67648         * sysdeps/generic/libnss_dns.abilist: New file.
67649         * sysdeps/generic/libnss_files.abilist: New file.
67650         * sysdeps/generic/libnss_hesiod.abilist: New file.
67651         * sysdeps/generic/libnss_nis.abilist: New file.
67652         * sysdeps/generic/libnss_nisplus.abilist: New file.
67653         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67654         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67655         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67656         file.
67657         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67658         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67659         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67660         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67661         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67662         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67663         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67664         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67665         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67666         file.
67667         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67668         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67669         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67670         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67671         file.
67672         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67673         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67674         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67675         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67676         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67677         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67678         file.
67679         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67680         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67681         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67682         file.
67683         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67685         New file.
67686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67687         New file.
67688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67689         New file.
67690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67691         New file.
67692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67693         New file.
67694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67695         New file.
67696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67697         New file.
67698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67699         New file.
67700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67701         New file.
67702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67703         New file.
67704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67705         New file.
67706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67707         New file.
67708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67709         New file.
67710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67711         file.
67712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67713         New file.
67714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67715         New file.
67716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67717         file.
67718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67719         New file.
67720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67721         New file.
67722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67723         file.
67724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67725         New file.
67726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67727         New file.
67728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67729         New file.
67730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67731         New file.
67732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67733         New file.
67734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67735         New file.
67736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67738         file.
67739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67740         New file.
67741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67742         file.
67743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67744         file.
67745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67746         file.
67747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67748         file.
67749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67750         file.
67751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67752         New file.
67753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67754         file.
67755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67756         file.
67757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67758         New file.
67759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67760         file.
67761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67763         file.
67764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67765         New file.
67766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67767         file.
67768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67769         file.
67770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67771         file.
67772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67773         file.
67774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67775         file.
67776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67777         New file.
67778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67779         file.
67780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67781         file.
67782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67783         New file.
67784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67785         file.
67786         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67787         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67788         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67789         file.
67790         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67791         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67792         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67793         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67794         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67795         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67796         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67797         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67798         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67799         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67802         file.
67803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67804         New file.
67805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67806         file.
67807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67808         file.
67809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67810         file.
67811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67812         file.
67813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67814         file.
67815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67816         New file.
67817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67818         New file.
67819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67820         file.
67821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67822         New file.
67823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67824         file.
67825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67827         file.
67828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67829         New file.
67830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67831         file.
67832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67833         file.
67834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67835         file.
67836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67837         file.
67838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67839         file.
67840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67841         New file.
67842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67843         New file.
67844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67845         file.
67846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67847         New file.
67848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67849         file.
67851 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67853         * conform/conformtest.pl: Fix typo in handling typed-constant from
67854         allow-header.
67856 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67858         * README: Cut down references to pre-2.6 Linux kernels and
67859         Linuxthreads.  Update lists of configurations in libc and ports
67860         and sort alphabetically.  Say "or newer" with Linux kernel version
67861         requirements.
67863         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67865 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67867         [BZ #887]
67868         * math/libm-test.inc (logb_test_downward): New test to expose
67869         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67870         rounding mode.
67872 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67874         [BZ #14027]
67875         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67876         to be done.
67877         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67878         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67880 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67882         * sysdeps/unix/i386/brk.S: Remove file.
67883         * sysdeps/unix/i386/dl-brk.S: Likewise.
67884         * sysdeps/unix/i386/pipe.S: Likewise.
67885         * sysdeps/unix/i386/sigreturn.S: Likewise.
67886         * sysdeps/unix/i386/syscall.S: Likewise.
67887         * sysdeps/unix/i386/vfork.S: Likewise.
67888         * sysdeps/unix/i386/wait.S: Likewise.
67890         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67891         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67893         * configure.in (arm*-none*): Do not allow without
67894         --enable-hacker-mode.
67895         (netbsd*): Remove case setting base_os.
67896         (386bsd*): Likewise.
67897         (freebsd*): Likewise.
67898         (bsdi*): Likewise.
67899         (osf*): Likewise.
67900         (sunos*): Likewise.
67901         (ultrix*): Likewise.
67902         (newsos*): Likewise.
67903         (dynix*): Likewise.
67904         (*bsd*): Likewise.
67905         (sysv*): Likewise.
67906         (isc*): Likewise.
67907         (esix*): Likewise.
67908         (sco*): Likewise.
67909         (minix*): Likewise.
67910         (irix4*): Likewise.
67911         (irix6*): Likewise.
67912         (solaris[2-9]*): Likewise.
67913         (none): Likewise.
67914         * configure: Regenerated.
67916 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67918         [BZ #11521]
67919         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67920         overflow or cancellation in calculating denominator.
67921         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67922         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67923         down expression to avoid unexpected rounding in newer GCCs.
67924         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67926 2012-04-26  David S. Miller  <davem@davemloft.net>
67928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67929         long-double compat symbols.
67930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67944 2012-04-25  David S. Miller  <davem@davemloft.net>
67946         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67947         HWCAP_* values only after the memory barriers have been defined.
67948         (atomic_full_barrier): Define.
67949         (atomic_read_barrier): Define.
67950         (atomic_write_barrier): Define.
67952 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67954         * shlib-versions: Add libgcc_s version information.
67955         * sysdeps/generic/libgcc_s.h: Remove.
67956         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67957         libgcc_s.h.
67958         * sysdeps/gnu/unwind-resume.c: Likewise.
67959         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67961 2012-04-25  David S. Miller  <davem@davemloft.net>
67963         * sysdeps/unix/sparc/brk.S: Delete.
67964         * sysdeps/unix/sparc/dl-brk.S: Delete.
67965         * sysdeps/unix/sparc/pipe.S: Delete.
67966         * sysdeps/unix/sparc/sysdep.S: Delete.
67967         * sysdeps/unix/sparc/sysdep.h: Delete.
67968         * sysdeps/unix/sparc/vfork.S: Delete.
67969         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67970         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67971         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67972         (ret_ERRVAL, r0, r1, MOVE): Define.
67973         (JUMPTARGET): Remove.
67974         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67975         sysdeps/unix/sparc/sysdep.h
67976         (ENTRY, END): Remove.
67977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67979 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67981         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67982         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67983         -DIS_IN_build.
67985         * timezone/README: Update upstream location and email address for
67986         tzcode and tzdata.
67987         * timezone/zdump.c: Update from tzcode 2012b.
67988         * timezone/zic.c: Likewise.
67990         * configure.in (libc_cv_as_needed): Remove test.
67991         * configure: Regenerated.
67992         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67993         conditional definition.
67994         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67995         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67996         * config.make.in (have-as-needed): Remove variable.
67998 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67999             Paul Pluzhnikov  <ppluzhnikov@google.com>
68001         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68002         strings correctly.
68004 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68006         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68007         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68008         * sysdeps/sh/strlen.S: Likewise.
68010 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68012         * sysdeps/unix/fork.S: Remove file.
68013         * sysdeps/unix/i386/fork.S: Likewise.
68014         * sysdeps/unix/sparc/fork.S: Likewise.
68016         * sysdeps/unix/system.c: Remove file.
68017         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68019         * sysdeps/unix/getegid.S: Remove file.
68020         * sysdeps/unix/geteuid.S: Likewise.
68022 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68024         * scripts/check-localplt.awk: New file.
68025         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68026         of diff.
68027         * scripts/data/localplt-generic.data: Add a comment.
68029         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68030         NODE when __dir_mkfile failed.
68031         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68032         Reported by Ludovic Courtès <ludo@gnu.org>.
68034 2012-04-24  Andreas Jaeger  <aj@suse.de>
68036         * Makerules (common-clean): Also remove gen-as-const-headers
68037         files.
68039 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68041         * Makerules (native-compile): Do not change working directory for
68042         build.  Use $(OUTPUT_OPTION) in command.
68043         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68045 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68047         [BZ #13886]
68048         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68049         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68050         * math/libm-test.inc (floor_test): Add more tests.
68051         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68053 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68055         * sysdeps/unix/getdents.c: Remove file.
68056         * sysdeps/unix/sysv/getdents.c: Likewise.
68057         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68059         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68060         sysdeps/unix/mman/syscalls.list.
68061         (mmap): Likewise.
68062         (mprotect): Likewise.
68063         (msync): Likewise.
68064         (munmap): Likewise.
68065         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68066         * sysdeps/unix/mman/syscalls.list: Remove.
68067         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68069         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68070         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68071         * configure: Regenerated.
68072         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68073         $(libgcc_s_suffix).
68074         * config.make.in (libgcc_s_suffix): Remove variable.
68076 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68078         * sysdeps/unix/sysv/gethostname.c: Move to ...
68079         * sysdeps/posix/gethostname.c: ... here.
68081         * sysdeps/unix/execve.S: Remove file.
68083         * sysdeps/unix/_exit.S: Remove file.
68085 2012-04-23  Andreas Jaeger  <aj@suse.de>
68087         [BZ #13739]
68088         * manual/Makefile: Remove make dist support, there's no
68089         need for a stand-alone documentation tar ball.
68090         (TEXI2DVI): Define always, it's not in Makeconfig.
68091         (dist): Removed.
68092         (tar-it): Removed.
68093         (edition): Removed.
68094         (glibc-doc-$(edition).tar): Removed
68095         (%.Z): Removed.
68096         (%.gz): Removed.
68097         (%.uu): Removed.
68098         (ETAGS): Remove, it's in Makeconfig.
68099         (move-if-change): Remove, it's in Makeconfig.
68101 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68103         [BZ #13970]
68104         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68105         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68106         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68107         (strtod_l, strtof_l, strtold_l): Remove __wur.
68108         It is not necessarily an error to ignore strtol's return value.
68109         One can reliably look at the stored endptr to decide whether
68110         the number had valid syntax.
68112 2012-04-21  Andreas Jaeger  <aj@suse.de>
68114         [BZ #13739]
68115         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68117 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68119         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68120         * sysdeps/unix/sysv/Versions: Remove file.
68122 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68124         [BZ #13927]
68125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68127 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68129         [BZ #7064]
68130         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68131         version from __vm86.
68133 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68135         * sysdeps/unix/common/lxstat.c: Remove file.
68136         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68138         * sysdeps/unix/sysv/Makefile: Remove file.
68140         * sysdeps/unix/sysv/direct.h: Remove file.
68142         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68143         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68144         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68145         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68146         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68147         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68148         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68150         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68152         * sysdeps/unix/xmknod.c: Remove file.
68153         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68155         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68157         * sysdeps/unix/sysv/i386/time.S: Remove file.
68159         * sysdeps/unix/fxstat.c: Remove file.
68160         * sysdeps/unix/xstat.c: Likewise.
68161         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68163         * sysdeps/unix/sysv/sigaction.c: Remove file.
68165         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68166         (sysdep_headers): Remove variable.
68167         [termio.h not in sysdep_headers] (generated): Likewise.
68168         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68169         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68170         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68171         * sysdeps/unix/sysv/tcflow.c: Likewise.
68172         * sysdeps/unix/sysv/tcflush.c: Likewise.
68173         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68174         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68175         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68176         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68177         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68179         * sysdeps/unix/siglist.c: Remove file.
68181         * sysdeps/unix/getppid.S: Remove file.
68183         * sysdeps/unix/mkdir.c: Remove file.
68184         * sysdeps/unix/rmdir.c: Likewise.
68186 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68188         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68189         ERR_MAX value.
68190         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68191         errlist-compat value.
68193 2012-04-18  David S. Miller  <davem@davemloft.net>
68195         * sysdeps/generic/memcopy.h (reg_char): Delete.
68196         * debug/strcat_chk.c: Use char, not reg_char.
68197         * debug/strcpy_chk.c: Likewise.
68198         * debug/strncat_chk.c: Likewise.
68199         * debug/strncpy_chk.c: Likewise.
68200         * string/memchr.c: Likewise.
68201         * string/memrchr.c: Likewise.
68202         * string/rawmemchr.c: Likewise.
68203         * string/strcat.c: Likewise.
68204         * string/strchr.c: Likewise.
68205         * string/strchrnul.c: Likewise.
68206         * string/strcmp.c: Likewise.
68207         * string/strcpy.c: Likewise.
68208         * string/strncat.c: Likewise.
68209         * string/strncmp.c: Likewise.
68210         * string/strncpy.c: Likewise.
68212 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68214         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68215         __builtin_memcopy is called when src and dest ranges are known to not
68216         overlap.
68218 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68220         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68221         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68222         fwd_align_merge macro call.
68223         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68224         bwd_align_merge macro call.
68225         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68227 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68229         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68230         bwd_align_merge macros.
68231         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68232         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68233         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68235 2012-04-18  David S. Miller  <davem@davemloft.net>
68237         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68239 2012-04-18  Andreas Jaeger  <aj@suse.de>
68241         [BZ# 6794]
68242         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68243         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68244         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68246         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68247         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68248         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68250         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68251         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68252         Adjust for changed ldbl-128 files.
68254         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68255         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68256         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68258 2012-04-17  David S. Miller  <davem@davemloft.net>
68260         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68262 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68264         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68265         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68266         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68267         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68268         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68269         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68271 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68273         [BZ #6794]
68274         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68275         * math/libm-test.inc: Add ilogb errno and exception tests.
68276         * math/w_ilogb.c: New file: ilogb wrapper.
68277         * math/w_ilogbf.c: New file: ilogbf wrapper.
68278         * math/w_ilogbl.c: New file: ilogbl wrapper.
68279         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68280         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68281         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68282         exception being thrown with 0.0 as argument.
68283         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68284         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68285         exception being thrown with 0.0 as argument.
68286         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68287         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68288         exception being thrown with 0.0 as argument.
68289         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68290         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68291         exception being thrown with 0.0 as argument.
68292         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68293         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68294         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68295         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68296         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68297         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68298         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68299         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68300         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68302 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68304         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68305         with altivec.
68307 2012-04-16  Marek Polacek  <polacek@redhat.com>
68309         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68311 2012-04-16  Marek Polacek  <polacek@redhat.com>
68313         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68314         operands of fdivp instruction.
68316 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68318         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68319         * elf/tst-auditmod3b.c: Likewise.
68320         * elf/tst-auditmod4b.c: Likewise.
68321         * elf/tst-auditmod5b.c: Likewise.
68322         * elf/tst-auditmod6b.c: Likewise.
68323         * elf/tst-auditmod6c.c: Likewise.
68324         * elf/tst-auditmod7b.c: Likewise.
68325         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68326         * sysdeps/x86_64/preconfigure.in: Likewise.
68327         * sysdeps/x86_64/preconfigure: Regenerated.
68329 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68331         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68332         __ILP32__.
68334 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68336         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68337         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68339 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68341         [BZ #13973]
68342         * locale/iso-639.def: Fix gl language name. Spotted by
68343         Yaron Shahrabani.
68345 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68347         [BZ #2074]
68348         * libio/libio.h (__io_write_fn): Update comment.
68350 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68352         [BZ #2074]
68353         * stdio.texi (Hook Functions): The user provided writer function
68354         is not allowed to return -1.
68356 2012-04-11  David S. Miller  <davem@davemloft.net>
68358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68360 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68362         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68363         Add a leading slash to rtkaio.
68365 2012-04-11  Jim Meyering  <meyering@redhat.com>
68367         [BZ #11959]
68368         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68369         It is not necessarily an error to ignore fwrite's return
68370         value.  One can reliably use ferror to test for errors after
68371         the fact.
68373 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68375         * bits/types.h (__snseconds_t): New type.
68376         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68378         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68379         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68380         (__SNSECONDS_T_TYPE): Likewise.
68381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68382         (__SNSECONDS_T_TYPE): Likewise.
68383         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68384         (__SNSECONDS_T_TYPE): Likewise.
68386 2012-04-10  Andreas Jaeger  <aj@suse.de>
68388         [BZ #2636]
68389         * manual/time.texi (Processor Time): Return type of times is
68390         elapsed real time since an arbitrary point in the past.
68391         (CPU Time): Move CLK_TCK from here...
68392         (Processor Time): ...to here.  Correct description.
68393         * manual/conf.texi (Constants for Sysconf): Correct description of
68394         _SC_CLK_TCK.
68396 2012-04-10  David S. Miller  <davem@davemloft.net>
68398         [BZ #13967]
68399         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68400         where the is a gap between DT_REL(A) and DT_JMPREL.
68402 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68404         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68405         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68406         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68408 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68410         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68411         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68412         (dl_main): Handle --inhibit-cache.
68413         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68414         _dl_inhibit_cache.
68415         * elf/dl-load.c (_dl_map_object): Use it.
68416         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68418 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68420         [BZ #13872]
68421         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68422         (__ieee754_powl): Saturate large exponents rather than testing for
68423         overflow of y*log2(x).
68424         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68425         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68426         exceptions.
68428         [BZ #11521]
68429         * math/s_ctan.c: Include <float.h>.
68430         (__ctan): Avoid internal overflow or cancellation in calculating
68431         denominator.
68432         * math/s_ctanf.c: Likewise.
68433         * math/s_ctanl.c: Likewise.
68434         * math/s_ctanh.c: Likewise.
68435         * math/s_ctanhf.c: Likewise.
68436         * math/s_ctanhl.c: Likewise.
68437         * math/libm-test.inc (ctan_test): Add more tests.
68438         (ctanh_test): Likewise.
68439         * sysdeps/i386/fpu/libm-test-ulps: Update.
68440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68442 2012-04-09  Andreas Jaeger  <aj@suse.de>
68444         [BZ #6894]
68445         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68446         is an optional BSD extension.
68448         [BZ #10254]
68449         * manual/stdio.texi (Opening Streams): Document additional fopen
68450         parameters.
68452 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68454         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68455         %eax without telling the compiler.
68457 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68459         [BZ # 13963]
68460         * manual/install.texi: Use sourceware.org.
68462 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68464         [BZ #13873]
68465         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68466         (__ieee754_pow): Generate overflow and underflow using huge*huge
68467         and tiny*tiny rather than just returning constant infinity or zero
68468         for large exponents.
68469         * math/libm-test.inc (pow_test): Require overflow exceptions for
68470         applicable cases of large exponents.
68472         [BZ #706]
68473         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68474         (__ieee754_pow): Use iterative multiplication algorithm only for
68475         integer exponents with absolute value below 1024.  Check for odd
68476         integer exponents when using algorithm for real exponents.
68477         * math/libm-test.inc (pow_test): Add more tests.
68478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68480 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68482         [BZ #13705]
68483         * math/libm-test.inc (exp_test): Do not allow overflow exception
68484         on underflow test.
68486 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68488         [BZ #13705]
68489         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68490         instead of __kernel_standard_f.
68492 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68494         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68495         * sysdeps/x86_64/memset_chk.S: Likewise.
68497 2012-04-08  Andreas Jaeger  <aj@suse.de>
68499         [BZ #10153]
68500         * manual/startup.texi (Environment Access): Describe return value
68501         for putenv and setenv.
68503         [BZ #6895]
68504         * manual/filesys.texi (Directory Entries): Add description for
68505         DT_LNK.
68507         [BZ #6890]
68508         * manual/filesys.texi (Directory Entries): Clarify that it's file
68509         system not operating system in the description of DT_UNKNOWN.
68511         [BZ #6578]
68512         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68514 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68516         [BZ #6649]
68517         * manual/llio.texi (Opening and Closing Files): Add cross
68518         reference to explain mode argument.
68520 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68522         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68523         * sysdeps/x86_64/memset_chk.S: Likewise.
68525 2012-04-07  David S. Miller  <davem@davemloft.net>
68527         * elf/elf.h (R_SPARC_WDISP10): Define.
68528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68529         R_SPARC_SIZE32.
68530         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68531         R_SPARC_SIZE64 and R_SPARC_H34.
68533 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68535         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68536         conditions and remove no longer applicable assertion.
68538 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68540         * bits/byteswap.h: Include <features.h>.
68541         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68542         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68544 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68546         * bits/byteswap.h (__bswap_16): Removed.
68547         Include <bits/byteswap-16.h> to get __bswap_16.
68548         * sysdeps/i386/bits/byteswap.h: Likewise.
68549         * sysdeps/s390/bits/byteswap.h: Likewise.
68550         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68551         * bits/byteswap-16.h: New file.
68552         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68553         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68554         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68555         * string/Makefile (headers): Add bits/byteswap-16.h.
68557 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68559         [BZ #13895]
68560         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68561         extra indirection.
68562         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68563         * nss/tst-nss-static.c: New.
68565 2012-04-06  Robert Millan  <rmh@gnu.org>
68567         [BZ #6486]
68568         * manual/llio.texi (File Position Primitive): lseek
68569         refers to WHENCE when it really means OFFSET.
68571 2012-04-06  Andreas Jaeger  <aj@suse.de>
68573         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68574         strncmp declarations.
68576         * abilist/libc.abilist: Add __poll and __ppoll.
68578 2012-04-05  David S. Miller  <davem@davemloft.net>
68580         * scripts/check-local-headers.sh: Accept a host triplet in the
68581         path matched by the exclude regexp.
68583         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68584         definition.
68585         * sysdeps/powerpc/powerpc32/dl-machine.h
68586         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68587         * sysdeps/s390/s390-32/dl-machine.h
68588         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68589         * sysdeps/sparc/sparc32/dl-machine.h
68590         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68591         * sysdeps/sparc/sparc64/dl-machine.h
68592         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68594         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68595         lazy binding.
68596         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68597         undefined symbol errors.
68599         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68600         DT_NEEDED entries.
68602 2012-04-05  Michael Matz  <matz@suse.de>
68604         [BZ #13592]
68605         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68607 2012-04-05  Andreas Jaeger  <aj@suse.de>
68609         [BZ #13908]
68610         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68611         comment.
68613 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68615         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68616         which ROUND is no valid rounding mode.
68618 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68620         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68621         read again.
68622         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68624 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68626         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68627         an exception using FPU order intentionally.
68629 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68631         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68632         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68633         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68634         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68636 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68638         [BZ #12340]
68639         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68640         EINVAL when BUFLEN is too smal.
68642 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68644         [BZ #13553]
68645         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68646         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68648 2012-04-03  Andreas Jaeger  <aj@suse.de>
68650         [BZ #13938]
68651         * manual/setjmp.texi (System V contexts): Fix sentence.
68653         [BZ #13926]
68654         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68655         New macro for this case.
68656         [!__GNUC__] (__bswap_64): New inline function for this case.
68657         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68658         * bits/byteswap.h: Likewise.
68659         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68660         ull, guard with __GLIBC_HAVE_LONG_LONG.
68662         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68663         __GLIBC_HAVE_LONG_LONG.
68665         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68666         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68668 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68670         [BZ #13691]
68671         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68672         inptr and inend, rather than using last_ch.
68674 2012-04-02  David S. Miller  <davem@davemloft.net>
68676         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68677         * stdio-common/printf-parse.h (read_int): Change return type to
68678         'int', return -1 on INT_MAX overflow.
68679         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68680         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68681         overflows INT_MAX.  Check for overflow of in-format-string precision
68682         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68683         SIZE_MAX not INT_MAX for integer overflow test.
68684         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68685         skip the construct in the format string but do not record anything.
68686         * stdio-common/bug22.c: Adjust to test both width/prevision
68687         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68688         explicitly for proper errno values.
68690 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68692         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68693         CHAR_MAX.
68694         * string/test-strcmp.c [! WIDE]: Likewise.
68695         * time/tst-mktime2.c: Likewise for INT_MAX.
68696         * string/test-string.h: #include <sys/param.h> for MIN.
68698         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68699         * sysdeps/i386/init-first.c (init): Likewise.
68700         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68701         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68702         * sysdeps/sh/init-first.c (init): Likewise.
68704 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68706         * po/ru.po: Update from translation team.
68707         * po/vi.po: Likewise.
68709 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68711         * resolv/nss_dns/dns-host.c: Merge copyright years.
68713 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68715         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68716         Optimize memcpy with prefetch if
68717         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68718         src, dst pointers have unequal 16 byte alignments.
68720 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68722         [BZ #13928]
68723         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68724         from a CNAME entry and return the minimum ttl for the query.
68725         (gaih_getanswer_slice): Likewise.
68727 2012-03-30  Jeff Law  <law@redhat.com>
68729         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68730         due to long keys.
68731         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68732         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68734         * resolv/nss_dns/dns-host.c: Update copyright year.
68736 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68738         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68739         requests to save a system call.  Fix check that all bytes are sent.
68741         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68742         comments for sendmmsg.
68744 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68746         [BZ #13691]
68747         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68748         with only 1 character between 0x0041 and 0x01b0.
68749         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68750         * wcsmbs/tst-mbsnrtowcs.c: New file.
68752 2012-03-29  David S. Miller  <davem@davemloft.net>
68754         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68755         small copies by hand.
68757 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68759         [BZ #13761]
68760         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68761         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68762         group memberships.
68764 2012-03-28  David S. Miller  <davem@davemloft.net>
68766         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68767         that branches into memcpy.
68768         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68769         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68771         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68773         bits.
68774         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68775         implementation too.
68776         * sysdeps/sparc/mempcpy.S: New file.
68778         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68779         the IFUNC routine in the libc case.
68780         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68782         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68783         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68784         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68785         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68786         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68787         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68788         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68789         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68791         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68792         loop to 256 bytes instead of 64 bytes and fix test signedness.
68794         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68795         * sysdeps/sparc/sparc32/Makefile: rather than here...
68796         * sysdeps/sparc/sparc64/Makefile: and here.
68798 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68800         * malloc/mallocbug.c: Avoid warnings about unused variables.
68802 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68804         [BZ #13760]
68805         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68806         in the right place. Discard and retry query if response is
68807         larger than input buffer size.
68809 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68811         [BZ #369]
68812         [BZ #2678]
68813         [BZ #3866]
68814         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68815         x for large integer exponent.
68816         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68817         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68818         sign of result as needed afterwards.
68819         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68820         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68821         result for underflowing pow the same as for overflow.
68822         (__kernel_standard_l): Handle powl overflow and underflow here
68823         rather than calling __kernel_standard.
68824         * math/libm-test.inc (pow_test): Add more tests.
68826         [BZ #3868]
68827         [BZ #13879]
68828         [BZ #13910]
68829         [BZ #13911]
68830         [BZ #13912]
68831         [BZ #13913]
68832         [BZ #13915]
68833         [BZ #13916]
68834         [BZ #13917]
68835         [BZ #13918]
68836         [BZ #13919]
68837         [BZ #13920]
68838         [BZ #13921]
68839         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68840         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68841         (__kernel_standard_l): New function.
68842         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68843         __kernel_standard.
68844         * math/w_acosl.c (__acosl): Likewise.
68845         * math/w_asinl.c (__asinl): Likewise.
68846         * math/w_atan2l.c (__atan2l): Likewise.
68847         * math/w_atanhl.c (__atanhl): Likewise.
68848         * math/w_coshl.c (__coshl): Likewise.
68849         * math/w_exp10l.c (__exp10l): Likewise.
68850         * math/w_exp2l.c (__exp2l): Likewise.
68851         * math/w_fmodl.c (__fmodl): Likewise.
68852         * math/w_hypotl.c (__hypotl): Likewise.
68853         * math/w_j0l.c (__j0l, __y0l): Likewise.
68854         * math/w_j1l.c (__j1l, __y1l): Likewise.
68855         * math/w_jnl.c (__jnl, __ynl): Likewise.
68856         * math/w_lgammal.c (__lgammal): Likewise.
68857         * math/w_log10l.c (__log10l): Likewise.
68858         * math/w_log2l.c (__log2l): Likewise.
68859         * math/w_logl.c (__logl): Likewise.
68860         * math/w_powl.c (__powl): Likewise.
68861         * math/w_remainderl.c (__remainderl): Likewise.
68862         * math/w_scalbl.c (sysv_scalbl): Likewise.
68863         * math/w_sinhl.c (__sinhl): Likewise.
68864         * math/w_sqrtl.c (__sqrtl): Likewise.
68865         * math/w_tgammal.c (__tgammal): Likewise.
68866         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68867         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68868         * math/libm-test.inc (acos_test): Add more tests.
68869         (acosh_test): Likewise.
68870         (asin_test): Likewise.
68871         (atanh_test): Likewise.
68872         (exp_test): Likewise.
68873         (exp10_test): Likewise.
68874         (exp2_test): Likewise.
68875         (expm1_test): Likewise.
68876         (lgamma_test): Likewise.
68877         (log_test): Likewise.
68878         (log10_test): Likewise.
68879         (log1p_test): Likewise.
68880         (log2_test): Likewise.
68881         (pow_test): Do not allow some spurious overflow exceptions.
68882         (sqrt_test): Add more tests.
68883         (tgamma_test): Likewise.
68884         (y0_test): Likewise.
68885         (y1_test): Likewise.
68886         (yn_test): Likewise.
68888 2012-03-27  Anton Blanchard  <anton@samba.org>
68890         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68891         MAP_HUGETLB.
68892         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68893         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68894         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68896 2012-03-27  David S. Miller  <davem@davemloft.net>
68898         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68900         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68901         have-as-vis3 check.
68903 2012-03-27  Andreas Jaeger  <aj@suse.de>
68905         * sysdeps/x86_64/elf/configure.in: Moved to ...
68906         * sysdeps/x86_64/configure.in: ... here.
68907         * sysdeps/x86_64/elf/start.S: Moved to ...
68908         * sysdeps/x86_64/start.S: ... here.
68909         * sysdeps/x86_64/elf/configure: Delete.
68911         * sysdeps/x86_64/configure.in: Merge contents from
68912         sysdeps/i386/configure.in (without i686 check).
68914         * sysdeps/i386/elf/Versions: Merge into ...
68915         * sysdeps/i386/Versions: ... this.
68916         * sysdeps/i386/elf/Versions: Delete file.
68917         * sysdeps/i386/elf/start.S: Moved to ...
68918         * sysdeps/i386/start.S: ...here.
68919         * sysdeps/i386/elf/configure.in: Merge into...
68920         * sysdeps/i386/configure.in: ...here.
68921         * sysdeps/i386/elf/configure.in: Delete file.
68922         * sysdeps/i386/elf/configure: Delete file.
68924         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68925         * debug/backtracesyms.c: ... here.
68926         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68927         * debug/backtracesymsfd.c: ... here.
68928         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68929         * sysdeps/generic/ifunc-sel.h: ... here.
68931         * sysdeps/unix/i386/start.c: Delete file.
68932         * sysdeps/unix/sparc/start.c: Delete file.
68933         * sysdeps/unix/start.c: Delete file.
68935         * sysdeps/sh/elf/configure.in: Moved to ...
68936         * sysdeps/sh/configure.in: ... here.
68937         * sysdeps/sh/elf/start.S: Moved to ...
68938         * sysdeps/sh/start.S: ... here.
68939         * sysdeps/sh/elf/configure: Delete file.
68941         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68942         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68943         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68944         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68945         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68946         * sysdeps/powerpc/powerpc64/start.S: here.
68947         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68948         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68949         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68950         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68951         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68953         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68954         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68955         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68956         * sysdeps/powerpc/powerpc32/start.S: ... here.
68957         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68958         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68959         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68961         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68962         * sysdeps/powerpc/ifunc-sel.h: ... here.
68963         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68964         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68966         * sysdeps/sparc/elf/configure.in: Moved to ...
68967         * sysdeps/sparc/configure.in: ... here.
68968         * sysdeps/sparc/elf/configure: Delete file.
68969         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68970         * sysdeps/sparc/sparc32/start.S: ... here.
68971         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68972         * sysdeps/sparc/sparc64/start.S: ... here.
68973         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68974         * sysdeps/sparc/sparc32/Makefile: ... this.
68975         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68976         * sysdeps/sparc/sparc64/Makefile: ... this.
68978         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68979         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68980         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68981         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68982         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68983         * sysdeps/s390/s390-32/setjmp.S: ... here.
68984         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68985         * sysdeps/s390/s390-32/configure.in: ... here.
68986         * sysdeps/s390/s390-32/elf/configure: Delete file.
68987         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68988         * sysdeps/s390/s390-32/start.S: ... here.
68990         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68991         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68992         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68993         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68994         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68995         * sysdeps/s390/s390-64/setjmp.S: ... here.
68996         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68997         * sysdeps/s390/s390-64/configure.in: ... here
68998         * sysdeps/s390/s390-64/elf/configure: Delete file.
68999         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69000         * sysdeps/s390/s390-64/start.S: ... here.
69001         * sysdeps/s390/s390-64/elf/configure: Delete.
69003         * configure.in: Remove support for elf directories in sysdeps.
69005         * configure: Regenerated.
69006         * sysdeps/i386/configure: Regenerated.
69007         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69008         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69009         * sysdeps/s390/s390-32/configure: Regenerated.
69010         * sysdeps/s390/s390-64/configure: Regenerated.
69011         * sysdeps/sh/configure: Regenerated.
69012         * sysdeps/sparc/configure: Regenerated.
69013         * sysdeps/x86_64/configure: Regenerated.
69015 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69019         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69020         denormal result into account.
69022 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69024         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69025         Reported by Allan McRae <allan@archlinux.org>.
69027 2012-03-23  Jeff Law  <law@redhat.com>
69029         * nss/getnssent.c (__nss_getent): Fix typo.
69031 2012-03-23  David S. Miller  <davem@davemloft.net>
69033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69035 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69037         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69038         to pad to uint64_t for each field.
69039         (dl_tls_index): Replace unsigned long with uint64_t.
69041 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69042         Paul Pluzhnikov  <ppluzhnikov@google.com>
69044         [BZ #6528]
69045         * grp/Makefile (otherlibs): Don't set it.
69046         * inet/Makefile (otherlibs): Likewise.
69047         * login/Makefile (otherlibs): Likewise.
69048         * nscd/Makefile (otherlibs): Likewise.
69049         * posix/Makefile (otherlibs): Likewise.
69050         * pwd/Makefile (otherlibs): Likewise.
69051         * rt/Makefile (otherlibs): Likewise.
69052         * sunrpc/Makefile (otherlibs): Likewise.
69053         * nss/Makefile (otherlibs): Likewise.
69054         Add libnss_files to routines and static-only-routines.
69055         ($(objpfx)getent): Remove rule.
69056         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69057         static-only-routines.
69059 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69061         [BZ #13892]
69062         * math/s_cexp.c: Include <float.h>.
69063         (__cexp): Handle exp result overflowing not necessarily
69064         overflowing both real and imaginary parts of result.
69065         * math/s_cexpf.c: Likewise.
69066         * math/s_cexpl.c: Likewise.
69067         * math/libm-test.inc (cexp_test): Add more tests.
69068         * sysdeps/i386/fpu/libm-test-ulps: Update.
69069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69071 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69073         * include/link.h (ELFW): New macro.
69074         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69075         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69077 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69079         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69080         with uint64_t.
69082 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69084         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69085         declaration.
69086         (struct La_x32_retval): Likewise.
69088 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69090         * sysdeps/x86_64/preconfigure.in: New file.
69091         * sysdeps/x86_64/preconfigure: New generated file.
69093 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69095         [BZ #13824]
69096         * math/e_exp2l.c: Include <float.h>.
69097         (__ieee754_exp2l): Handle overflow and underflow cases
69098         separately.  Only pass fractional part of argument to
69099         __ieee754_expl.
69100         * math/libm-test.inc (exp2_test): Add more tests.
69102         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69103         negating x to take absolute value.
69104         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69105         Likewise.
69106         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69107         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69108         Likewise.
69109         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69110         computing low part if x was negated.
69111         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69113 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69115         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69116         la_x32_gnu_pltexit.
69117         (pltexit): Cast int_retval to ptrdiff_t.
69118         * elf/tst-auditmod3b.c: Likewise.
69119         * elf/tst-auditmod4b.c: Likewise.
69120         * elf/tst-auditmod5b.c: Likewise.
69121         * elf/tst-auditmod6b.c: Likewise.
69122         * elf/tst-auditmod6c.c: Likewise.
69123         * elf/tst-auditmod7b.c: Likewise.
69125         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69126         and x32_gnu_pltexit.
69128         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69129         __ELF_NATIVE_CLASS.
69130         (La_x32_regs): New macro.
69131         (La_x32_retval): Likewise.
69132         (la_x32_gnu_pltenter): New function prototype.
69133         (la_x32_gnu_pltexit): Likewise.
69135 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69137         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69138         exponent.
69140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69142         * configure.in (libc_cv_cc_nofma): Check for option to disable
69143         generation of FMA instructions.
69144         * configure: Regenerate.
69145         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69146         * sysdeps/ieee754/dbl-64/Makefile: New file.
69147         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69148         Remove brandred-fma4.
69149         (CFLAGS-brandred-fma4.c): Remove.
69150         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69151         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69152         define.
69153         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69154         define.
69156 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69158         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69159         LLONG_MAX != LONG_MAX.
69160         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69161         (_fitoa_word): Likewise.
69162         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69163         LLONG_MAX != LONG_MAX.
69164         * stdio-common/_itowa.h: Include <_itoa.h>.
69165         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69166         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69167         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69168         only if not defined.
69169         (_ITOA_WORD_TYPE): Likewise.
69170         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69171         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69173 2012-03-21  David S. Miller  <davem@davemloft.net>
69175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69177 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69179         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69180         of x86_64 when setting libc_cv_slibdir, libdir and
69181         libc_cv_localedir.
69182         * sysdeps/unix/sysv/linux/configure: Regenerated.
69184 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69186         * manual/lang.texi (Old Varargs): Remove section.
69187         (How Variadic): Update menu.
69188         (va_start): Do not mention varargs.h.
69190 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69191             Joseph Myers  <joseph@codesourcery.com>
69193         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69194         link test.
69195         * configure: Regenerated.
69197 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69199         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69200         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69201         conformtest.pl
69203 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69205         * NOTES: Remove.
69206         * Makefile (files-for-dist): Remove NOTES.
69207         (NOTES): Remove rule.
69208         * README: Don't refer to NOTES.
69209         * manual/creature.texi: Don't include macros.texi.
69210         * manual/intro.texi (creature.texi): Remove comment referring to
69211         NOTES.
69213         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69214         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69215         * configure: Regenerated.
69216         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69217         LIBC_TRY_CC_OPTION.
69218         (libc_cv_as_i686): Likewise.
69219         (libc_cv_cc_avx): Likewise.
69220         (libc_cv_cc_sse2avx): Likewise.
69221         (libc_cv_cc_fma4): Likewise.
69222         (libc_cv_cc_novzeroupper): Likewise.
69223         * sysdeps/i386/configure: Regenerated.
69225         [BZ #13883]
69226         * sysdeps/i386/fpu/s_cexp.S: Remove.
69227         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69228         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69229         * math/libm-test.inc (cexp_test): Add more tests.
69230         * sysdeps/i386/fpu/libm-test-ulps: Update.
69231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69233 2012-03-21  Allan McRae  <allan@archlinux.org>
69235         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69237 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69239         [BZ #13871]
69240         * math/w_exp2.c: Do not include <float.h>.
69241         (o_threshold, u_threshold): Remove.
69242         (__exp2): Calculate result before checking finiteness and calling
69243         __kernel_standard.
69244         * math/w_exp2f.c: Likewise.
69245         * math/w_exp2l.c: Likewise.
69246         * math/libm-test.inc (exp2_test): Require overflow exception for
69247         1e6 input.
69249         [BZ #3866]
69250         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69251         range of signed 64-bit integers before using fistpll.  Remove
69252         checks for whether integers fit in mantissa bits.
69253         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69254         the range of signed 32-bit integers before using fistpl.  Remove
69255         checks for whether integers fit in mantissa bits.
69256         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69257         (__ieee754_powl): Test for y outside the range of signed 64-bit
69258         integers before using fistpll.  Reduce 64-bit values to 63-bit
69259         ones as needed.
69260         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69261         divide-by-zero is raised for zero to large negative powers.
69262         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69263         (__ieee754_powl): Test for y outside the range of signed 64-bit
69264         integers before using fistpll.  Reduce 64-bit values to 63-bit
69265         ones as needed.
69266         * math/libm-test.inc (pow_test): Add more tests.
69268 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69270         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69271         <stdio-common/_itoa.h>.
69272         * debug/segfault.c: Likewise.
69273         * elf/dl-cache.c: Likewise.
69274         * elf/dl-minimal.c: Likewise.
69275         * elf/dl-misc.c: Likewise.
69276         * elf/dl-sysdep.c: Likewise.
69277         * elf/dl-version.c: Likewise.
69278         * elf/rtld.c: Likewise.
69279         * hurd/hurdsock.c: Likewise.
69280         * hurd/lookup-retry.c: Likewise.
69281         * malloc/malloc.c: Likewise.
69282         * malloc/mtrace.c: Likewise.
69283         * nscd/nscd_getgr_r.c: Likewise.
69284         * nscd/nscd_getpw_r.c: Likewise.
69285         * nscd/nscd_getserv_r.c: Likewise.
69286         * posix/getopt_init.c: Likewise.
69287         * posix/wordexp.c: Likewise.
69288         * stdio-common/_itoa.c: Likewise.
69289         * stdio-common/printf_fphex.c: Likewise.
69290         * stdio-common/vfprintf.c: Likewise.
69291         * string/_strerror.c: Likewise.
69292         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69293         * sysdeps/i386/i686/hp-timing.h: Likewise.
69294         * sysdeps/mach/_strerror.c: Likewise.
69295         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69296         * sysdeps/mach/hurd/sethostid.c: Likewise.
69297         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69298         * sysdeps/mach/xpg-strerror.c: Likewise.
69299         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69300         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69301         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69302         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69303         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69304         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69305         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69306         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69307         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69308         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69309         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69310         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69311         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69312         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69313         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69314         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69315         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69316         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69317         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69318         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69319         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69321         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69323         * stdio-common/_itoa.h: Moved to ...
69324         * sysdeps/generic/_itoa.h: Here.
69326         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69328         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69329         instead of "_itoa.h" and "_itowa.h".
69330         * stdio-common/vfprintf.: Likewise.
69332 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69334         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69335         <bits/wordsize.h>.
69336         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69337         (__signbit): Likwise.
69338         (llrintf): Likwise.
69339         (llrint): Likwise.
69341 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69343         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69344         __WORDSIZE != 64.
69346 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69348         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69349         OVERFLOW_EXCEPTION_OK.
69350         * math/libm-test.inc ("Philosophy"): Update comment about
69351         exception testing.
69352         (OVERFLOW_EXCEPTION): Define.
69353         (OVERFLOW_EXCEPTION_OK): Likewise.
69354         (INVALID_EXCEPTION_OK): Renumber.
69355         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69356         (IGNORE_ZERO_INF_SIGN): Likewise.
69357         (test_exceptions): Handle FE_OVERFLOW.
69358         (exp10_test): Expect overflow exceptions.
69359         (exp2_test): Likewise.
69360         (expm1_test): Likewise.
69361         (nextafter_test): Likewise.
69362         (pow_test): Likewise.
69363         (scalbn_test): Likewise.
69364         (scalbln_test): Likewise.
69366 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69368         * sysdeps/x86_64/bits/atomic.h
69369         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69370         64bit integer.
69371         (atomic_exchange_acq): Likewise.
69372         (__arch_exchange_and_add_body): Likewise.
69373         (__arch_add_body): Likewise.
69374         (atomic_add_negative): Likewise.
69375         (atomic_add_zero): Likewise.
69377 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69379         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69380         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69382 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69384         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69385         Check __x86_64__ instead of __WORDSIZE.
69387 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69389         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69391 2012-03-19  David S. Miller  <davem@davemloft.net>
69393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69395         * sysdeps/sparc/fpu/fenv_private.h: New file.
69396         * sysdeps/sparc/fpu/math_private.h: Use it.
69397         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69398         Remove.
69399         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69400         (libc_feholdexcept_setroundl): Remove.
69401         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69402         Remove.
69403         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69404         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69406 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69408         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69409         int64_t instead of long int.
69410         (INSERT_WORDS64): Likwise.
69412 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69414         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69415         _Unwind_GetCFA return to _Unwind_Ptr first.
69417 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69419         [BZ #13629]
69420         * math/s_clog.c: Include <float.h>.
69421         (__clog): Scale large or subnormal inputs.
69422         * math/s_clogf.c: Likewise.
69423         * math/s_clogl.c: Likewise.
69424         * math/s_clog10.c: Include <float.h>.
69425         (M_LOG10_2): Define.
69426         (__clog10): Scale large or subnormal inputs.
69427         * math/s_clog10f.c: Likewise.
69428         * math/s_clog10l.c: Likewise.
69429         * math/libm-test.inc (clog_test): Add more tests.
69430         (clog10_test): Likewise.
69431         * sysdeps/i386/fpu/libm-test-ulps: Update.
69432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69434         [BZ #11451]
69435         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69436         x and y.
69437         * math/libm-test.inc (atan2_test): Add another test.
69439         * Makerules (common-objdir-compile): Remove.
69440         * sysdeps/unix/Makefile (config-generated): Do not add
69441         $(unix-generated) to variable.
69442         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69443         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69444         Remove rule.
69445         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69446         Likewise.
69447         [generic bits/local_lim.h] (before-compile): Do not append to
69448         variable.
69449         [generic bits/local_lim.h] (common-generated): Likewise.
69450         [generic sys/param.h] (before-compile): Do not append to variable.
69451         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69452         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69453         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69454         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69455         include.
69456         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69457         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69458         [generic sys/param.h] ($(addprefix
69459         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69460         [generic sys/param.h] (common-generated): Do not append to
69461         variable.
69462         [generic sys/param.h] (sysdep_headers): Likewise.
69463         [generic bits/errno.h] (before-compile): Do not append to
69464         variable.
69465         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69466         rule.
69467         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69468         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69469         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69470         [generic bits/errno.h] (common-generated): Do not append to
69471         variable.
69472         [generic bits/ioctls.h] (before-compile): Do not append to
69473         variable.
69474         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69475         rule.
69476         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69477         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69478         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69479         rule.
69480         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69481         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69482         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69483         [generic bits/ioctls.h] (common-generated): Do not append to
69484         variable.
69485         [generic sys/syscall.h] (syscall.h): Remove variable.
69486         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69487         rule.
69488         [generic sys/syscall.h] (before-compile): Do not append to
69489         variable.
69490         [generic sys/syscall.h] (common-generated): Likewise.
69491         * sysdeps/unix/errnos-tmpl.c: Remove file.
69492         * sysdeps/unix/errnos.awk: Likewise.
69493         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69494         * sysdeps/unix/ioctls.awk: Likewise.
69495         * sysdeps/unix/mk-local_lim.c: Likewise.
69496         * sysdeps/unix/snarf-ioctls: Likewise.
69498 2012-03-19  Richard Henderson  <rth@twiddle.net>
69500         * sysdeps/i386/fpu/fenv_private.h: New file.
69501         * sysdeps/i386/fpu/math_private.h: Use it.
69502         (math_opt_barrier, math_force_eval): Remove.
69503         (libc_feholdexcept_setround_53bit): Remove.
69504         (libc_feupdateenv_53bit): Remove.
69505         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69506         (math_opt_barrier, math_force_eval): Remove.
69507         (libc_feholdexcept): Remove.
69508         (libc_feholdexcept_setround): Remove.
69509         (libc_fetestexcept, libc_fesetenv): Remove.
69510         (libc_feupdateenv_test): Remove.
69511         (libc_feupdateenv, libc_feholdsetround): Remove.
69512         (libc_feresetround): Remove.
69514         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69515         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69517         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69518         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69519         (libc_feupdateenv_testl): New.
69520         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69521         (libc_feupdateenv_testf): New.
69522         (libc_feupdateenv): Use libc_feupdateenv_test.
69523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69524         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69526         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69527         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69528         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69529         (libc_feresetround_noex): New.
69530         (libc_feresetround_noexf): New.
69531         (libc_feresetround_noexl): New.
69532         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69533         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69534         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69535         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69536         SET_RESTORE_ROUND.
69537         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69539         (__cos): Likewise.
69540         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69541         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69542         SET_RESTORE_ROUND_NOEX.
69543         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69544         SET_RESTORE_ROUND_NOEXF.
69545         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69546         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69547         (libc_feholdsetroundf): New.
69548         (libc_feresetround, libc_feresetroundf): New.
69550         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69551         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69552         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69554         * sysdeps/generic/math_private.h: Include <fenv.h>.
69555         (default_libc_feholdexcept): New.
69556         (default_libc_feholdexcept_setround): New.
69557         (default_libc_fesetenv, default_libc_feupdateenv): New.
69558         (libc_feholdexcept): Only define if undefined.
69559         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69560         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69561         (libc_feholdexcept_setroundl): Likewise.
69562         (libc_feholdexcept_setround_53bit): Likewise.
69563         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69564         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69565         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69566         (libc_feupdateenv_53bit): Likewise.
69567         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69568         (libc_feholdexcept): Convert from macro to inline function.
69569         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69570         (libc_fesetenv, libc_feupdateenv): Likewise.
69572         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69573         not previously defined.
69574         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69575         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69576         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69577         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69578         * sysdeps/ieee754/flt-32/math_private.h: New file.
69579         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69580         math_private.h below SET_FLOAT_WORD.
69581         (__isnan, __isinf_ns, __finite): Remove.
69582         (__isnanf, __isinf_nsf, __finitef): Remove.
69584 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69588 2012-03-17  David S. Miller  <davem@davemloft.net>
69590         [BZ #6471]
69591         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69592         for 2.16.
69594 2012-03-16  David S. Miller  <davem@davemloft.net>
69596         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69597         warnings.
69599         [BZ #6471]
69600         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69601         properly.
69602         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69603         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69604         sysdep_routines when subdir is sysvipc.
69605         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69606         __getshmlba helper.
69608         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69610 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69612         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69613         [__LP64__].
69615 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69617         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69618         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69619         (__lround): Renamed to ...
69620         (__llround): This.  Replace long int with long long int.
69621         Define lround functions as aliases of llround functions.
69622         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69626         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69627         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69628         adresses to uintptr_t.  Replace "long int" and "unsigned long
69629         int" with "greg_t" on va_arg.
69631 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69633         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69634         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69636         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69637         Move e_machine check before EI_CLASS check.  Handle x32
69638         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69639         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69640         SKIP_EM_IA_64 and include
69641         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69643         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69644         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69645         (add_system_dir): New macro.
69647         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69648         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69650 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69652         [BZ #2551]
69653         [BZ #2552]
69654         [BZ #2553]
69655         [BZ #2554]
69656         [BZ #2562]
69657         [BZ #2563]
69658         [BZ #2565]
69659         [BZ #2566]
69660         [BZ #2576]
69661         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69662         (y0): Likewise.
69663         * math/w_j0f.c (j0f): Likewise.
69664         (y0f): Likewise.
69665         * math/w_j0l.c (__j0l): Likewise.
69666         (__y0l): Likewise.
69667         * math/w_j1.c (j1): Likewise.
69668         (y1): Likewise.
69669         * math/w_j1f.c (j1f): Likewise.
69670         (y1f): Likewise.
69671         * math/w_j1l.c (__j1l): Likewise.
69672         (__y1l): Likewise.
69673         * math/w_jn.c (jn): Likewise.
69674         (yn): Likewise.
69675         * math/w_jnf.c (jnf): Likewise.
69676         (ynf): Likewise.
69677         * math/w_jnl.c (__jnl): Likewise.
69678         (__ynl): Likewise.
69679         * math/libm-test.inc (j0_test): Add more tests.
69680         (j1_test): Likewise.
69681         (jn_test): Likewise.  Add trailing semicolon to existing test.
69682         (y0_test): Likewise.
69683         (y1_test): Likewise.
69684         * sysdeps/i386/fpu/libm-test-ulps: Update.
69685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69687         [BZ #13851]
69688         [BZ #13854]
69689         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69690         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69691         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69692         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69693         (__tanl): Set errno for infinite argument.
69694         * sysdeps/i386/fpu/mptan.c: Remove.
69695         * sysdeps/i386/fpu/s_tan.S: Likewise.
69696         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69697         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69698         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69699         * math/libm-test.inc (tan_test): Add more tests and enable more
69700         tests for double and long double.
69701         * sysdeps/i386/fpu/libm-test-ulps: Update.
69702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69704 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69706         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69707         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69709 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69711         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69712         * configure.in: Use it for both main tree and add-ons.
69713         * configure: Regenerated.
69715 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69717         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69719 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69721         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69722         in comment.
69724         [BZ #13851]
69725         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69726         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69727         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69728         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69729         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69730         infinite argument.
69731         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69733         != 0 for prec == 2.
69734         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69735         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69736         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69737         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69738         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69739         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69740         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69741         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69742         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69743         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69744         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69745         * math/libm-test.inc (cos_test): Add more tests and enable more
69746         tests for long double.
69747         (sin_test): Likewise.
69748         (sincos_test): Likewise.
69749         * sysdeps/i386/fpu/libm-test-ulps: Update.
69750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69752 2012-03-16  David S. Miller  <davem@davemloft.net>
69754         * sysdeps/sparc/fpu/math_private.h: New file.
69756 2012-03-15  David S. Miller  <davem@davemloft.net>
69758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69759         file.
69760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69762         file.
69763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69768         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69769         sysdep routines.
69770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69772         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69773         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69775         * sysdeps/sparc/sparc-ifunc.h: New file.
69776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69777         sparc-ifunc.h
69778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69780         Likewise.
69781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69782         Likewise.
69783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69787         Likewise.
69788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69793         Likewise.
69794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69795         Likewise.
69796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69802         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69803         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69814         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69815         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69816         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69817         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69818         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69819         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69821 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69823         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69824         scaling.
69825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69827 2012-03-15  Andreas Jaeger  <aj@suse.de>
69829         [BZ #13852]
69830         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69831         ieee754/flt-32 implementation for sin, cos and sincos.
69832         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69833         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69834         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69835         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69836         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69837         ieee754/flt-32 implementation for tan.
69839         * math/libm-test.inc (cos_test): Enable some large input tests for
69840         float as well
69841         (sin_test): Likewise.
69842         (sincos_test): Likewise.
69843         (tan_test): Add tests for large input.
69845         * sysdeps/i386/fpu/libm-test-ulps: Update.
69847 2012-03-15  Andreas Jaeger  <aj@suse.de>
69849         [BZ #13658]
69850         * math/libm-test.inc (cos_test): Add more test cases.
69851         (sin_test): Likewise.
69852         (sincos_test): Likewise.
69854 2012-03-15  Andreas Jaeger  <aj@suse.de>
69856         [BZ #13837]
69857         * math/libm-test.inc (cos_test): Add a test case for large input
69858         value.
69859         (sin_test): Likewise.
69860         (sincos_test): Likewise.
69862 2012-03-15  Andreas Jaeger  <aj@suse.de>
69863             Joseph Myers  <joseph@codesourcery.com>
69865         [BZ #13658]
69866         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69867         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69868         * sysdeps/i386/fpu/branred.c: Likewise.
69869         * sysdeps/i386/fpu/dosincos.c: Likewise.
69870         * sysdeps/i386/fpu/mpa.c: Likewise.
69871         * sysdeps/i386/fpu/s_cos.S: Likewise.
69872         * sysdeps/i386/fpu/s_sin.S: Likewise.
69873         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69874         * sysdeps/i386/fpu/sincos32.c: Likewise.
69876         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69877         Define.
69878         (libc_feupdateenv_53bit): Define.
69879         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69880         Define.
69881         (libc_feupdateenv_53bit): Define.
69883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69884         53 bit (without extend i386 double precision).
69886         * math/libm-test.inc (sincos_test): Add tests for large input.
69887         (sin): Likewise.
69888         (cos): Likewise.
69890         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69892 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69896 2012-03-15  David S. Miller  <davem@davemloft.net>
69898         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69899         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69900         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69901         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69914         file.
69915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69917         file.
69918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69920         file.
69921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69923         file.
69924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69925         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69926         fmin/fmax sysdep routines.
69927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69929 2012-03-14  David S. Miller  <davem@davemloft.net>
69931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69935         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69936         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69937         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69938         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69943         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69944         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69945         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69946         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69951         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69952         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69953         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69954         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69955         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69956         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69957         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69958         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69959         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69960         routines.
69961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69962         file.
69963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69965         file.
69966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69968         file.
69969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69971         file.
69972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69974         file.
69975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69977         file.
69978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69979         file.
69980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69981         file.
69982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69983         file.
69984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69985         New file.
69986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69987         file.
69988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69989         file.
69990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69992         file.
69993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69995         file.
69996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69998         file.
69999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70001         VIS3 routines.
70003         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70004         New file.
70006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70008         * sysdeps/sparc/configure.in: New file.
70009         * sysdeps/sparc/configure: Generate.
70010         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70011         * configure: Regenerate.
70012         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70013         * config.make.in (have-as-vis3): New.
70014         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70015         available use -Av9d instead of -Av9a.
70016         * sysdeps/sparc/sparc64/Makefile: Likewise.
70017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70019         New file.
70020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70021         file.
70022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70023         New file.
70024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70025         file.
70026         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70027         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70028         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70029         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70030         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70032         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70033         fzeros/fnegs to load 0x80000000 into a float register instead of
70034         using the stack.
70035         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70037 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70040         bits/syscall.h.
70041         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70042         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70043         ($(inst_includedir)/bits/syscall.h): Remove rule.
70044         ($(objpfx)bits/syscall.d): Include instead of
70045         $(objpfx)syscall-list.d.
70046         (generated): Change syscall-list.h and syscall-list.d to
70047         bits/syscall.h and bits/syscall.d.
70049 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70051         [BZ #13846]
70052         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70054 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70056         [BZ #13841]
70057         * math/s_csqrt.c: Include <float.h>.
70058         (__csqrt): Scale large or subnormal inputs.
70059         * math/s_csqrtf.c: Likewise.
70060         * math/s_csqrtl.c: Likewise.
70061         * math/libm-test.inc (csqrt_test): Add more tests.
70062         * sysdeps/i386/fpu/libm-test-ulps: Update.
70063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70065         [BZ #13840]
70066         * math/libm-test.inc (hypot_test): Add more tests.
70068 2012-03-13  David S. Miller  <davem@davemloft.net>
70070         [BZ #13840]
70071         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70072         double-precision for the calculation instead of scaling.
70074 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70076         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70077         manipulate bits before adding and subtracting TWO52[sx].
70078         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70079         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70080         Likewise.
70081         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70083 2012-03-13  David S. Miller  <davem@davemloft.net>
70085         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70086         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70087         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70088         rtld-global-offsets.h
70089         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70091         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70092         large parameters.
70094         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70096         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70097         'err' in the ifdef scope in which it is actually used.
70099         * nss/nss_db/db-init.c: Include string.h
70101 2012-03-12  David S. Miller  <davem@davemloft.net>
70103         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70104         masking out of the most significant byte of random value used.
70105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70106         Fix coding style in previous change.
70108         * sysdeps/unix/sysv/linux/kernel-features.h
70109         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70110         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70111         expression.
70112         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70113         later.
70115 2012-03-11  David S. Miller  <davem@davemloft.net>
70117         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70118         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70119         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70120         for 'resultvar' otherwise things get truncated on 64-bit.
70122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70123         Fix masking out of the most significant byte of random value used.
70125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70127 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70131 2012-03-09  David S. Miller  <davem@davemloft.net>
70133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70134         variables with appropriate CPP guards.
70135         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70136         from the frame pointer, not the stack pointer.  Correct layout
70137         comments.  Fix test on resulting framesize and the management of
70138         the outregs buffer for pltexit.  Preserve floating point return
70139         values across _dl_call_pltexit call.
70140         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70141         framesize and the management of the outregs buffer for pltexit.
70142         Preserve floating point return values across _dl_call_pltexit
70143         call.
70144         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70145         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70146         (la_sparc64_gnu_pltexit): New functions.
70147         (print_exit): Fix format string for return register value.
70149 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70151         * sunrpc/Makefile (others): Add rpcgen.
70152         ($(objpfx)rpcgen): Remove special build rule and dependency on
70153         libc.
70154         * sunrpc/rpcgen.c: New file.
70156 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70158         [BZ #13673]
70159         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70160         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70161         * sysdeps/i386/crti.S: Likewise.
70162         * sysdeps/i386/crtn.S: Likewise.
70163         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70164         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70165         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70166         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70167         * sysdeps/sh/crti.S: Likewise.
70168         * sysdeps/sh/crtn.S: Likewise.
70169         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70171         [BZ #13673]
70172         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70173         with URL.
70174         * locale/programs/locfile-kw.gperf: Likewise.
70175         * locale/programs/charmap-kw.h: Regenerated.
70176         * locale/programs/locfile-kw.h: Likewise.
70178         [BZ #13673]
70179         * intl/plural.y: Replace FSF snail mail address with URL.
70180         * intl/plural.c: Regenerated.
70182 2012-03-09  Richard Henderson  <rth@twiddle.net>
70184         * include/math_private.h: Remove file.
70185         * math/math_private.h: Move file ...
70186         * sysdeps/generic/math_private.h: ... here.
70188         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70189         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70190         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70192         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70193         and <math_private.h>.
70194         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70195         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70196         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70197         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70198         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70199         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70200         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70201         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70202         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70203         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70204         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70205         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70206         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70207         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70208         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70209         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70210         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70211         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70212         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70213         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70214         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70215         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70216         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70218         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70219         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70220         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70221         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70224         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70225         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70226         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70227         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70228         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70229         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70230         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70231         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70232         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70233         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70234         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70235         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70236         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70237         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70238         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70239         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70240         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70241         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70242         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70243         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70244         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70245         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70246         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70247         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70248         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70249         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70250         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70251         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70252         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70253         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70254         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70255         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70256         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70257         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70258         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70259         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70260         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70261         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70262         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70263         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70264         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70265         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70266         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70267         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70268         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70269         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70270         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70271         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70272         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70273         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70274         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70275         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70276         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70277         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70278         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70279         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70280         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70281         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70282         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70283         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70284         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70285         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70286         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70287         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70288         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70289         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70290         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70291         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70292         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70293         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70294         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70295         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70296         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70297         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70298         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70299         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70300         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70301         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70302         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70303         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70304         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70305         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70306         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70307         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70308         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70309         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70310         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70311         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70312         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70313         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70314         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70315         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70316         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70317         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70318         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70319         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70320         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70321         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70322         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70323         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70324         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70325         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70326         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70327         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70328         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70329         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70330         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70331         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70332         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70333         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70334         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70335         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70336         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70337         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70338         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70339         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70340         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70341         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70342         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70343         * sysdeps/ieee754/k_standard.c: Likewise.
70344         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70345         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70346         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70347         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70348         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70349         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70350         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70351         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70352         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70353         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70354         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70355         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70356         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70357         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70358         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70359         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70360         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70361         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70362         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70363         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70364         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70365         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70366         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70367         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70368         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70369         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70370         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70371         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70372         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70373         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70374         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70375         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70376         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70377         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70378         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70379         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70380         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70381         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70382         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70383         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70385         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70386         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70387         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70388         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70389         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70390         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70391         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70392         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70393         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70394         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70395         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70396         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70397         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70398         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70399         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70400         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70401         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70402         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70403         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70404         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70405         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70406         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70407         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70408         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70410         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70411         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70412         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70413         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70414         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70416         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70417         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70418         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70419         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70420         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70421         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70422         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70423         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70424         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70425         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70426         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70427         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70428         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70429         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70430         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70431         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70432         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70433         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70434         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70435         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70436         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70437         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70438         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70439         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70440         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70441         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70442         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70443         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70444         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70445         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70446         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70447         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70448         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70449         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70450         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70451         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70452         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70453         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70454         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70455         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70456         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70457         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70458         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70459         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70460         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70461         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70462         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70463         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70464         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70465         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70466         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70467         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70468         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70469         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70470         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70471         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70472         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70473         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70474         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70475         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70476         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70477         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70478         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70479         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70480         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70481         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70482         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70483         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70484         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70485         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70486         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70487         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70488         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70489         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70490         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70491         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70492         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70493         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70494         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70495         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70496         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70497         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70498         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70499         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70500         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70501         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70502         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70503         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70504         * sysdeps/ieee754/s_lib_version.c: Likewise.
70505         * sysdeps/ieee754/s_matherr.c: Likewise.
70506         * sysdeps/ieee754/s_signgam.c: Likewise.
70507         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70508         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70509         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70510         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70511         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70512         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70513         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70514         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70515         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70516         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70517         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70518         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70519         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70520         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70521         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70522         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70523         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70524         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70525         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70529 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70531         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70532         * sunrpc/rpc_main.c: Likewise.
70533         * sunrpc/rpc_svcout.c: Likewise.
70535 2012-03-09  David S. Miller  <davem@davemloft.net>
70537         * include/math_private.h: New file.
70539 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70541         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70542         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70543         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70544         from <bits/socket_type.h>.
70545         (enum __socket_type): Don't define here.
70546         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70548         bits/socket_type.h.
70550         [BZ #13566]
70551         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70552         checking __USE_GNU.
70554         * Makerules ($(inst_includedir)/%.h): New rule.
70555         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70556         (install-others): Remove variable setting.
70557         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70559 2012-03-08  Richard Henderson  <rth@twiddle.net>
70561         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70562         from macro to inline function; merge with the
70563         !__LIBC_INTERNAL_MATH_INLINES version.
70564         (__ieee754_sqrtf): Likewise.
70566         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70567         to inline function.
70568         (__rintf, __floor, __floorf): Likewise.
70570         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70571         macro to inline function.
70572         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70574         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70575         not <math/math_private.h>.
70577 2012-03-08  David S. Miller  <davem@davemloft.net>
70579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70580         copyright year.
70581         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70583 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70585         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70586         normalization.
70587         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70588         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70590 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70592         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70593         be defined individually, they must be defined as a block.  Define
70594         S for printing a string instead of hidint the different by using a
70595         macro for adding the 'l'.
70596         * stdio-common/tst-fphex-wide.c: Adjust.
70598 2012-03-07  Marek Polacek  <polacek@redhat.com>
70600         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70602 2012-03-08  Marek Polacek  <polacek@redhat.com>
70604         [BZ #13806]
70605         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70606         * stdio-common/tst-fphex.c: Define a few macros to make the
70607         test reusable.  Use them.
70608         * stdio-common/tst-fphex-wide.c: New file.
70610 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70612         [BZ #6911]
70613         * manual/macros.texi (gnusystems): New macro.
70614         (nongnusystems): Likewise.
70615         (gnulinuxhurdsystems): Likewise.
70616         (gnuhurdsystems): Likewise..
70617         (gnulinuxsystems): Likewise.
70618         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70619         variants of the GNU system, not "GNU system".
70620         * manual/conf.texi: Likewise.
70621         * manual/errno.texi: Likewise.  Update example of errno macro
70622         expansion.
70623         * manual/filesys.texi: Likewise.
70624         (getumask): Document as specific to GNU/Hurd.
70625         * manual/install.texi: Likewise.  Reword some references to
70626         GNU/Linux.
70627         * manual/intro.texi: Likewise.
70628         * manual/io.texi: Likewise.
70629         (File Name Portability): Detail which constraints are inapplicable
70630         to all GNU systems and which are only inapplicable to GNU/Hurd.
70631         * manual/job.texi: Likewise.
70632         * manual/llio.texi: Likewise.
70633         (O_NOCTTY): Document as present on GNU/Linux.
70634         * manual/maint.texi: Likewise.
70635         * manual/memory.texi: Likewise.
70636         * manual/pattern.texi: Likewise.
70637         * manual/pipe.texi: Likewise.
70638         * manual/process.texi: Likewise.
70639         * manual/resource.texi: Likewise.
70640         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70641         child on GNU/Hurd.
70642         * manual/setjmp.texi: Likewise.
70643         * manual/signal.texi: Likewise.
70644         * manual/startup.texi: Likewise.
70645         * manual/stdio.texi: Likewise.
70646         * manual/terminal.texi: Likewise.
70647         (ONLCR): Document as POSIX.
70648         (OXTABS): Document availability on GNU/Linux as XTABS.
70649         (ONOEOT): Document availability separately from other bits.
70650         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70651         * manual/time.texi: Likewise.
70652         * manual/users.texi: Likewise.
70653         * INSTALL: Regenerated.
70654         * sysdeps/gnu/errlist.c: Regenerated.
70656         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70657         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70658         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70659         puts.
70660         * configure: Regenerated.
70662 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70664         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70665         default includes instead of AC_HEADER_CHECK.
70666         * sysdeps/i386/configure: Regenerated.
70668         [BZ #10716]
70669         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70670         * math/s_cacoshf.c (__cacoshf): Likewise.
70671         * math/s_cacoshl.c (__cacoshl): Likewise.
70672         * math/s_casinh.c (__casinh): Set signs of result from argument.
70673         * math/s_casinhf.c (__casinhf): Likewise.
70674         * math/s_casinhl.c (__casinhl): Likewise.
70675         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70676         (casinh_test): Add more tests.
70677         * sysdeps/i386/fpu/libm-test-ulps: Update.
70678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70680 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70682         * po/zh_TW.po: Update from translation team.
70684         * login/Makefile (distribute): Remove variable.
70685         * catgets/Makefile: Likewise.
70686         * mach/Makefile: Likewise.
70687         * malloc/Makefile: Likewise.
70688         * misc/Makefile: Likewise.
70689         * iconv/Makefile: Likewise.
70690         * nscd/Makefile: Likewise.
70691         * hurd/Makefile: Likewise.
70692         * manual/Makefile: Likewise.
70693         * locale/Makefile: Likewise.
70694         * intl/Makefile: Likewise.
70695         * conform/Makefile: Likewise.
70696         * nss/Makefile: Likewise.
70697         * time/Makefile: Likewise.
70698         * soft-fp/Makefile: Likewise.
70699         * dirent/Makefile: Likewise.
70700         * gmon/Makefile: Likewise.
70701         * po/Makefile: Likewise.
70702         * rt/Makefile: Likewise.
70703         * socket/Makefile: Likewise.
70704         * math/Makefile: Likewise.
70705         * signal/Makefile: Likewise.
70706         * debug/Makefile: Likewise.
70707         * elf/Makefile: Likewise.
70708         * timezone/Makefile: Likewise.
70709         * stdlib/Makefile: Likewise.
70710         * iconvdata/Makefile: Likewise.
70711         * sunrpc/Makefile: Likewise.
70712         * io/Makefile: Likewise.
70713         * argp/Makefile: Likewise.
70714         * inet/Makefile: Likewise.
70715         * hesiod/Makefile: Likewise.
70716         * grp/Makefile: Likewise.
70717         * csu/Makefile: Likewise.
70718         * wctype/Makefile: Likewise.
70719         * crypt/Makefile: Likewise.
70720         * libio/Makefile: Likewise.
70721         * string/Makefile: Likewise.
70722         * nis/Makefile: Likewise.
70723         * resolv/Makefile: Likewise.
70724         * stdio-common/Makefile: Likewise.
70725         * wcsmbs/Makefile: Likewise.
70726         * dlfcn/Makefile: Likewise.
70727         * posix/Makefile: Likewise.
70729         [BZ #6959]
70730         * timezone/Makefile: Don't install timezone files, just the programs
70731         and scripts.
70733 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70735         * nss/databases.def: Add missing gshadow entry.
70737         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70739 2012-03-06  Marek Polacek  <polacek@redhat.com>
70741         [BZ #13726]
70742         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70743         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70744         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70745         * stdio-common/tst-long-dbl-fphex.c: New file.
70747 2012-03-06  David S. Miller  <davem@davemloft.net>
70749         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70750         (set_obp_int): New function.
70751         (get_obp_int): New function.
70752         (__get_clockfreq_via_dev_openprom): Likewise.
70753         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70754         Avoid unused variable warnings on 'val' and use builtin_expect.
70755         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70756         __builtin_expect.
70757         (INLINE_CLONE_SYSCALL): Likewise.
70759 2012-03-05  David S. Miller  <davem@davemloft.net>
70761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70763 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70767         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70768         only for |x| >= 40.
70769         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70771 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70774         Replace gettimeofday with __vdso_gettimeofday.
70776         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70777         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70778         __vdso_clock_gettime and __vdso_getcpu.
70780         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70781         time with __vdso_time.
70783 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70785         * manual/lang.texi (size_t): Note types to which size_t may be
70786         equivalent with the GNU C Library, but do not describe when
70787         differences between them are significant.
70789 2012-03-05  Andreas Jaeger  <aj@suse.de>
70791         * sysdeps/i386/fpu/libm-test-ulps: Update.
70793 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70795         [BZ #3976]
70796         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70797         (__ieee754_pow): Save and restore rounding mode and use
70798         round-to-nearest for main computations.
70799         * math/libm-test.inc (pow_test_tonearest): New function.
70800         (pow_test_towardzero): Likewise.
70801         (pow_test_downward): Likewise.
70802         (pow_test_upward): Likewise.
70803         (main): Call the new functions.
70804         * sysdeps/i386/fpu/libm-test-ulps: Update.
70805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70807         [BZ #3976]
70808         * math/libm-test.inc (cosh_test_tonearest): New function.
70809         (cosh_test_towardzero): Likewise.
70810         (cosh_test_downward): Likewise.
70811         (cosh_test_upward): Likewise.
70812         (sinh_test_tonearest): Likewise.
70813         (sinh_test_towardzero): Likewise.
70814         (sinh_test_downward): Likewise.
70815         (sinh_test_upward): Likewise.
70816         (main): Call the new functions.
70817         * sysdeps/i386/fpu/libm-test-ulps: Update.
70818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70820 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70822         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70823         default stack guard is set in last bytes.
70824         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70826 2012-03-05  Kees Cook  <keescook@chromium.org>
70828         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70830         [BZ #13656]
70831         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70832         possibly allocate from heap instead of stack.
70833         * stdio-common/bug-vfprintf-nargs.c: New file.
70834         * stdio-common/Makefile (tests): Add nargs overflow test.
70836 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70840 2012-03-03  Marek Polacek  <polacek@redhat.com>
70842         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70843         * math/math_private.h: Likewise.
70844         * stdlib/tst-strtod.c: Likewise.
70845         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70846         * sysdeps/x86_64/bits/atomic.h: Likewise.
70848 2012-03-02  David S. Miller  <davem@davemloft.net>
70850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70854         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70855         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70856         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70857         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70859 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70861         [BZ #13792]
70862         * manual/examples/README: New file, says the example source files
70863         can be used under GPL>=2.
70864         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70865         line containing just "*/".
70866         * manual/examples/add.c: Add copyright header (GPL>=2).
70867         * manual/examples/argp-ex1.c: Likewise.
70868         * manual/examples/argp-ex2.c: Likewise.
70869         * manual/examples/argp-ex3.c: Likewise.
70870         * manual/examples/argp-ex4.c: Likewise.
70871         * manual/examples/atexit.c: Likewise.
70872         * manual/examples/db.c: Likewise.
70873         * manual/examples/dir.c: Likewise.
70874         * manual/examples/dir2.c: Likewise.
70875         * manual/examples/execinfo.c: Likewise.
70876         * manual/examples/filecli.c: Likewise.
70877         * manual/examples/filesrv.c: Likewise.
70878         * manual/examples/fmtmsgexpl.c: Likewise.
70879         * manual/examples/genpass.c: Likewise.
70880         * manual/examples/inetcli.c: Likewise.
70881         * manual/examples/inetsrv.c: Likewise.
70882         * manual/examples/isockad.c: Likewise.
70883         * manual/examples/longopt.c: Likewise.
70884         * manual/examples/memopen.c: Likewise.
70885         * manual/examples/memstrm.c: Likewise.
70886         * manual/examples/mkfsock.c: Likewise.
70887         * manual/examples/mkisock.c: Likewise.
70888         * manual/examples/mygetpass.c: Likewise.
70889         * manual/examples/pipe.c: Likewise.
70890         * manual/examples/popen.c: Likewise.
70891         * manual/examples/rprintf.c: Likewise.
70892         * manual/examples/search.c: Likewise.
70893         * manual/examples/select.c: Likewise.
70894         * manual/examples/setjmp.c: Likewise.
70895         * manual/examples/sigh1.c: Likewise.
70896         * manual/examples/sigusr.c: Likewise.
70897         * manual/examples/stpcpy.c: Likewise.
70898         * manual/examples/strdupa.c: Likewise.
70899         * manual/examples/strftim.c: Likewise.
70900         * manual/examples/strncat.c: Likewise.
70901         * manual/examples/subopt.c: Likewise.
70902         * manual/examples/swapcontext.c: Likewise.
70903         * manual/examples/termios.c: Likewise.
70904         * manual/examples/testopt.c: Likewise.
70905         * manual/examples/testpass.c: Likewise.
70906         * manual/examples/timeval_subtract.c: Likewise.
70908         [BZ #13792]
70909         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70910         function to ...
70911         * manual/timeval_subtract.c.texi: ... here, new file.
70913 2012-03-02  David S. Miller  <davem@davemloft.net>
70915         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70917 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70919         [BZ #3976]
70920         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70921         (__sin): Save and restore rounding mode and use round-to-nearest
70922         for all computations.
70923         (__cos): Save and restore rounding mode and use round-to-nearest
70924         for all computations.
70925         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70926         <fenv.h>.
70927         (tan): Save and restore rounding mode and use round-to-nearest for
70928         all computations.
70929         * math/libm-test.inc (cos_test_tonearest): New function.
70930         (cos_test_towardzero): Likewise.
70931         (cos_test_downward): Likewise.
70932         (cos_test_upward): Likewise.
70933         (sin_test_tonearest): Likewise.
70934         (sin_test_towardzero): Likewise.
70935         (sin_test_downward): Likewise.
70936         (sin_test_upward): Likewise.
70937         (tan_test_tonearest): Likewise.
70938         (tan_test_towardzero): Likewise.
70939         (tan_test_downward): Likewise.
70940         (tan_test_upward): Likewise.
70941         (main): Call the new functions.
70942         * sysdeps/i386/fpu/libm-test-ulps: Update.
70943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70945         [BZ #10135]
70946         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70947         small n, then large n, before computing and testing k+n.
70948         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70949         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70950         Likewise.
70951         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70952         Likewise.
70953         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70954         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70955         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70956         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70957         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70958         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70959         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70960         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70961         * math/libm-test.inc (scalbn_test): Add more tests.
70962         (scalbln_test): Likewise.
70964         * manual/filesys.texi (mode_t): Describe constraints on size and
70965         signedness, not exact equivalence to a particular type.
70966         (ino_t): Likewise.
70967         (ino64_t): Likewise.
70968         (dev_t): Likewise.
70969         (nlink_t): Likewise.
70970         (blkcnt_t): Likewise.
70971         (blkcnt64_t): Likewise.
70972         * manual/llio.texi (off_t): Likewise.
70974         [BZ #3976]
70975         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70976         (__ieee754_exp): Save and restore rounding mode and use
70977         round-to-nearest for all computations.
70978         * math/libm-test.inc (exp_test_tonearest): New function.
70979         (exp_test_towardzero): Likewise.
70980         (exp_test_downward): Likewise.
70981         (exp_test_upward): Likewise.
70982         (main): Call the new functions.
70983         * sysdeps/i386/fpu/libm-test-ulps: Update.
70984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70986 2012-03-01  Chris Demetriou  <cgd@google.com>
70988         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70989         have predictable order.
70991 2012-03-01  David S. Miller  <davem@davemloft.net>
70993         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70995         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70996         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70997         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70998         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71000         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71001         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71002         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71004         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71005         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71006         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71007         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71008         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71013         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71014         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71016         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71017         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71018         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71019         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71020         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71021         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71022         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71023         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71024         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71025         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71026         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71027         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71028         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71029         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71030         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71031         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71032         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71033         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71034         * sysdeps/sparc/elf/configure: Regenerated.
71036 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71038         * configure.in (AS, LD): Require binutils 2.20 or later.
71039         * configure: Regenerated.
71040         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71041         as required minimum version.
71042         * INSTALL: Regenerated.
71044         [BZ #2541]
71045         [BZ #4108]
71046         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71047         before squaring exponent.
71048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71049         bottom long double and 27 bits of top long double before squaring
71050         exponent.
71051         * math/libm-test.inc (erfc_test): Add more tests.
71052         * sysdeps/i386/fpu/libm-test-ulps: Update.
71053         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71056 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71058         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71059         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71060         containing bit-fields.
71061         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71062         * soft-fp/single.h (_FP_UNION_S): Likewise.
71063         * soft-fp/double.h (_FP_UNION_D): Likewise.
71065 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71067         [BZ #13786]
71068         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71069         not include ../strcmp.S.
71070         [USE_AS_STRNCASECMP_L]: Likewise.
71071         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71072         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71073         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71074         (__strncasecmp_l_ia32): Define as alias to
71075         __strncasecmp_l_nonascii.
71077         [BZ #5794]
71078         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71079         * sysdeps/i386/fpu/libm-test-ulps: Update.
71080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71082         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71085 2012-02-29  Jeff Law  <law@redhat.com>
71087         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71088         out of bounds read.
71090 2012-02-29  Marek Polacek  <polacek@redhat.com>
71092         [BZ #13706]
71093         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71094         * elf/Makefile: Add rules to run tst-unused-dep.out.
71096 2012-02-28  David S. Miller  <davem@davemloft.net>
71098         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71099         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71100         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71101         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71102         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71103         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71105 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71107         * math/libm-test.inc (llround_test): Move one test from
71108         lround_test.  Use TEST_f_L in moved test.
71109         (lround_test): Move misplaced test to llround_test.  Add testcase
71110         from bug 2561.
71112 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71114         * sysdeps/x86_64/fpu/e_expf.S: New file.
71115         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71117 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71119         [BZ #13637]
71120         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71121         of remain_len that may cause incomplete multi-byte character and
71122         false match.
71123         * posix/bug-regex33.c: New file.
71124         * posix/Makefile (tests): Add bug-regex33.
71126 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71128         * manual/macros.texi: New file.
71129         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71130         * manual/libc.texinfo: Include macros.texi.
71131         * manual/creatute.texi: Likewise.
71132         * manual/install.texi: Likewise.
71133         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71134         @glibcadj{} in references to the GNU C Library.
71135         * manual/charset.texi: Likewise.
71136         * manual/conf.texi: Likewise.
71137         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71138         when not using those macros.
71139         * manual/creature.texi: Likewise.
71140         * manual/crypt.texi: Likewise.
71141         * manual/errno.texi: Likewise.
71142         * manual/filesys.texi: Likewise.
71143         * manual/header.texi: Likewise.
71144         * manual/install.texi: Likewise.
71145         * manual/intro.texi: Likewise.
71146         * manual/io.texi: Likewise.
71147         * manual/job.texi: Likewise.
71148         * manual/lang.texi: Likewise.
71149         * manual/libc.texiinfo: Likewise.
71150         * manual/llio.texi: Likewise.
71151         * manual/locale.texi: Likewise.
71152         * manual/maint.texi: Likewise.
71153         * manual/math.texi: Likewise.
71154         * manual/memory.texi: Likewise.
71155         * manual/message.texi: Likewise.
71156         * manual/nss.texi: Likewise.
71157         * manual/pattern.texi: Likewise.
71158         * manual/process.texi: Likewise.
71159         * manual/resource.texi: Likewise.
71160         * manual/search.texi: Likewise.
71161         * manual/setjmp.texi: Likewise.
71162         * manual/signal.texi: Likewise.
71163         * manual/socket.texi: Likewise.
71164         * manual/startup.texi: Likewise.
71165         * manual/stdio.texi: Likewise.
71166         * manual/string.texi: Likewise.
71167         * manual/sysinfo.texi: Likewise.
71168         * manual/syslog.texi: Likewise.
71169         * manual/terminal.texi: Likewise.
71170         * manual/time.texi: Likewise.
71171         * manual/users.texi: Likewise.
71172         * INSTALL: Regenerated.
71173         * NOTES: Regenerated.
71174         * sysdeps/gnu/errlist.c: Regenerated.
71176 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71178         * include/dirent.h: Include <dirstream.h> before
71179         <dirent/dirent.h>.
71181 2012-02-28  David S. Miller  <davem@davemloft.net>
71183         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71184         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71185         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71186         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71188 2012-02-27  David S. Miller  <davem@davemloft.net>
71190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71192         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71193         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71196         frame pointer instead of stack pointer relative arg slot.
71197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71198         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71199         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71201 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71203         [BZ #3992]
71204         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71206 2012-02-27  David S. Miller  <davem@davemloft.net>
71208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71212         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71213         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71214         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71215         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71217 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71219         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71220         later.  Allow versions 5-9.
71221         * configure: Regenerated.
71222         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71223         required minimum version and 4.6 as recommended version.  Do not
71224         mention bugs in GCC 2.7 and 2.8.
71225         * INSTALL: Regenerated.
71227 2012-02-27  David S. Miller  <davem@davemloft.net>
71229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71233         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71234         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71235         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71236         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71238         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71239         manipulate bits before adding and subtracting TWO112[sx].
71240         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71242 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71244         [BZ #13775]
71245         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71246         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71247         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71248         being in POSIX, because they are in 1003.1-2008.
71250         * rt/tst-aio.c: Include <fcntl.h>.
71251         * rt/tst-aio7.c: Likewise.
71252         * rt/tst-aio64.c: Likewise.
71254         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71256 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71258         * manual/install.texi (--with-headers): Describe headers as
71259         interface headers, not private headers.
71260         (Specific advice for GNU/Linux systems): Describe use of headers
71261         from "make headers_install", not private headers from older
71262         kernels.
71263         * INSTALL: Regenerated.
71264         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71265         Change to 2.6.19.
71266         * sysdeps/unix/sysv/linux/configure: Regenerated.
71268         * manual/llio.texi (fclean): Remove documentation.
71270         * manual/Makefile (libc-texi-generated): New variable.  Include
71271         version.texi.
71272         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71273         $(libc-texi-generated), not duplicated list of files.
71274         (version.texi, stamp-version): New rules.
71275         (realclean): Remove $(libc-texi-generated), not individual files
71276         from that list.  Do not remove dir-add.texinfo.
71277         * manual/libc.texinfo: Comment out uses of edition numbers and
71278         references to printed manual.  Remove last-updated dates.
71279         (EDITION): Comment out.
71280         (ISBN): Likewise.
71281         (VERSION, UPDATED): Remove.
71282         (version.texi): Include.
71284 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71286         * sysdeps/posix/spawni.c: Include <signal.h>.
71287         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71288         * sysdeps/pthread/aio_fsync.c: Likewise.
71290 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71292         * conform/Makefile (tests): Run only when not cross-compiling and
71293         when fast-check is not defined.
71295         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71296         * conform/data/limits.h-data: Fixes for POSIX2008.
71297         * conform/run-conformtest.sh: Run all tests.
71298         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71299         headers.
71300         * include/bits/dlfcn.h: Likewise.
71301         * include/langinfo.h: Likewise.
71302         * include/monetary.h: Likewise.
71303         * include/sys/poll.h: Likewise.
71305         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71306         for __USE_GNU.
71307         * posix/spawn.h: Define __need_sigset_t.
71308         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71309         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71310         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71311         to get sigevent_t only.
71312         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71313         only for __USE_GNU.
71314         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71315         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71316         process_vm_writev only for __USE_GNU.
71317         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71319         * conform/Makefile: For now ignore errors from run-conformtest.
71320         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71321         POSIX to avoid namespace pollution.  Don't prepend headers.
71322         * conform/data/aio.h-data: Fixes for POSIX testing.
71323         * conform/data/fcntl.h-data: Likewise.
71324         * conform/data/glob.h-data: Likewise.
71325         * conform/data/grp.h-data: Likewise.
71326         * conform/data/pthread.h-data: Likewise.
71327         * conform/data/pwd.h-data: Likewise.
71328         * conform/data/signal.h-data: Likewise.
71329         * conform/data/spawn.h-data: Likewise.
71330         * conform/data/stdio.h-data: Likewise.
71331         * conform/data/stdlib.h-data: Likewise.
71332         * conform/data/stropts.h-data: Likewise.
71333         * conform/data/sys/mman.h-data: Likewise.
71334         * conform/data/sys/stat.h-data: Likewise.
71335         * conform/data/sys/types.h-data: Likewise.
71336         * conform/data/sys/wait.h-data: Likewise.
71337         * conform/data/time.h-data: Likewise.
71338         * conform/data/unistd.h-data: Likewise.
71339         * conform/data/utime.h-data: Likewise.
71341         * io/sys/stat.h: fchmod was always in POSIX.
71342         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71343         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71344         * rt/aio.h: Define __need_timespec before including <time.h>.
71345         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71346         struct.  Add forward declaration of pthread_attr_t and use it in
71347         sigevent.
71348         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71349         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71350         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71351         always remove CLK_TCK definition.
71353 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71355         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71357 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71359         * conform/run-conformtest.sh: New file.
71360         * conform/Makefile: Run run-conformtest for tests.
71361         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71362         support.
71364         * conform/data/uchar.h-data: New file.
71365         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71366         * conform/data/arpa/inet.h-data: Likewise.
71367         * conform/data/assert.h-data: Likewise.
71368         * conform/data/complex.h-data: Likewise.
71369         * conform/data/cpio.h-data: Likewise.
71370         * conform/data/ctype.h-data: Likewise.
71371         * conform/data/dirent.h-data: Likewise.
71372         * conform/data/dlfcn.h-data: Likewise.
71373         * conform/data/errno.h-data: Likewise.
71374         * conform/data/fcntl.h-data: Likewise.
71375         * conform/data/float.h-data: Likewise.
71376         * conform/data/fmtmsg.h-data: Likewise.
71377         * conform/data/fnmatch.h-data: Likewise.
71378         * conform/data/ftw.h-data: Likewise.
71379         * conform/data/glob.h-data: Likewise.
71380         * conform/data/grp.h-data: Likewise.
71381         * conform/data/iconv.h-data: Likewise.
71382         * conform/data/inttypes.h-data: Likewise.
71383         * conform/data/langinfo.h-data: Likewise.
71384         * conform/data/libgen.h-data: Likewise.
71385         * conform/data/limits.h-data: Likewise.
71386         * conform/data/locale.h-data: Likewise.
71387         * conform/data/math.h-data: Likewise.
71388         * conform/data/monetary.h-data: Likewise.
71389         * conform/data/mqueue.h-data: Likewise.
71390         * conform/data/ndbm.h-data: Likewise.
71391         * conform/data/net/if.h-data: Likewise.
71392         * conform/data/netdb.h-data: Likewise.
71393         * conform/data/netinet/in.h-data: Likewise.
71394         * conform/data/nl_types.h-data: Likewise.
71395         * conform/data/poll.h-data: Likewise.
71396         * conform/data/pthread.h-data: Likewise.
71397         * conform/data/pwd.h-data: Likewise.
71398         * conform/data/regex.h-data: Likewise.
71399         * conform/data/sched.h-data: Likewise.
71400         * conform/data/search.h-data: Likewise.
71401         * conform/data/semaphore.h-data: Likewise.
71402         * conform/data/setjmp.h-data: Likewise.
71403         * conform/data/signal.h-data: Likewise.
71404         * conform/data/spawn.h-data: Likewise.
71405         * conform/data/stdarg.h-data: Likewise.
71406         * conform/data/stdio.h-data: Likewise.
71407         * conform/data/stdlib.h-data: Likewise.
71408         * conform/data/string.h-data: Likewise.
71409         * conform/data/strings.h-data: Likewise.
71410         * conform/data/stropts.h-data: Likewise.
71411         * conform/data/sys/ipc.h-data: Likewise.
71412         * conform/data/sys/mman.h-data: Likewise.
71413         * conform/data/sys/msg.h-data: Likewise.
71414         * conform/data/sys/resource.h-data: Likewise.
71415         * conform/data/sys/select.h-data: Likewise.
71416         * conform/data/sys/sem.h-data: Likewise.
71417         * conform/data/sys/shm.h-data: Likewise.
71418         * conform/data/sys/socket.h-data: Likewise.
71419         * conform/data/sys/stat.h-data: Likewise.
71420         * conform/data/sys/statvfs.h-data: Likewise.
71421         * conform/data/sys/time.h-data: Likewise.
71422         * conform/data/sys/timeb.h-data: Likewise.
71423         * conform/data/sys/times.h-data: Likewise.
71424         * conform/data/sys/types.h-data: Likewise.
71425         * conform/data/sys/uio.h-data: Likewise.
71426         * conform/data/sys/un.h-data: Likewise.
71427         * conform/data/sys/utsname.h-data: Likewise.
71428         * conform/data/sys/wait.h-data: Likewise.
71429         * conform/data/syslog.h-data: Likewise.
71430         * conform/data/tar.h-data: Likewise.
71431         * conform/data/termios.h-data: Likewise.
71432         * conform/data/utime.h-data: Likewise.
71433         * conform/data/utmpx.h-data: Likewise.
71434         * conform/data/varargs.h-data: Likewise.
71435         * conform/data/wchar.h-data: Likewise.
71436         * conform/data/wctype.h-data: Likewise.
71437         * conform/data/wordexp.h-data: Likewise.
71439         * include/stropts.h: New file.
71440         * include/uchar.h: New file.
71441         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71442         * include/assert.h: Likewise.
71443         * include/ctype.h: Likewise.
71444         * include/dirent.h: Likewise.
71445         * include/dlfcn.h: Likewise.
71446         * include/fcntl.h: Likewise.
71447         * include/fnmatch.h: Likewise.
71448         * include/glob.h: Likewise.
71449         * include/grp.h: Likewise.
71450         * include/libio.h: Likewise.
71451         * include/locale.h: Likewise.
71452         * include/math.h: Likewise.
71453         * include/net/if.h: Likewise.
71454         * include/netdb.h: Likewise.
71455         * include/netinet/in.h: Likewise.
71456         * include/pthread.h: Likewise.
71457         * include/pwd.h: Likewise.
71458         * include/regex.h: Likewise.
71459         * include/sched.h: Likewise.
71460         * include/search.h: Likewise.
71461         * include/setjmp.h: Likewise.
71462         * include/signal.h: Likewise.
71463         * include/stdio.h: Likewise.
71464         * include/stdlib.h: Likewise.
71465         * include/string.h: Likewise.
71466         * include/sys/cdefs.h: Likewise.
71467         * include/sys/mman.h: Likewise.
71468         * include/sys/msg.h: Likewise.
71469         * include/sys/resource.h: Likewise.
71470         * include/sys/select.h: Likewise.
71471         * include/sys/socket.h: Likewise.
71472         * include/sys/stat.h: Likewise.
71473         * include/sys/statvfs.h: Likewise.
71474         * include/sys/time.h: Likewise.
71475         * include/sys/times.h: Likewise.
71476         * include/sys/uio.h: Likewise.
71477         * include/sys/utsname.h: Likewise.
71478         * include/sys/wait.h: Likewise.
71479         * include/termios.h: Likewise.
71480         * include/time.h: Likewise.
71481         * include/ulimit.h: Likewise.
71482         * include/unistd.h: Likewise.
71483         * include/utime.h: Likewise.
71484         * include/wchar.h: Likewise.
71485         * include/wctype.h: Likewise.
71486         * include/wordexp.h: Likewise.
71488         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71490         * time/time.h: TIME_UTC must be a macro.
71491         Make timespec_get available for ISO C11 only as well.
71493 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71495         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71496         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71498 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71500         * configure.in: Use -o not -a in test for unsupported multi-arch.
71502 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71504         * manual/texinfo.tex: Update to version 2012-01-19.16.
71506 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71508         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71510 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71512         [BZ #13738]
71513         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71514         * manual/fdl-1.3.texi: New file.
71515         * manual/fdl-1.1.texi: File removed.
71517         [BZ #13738]
71518         * manual/libc.texinfo (FDL_VERSION): New @set.
71519         Use it for mention of FDL in cover text.
71520         (Documentation License): Use it in @include file name.
71522 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71523             Roland McGrath  <roland@hack.frob.com>
71525         [BZ #5461]
71526         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71527         (not LONG_LONG_MAX and LONG_LONG_MIN.
71528         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71529         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71530         name.
71531         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71533 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71535         [BZ #2547]
71536         [BZ #11365]
71537         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71538         manipulate bits before adding and subtracting TWO23[sx].
71539         * math/libm-test.inc (nearbyint_test): Add more tests.
71541 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71543         [BZ #2548]
71544         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71545         bits before adding and subtracting TWO23[sx].
71546         * math/libm-test.inc (rint_test): Add more tests.
71547         (rint_test_tonearest): Likewise.
71548         (rint_test_towardzero): Likewise.
71549         (rint_test_downward): Likewise.
71550         (rint_test_upward: Likewise.
71552 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71554         [BZ #10110]
71555         * include/stdc-predef.h: New file.  Extracted from features.h.
71556         * include/features.h: Include stdc-predef.h.
71557         * Makefile (headers): Add stdc-predef.h.
71558         * CONFORMANCE (Compiler limitations): Update.
71560 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71562         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71564 2012-02-21  David S. Miller  <davem@davemloft.net>
71566         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71567         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71569 2012-02-20  David S. Miller  <davem@davemloft.net>
71571         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71572         using a normal save/restore sequence, rather than allocating a
71573         dummy stack frame just to store a frame pointer and restore.
71574         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71576 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71578         * manual/install.texi: Fix stray word in line-wrapped comment.
71580 2012-02-20  David S. Miller  <davem@davemloft.net>
71582         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71583         both binutils and gcc support GOTDATA.
71585         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71586         "rd %pc" in the PIC register setup sequences.
71588         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71589         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71590         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71591         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71592         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71593         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71594         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71595         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71596         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71597         (SYSCALL_ERROR_HANDLER): Likewise.
71598         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71599         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71601         (SYSCALL_ERROR_HANDLER): Likewise.
71603         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71604         (HAVE_GCC_GOTDATA): New.
71605         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71606         relocation support in both binutils and gcc.
71607         * sysdeps/sparc/elf/configure: Regenerate.
71609         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71610         * sysdeps/sparc/sparc32/elf/configure: Delete.
71611         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71612         * sysdeps/sparc/sparc64/elf/configure: Delete.
71613         * sysdeps/sparc/elf/configure.in: New file.
71614         * sysdeps/sparc/elf/configure: Generate.
71616         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71617         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71618         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71619         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71620         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71622 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71624         * manual/install.texi: Do not mention specific glibc version
71625         numbers.
71626         * manual/libc.texinfo (VERSION, UPDATED): Update.
71627         (@copying): Use @copyright{} and range of years.
71629 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71631         [BZ #13695]
71632         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71633         [crti.S not in sysdirs] (generated): Do not append.
71634         [crti.S not in sysdirs] (omit-deps): Likewise.
71635         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71636         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71637         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71638         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71639         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71640         Likewise.
71641         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71642         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71643         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71644         * csu/defs.awk: Remove file.
71645         * sysdeps/generic/initfini.c: Likewise.
71646         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71647         variable.
71648         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71649         Likewise.
71651 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71653         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71654         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71655         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71656         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71657         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71658         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71659         <bits/epoll.h>.
71660         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71661         (__EPOLL_PACKED): Define to empty if not defined by
71662         <bits/epoll.h>.
71663         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71665         bits/epoll.h.
71667 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71669         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71670         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71671         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71672         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71673         <bits/timerfd.h>.
71674         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71675         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71676         bits/timerfd.h.
71678 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71680         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71681         in C locale.
71682         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71683         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71684         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71687 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71689         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71690         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71692 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71694         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71695         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71696         defined.
71697         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71698         Likewise.
71699         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71700         entry for 2.16.
71702 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71704         * math/w_acos.c: Use non-signaling floating-point comparisons.
71705         * math/w_acosf.c: Likewise.
71706         * math/w_acosh.c: Likewise.
71707         * math/w_acoshf.c: Likewise.
71708         * math/w_acoshl.c: Likewise.
71709         * math/w_acosl.c: Likewise.
71710         * math/w_asin.c: Likewise.
71711         * math/w_asinf.c: Likewise.
71712         * math/w_asinl.c: Likewise.
71713         * math/w_atanh.c: Likewise.
71714         * math/w_atanhf.c: Likewise.
71715         * math/w_atanhl.c: Likewise.
71716         * math/w_exp2.c: Likewise.
71717         * math/w_exp2f.c: Likewise.
71718         * math/w_exp2l.c: Likewise.
71719         * math/w_j0.c: Likewise.
71720         * math/w_j0f.c: Likewise.
71721         * math/w_j0l.c: Likewise.
71722         * math/w_j1.c: Likewise.
71723         * math/w_j1f.c: Likewise.
71724         * math/w_j1l.c: Likewise.
71725         * math/w_jn.c: Likewise.
71726         * math/w_jnf.c: Likewise.
71727         * math/w_log.c: Likewise.
71728         * math/w_log10.c: Likewise.
71729         * math/w_log10f.c: Likewise.
71730         * math/w_log10l.c: Likewise.
71731         * math/w_log2.c: Likewise.
71732         * math/w_log2f.c: Likewise.
71733         * math/w_log2l.c: Likewise.
71734         * math/w_logf.c: Likewise.
71735         * math/w_logl.c: Likewise.
71736         * math/w_sqrt.c: Likewise.
71737         * math/w_sqrtf.c: Likewise.
71738         * math/w_sqrtl.c: Likewise.
71739         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71740         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71741         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71742         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71743         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71745 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71747         [BZ #9739]
71748         * manual/string.texi (strnlen): Use correct parameter name in
71749         equivalent expression.
71751 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71753         [BZ #11174]
71754         * manual/users.texi (seteuid): Consistently use neweuid for
71755         argument name.
71757 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71759         [BZ #13704]
71760         * manual/nss.texi (Services in the NSS configuration): Correct
71761         list of services in example configuration file.
71763 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71765         [BZ #11322]
71766         * manual/arith.texi: Remove statements about negative zero
71767         behaving identically to zero.
71769 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71771         [BZ #5993]
71772         * manual/install.texi: Do not document upgrading from libc5.
71774 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71776         [BZ #4596]
71777         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71779 2012-02-18  David S. Miller  <davem@davemloft.net>
71781         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71782         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71783         %o7 across the call.
71784         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71785         instead.
71786         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71787         SETUP_PIC_REG_LEAF.
71788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71789         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71790         * sysdeps/sparc/crtn.S: Likewise.
71792 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71794         * aout/Makefile: Remove.
71796 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71798         [BZ #13058]
71799         * manual/examples/argp-ex1.c (main): Format definition in GNU
71800         style.
71801         * manual/examples/argp-ex2.c (main): Likewise.
71802         * manual/examples/argp-ex3.c (main): Likewise.
71803         * manual/examples/argp-ex4.c (main): Likewise.
71804         * manual/examples/longopt.c (main): Use new-style prototype
71805         definition.
71806         * manual/examples/strncat.c (main): Specify return type and use
71807         (void) for arguments.
71808         * manual/examples/subopt.c (main): Use char **argv argument.
71810 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71812         [BZ #5077]
71813         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71814         rounding modes.
71816 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71818         [BZ #6907]
71819         * manual/string.texi (strchr): Change when strchrnul is
71820         recommended.
71822 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71824         [BZ #174]
71825         * manual/locale.texi (setlocale): Document LOCPATH.
71827 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71829         [BZ #10210]
71830         * manual/process.texi (execle): Move @dots{} before last argument.
71832 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71834         [BZ #12047]
71835         * manual/charset.texi (Generic Charset Conversion): Fix typo
71836         (LC_TYPE -> LC_CTYPE).
71838 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71840         [BZ #5805]
71841         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71842         (scalbnf): Likewise.
71843         (scalbnl): Likewise.
71844         (scalbln): Likewise.
71845         (scalblnf): Likewise.
71846         (scalblnl): Likewise.
71847         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71848         (vwarnx): Likewise.
71849         (verr): Likewise.
71850         (verrx): Likewise.
71851         * manual/filesys.texi (telldir): Use braces around return type.
71852         * manual/llio.texi (mmap): Add space after comma.
71853         (mmap64): Likewise.
71854         * manual/math.texi (jn): Use @var{} on parameter names.
71855         (jnf): Likewise.
71856         (jnl): Likewise.
71857         (yn): Likewise.
71858         (ynf): Likewise.
71859         (ynl): Likewise.
71860         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71861         line.
71862         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71863         "...".
71864         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71865         (sched_get_priority_max): Likewise.
71866         * manual/signal.texi (sigvec): Add space after comma.
71867         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71868         names.
71869         (if_indextoname): Likewise.
71870         (if_freenameindex): Likewise.
71871         (sendto): Use ',' instead of '.' in prototype.
71872         * manual/startup.texi (syscall): Use @dots{} instead of literal
71873         "...".
71874         * manual/stdio.texi (__fpending): Separate initial words of
71875         paragraph from @deftypefun line.
71876         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71877         "...".
71878         (vsyslog): Use @var{} on parameter names.
71879         * manual/terminal.texi (stty): Use @var{} on parameter names.
71880         * manual/users.texi (getutmp): Use @var{} on parameter names.
71881         (getutmpx): Likewise.
71883 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71885         [BZ #6884]
71886         * manual/stdio.texi (fopen): Fix typos in description of
71887         ",ccs=STRING".
71889 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71891         [BZ #4026]
71892         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71893         get clock_id definition.
71895 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71897         [BZ #4822]
71898         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71899         (madvise): Cast every argument to void on its own.
71901 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71903         [BZ #9902]
71904         * manual/startup.texi (Exit Status): Fix typo.
71906 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71908         [BZ #10140]
71909         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71910         * manual/examples/argp-ex2.c: Likewise.
71911         * manual/examples/argp-ex3.c: Likewise.
71913 2012-02-16  Richard Henderson  <rth@redhat.com>
71915         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71916         * sysdeps/s390/s390-32/initfini.c: Remove.
71917         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71918         * sysdeps/s390/s390-64/initfini.c: Remove.
71920 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71922         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71923         compiler output for sysdeps/generic/initfini.c.
71924         * sysdeps/sh/elf/initfini.c: Remove file.
71926 2012-02-16  David S. Miller  <davem@davemloft.net>
71928         [BZ #11494]
71929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71931         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71932         * sysdeps/sparc/crti.S: New file.
71933         * sysdeps/sparc/crtn.S: New file.
71934         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71935         * sysdeps/sparc/sparc64/Makefile: Likewise.
71937 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71939         [BZ #3335]
71940         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71942 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71944         [BZ #4822]
71945         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71947         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71948         (write, read, close): Likewise.
71949         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71951 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71953         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71954         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71955         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71956         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71957         <bits/signalfd.h>.
71958         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71960         bits/signalfd.h.
71962 2012-02-14  Marek Polacek  <polacek@redhat.com>
71964         * sysdeps/x86_64/crti.S: New file.
71965         * sysdeps/x86_64/crtn.S: New file.
71966         * sysdeps/x86_64/elf/initfini.c: Remove file.
71968 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71970         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71971         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71972         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71973         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71974         <bits/inotify.h>.
71975         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71977         bits/inotify.h.
71979 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71981         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71982         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71983         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71984         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71985         <bits/eventfd.h>.
71986         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71988         bits/eventfd.h.
71990 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71992         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71993         __feraiseexcept instead of feraiseexcept.
71995         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71996         nanosleep invocations.
71997         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71998         strings, and add error checking for a nanosleep invocations.
72000 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72002         Replace FSF snail mail address with URLs, as per GNU coding standards.
72003         Most of the snail mail addresses were wrong anyway, and omitting
72004         them makes the source code easier to maintain.  Almost all of the
72005         changes are to license notices and to locale LC_IDENTIFICATION
72006         addresses, except for this one:
72007         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72008         not its snail mail address.
72010 2012-02-09  Richard Henderson  <rth@twiddle.net>
72012         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72013         of kernel-features.h.
72015         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72017 2012-02-08  Marek Polacek  <polacek@redhat.com>
72019         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72020         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72021         * sysdeps/gnu/_G_config.h: Likewise.
72022         * sysdeps/generic/_G_config.h: Likewise.
72024 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72026         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72027         tests.
72028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72030         * sysdeps/powerpc/powerpc32/crti.S: New file.
72031         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72032         * sysdeps/powerpc/powerpc64/crti.S: New file.
72033         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72035         * Makeconfig (have-initfini): Don't set.
72036         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72037         * configure.in (nopic_initfini): Don't substitute.
72038         * config.h.in (HAVE_INITFINI): Don't #undef.
72039         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72040         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72042 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72044         Support crti.S and crtn.S provided directly by architectures.
72045         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72046         [crti.S in sysdirs] (omit-deps): Likewise.
72047         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72048         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72049         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72050         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72051         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72052         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72053         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72054         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72055         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72056         compiler output for sysdeps/generic/initfini.c.
72057         * sysdeps/i386/elf/Makefile: Remove file.
72058         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72060 2012-02-07  Marek Polacek  <polacek@redhat.com>
72062         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72063         * sysdeps/gnu/_G_config.h: Likewise.
72064         * sysdeps/mach/hurd/_G_config.h: Likewise.
72066 2012-02-07  Marek Polacek  <polacek@redhat.com>
72068         * math/Makefile (tests): Add tst-CMPLX2.
72069         * math/tst-CMPLX2.c: New file.
72071 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72073         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72075         * math/libm-test.inc (jn_test): Add missing L suffix.
72077 2012-02-06  Marek Polacek  <polacek@redhat.com>
72079         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72080         * sysdeps/i386/fpu/e_powf.S: Likewise.
72081         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72082         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72083         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72084         * sysdeps/i386/fpu/e_pow.S: Likewise.
72085         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72086         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72087         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72088         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72089         * sysdeps/i386/fpu/e_log2.S: Likewise.
72090         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72091         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72092         * sysdeps/i386/fpu/e_powl.S: Likewise.
72093         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72094         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72095         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72096         * sysdeps/i386/fpu/e_logl.S: Likewise.
72097         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72098         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72099         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72100         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72101         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72102         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72103         * sysdeps/i386/fpu/e_log.S: Likewise.
72104         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72105         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72106         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72107         * sysdeps/i386/fpu/e_logf.S: Likewise.
72108         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72109         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72110         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72111         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72112         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72113         * sysdeps/i386/fpu/e_log10.S: Likewise.
72114         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72115         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72116         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72117         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72118         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72119         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72120         * sysdeps/i386/asm-syntax.h: Likewise.
72121         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72122         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72123         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72124         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72125         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72126         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72127         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72128         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72129         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72130         * sysdeps/powerpc/sysdep.h: Likewise.
72131         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72132         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72134 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72136         [BZ #411]
72137         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72139 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72141         * sysdeps/i386/sysdep.h: Include <features.h>.
72142         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72143         version.
72145 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72147         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72148         Define.
72149         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72150         LOAD_PIC_REG_STR.
72152 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72154         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72155         (SETUP_PIC_REG): Use GET_PC_THUNK.
72156         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72157         macro.
72159 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72161         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72162         for non-PIC compilation.
72163         (SETUP_PIC_REG): Add .p2align directive.
72164         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72165         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72166         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72167         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72168         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72169         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72170         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72171         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72172         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72173         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72174         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72175         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72176         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72177         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72178         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72179         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72180         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72181         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72182         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72183         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72184         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72185         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72186         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72187         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72188         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72189         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72190         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72191         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72192         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72193         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72194         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72195         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72196         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72197         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72198         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72199         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72200         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72201         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72202         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72203         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72204         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72206 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72208         * math/tst-CMPLX.c: Include <stdio.h>.
72210 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72212         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72213         float.
72214         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72215         * sysdeps/sparc/bits/mathdef.h: Likewise.
72217 2012-01-31  Marek Polacek  <polacek@redhat.com>
72219         * libio/libio.h: Don't define _PARAMS.
72220         * locale/programs/config.h: Don't define PARAMS.
72221         * stdlib/strtol_l.c: Likewise.
72222         (__strtol_l): Remove PARAMS from the prototype.
72224 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72226         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72227         names.  Just use the correct names.  Remove unnecessary wrapper
72228         functions.
72229         * malloc/arena.c: Likewise.
72230         * malloc/hooks.c: Likewise.
72232         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72233         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72234         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72236 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72238         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72239         into tail calls.
72240         (update_get_addr): New function.
72241         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72242         GET_ADDR_MODULE parameter.
72244 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72246         * crypt/cert.c: Remove __STDC__ conditionals.
72247         * crypt/crypt-entry.c: Likewise.
72248         * crypt/crypt_util.c: Likewise.
72249         * libio/filedoalloc.c: Likewise.
72250         * libio/fileops.c: Likewise.
72251         * libio/genops.c: Likewise.
72252         * libio/iofclose.c: Likewise.
72253         * libio/iofdopen.c: Likewise.
72254         * libio/iofopen.c: Likewise.
72255         * libio/iofopen64.c: Likewise.
72256         * libio/iogetdelim.c: Likewise.
72257         * libio/iopopen.c: Likewise.
72258         * libio/obprintf.c: Likewise.
72259         * libio/oldfileops.c: Likewise.
72260         * libio/oldiofclose.c: Likewise.
72261         * libio/oldiofdopen.c: Likewise.
72262         * libio/oldiofopen.c: Likewise.
72263         * libio/oldiopopen.c: Likewise.
72264         * libio/wfiledoalloc.c: Likewise.
72265         * libio/wgenops.c: Likewise.
72266         * locale/programs/xmalloc.c: Likewise.
72267         * misc/syslog.c: Likewise.
72268         * stdio-common/xbug.c: Likewise.
72269         * string/memchr.c: Likewise.
72270         * string/memcmp.c: Likewise.
72271         * string/memrchr.c: Likewise.
72272         * string/rawmemchr.c: Likewise.
72273         * sysdeps/posix/getcwd.c: Likewise.
72274         * time/strftime_l.c: Likewise.
72276 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72278         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72279         * config.make.in (config-cflags-sse2avx): Define.
72280         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72281         Fix typo.
72283 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72285         * scripts/config.guess: Update from upstream config git repository.
72286         * scripts/config.sub: Likewise.
72288 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72290         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72291         (EM_NUM): Update.
72292         (R_TILEPRO_*, R_TILEGX_*): New macros.
72294         * scripts/firstversions.awk: Fix bug in version range handling.
72296         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72298         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72300         * include/sys/epoll.h: New file.
72301         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72302         libc_hidden_def.
72304 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72306         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72307         Avoid unnecessary __WORDSIZE == 64 test.
72308         (fmaxf): Use VEX format if possible.
72309         (fmax): Likewise.
72310         (fminf): Likewise.
72311         (fmin): Likewise.
72313         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72314         * math/math_private.h: Remove libc_fegetround* and
72315         libc_fesetround*.
72316         * sysdeps/i386/configure.in: Check for -msse2avx.
72317         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72318         also if SSE2AVX is defined.
72319         Remove libc_fegetround* and libc_fesetround*.
72320         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72321         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72322         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72323         of HAS_YMM_USABLE.
72324         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72325         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72326         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72327         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72328         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72330         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72332 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72334         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72335         size is not set.
72336         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72338 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72340         [BZ #13618]
72341         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72342         relocation.
72343         * Makeconfig (libm): Define.
72344         * elf/Makefile: Add rules to build and run tst-relsort1.
72345         * elf/tst-relsort1.c: New file.
72346         * elf/tst-relsort1mod1.c: New file.
72347         * elf/tst-relsort1mod2.c: New file.
72349 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72351         * math/s_ldexp.c: Remove __STDC__ conditionals.
72352         * math/s_ldexpf.c: Likewise.
72353         * math/s_ldexpl.c: Likewise.
72354         * math/s_nextafter.c: Likewise.
72355         * math/s_nexttowardf.c: Likewise.
72356         * math/s_significand.c: Likewise.
72357         * math/s_significandf.c: Likewise.
72358         * math/s_significandl.c: Likewise.
72359         * math/w_jnl.c: Likewise.
72360         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72361         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72362         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72363         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72364         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72365         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72366         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72367         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72368         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72369         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72370         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72371         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72372         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72373         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72374         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72375         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72376         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72377         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72378         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72379         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72380         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72381         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72382         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72383         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72384         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72385         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72386         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72387         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72388         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72389         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72390         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72391         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72392         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72393         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72394         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72395         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72396         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72397         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72398         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72399         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72400         * sysdeps/ieee754/k_standard.c: Likewise.
72401         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72402         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72403         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72404         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72405         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72406         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72407         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72408         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72409         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72410         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72411         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72412         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72413         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72414         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72415         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72416         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72417         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72418         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72419         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72420         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72421         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72422         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72423         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72424         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72425         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72426         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72427         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72430         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72431         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72432         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72433         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72434         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72435         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72436         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72437         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72438         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72439         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72440         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72441         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72442         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72443         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72444         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72445         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72446         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72447         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72448         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72449         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72450         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72451         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72452         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72453         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72454         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72455         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72456         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72457         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72458         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72459         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72460         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72461         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72462         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72463         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72464         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72465         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72466         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72467         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72468         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72469         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72470         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72471         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72472         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72473         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72474         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72475         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72476         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72477         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72478         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72479         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72480         * sysdeps/ieee754/s_matherr.c: Likewise.
72481         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72482         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72483         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72484         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72486 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72488         * crypt/md5.h: Remove __STDC__ conditionals.
72489         * libio/libioP.h: Likewise.
72490         * locale/programs/config.h: Likewise.
72491         * sysdeps/generic/sysdep.h: Likewise.
72492         * sysdeps/i386/asm-syntax.h: Likewise.
72493         * sysdeps/s390/asm-syntax.h: Likewise.
72494         * sysdeps/unix/sysdep.h: Likewise.
72495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72498 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72500         * libio/libio.h: Remove __STDC__ conditionals.
72501         * malloc/obstack.h: Likewise.
72502         * math/complex.h: Likewise.
72503         * math/math.h: Likewise.
72504         * sysdeps/generic/_G_config.h: Likewise.
72505         * sysdeps/gnu/_G_config.h: Likewise.
72506         * sysdeps/mach/hurd/_G_config.h: Likewise.
72507         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72508         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72509         * sysdeps/sparc/bits/mathdef.h: Likewise.
72511 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72513         [BZ #13583]
72514         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72515         Clean up HAS_* macros.
72516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72517         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72518         possible.
72519         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72520         HAS_AVX.
72521         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72522         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72523         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72524         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72525         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72527 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72529         * elf/tst-unique3.cc (gets): Remove declaration.
72530         * elf/tst-unique3lib.cc (gets): Likewise.
72531         * elf/tst-unique3lib2.cc (gets): Likewise.
72532         * elf/tst-unique4.cc (gets): Likewise.
72534 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72536         * include/stdio.h: Add C++ protection.  Add gets declarations and
72537         definitions.
72538         * debug/tst-chk1.c: Don't declare gets here.
72539         * stdio-common/tst-gets.c: Likewise.
72541 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72543         * posix/glob: Remove directory.
72545 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72547         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72549 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72551         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72552         of the non-standard EPFNOSUPPORT.
72554 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72556         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72557         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72558         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72560 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72562         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72564 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72566         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72567         transient errors.
72568         * nscd/grpcache.c (cache_addgr): Likewise.
72569         * nscd/hstcache.c (cache_addhst): Likewise.
72570         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72571         * nscd/pwdcache.c (cache_addpw): Likewise.
72572         * nscd/servicescache.c (cache_addserv): Likewise.
72574 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72576         * malloc/malloc.c: Various cleanups.
72577         * malloc/hooks.c: Likewise.
72579         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72580         * stdlib/bug-fmtmsg1.c: New file.
72582         * stdlib/fmtmsg.c (init): Add missing unlock.
72583         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72585 2012-01-12  Marek Polacek  <polacek@redhat.com>
72587         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72588         and _GNU_SOURCE.
72590 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72592         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72593         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72594         macro to ensure uniqueness of label name.
72595         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72596         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72598 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72600         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72602         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72603         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72604         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72605         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72607 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72609         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72611         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72612         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72613         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72615         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72617         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72618         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72619         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72622         * math/bits/math-finite.h: Add ldexp support.
72624 2012-01-10  Marek Polacek  <polacek@redhat.com>
72626         * locale/programs/localedef.h (show_archive_content): Add noreturn
72627         attribute.
72629 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72631         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72633 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72635         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72637         * io/Makefile (headers): Add bits/poll2.h.
72639 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72642         typo #include statement.
72644 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72646         * include/sys/cdefs.h: Define __attribute_alloc_size.
72647         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72648         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72649         * elf/pldd.c: Likewise.
72650         * iconv/iconv_charmap.c: Likewise.
72651         * iconv/iconvconfig.c: Likewise.
72652         * iconv/strtab.c: Likewise.
72653         * locale/programs/locale.c: Likewise.
72654         * locale/programs/localedef.h: Likewise.
72655         * locale/programs/simple-hash.c: Likewise.
72656         * nscd/nscd.h: Likewise.
72657         * nss/makedb.c: Likewise.
72658         * sysdeps/generic/ldconfig.h: Likewise.
72659         * locale/programs/localedef.c: Remove xmalloc prototype.
72660         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72662 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72664         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72665         appropriate.
72667 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72669         * math/Makefile (tests): Add tst-CMPLX.
72670         * math/tst-CMPLX.c: New file.
72672         * math/complex.h (CMPLXL): Fix typo.
72674         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72675         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72676         GLIBC_2.16.
72677         * debug/tst-chk1.c: Add poll and ppoll tests.
72678         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72679         * include/sys/poll.h: Add hidden proto for ppoll.
72680         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72681         * sysdeps/mach/hurd/ppoll.c: Likewise.
72682         * io/ppoll.c: Likewise.
72683         * debug/poll_chk.c: New file.
72684         * debug/ppoll_chk.c: New file.
72685         * include/bits/poll2.h: New file.
72686         * io/bits/poll2.h: New file.
72688         [BZ #1350]
72689         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72691         * configure.in: static is always set to yes.  Remove.
72692         * config.make.in: Don't set build-static.
72693         * Makeconfig: Remove use of build-static.
72694         * dlfcn/Makefile: Likewise.
72695         * elf/Makefile: Likewise.
72696         * math/Makefile: Likewise.
72697         * misc/Makefile: Likewise.
72698         * nptl/Makefile: Likewise.
72699         * sysdeps/mach/hurd/Makefile: Likewise.
72701         * configure.in: PWD_P is not used anymore.
72702         * config.make.in: Remove PWD_P entry.
72704         * configure.in: Remove last remnants of RANLIB.
72705         No need to check for signed size_t anymore.
72706         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72707         and IA-64.
72708         Remove __builtin_expect test because we require at least gcc 3.4.
72709         * aclocal.m4: Likewise.
72711         * wcsmbs/mbrtoc16.c: Implement using towc function.
72712         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72713         * wcsmbs/wcsmbsload.c: Likewise.
72714         * iconv/gconv_simple.c: Likewise.
72715         * iconv/gconv_int.h: Likewise.
72716         * iconv/gconv_builtin.h: Likewise.
72717         * iconv/iconv_prog.c: Remove CHAR16 handling.
72719         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72721         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72723         * configure.in: Remove --with-elf and --enable-bounded options.
72724         Dont set base_machine for ia64.  More non-ELF conditions removed.
72725         Remove testing and setting of leading underscore information.
72726         * config.make.in (build-bounded): Set to no.
72727         * config.h.in: Remove NO_UNDERSCORES entry.
72728         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72729         them.
72730         * csu/start.c: Remove !NO_UNDERSCORE code.
72731         * locale/localeinfo.h: Likewise.
72732         * sysdeps/generic/machine-gmon.h: Likewise.
72733         * sysdeps/generic/sysdep.h: Likewise.
72734         * sysdeps/i386/sysdep.h: Likewise.
72735         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72736         * sysdeps/mach/sysdep.h: Likewise.
72737         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72738         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72739         * sysdeps/sh/sysdep.h: Likewise.
72740         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72741         * sysdeps/unix/i386/sysdep.S: Likewise.
72742         * sysdeps/unix/sparc/start.c: Likewise.
72743         * sysdeps/unix/sparc/sysdep.S: Likewise.
72744         * sysdeps/unix/sparc/sysdep.h: Likewise.
72745         * sysdeps/unix/start.c: Likewise.
72746         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72747         * sysdeps/x86_64/sysdep.h: Likewise.
72749 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72751         [BZ #13553]
72752         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72753         for non-gcc.
72754         * argp/argp-fmtstream.h: Use const instead __const.
72755         * argp/argp.h: Likewise.
72756         * assert/assert.h: Likewise.
72757         * bits/fenv.h: Likewise.
72758         * bits/sched.h: Likewise.
72759         * bits/sigset.h: Likewise.
72760         * bits/sigthread.h: Likewise.
72761         * catgets/nl_types.h: Likewise.
72762         * conform/data/pthread.h-data: Likewise.
72763         * crypt/crypt-private.h: Likewise.
72764         * crypt/crypt.h: Likewise.
72765         * crypt/crypt_util.c: Likewise.
72766         * ctype/ctype.h: Likewise.
72767         * debug/execinfo.h: Likewise.
72768         * debug/mbsnrtowcs_chk.c: Likewise.
72769         * debug/mbsrtowcs_chk.c: Likewise.
72770         * debug/wcsnrtombs_chk.c: Likewise.
72771         * debug/wcsrtombs_chk.c: Likewise.
72772         * debug/wcstombs_chk.c: Likewise.
72773         * dirent/dirent.h: Likewise.
72774         * dlfcn/dlfcn.h: Likewise.
72775         * elf/neededtest4.c: Likewise.
72776         * grp/grp.h: Likewise.
72777         * gshadow/gshadow.h: Likewise.
72778         * iconv/gconv.h: Likewise.
72779         * iconv/gconv_int.h: Likewise.
72780         * iconv/gconv_simple.c: Likewise.
72781         * iconv/iconv.h: Likewise.
72782         * iconv/loop.c: Likewise.
72783         * iconv/skeleton.c: Likewise.
72784         * include/aio.h: Likewise.
72785         * include/aliases.h: Likewise.
72786         * include/argz.h: Likewise.
72787         * include/arpa/inet.h: Likewise.
72788         * include/assert.h: Likewise.
72789         * include/dirent.h: Likewise.
72790         * include/dlfcn.h: Likewise.
72791         * include/execinfo.h: Likewise.
72792         * include/fcntl.h: Likewise.
72793         * include/fenv.h: Likewise.
72794         * include/glob.h: Likewise.
72795         * include/grp.h: Likewise.
72796         * include/libintl.h: Likewise.
72797         * include/mntent.h: Likewise.
72798         * include/netdb.h: Likewise.
72799         * include/pwd.h: Likewise.
72800         * include/rpc/netdb.h: Likewise.
72801         * include/sched.h: Likewise.
72802         * include/search.h: Likewise.
72803         * include/shadow.h: Likewise.
72804         * include/signal.h: Likewise.
72805         * include/stdio.h: Likewise.
72806         * include/stdlib.h: Likewise.
72807         * include/string.h: Likewise.
72808         * include/sys/socket.h: Likewise.
72809         * include/sys/stat.h: Likewise.
72810         * include/sys/statfs.h: Likewise.
72811         * include/sys/statvfs.h: Likewise.
72812         * include/sys/syslog.h: Likewise.
72813         * include/sys/time.h: Likewise.
72814         * include/sys/uio.h: Likewise.
72815         * include/time.h: Likewise.
72816         * include/unistd.h: Likewise.
72817         * include/utmp.h: Likewise.
72818         * include/wchar.h: Likewise.
72819         * include/wctype.h: Likewise.
72820         * inet/aliases.h: Likewise.
72821         * inet/arpa/inet.h: Likewise.
72822         * inet/netinet/ether.h: Likewise.
72823         * inet/netinet/in.h: Likewise.
72824         * intl/libintl.h: Likewise.
72825         * io/bits/fcntl2.h: Likewise.
72826         * io/fcntl.h: Likewise.
72827         * io/ftw.h: Likewise.
72828         * io/sys/poll.h: Likewise.
72829         * io/sys/stat.h: Likewise.
72830         * io/sys/statfs.h: Likewise.
72831         * io/sys/statvfs.h: Likewise.
72832         * io/utime.h: Likewise.
72833         * libio/bits/stdio.h: Likewise.
72834         * libio/bits/stdio2.h: Likewise.
72835         * libio/libio.h: Likewise.
72836         * libio/libioP.h: Likewise.
72837         * libio/stdio.h: Likewise.
72838         * locale/lc-ctype.c: Likewise.
72839         * locale/locale.h: Likewise.
72840         * login/utmp.h: Likewise.
72841         * malloc/arena.c: Likewise.
72842         * malloc/malloc.c: Likewise.
72843         * malloc/malloc.h: Likewise.
72844         * malloc/mcheck.c: Likewise.
72845         * malloc/mtrace.c: Likewise.
72846         * math/bits/mathcalls.h: Likewise.
72847         * math/fenv.h: Likewise.
72848         * math/math_private.h: Likewise.
72849         * misc/bits/error.h: Likewise.
72850         * misc/bits/syslog.h: Likewise.
72851         * misc/err.h: Likewise.
72852         * misc/error.h: Likewise.
72853         * misc/fstab.h: Likewise.
72854         * misc/mntent.h: Likewise.
72855         * misc/regexp.h: Likewise.
72856         * misc/search.h: Likewise.
72857         * misc/sgtty.h: Likewise.
72858         * misc/sys/mman.h: Likewise.
72859         * misc/sys/syslog.h: Likewise.
72860         * misc/sys/uio.h: Likewise.
72861         * misc/sys/xattr.h: Likewise.
72862         * misc/ttyent.h: Likewise.
72863         * nis/rpcsvc/ypclnt.h: Likewise.
72864         * nss/nss.h: Likewise.
72865         * posix/bits/unistd.h: Likewise.
72866         * posix/fnmatch.h: Likewise.
72867         * posix/glob.h: Likewise.
72868         * posix/sched.h: Likewise.
72869         * posix/spawn.h: Likewise.
72870         * posix/sys/wait.h: Likewise.
72871         * posix/unistd.h: Likewise.
72872         * posix/wordexp.h: Likewise.
72873         * pwd/pwd.h: Likewise.
72874         * resolv/netdb.h: Likewise.
72875         * resource/sys/resource.h: Likewise.
72876         * rt/aio.h: Likewise.
72877         * rt/bits/mqueue2.h: Likewise.
72878         * rt/mqueue.h: Likewise.
72879         * shadow/shadow.h: Likewise.
72880         * signal/signal.h: Likewise.
72881         * socket/send.c: Likewise.
72882         * socket/sendto.c: Likewise.
72883         * socket/sys/socket.h: Likewise.
72884         * stdio-common/printf.h: Likewise.
72885         * stdlib/bits/stdlib.h: Likewise.
72886         * stdlib/fmtmsg.h: Likewise.
72887         * stdlib/monetary.h: Likewise.
72888         * stdlib/stdlib.h: Likewise.
72889         * stdlib/ucontext.h: Likewise.
72890         * streams/stropts.h: Likewise.
72891         * string/argz.h: Likewise.
72892         * string/bits/string2.h: Likewise.
72893         * string/string.h: Likewise.
72894         * string/strings.h: Likewise.
72895         * sunrpc/rpc/auth.h: Likewise.
72896         * sunrpc/rpc/auth_des.h: Likewise.
72897         * sunrpc/rpc/clnt.h: Likewise.
72898         * sunrpc/rpc/netdb.h: Likewise.
72899         * sunrpc/rpc/pmap_clnt.h: Likewise.
72900         * sunrpc/rpc/xdr.h: Likewise.
72901         * sysdeps/generic/inttypes.h: Likewise.
72902         * sysdeps/generic/net/if.h: Likewise.
72903         * sysdeps/generic/sys/swap.h: Likewise.
72904         * sysdeps/gnu/net/if.h: Likewise.
72905         * sysdeps/gnu/utmpx.h: Likewise.
72906         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72907         * sysdeps/i386/i486/bits/string.h: Likewise.
72908         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72909         * sysdeps/s390/bits/string.h: Likewise.
72910         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72911         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72912         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72913         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72914         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72915         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72916         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72917         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72918         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72919         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72920         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72921         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72922         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72923         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72924         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72925         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72926         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72928         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72929         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72930         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72931         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72932         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72933         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72934         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72935         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72936         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72937         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72938         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72939         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72940         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72941         * sysvipc/sys/ipc.h: Likewise.
72942         * sysvipc/sys/msg.h: Likewise.
72943         * sysvipc/sys/sem.h: Likewise.
72944         * sysvipc/sys/shm.h: Likewise.
72945         * termios/termios.h: Likewise.
72946         * time/sys/time.h: Likewise.
72947         * time/time.h: Likewise.
72948         * wcsmbs/bits/wchar2.h: Likewise.
72949         * wcsmbs/uchar.h: Likewise.
72950         * wcsmbs/wchar.h: Likewise.
72951         * wctype/wctype.h: Likewise.
72953         [BZ #13551]
72954         * Makeconfig: Remove all but ELF support including AIX support.
72955         * Makerules: Likewise.
72956         * config.h.in: Likewise.
72957         * config.make.in: Likewise.
72958         * configure: Likewise.
72959         * configure.in: Likewise.
72960         * csu/Makefile: Likewise.
72961         * csu/version.c: Likewise.
72962         * debug/Makefile: Likewise.
72963         * dlfcn/Makefile: Likewise.
72964         * elf/Makefile: Likewise.
72965         * extra-lib.mk: Likewise.
72966         * iconv/Makefile: Likewise.
72967         * include/libc-symbols.h: Likewise.
72968         * include/shlib-compat.h: Likewise.
72969         * resolv/Makefile: Likewise.
72970         * resolv/res_libc.c: Likewise.
72971         * rt/Makefile: Likewise.
72972         * sysdeps/i386/asm-syntax.h: Likewise.
72973         * sysdeps/i386/sysdep.h: Likewise.
72974         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72975         * sysdeps/mach/sysdep.h: Likewise.
72976         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72977         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72978         * sysdeps/s390/asm-syntax.h: Likewise.
72979         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72980         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72981         * sysdeps/sh/sysdep.h: Likewise.
72982         * sysdeps/unix/sparc/sysdep.h: Likewise.
72983         * sysdeps/wordsize-32/divdi3.c: Likewise.
72984         * sysdeps/x86_64/sysdep.h: Likewise.
72986         * argp/Versions: Remove _argp_unlock_xxx.
72988         [BZ #13559]
72989         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72990         * abilist/libBrokenLocale.abilist: Likewise.
72991         * abilist/libanl.abilist: Likewise.
72992         * abilist/libc.abilist: Likewise.
72993         * abilist/libcrypt.abilist: Likewise.
72994         * abilist/libdl.abilist: Likewise.
72995         * abilist/libm.abilist: Likewise.
72996         * abilist/libnsl.abilist: Likewise.
72997         * abilist/libpthread.abilist: Likewise.
72998         * abilist/libresolv.abilist: Likewise.
72999         * abilist/librt.abilist: Likewise.
73000         * abilist/libthread_db.abilist: Likewise.
73001         * abilist/libutil.abilist: Likewise.
73002         * abilist/libnss_db.abilist: New file.
73004         * scripts/abilist.awk: Add support for indirect functions.
73006         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73008         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73010         * shlib-versions: Remove entries for ports architectures.
73012         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73013         files in ports.
73014         * elf/stackguard-macros.h: Remove support for IA-64.
73015         * elf/tst-auditmod1.c: Likewise.
73016         * sysdeps/generic/ldsodefs.h: Likewise.
73018         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73019         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73020         configure files.
73022         [BZ #13552]
73023         * configure.in: Remove --enable-omitfp support.
73024         * FAQ.in: Adjust.
73025         * config.make.in: Likewise.
73026         * Makeconfig: Likewise.
73027         * manual/install.texi: Likewise.
73029         In case anyone cares, the IA-64 architecture could move to ports.
73030         * sysdeps/ia64/*: Removed.
73031         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73032         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73034         [BZ #13555]
73035         * configure.in: Remove entries for unsupported architectures.
73037         [BZ #13533]
73038         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73039         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73040         routines.
73041         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73042         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73043         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73044         fall back to using wcrtomb.
73045         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73046         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73047         renaming.
73048         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73049         * wcsmbs/tst-c16c32-1.c: New file.
73051         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73052         local variable.
73054         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73056         * elf/tst-unique3.cc: Add explicit declaration of gets.
73057         * elf/tst-unique3lib.cc: Likewise.
73058         * elf/tst-unique3lib2.cc: Likewise.
73059         * elf/tst-unique4.cc: Likewise.
73061         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73063 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73065         [BZ #13566]
73066         * assert/assert.h (static_assert): Don't define for C++.
73067         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73068         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73070 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73072         * iconv/loop.c (single loop): Fix assertion in storing of
73073         remaining bytes.
73075         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73077 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73079         * posix/getconf.c: Update copyright year.
73080         * nss/getent.c: Likewise.
73081         * nss/makedb.c: Likewise.
73082         * iconv/iconvconfig.c: Likewise.
73083         * iconv/iconv_prog.c: Likewise.
73084         * elf/ldconfig.c: Likewise.
73085         * elf/pldd.c: Likewise.
73086         * elf/sotruss.ksh: Likewise.
73087         * catgets/gencat.c: Likewise.
73088         * csu/version.c: Likewise.
73089         * elf/ldd.bash.in: Likewise.
73090         * elf/sprof.c (print_version): Likewise.
73091         * locale/programs/locale.c: Likewise.
73092         * locale/programs/localedef.c: Likewise.
73093         * login/programs/pt_chown.c: Likewise.
73094         * nscd/nscd.c (print_version): Likewise.
73095         * debug/xtrace.sh: Likewise.
73096         * malloc/memusage.sh: Likewise.
73097         * malloc/mtrace.pl: Likewise.
73098         * debug/catchsegv.sh: Likewise.
73100 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73102         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73103         pure attribute.
73105 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73107         [BZ #13533]
73108         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73109         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73110         transformations.
73111         * iconv/gconv_int.h: Likewise.
73112         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73113         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73114         from libc for GLIBC_2.16.
73115         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73116         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73117         * wcsmbs/uchar.h: Really define mbstate_t.
73118         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73119         * wcsmbs/c16rtomb.c: New file.
73120         * wcsmbs/mbrtoc16.c: New file.
73121         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73122         for C/POSIX locale.
73123         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73124         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73126         * wcsmbs/wchar.h: Add missing __restrict.
73128 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73130         [BZ #13532]
73131         * time/Makefile (routines): Add timespec_get.
73132         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73133         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73134         timespec for ISO C11.
73135         * time/timespec_get.c: New file.
73136         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73137         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73139         [BZ #13531]
73140         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73141         * stdlib/stdlib.h: Declare aligned_alloc.
73142         * Versions.def: Add GLIBC_2.16 for libc.
73143         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73145         [BZ 13527]
73146         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73147         ISO C11.
73149         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73150         code.
73152         [BZ #13528]
73153         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73155         [BZ #13529]
73156         * assert/assert.h (static_assert): Define.
73158         * version.h: Update for 2.16 development version.
73160         [BZ #13526]
73161         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73162         _ISOC11_SOURCE.
73164         * version.h (RELEASE): Bump for 2.15 release.
73165         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73167         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73168         Patch by Marek Polacek <mpolacek@redhat.com>.
73170         * bits/byteswap.h: Protect long long constants with __extension__.
73171         * sysdeps/i386/bits/byteswap.h: Likewise.
73172         * sysdeps/ia64/bits/byteswap.h: Likewise.
73173         * sysdeps/s390/bits/byteswap.h: Likewise.
73174         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73176 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73178         [BZ #13540]
73179         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73180         destination buffer.
73181         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73183 2011-12-23  Marek Polacek  <polacek@redhat.com>
73185         * elf/dl-addr.c (determine_info): Add inline keyword.
73186         * elf/tst-auditmod4b.c (check_avx): Likewise.
73187         * elf/tst-auditmod6b.c (check_avx): Likewise.
73188         * elf/tst-auditmod6c.c (check_avx): Likewise.
73189         * elf/tst-auditmod7b.c (check_avx): Likewise.
73191 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73193         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73194         !__SSE_MATH__.
73196 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73198         [BZ #13540]
73199         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73200         processing for last bytes.
73202 2011-08-06  Bruno Haible  <bruno@clisp.org>
73204         [BZ #13061]
73205         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73206         U+0385, not to U+1FEE.
73208         [BZ #13062]
73209         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73210         entry for U+00A5 U+0301.
73212 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73214         [BZ #13166]
73215         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73216         buffer for the output is too small.
73218         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73219         optimization.
73221         [BZ #13185]
73222         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73223         SSE flags if possible.
73225 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73227         [BZ #13540]
73228         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73229         processing for last bytes.
73231 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73233         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73234         (syscall-list-default-options, syscall-list-default-condition)
73235         (syscall-list-includes): Define.
73236         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73237         list of ABIs and options and #if conditions for each ABI.  Do not
73238         handle common syscalls between ABIs specially.
73239         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73240         Remove.
73241         (syscall-list-variants, syscall-list-32bit-options)
73242         (syscall-list-32bit-condition, syscall-list-64bit-options)
73243         (syscall-list-64bit-condition): Define.
73244         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73245         (syscall-list-variants, syscall-list-32bit-options)
73246         (syscall-list-32bit-condition, syscall-list-64bit-options)
73247         (syscall-list-64bit-condition): Define.
73248         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73249         Remove.
73250         (syscall-list-variants, syscall-list-32bit-options)
73251         (syscall-list-32bit-condition, syscall-list-64bit-options)
73252         (syscall-list-64bit-condition): Define.
73253         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73254         Remove.
73255         (syscall-list-variants, syscall-list-32bit-options)
73256         (syscall-list-32bit-condition, syscall-list-64bit-options)
73257         (syscall-list-64bit-condition): Define.
73259 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73261         * locale/iso-639.def: Add brx entry.
73263         [BZ #13328]
73264         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73265         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73267         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73268         __feraiseexcept_renamed.
73270 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73272         [BZ #13538]
73273         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73274         EPOLLET with unsigned values.
73275         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73276         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73278         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73279         to large cancellation.
73280         * math/s_cacoshf.c: Likewise.
73281         * math/s_cacoshl.c: Likewise.
73283 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73285         [BZ #13305]
73286         [BZ #12786]
73287         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73288         * math/s_cacoshf.c: Likewise.
73289         * math/s_cacoshl.c: Likewise.
73291 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73293         [BZ #13439]
73294         * iconv/gconv.h: Define __GCONV_SWAP.
73295         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73296         * iconvdata/utf-16.c: Likewise.
73297         * iconvdata/utf-32.c: Likewise.
73299 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73301         [BZ #13524]
73302         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73303         numerator after shifting it by one limb.
73305 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73307         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73308         under [__USE_EXTERN_INLINES].
73310 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73312         [BZ #13446]
73313         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73315 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73317         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73318         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73319         optimized code.
73320         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73321         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73322         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73323         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73324         for strncasecmp/strncasecmp_l compilation.
73325         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73326         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73328 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73330         [BZ #13484]
73331         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73332         of __asm__.
73334 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73336         [BZ #13506]
73337         * time/tzfile.c (__tzfile_read): Check values from file header.
73339 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73341         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73342         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73343         * powerpc/powerpc32/dl-start.S: Likewise.
73344         * powerpc/powerpc32/elf/start.S: Likewise.
73345         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73346         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73347         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73348         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73349         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73350         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73351         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73352         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73353         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73354         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73355         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73356         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73357         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73358         * powerpc/powerpc32/memset.S: Likewise.
73359         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73360         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73361         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73362         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73363         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73364         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73365         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73366         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73367         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73368         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73369         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73370         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73371         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73373 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73375         * math/libm-test.inc: Added more nearbyint tests.
73376         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73377         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73378         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73379         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73381 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73383         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73384         FD_CLOEXEC.
73386 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73388         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73389         Add wcscpy-ssse3 wcscpy-c.
73390         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73391         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73392         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73393         * sysdeps/x86_64/wcschr.S: New file.
73394         * sysdeps/x86_64/wcsrchr.S: New file.
73395         * string/test-strcmp.c: Remove checking of wcscmp function for
73396         wrong alignments.
73397         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73398         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73399         wcsrchr-sse2 wcsrchr-c.
73400         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73401         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73402         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73403         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73404         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73405         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73406         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73407         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73408         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73409         * wcsmbc/wcschr.c (WCSCHR): New macro.
73411 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73413         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73414         * wcsmbs/test-wcsrchr.c: New file.
73415         * string/test-strrchr.c: Add wcsrchr support.
73416         (WIDE): New macro.
73417         * wcsmbs/test-wcscpy.c: New file.
73418         * string/test-strcpy.c: Add wcscpy support.
73419         (WIDE): New macro.
73421 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73423         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73424         the inner loop.
73426 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73428         [BZ #13472]
73429         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73431 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73433         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73434         Minor optimizations.
73436         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73437         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73438         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73440 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73442         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73443         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73444         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73445         for gcc to avoid warnings.
73446         * inet/Makefile (tests): Add tst-checks.
73447         * inet/tst-checks.c: New file.
73449         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73450         warning.
73452         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73453         __wmemcmp_sse2.
73455         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73456         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73458         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73460 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73462         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73463         problem.
73465         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73467 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73469         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73470         conditional on GCC version.
73471         (__arch_compare_and_exchange_val_8_acq)
73472         (__arch_compare_and_exchange_val_16_acq)
73473         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73474         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73475         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73477 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73479         * sysdeps/sh/backtrace.c: New file.
73481 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73483         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73484         parenthesis.
73486 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73488         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73489         falling back to utime.
73491 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73493         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73494         expectations for float.
73496 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73498         * locale/weight.h (findidx): Add parameter len.
73499         * locale/weightwc.h (findidx): Likewise.
73500         * posix/fnmatch_loop.c (FCT): Adjust caller.
73501         * posix/regcomp.c (build_equiv_class): Likewise.
73502         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73503         * posix/regexec.c (check_node_accept_bytes): Likewise.
73504         * string/strcoll_l.c (STRCOLL): Likewise.
73505         * string/strxfrm_l.c (STRXFRM): Likewise.
73507 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73509         * Makefile.in: Remove CVSOPT handling.
73510         * configure.in: Remove use of AC_REVISION.
73511         * iconvdata/Makefile (distribute): No need to filter out CVS.
73512         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73513         handling.
73515 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73517         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73518         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73519         [USE_AS_STRNCASECMP_L]: Likewise.
73520         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73521         NO_TLS_DIRECT_SEG_REFS.
73522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73523         Fix argument offsets for non-PIC.
73524         [USE_AS_STRNCASECMP_L]: Likewise.
73525         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73526         NO_TLS_DIRECT_SEG_REFS.
73528 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73530         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73531         O_CLOEXEC.
73532         * locale/loadlocale.c (_nl_load_locale): Likewise.
73534 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73536         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73537         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73538         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73539         (SYSCALL_GETTIME): Set errno on error.
73541         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73542         count references to noai6ai_cached.
73544 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73546         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73548         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73549         FD_CLOEXEC for /proc/self/maps.
73551         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73552         FD_CLOEXEC for /proc/meminfo.
73554         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73555         gai.conf.
73557         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73558         FD_CLOEXEC for given file.
73560         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73562         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73563         FD_CLOEXEC for /etc/hosts.
73564         (_gethtent): Likewise.
73566         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73568         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73569         cancellation and set FD_CLOEXEC for /etc/netgroup.
73571         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73572         reading /etc/publickey.
73574         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73575         allow cancellation when reading /etc/group.
73577         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73578         cancellation.
73579         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73581         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73582         when using data file.
73584         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73586         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73587         (write_nis_obj): Use "c" and "e" in fopen.
73589         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73591         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73593         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73595         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73597         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73598         locale.alias.
73600         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73602         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73604         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73606         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73607         file parsing and set FD_CLOEXEC.
73609 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73611         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73613 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73615         * malloc/arena.c (arena_get2): Don't call reused_arena when
73616         _int_new_arena failed.
73618 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73620         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73621         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73622         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73623         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73624         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73625         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73626         to compile strcasecmp and strncasecmp.
73627         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73628         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73630         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73632 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73634         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73635         locale-defines.sym to gen-as-const-headers.
73636         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73637         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73638         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73639         to compile strcasecmp and strncasecmp.
73640         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73641         strcasecmp_l and strncasecmp_l.
73642         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73643         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73644         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73645         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73646         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73647         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73648         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73649         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73650         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73651         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73652         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73654 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73656         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73657         result of SYSDEP_GETTIME_CPU to retval.
73658         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73659         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73661         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73662         variable.
73664         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73665         mantissa words.
73666         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73668         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73669         from unused variable.
73671         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73672         DWARF definitions.
73673         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73674         for assembling.
73676         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73677         over namespaces.
73679         * sunrpc/rpc_prot.c (rejected): Fix case value.
73681         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73682         unsigned long long int to avoid warnings in shift.
73684         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73685         of use of trans.
73686         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73687         variable tmp.
73689         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73690         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73691         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73693         * nis/nis_table.c (nis_list): Use variable of correct type for
73694         result of __follow_path call.
73696 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73698         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73699         of math functions ceil, trunc, floor, round, and sqrt, when
73700         avaliable on the platform.
73701         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73702         name clash.
73703         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73704         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73705         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73707 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73709         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73710         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73712 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73714         * include/unistd.h: Fix __readlink return type.
73715         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73717 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73719         * stdlib/ucontext.h: Undo last change for makecontext.
73721 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73723         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73725         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73726         * setjmp/setjmp.h: Mark functions as non-leaf.
73727         * setjmp/bits/setjmp2.h: Likewise.
73728         * stdlib/ucontext.h: Likewise.
73730 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73732         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73733         (reused_arena): Don't check arena limit.
73734         (arena_get2): Atomically check arena limit.
73736 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73738         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73739         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73741         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73742         instructions.
73744 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73746         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73747         handler when locking.
73749         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73750         Fix size of allocated buffer.
73752 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73754         [BZ #10103]
73755         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73756         declarations for long double functions.
73757         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73759         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73761 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73763         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73764         installed.
73766         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73767         is disabled.
73769 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73771         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73773 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73775         * include/alloca.h (stackinfo_alloca_round): Define.
73776         (extend_alloca): Use it.
73777         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73778         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73779         here.
73781         * scripts/check-local-headers.sh: Ignore libaudit.h.
73783         * nscd/Makefile (extra-objs): Make recursively expanded.
73785 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73787         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73788         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73790         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73791         * posix/tst-rfc3484-2.c: Likewise.
73792         * posix/tst-rfc3484-3.c: Likewise.
73794         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73795         process_vm_writev.
73796         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73797         process_vm_writev.
73798         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73799         process_vm_writev from libc using GLIBC_2.15 version.
73801         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73803 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73805         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73806         stack usage.
73808 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73810         [BZ #13367]
73811         * nss/getent.c (initgroups_keys): Show error message in case no group
73812         names are given.
73814         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73815         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73816         __bump_nl_timestamp.
73817         * nscd/connections (nscd_init): When host database is served open
73818         netlink socket and request notification about configuration changes.
73819         (main_loop_poll): Track netlink file descriptor and bump timestamp
73820         in case data becomes available.
73821         (main_loop_epoll): Likewise.
73822         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73823         (database_pers_head): Add extra_data fileds.
73824         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73825         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73826         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73827         Adjust caller.
73828         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73829         in6ai data, call __free_in6ai.
73830         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73831         Add -DHAVE_NETLINK.
73832         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73833         interface information.  Reuse previous data if netlink timestamp
73834         is not changed.
73835         (__bump_nl_timestamp): New function.
73836         (__free_in6ai): New function.
73838 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73840         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73841         close_not_cancel_no_status here.
73842         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73844 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73846         [BZ #13276]
73847         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73848         return value.
73850         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73851         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73852         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73854 2011-07-03  Andreas Jaeger  <aj@suse.de>
73856         [BZ #10709]
73857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73858         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73859         * math/libm-test.inc (sin_test): Add test case.
73861 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73863         [BZ #13337]
73864         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73865         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73867         * elf/chroot_canon.c (chroot_canon): Cleanups.
73869         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73871         [BZ #13335]
73872         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73873         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73875         * string/test-strchr.c: Make usable for strchrnul testing.
73876         * string/test-strchrnul.c: New file.
73877         * string/Makefile (strop-tests): Add strchrnul.
73879         * po/it.po: Update from translation team.
73880         * po/es.po: Likewise.
73882 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73884         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73885         the three constants needed as parameters.  Drop the others.
73886         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73887         __m128i_strloadu_tolower.
73888         Create and initialize variable zero and use it in all the places
73889         where _mm_setzero_si128 was used.
73891         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73892         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73893         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73894         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73895         anymore.
73896         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73897         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73898         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73899         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73900         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73901         __mpranred, __mptan.
73902         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73903         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73904         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73905         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73906         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73907         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73908         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73909         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73910         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73912 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73914         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73915         redefine if SHARED.
73916         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73918         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73919         wide char related routines to wcsmbs subdir.
73921 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73923         [BZ #13344]
73924         * misc/sys/cdefs.h (__THROWNL): Define.
73925         * posix/unistd.h: Use __THREADNL instead of __THREAD
73926         for memory synchronization functions.
73928 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73930         [BZ #13349]
73931         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73932         doesn't exist.
73933         * manual/stdio.texi (Obstack Streams): Node removed.
73935 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73937         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73938         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73939         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73941         * math/math_private.h (math_force_eval): Allow non-addressable
73942         arguments.
73943         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73945 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73947         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73948         file is not needed.
73950         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73951         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73952         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73953         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73954         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73955         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73956         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73957         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73958         Add AVX variants.
73959         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73960         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73961         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73962         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73963         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73964         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73965         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73966         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73967         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73968         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73969         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73970         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73971         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73972         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73973         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73974         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73975         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73976         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73977         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73979         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73980         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73982         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73983         place.  Use VEX encoding when compiling for AVX.
73985 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73987         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73988         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73990         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73992 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73994         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73995         useless if() expression.
73996         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73997         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73998         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73999         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74000         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74001         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74002         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74003         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74004         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74005         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74006         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74007         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74008         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74009         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74010         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74011         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74012         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74013         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74014         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74016         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74018 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74020         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74021         condition.
74022         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74024 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74026         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74027         .text section.  Avoid duplicate constants.
74028         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74029         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74030         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74031         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74032         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74033         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74034         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74035         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74036         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74037         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74038         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74039         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74040         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74041         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74042         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74043         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74044         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74045         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74046         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74047         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74048         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74049         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74050         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74051         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74052         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74053         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74054         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74055         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74056         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74057         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74058         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74059         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74060         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74061         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74062         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74063         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74064         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74065         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74066         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74067         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74068         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74069         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74070         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74071         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74072         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74074 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74076         * sysdeps/x86_64/dla.h: Move to ...
74077         * sysdeps/x86_64/fpu/dla.h: ...here.
74078         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74079         situations.  Use __builtin_fma only for gcc 4.6 and up.
74081         * config.make.in: Add have-mfma4 entry.
74082         * configure.in: Substitute libc_cv_cc_fma4.
74083         * math/Makefile (dbl-only-routines): Add sincostab.
74084         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74085         Use __sincostab not sincos.
74086         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74087         name is a macro.
74088         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74089         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74090         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74092         using __copysign.
74093         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74094         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74095         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74096         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74097         and __inv.
74098         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74099         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74100         __copysign.
74101         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74102         define aliases when function name is a macro.
74103         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74104         sysdeps/ieee754/dbl-64/sincos.tbl.
74105         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74106         fma4-enabled routines.
74107         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74108         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74109         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74110         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74111         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74112         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74113         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74114         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74115         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74116         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74117         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74118         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74119         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74120         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74121         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74122         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74123         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74124         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74125         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74126         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74127         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74128         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74129         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74130         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74131         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74132         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74133         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74134         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74135         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74136         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74138         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74139         rename.
74140         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74141         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74142         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74144         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74145         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74146         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74147         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74149 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74151         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74153 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74155         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74157         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74158         prediction.
74159         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74161         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74162         Remove unused variable magic_bits.
74163         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74165         * string/strnlen.c: Define and use STRNLEN macro.
74166         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74167         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74168         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74169         * wcsmbs/wcslen.c: Define and use WCSLEN.
74170         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74171         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74172         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74173         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74174         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74175         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74176         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74178 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74181         strnlen-sse2-no-bsf.
74182         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74183         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74184         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74185         Add strnlen support.
74186         (USE_AS_STRNLEN): New macro.
74187         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74188         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74189         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74190         * sysdeps/x86_64/wcslen.S: New file.
74192 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74194         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74195         XMM-moves are used for copying on small sizes.
74197 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74199         * wcsmbs/Makefile (strop-tests): Add wcschr.
74200         * wcsmbs/test-wcschr.c: New file.
74201         * string/test-strchr.c: Update.
74202         Add wcschr support.
74203         (WIDE): New macro.
74205 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74207         * wcsmbs/Makefile (strop-tests): Add wcslen.
74208         * wcsmbs/test-wcslen.c: New file.
74209         * string/test-strlen.c: Update.
74210         Add wcslen support.
74211         (WIDE): New macro.
74213 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74215         * po/it.po: Update from translation team.
74217 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74219         * sysdeps/x86_64/wcscmp.S: Update.
74220         Fix wrong comparison semantics.
74221         wcscmp shall use signed comparison not unsigned.
74222         Don't use substraction to avoid overflow bug.
74223         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74224         * wcsmbc/wcscmp.c: Likewise.
74225         * string/test-strcmp.c: Likewise.
74226         Add new tests to check cases with negative values.
74228 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74230         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74231         * sysdeps/x86_64/dla.h: ...here.  New file.
74232         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74237         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74238         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74242 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74244         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74245         __ynl_finite aliases.
74247 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74251         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74252         define DLA_FMA.
74253         [DLA_FMA] (EMULV): Use DLA_FMA.
74254         [DLA_FMA] (MUL12): Use EMULV.
74255         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74256         that are not needed.
74257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74258         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74261         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74262         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74263         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74265 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74267         * math/s_nan.c: Undef __nan.
74268         * math/s_nanf.c: Undef __nanf.
74269         * math/s_nanl.c: Undef __nanl.
74270         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74271         "math_private.h".
74273 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74275         * math/s_catan.c: Add branch predictions.
74276         * math/s_catanf.c: Likewise.
74277         * math/s_catanh.c: Likewise.
74278         * math/s_catanhf.c: Likewise.
74279         * math/s_catanhl.c: Likewise.
74280         * math/s_catanl.c: Likewise.
74281         * math/s_cexp.c: Likewise.
74282         * math/s_cexpf.c: Likewise.
74283         * math/s_cexpl.c: Likewise.
74284         * math/s_clog.c: Likewise.
74285         * math/s_clog10.c: Likewise.
74286         * math/s_clog10f.c: Likewise.
74287         * math/s_clog10l.c: Likewise.
74288         * math/s_clogf.c: Likewise.
74289         * math/s_clogl.c: Likewise.
74290         * math/s_csqrt.c: Likewise.
74291         * math/s_csqrtf.c: Likewise.
74292         * math/s_csqrtl.c: Likewise.
74293         * math/s_ctanf.c: Likewise.
74294         * math/s_ctanh.c: Likewise.
74295         * math/s_ctanhf.c: Likewise.
74296         * math/s_ctanhl.c: Likewise.
74297         * math/s_ctanl.c: Likewise.
74299         * math/math_private.h: Define __nan, __nanf, __nanl.
74300         * math/s_cacosh.c: Include <math_private.h>.
74301         * math/s_cacoshl.c: Likewise.
74302         * math/s_casinh.c: Likewise.
74303         * math/s_casinhf.c: Likewise.
74304         * math/s_casinhl.c: Likewise.
74305         * math/s_ccos.c: Rely entire on ccosh.
74306         * math/s_ccosf.c: Rely entire on ccoshf.
74307         * math/s_ccosl.c: Rely entirely on ccoshl.
74308         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74309         Remove tests for FE_INVALID.
74310         * math/s_ccoshf.c: Likewise.
74311         * math/s_ccoshl.c: Likewise.
74312         * math/s_csin.c: Likewise.
74313         * math/s_csinf.c: Likewise.
74314         * math/s_csinh.c Likewise.
74315         * math/s_csinhf.c: Likewise.
74316         * math/s_csinhl.c: Likewise.
74317         * math/s_csinl.c: Likewise.
74318         * math/s_ctan.c: Likewise.
74319         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74320         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74321         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74323 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74326         compilation problems.
74328         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74329         __builtin_expect.
74331 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74333         * sysdeps/i386/configure.in: Test for -mfma4 option.
74334         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74335         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74336         COMMON_CPUID_INDEX_80000001.
74337         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74338         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74339         use it if FMA3 is not supported.
74340         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74342         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74343         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74345 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74347         [BZ #12892]
74348         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74349         it would create a cycle with a link time dependency.
74351 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74353         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74354         instruction.
74355         * string/Makefile (strop-tests): Add rawmemchr.
74356         * string/test-rawmemchr.c: New file.
74358         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74359         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74360         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74361         when compiling str{,n}casecmp and when AVX is available.  Hook up
74362         new optimized code in initializers.
74364 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74366         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74367         __feraiseexcept instead of feraiseexcept.
74369 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74371         * math/math_private.h: Define defaults for libc_fetestexcept and
74372         libc_feupdateenv.
74373         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74374         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74375         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74376         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74377         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74378         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74379         libc_fetestexcept and libc_feupdateenv.
74381         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74382         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74383         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74384         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74385         libc_feholdexcept_setround.
74387         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74388         Add s_nearbyint-c and s_nearbyintf-c.
74389         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74390         nearbyintf inlines.
74391         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74392         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74393         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74394         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74396         * math/math_private.h: Define defaults for libc_fegetround,
74397         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74398         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74399         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74400         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74401         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74402         standard functions.
74403         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74404         Remove comments and hacks for old compiler versions.
74405         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74406         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74407         libc_feholdexceptl.
74409 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74411         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74412         (__feraiseexcept_renamed): Add __NTH.
74413         (feraiseexcept): Add __NTH.  Rename local variables to fix
74414         namespace violations.
74416 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74418         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74420         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74422         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74423         recently added interfaces.
74424         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74426         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74427         about macro parameter expansion.
74429         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74430         __NO_MATH_INLINES is defined.  Cleanups.
74432         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74433         and __floorf is target has SSE4.1.
74434         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74435         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74436         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74437         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74439         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74440         name.
74441         (floorf): Likewise.
74443         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74445 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74447         * misc/sys/cdefs.h: Fix last change.
74449         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74450         database lookup.
74452 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74454         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74456         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74457         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74458         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74459         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74460         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74461         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74462         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74463         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74464         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74465         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74466         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74467         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74468         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74469         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74470         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74471         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74472         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74473         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74474         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74475         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74476         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74477         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74479         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74480         ceil, ceilf, floor, floorf.
74482         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74483         Perform IRELATIVE relocations last.
74485         * elf/do-rel.h: Add another parameter nrelative, replacing the
74486         local variable with the same name.  Change name of the function
74487         to end in Rel or Rela (uppercase).
74488         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74489         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74490         elf_dynamic_do_##reloc function.
74492 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74494         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74495         is sufficient, at least on modern CPUs.
74497         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74499         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74500         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74502         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74503         __expl_finite.
74504         * math/bits/math-finite.h: Add entries for exp.
74505         * math/e_expl.c: Add __*_finite alias.
74506         * sysdeps/i386/fpu/e_exp.S: Likewise.
74507         * sysdeps/i386/fpu/e_expf.S: Likewise.
74508         * sysdeps/i386/fpu/e_expl.c: Likewise.
74509         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74510         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74511         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74513         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74514         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74515         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74517         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74518         is sufficient, at least on modern CPUs.
74520         * ctype/ctype-info.c (__ctype_init): Define.
74521         * include/ctype.h (__ctype_init): Declare.
74522         (__ctype_b_loc): The variable is always initialized.
74523         (__ctype_toupper_loc): Likewise.
74524         (__ctype_tolower_loc): Likewise.
74525         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74526         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74528 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74530         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74532         * configure.in: Also look in $cxxmachine/include for C++ system
74533         headers.
74535 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74537         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74538         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74539         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74540         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74541         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74542         (USE_AS_WMEMCMP): New macro.
74543         Fixing indents.
74544         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74545         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74546         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74547         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74549         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74550         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74551         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74552         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74553         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74554         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74555         (USE_AS_WMEMCMP): New macro.
74556         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74557         * sysdeps/string/test-memcmp.c: Update.
74558         Fix simple_wmemcmp.
74559         Add new tests.
74560         * wcsmbs/wmemcmp.c: Update.
74561         (WMEMCMP): New macro.
74562         Fix overflow bug.
74564 2011-10-12  Andreas Jaeger  <aj@suse.de>
74566         [BZ #13268]
74567         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74569 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74571         * libio/iofwide.c (do_length): Avoid warning.
74573         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74575 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74577         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74579         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74580         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74581         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74582         * sysdeps/i386/i686/fpu/e_log.S: New file.
74583         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74584         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74586         * ctype/ctype.h: Add support for inlined isXXX functions when
74587         compiling C++ code.
74589 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74591         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74593         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74595 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74597         [BZ #13291]
74598         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74600 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74602         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74603         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74604         feraiseexcept.
74606         * sysdeps/x86_64/memrchr.S: Check for zero size.
74608         * string/stratcliff.c: Add memrchr tests.
74610 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74612         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74613         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74614         rawmemchr-sse2 rawmemchr-sse2-bsf.
74615         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74616         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74617         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74618         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74619         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74620         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74621         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74622         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74623         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74624         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74625         * string/memrchr.c (MEMRCHR): New macro.
74627 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74629         Add integration with gcc's -ffinite-math-only and optimize wrapper
74630         functions in libm.
74631         * Versions.def: Define GLIBC_2.15 version for libm.
74632         * math/Makefile (headers): Add bits/math-finite.h.
74633         * math/bits/math-finite.h: New file.
74634         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74635         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74636         * math/e_acoshl.c: Add __*_finite alias.
74637         * math/e_acosl.c: Likewise.
74638         * math/e_asinl.c: Likewise.
74639         * math/e_atan2l.c: Likewise.
74640         * math/e_atanhl.c: Likewise.
74641         * math/e_coshl.c: Likewise.
74642         * math/e_exp10.c: Likewise.
74643         * math/e_exp10f.c: Likewise.
74644         * math/e_exp10l.c: Likewise.
74645         * math/e_exp2l.c: Likewise.
74646         * math/e_fmodl.c: Likewise.
74647         * math/e_gammal_r.c: Likewise.
74648         * math/e_hypotl.c: Likewise.
74649         * math/e_j0l.c: Likewise.
74650         * math/e_j1l.c: Likewise.
74651         * math/e_jnl.c: Likewise.
74652         * math/e_lgammal_r.c: Likewise.
74653         * math/e_log10l.c: Likewise.
74654         * math/e_log2l.c: Likewise.
74655         * math/e_logl.c: Likewise.
74656         * math/e_powl.c: Likewise.
74657         * math/e_sinhl.c: Likewise.
74658         * math/e_sqrtl.c: Likewise.
74659         * math/e_scalb.c: Completely rewritten and optimized.
74660         * math/e_scalbf.c: Likewise.
74661         * math/e_scalbl.c: Likewise.
74662         * math/w_acos.c: Likewise.
74663         * math/w_acosf.c: Likewise.
74664         * math/w_acosl.c: Likewise.
74665         * math/w_acosh.c: Likewise.
74666         * math/w_acoshf.c: Likewise.
74667         * math/w_acoshl.c: Likewise.
74668         * math/w_asin.c: Likewise.
74669         * math/w_asinf.c: Likewise.
74670         * math/w_asinl.c: Likewise.
74671         * math/w_atan2.c: Likewise.
74672         * math/w_atan2f.c: Likewise.
74673         * math/w_atan2l.c: Likewise.
74674         * math/w_atanh.c: Likewise.
74675         * math/w_atanhf.c: Likewise.
74676         * math/w_atanhl.c: Likewise.
74677         * math/w_exp10.c: Likewise.
74678         * math/w_exp10f.c: Likewise.
74679         * math/w_exp10l.c: Likewise.
74680         * math/w_fmod.c: Likewise.
74681         * math/w_fmodf.c: Likewise.
74682         * math/w_fmodl.c: Likewise.
74683         * math/w_j0.c: Likewise.
74684         * math/w_j0f.c: Likewise.
74685         * math/w_j0l.c: Likewise.
74686         * math/w_j1.c: Likewise.
74687         * math/w_j1f.c: Likewise.
74688         * math/w_j1l.c: Likewise.
74689         * math/w_jn.c: Likewise.
74690         * math/w_jnf.c: Likewise.
74691         * math/w_log.c: Likewise.
74692         * math/w_logf.c: Likewise.
74693         * math/w_logl.c: Likewise.
74694         * math/w_log10.c: Likewise.
74695         * math/w_log10f.c: Likewise.
74696         * math/w_log10l.c: Likewise.
74697         * math/w_log2.c: Likewise.
74698         * math/w_log2f.c: Likewise.
74699         * math/w_log2l.c: Likewise.
74700         * math/w_pow.c: Likewise.
74701         * math/w_powf.c: Likewise.
74702         * math/w_powl.c: Likewise.
74703         * math/w_remainder.c: Likewise.
74704         * math/w_remainderf.c: Likewise.
74705         * math/w_remainderl.c: Likewise.
74706         * math/w_scalb.c: Likewise.
74707         * math/w_scalbf.c: Likewise.
74708         * math/w_scalbl.c: Likewise.
74709         * math/w_sqrt.c: Likewise.
74710         * math/w_sqrtf.c: Likewise.
74711         * math/w_sqrtl.c: Likewise.
74712         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74713         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74714         used.
74715         * math/math_private.h: Declare __kernel_standard_f.
74716         * math/w_cosh.c: Remove cruft and optimize a bit.
74717         * math/w_coshf.c: Likewise.
74718         * math/w_coshl.c: Likewise.
74719         * math/w_exp2.c: Likewise.
74720         * math/w_exp2f.c: Likewise.
74721         * math/w_exp2l.c: Likewise.
74722         * math/w_hypot.c: Likewise.
74723         * math/w_hypotf.c: Likewise.
74724         * math/w_hypotl.c: Likewise.
74725         * math/w_lgamma.c: Likewise.
74726         * math/w_lgamma_r.c: Likewise.
74727         * math/w_lgammaf.c: Likewise.
74728         * math/w_lgammaf_r.c: Likewise.
74729         * math/w_lgammal.c: Likewise.
74730         * math/w_lgammal_r.c: Likewise.
74731         * math/w_sinh.c: Likewise.
74732         * math/w_sinhf.c: Likewise.
74733         * math/w_sinhl.c: Likewise.
74734         * math/w_tgamma.c: Likewise.
74735         * math/w_tgammaf.c: Likewise.
74736         * math/w_tgammal.c: Likewise.
74737         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74738         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74739         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74740         Minor optimizations.  Pretty printing.  Remove cruft.
74741         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74742         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74743         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74744         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74745         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74746         * sysdeps/i386/fpu/e_asin.S: Likewise.
74747         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74748         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74749         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74750         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74751         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74752         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74753         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74754         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74755         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74756         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74757         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74758         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74759         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74760         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74761         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74762         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74763         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74764         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74765         * sysdeps/i386/fpu/e_log.S: Likewise.
74766         * sysdeps/i386/fpu/e_log10.S: Likewise.
74767         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74768         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74769         * sysdeps/i386/fpu/e_log2.S: Likewise.
74770         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74771         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74772         * sysdeps/i386/fpu/e_logf.S: Likewise.
74773         * sysdeps/i386/fpu/e_logl.S: Likewise.
74774         * sysdeps/i386/fpu/e_pow.S: Likewise.
74775         * sysdeps/i386/fpu/e_powf.S: Likewise.
74776         * sysdeps/i386/fpu/e_powl.S: Likewise.
74777         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74778         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74779         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74780         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74781         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74782         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74783         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74784         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74785         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74786         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74787         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74788         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74789         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74790         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74791         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74792         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74793         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74794         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74795         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74796         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74797         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74798         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74799         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74800         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74801         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74802         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74803         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74804         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74805         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74806         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74807         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74808         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74809         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74810         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74811         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74812         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74813         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74814         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74815         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74816         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74817         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74818         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74819         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74820         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74821         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74822         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74823         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74824         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74825         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74826         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74827         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74828         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74829         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74830         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74831         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74832         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74833         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74834         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74835         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74836         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74837         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74838         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74839         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74840         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74841         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74842         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74843         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74844         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74845         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74846         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74847         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74848         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74850         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74851         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74852         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74853         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74854         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74855         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74856         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74857         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74858         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74859         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74860         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74861         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74862         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74863         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74864         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74865         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74866         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74867         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74868         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74869         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74870         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74871         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74872         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74873         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74874         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74875         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74876         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74877         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74878         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74879         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74880         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74881         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74882         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74883         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74884         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74885         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74886         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74887         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74888         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74889         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74890         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74891         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74892         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74893         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74894         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74895         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74896         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74897         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74898         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74899         (__isnanf): Likewise.
74900         (__isinf_ns): Likewise.
74901         (__isinf_nsf): Likewise.
74902         (__finite): Likewise.
74903         (__finitef): Likewise.
74904         (__ieee754_sqrt): Define as macro.
74905         (__ieee754_sqrtf): Define as macro.
74906         (__ieee754_sqrtl): Define as macro.
74907         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74908         inlined copy.
74909         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74910         __FINITE_MATH_ONLY__ consistent.
74911         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74913 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74915         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74916         of rawmemchr.
74918         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74920 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74922         * po/ja.po: Update from translation team.
74924 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74926         * locale/programs/locarchive.c (prepare_address_space): New function.
74927         (create_archive, enlarge_archive, open_archive): Use it.
74929         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74930         inside [SHARED], where it is used.
74932         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74934         * nss/getent.c (netgroup_keys): Remove unused variable.
74935         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74937 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74939         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74940         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74941         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74942         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74943         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74944         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74945         * math/Makefile (libm-calls): Add s_isinf_ns.
74946         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74947         * math/multc3.c: Likewise.
74948         * math/s_casin.c: Likewise.
74949         * math/s_casinf.c: Likewise.
74950         * math/s_casinl.c: Likewise.
74951         * math/s_ccos.c: Likewise.
74952         * math/s_ccosf.c: Likewise.
74953         * math/s_ccosl.c: Likewise.
74954         * math/s_ctan.c: Likewise.
74955         * math/s_ctanf.c: Likewise.
74956         * math/s_ctanh.c: Likewise.
74957         * math/s_ctanhf.c: Likewise.
74958         * math/s_ctanhl.c: Likewise.
74959         * math/s_ctanl.c: Likewise.
74960         * math/w_fmod.c: Likewise.
74961         * math/w_fmodf.c: Likewise.
74962         * math/w_fmodl.c: Likewise.
74963         * math/w_remainder.c: Likewise.
74964         * math/w_remainderf.c: Likewise.
74965         * math/w_remainderl.c: Likewise.
74966         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74967         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74968         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74969         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74970         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74971         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74972         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74973         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74975         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74976         of the number.
74977         * stdio-common/printf_fphex.c: Likewise.
74978         * stdio-common/printf_size.c: Likewise.
74980         * math/e_exp10.c: Include math_private.h using <...> not "...".
74981         * math/e_exp10f.c: Likewise.
74982         * math/e_exp10l.c: Likewise.
74983         * math/e_exp2l.c: Likewise.
74984         * math/e_j0l.c: Likewise.
74985         * math/e_j1l.c: Likewise.
74986         * math/e_jnl.c: Likewise.
74987         * math/e_lgammal_r.c: Likewise.
74988         * math/e_rem_pio2l.c: Likewise.
74989         * math/e_scalb.c: Likewise.
74990         * math/e_scalbf.c: Likewise.
74991         * math/e_scalbl.c: Likewise.
74992         * math/k_cosl.c: Likewise.
74993         * math/k_sinl.c: Likewise.
74994         * math/k_tanl.c: Likewise.
74995         * math/s_cacoshf.c: Likewise.
74996         * math/s_catan.c: Likewise.
74997         * math/s_catanf.c: Likewise.
74998         * math/s_catanh.c: Likewise.
74999         * math/s_catanhf.c: Likewise.
75000         * math/s_catanhl.c: Likewise.
75001         * math/s_catanl.c: Likewise.
75002         * math/s_ccosh.c: Likewise.
75003         * math/s_ccoshf.c: Likewise.
75004         * math/s_ccoshl.c: Likewise.
75005         * math/s_cexp.c: Likewise.
75006         * math/s_cexpf.c: Likewise.
75007         * math/s_cexpl.c: Likewise.
75008         * math/s_clog.c: Likewise.
75009         * math/s_clog10.c: Likewise.
75010         * math/s_clog10f.c: Likewise.
75011         * math/s_clog10l.c: Likewise.
75012         * math/s_clogf.c: Likewise.
75013         * math/s_clogl.c: Likewise.
75014         * math/s_csin.c: Likewise.
75015         * math/s_csinf.c: Likewise.
75016         * math/s_csinh.c: Likewise.
75017         * math/s_csinhf.c: Likewise.
75018         * math/s_csinhl.c: Likewise.
75019         * math/s_csinl.c: Likewise.
75020         * math/s_csqrt.c: Likewise.
75021         * math/s_csqrtf.c: Likewise.
75022         * math/s_csqrtl.c: Likewise.
75023         * math/s_ctan.c: Likewise.
75024         * math/s_ctanf.c: Likewise.
75025         * math/s_ctanh.c: Likewise.
75026         * math/s_ctanhf.c: Likewise.
75027         * math/s_ctanhl.c: Likewise.
75028         * math/s_ctanl.c: Likewise.
75029         * math/s_ldexp.c: Likewise.
75030         * math/s_ldexpf.c: Likewise.
75031         * math/s_ldexpl.c: Likewise.
75032         * math/s_significand.c: Likewise.
75033         * math/s_significandf.c: Likewise.
75034         * math/s_significandl.c: Likewise.
75035         * math/w_acos.c: Likewise.
75036         * math/w_acosf.c: Likewise.
75037         * math/w_acosh.c: Likewise.
75038         * math/w_acoshf.c: Likewise.
75039         * math/w_acoshl.c: Likewise.
75040         * math/w_acosl.c: Likewise.
75041         * math/w_asin.c: Likewise.
75042         * math/w_asinf.c: Likewise.
75043         * math/w_asinl.c: Likewise.
75044         * math/w_atan2.c: Likewise.
75045         * math/w_atan2f.c: Likewise.
75046         * math/w_atan2l.c: Likewise.
75047         * math/w_atanh.c: Likewise.
75048         * math/w_atanhf.c: Likewise.
75049         * math/w_atanhl.c: Likewise.
75050         * math/w_cosh.c: Likewise.
75051         * math/w_coshf.c: Likewise.
75052         * math/w_coshl.c: Likewise.
75053         * math/w_dremf.c: Likewise.
75054         * math/w_exp10.c: Likewise.
75055         * math/w_exp10f.c: Likewise.
75056         * math/w_exp10l.c: Likewise.
75057         * math/w_exp2.c: Likewise.
75058         * math/w_exp2f.c: Likewise.
75059         * math/w_fmod.c: Likewise.
75060         * math/w_fmodf.c: Likewise.
75061         * math/w_fmodl.c: Likewise.
75062         * math/w_hypot.c: Likewise.
75063         * math/w_hypotf.c: Likewise.
75064         * math/w_hypotl.c: Likewise.
75065         * math/w_j0.c: Likewise.
75066         * math/w_j0f.c: Likewise.
75067         * math/w_j0l.c: Likewise.
75068         * math/w_j1.c: Likewise.
75069         * math/w_j1f.c: Likewise.
75070         * math/w_j1l.c: Likewise.
75071         * math/w_jn.c: Likewise.
75072         * math/w_jnf.c: Likewise.
75073         * math/w_jnl.c: Likewise.
75074         * math/w_lgamma.c: Likewise.
75075         * math/w_lgamma_r.c: Likewise.
75076         * math/w_lgammaf.c: Likewise.
75077         * math/w_lgammaf_r.c: Likewise.
75078         * math/w_lgammal.c: Likewise.
75079         * math/w_lgammal_r.c: Likewise.
75080         * math/w_log.c: Likewise.
75081         * math/w_log10.c: Likewise.
75082         * math/w_log10f.c: Likewise.
75083         * math/w_log10l.c: Likewise.
75084         * math/w_log2.c: Likewise.
75085         * math/w_log2f.c: Likewise.
75086         * math/w_log2l.c: Likewise.
75087         * math/w_logf.c: Likewise.
75088         * math/w_logl.c: Likewise.
75089         * math/w_pow.c: Likewise.
75090         * math/w_powf.c: Likewise.
75091         * math/w_powl.c: Likewise.
75092         * math/w_remainder.c: Likewise.
75093         * math/w_remainderf.c: Likewise.
75094         * math/w_remainderl.c: Likewise.
75095         * math/w_scalb.c: Likewise.
75096         * math/w_scalbf.c: Likewise.
75097         * math/w_scalbl.c: Likewise.
75098         * math/w_sinh.c: Likewise.
75099         * math/w_sinhf.c: Likewise.
75100         * math/w_sinhl.c: Likewise.
75101         * math/w_sqrt.c: Likewise.
75102         * math/w_sqrtf.c: Likewise.
75103         * math/w_sqrtl.c: Likewise.
75104         * math/w_tgamma.c: Likewise.
75105         * math/w_tgammaf.c: Likewise.
75106         * math/w_tgammal.c: Likewise.
75108         * po/ja.po: Update from translation team.
75110 2011-09-29  Andreas Jaeger  <aj@suse.de>
75112         [BZ #13179]
75113         * sunrpc/netname.c (netname2host): Fix logic.
75115         [BZ #6779]
75116         [BZ #6783]
75117         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75118         correctly.
75119         * math/w_remainder.c (__remainder): Likewise.
75120         * math/w_remainderf.c (__remainderf): Likewise.
75121         * math/libm-test.inc (remainder_test): Add test cases.
75123 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75125         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75126         sdiv_qrnnd.
75128 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75130         * string/test-memcmp.c: Avoid unncessary #defines.
75131         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75133 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75135         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75136         Use new sse2 version for core i3 - i7 as it's faster
75137         than sse42 version.
75138         (bit_Prefer_PMINUB_for_stringop): New.
75139         * sysdeps/x86_64/rawmemchr.S: Update.
75140         Replace with faster SSE2 version.
75141         * sysdeps/x86_64/memrchr.S: New file.
75142         * sysdeps/x86_64/memchr.S: Update.
75143         Replace with faster SSE2 version.
75145 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75147         * elf/dl-load.c (lose): Add cast to avoid warning.
75149 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75151         * po/ca.po: Update from translation team.
75153         * inet/getnetgrent_r.c: Hook up nscd.
75154         * nscd/Makefile (routines): Add nscd_netgroup.
75155         (nscd-modules): Add netgroupcache.
75156         (CFLAGS-netgroupcache.c): Define.
75157         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75158         (cache_search): Add const to second parameter.
75159         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75160         INNETGR.
75161         (dbs): Add netgrdb entry.
75162         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75163         (verify_persistent_db): Handle netgrdb.
75164         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75165         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75166         GETFDNETGR.
75167         (netgroup_response_header): Define.
75168         (innetgroup_response_header): Define.
75169         (datahead): Add netgroup_response_header and innetgroup_response_header
75170         elements.
75171         * nscd/nscd.conf: Add entries for netgroup cache.
75172         * nscd/nscd.h (dbtype): Add netgrdb.
75173         (_PATH_NSCD_NETGROUP_DB): Define.
75174         (netgroup_iov_disabled): Declare.
75175         (xmalloc, xcalloc, xrealloc): Move declarations here.
75176         (cache_search): Adjust prototype.
75177         Add netgroup-related prototypes.
75178         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75179         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75180         (__nscd_innetgr): Declare.
75181         * nscd/selinux.c (perms): Use access_vector_t as element type and
75182         add netgroup-related initializers.
75183         * nscd/netgroupcache.c: New file.
75184         * nscd/nscd_netgroup.c: New file.
75185         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75186         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75187         For four parameters use innetgr.
75188         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75189         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75190         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75191         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75193         * nscd/connections.c (register_traced_file): Don't register file
75194         for disabled databases.
75196 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75198         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75200         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75201         from tree and freeing node.
75203 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75205         * nss/nsswitch.c (__nss_database_lookup): Handle
75206         nss_parse_service_list out of memory case.
75208 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75210         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75211         out of memory case.
75213 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75215         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75216         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75217         pass it down.
75218         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75219         elf_machine_rela, elf_machine_lazy_rel.
75220         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75221         (ELF_DYNAMIC_DO_REL): Likewise.
75222         (ELF_DYNAMIC_DO_RELA): Likewise.
75223         (ELF_DYNAMIC_RELOCATE): Likewise.
75224         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75225         to ELF_DYNAMIC_DO_REL.
75226         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75227         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75228         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75229         elf_machine_rela.
75230         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75231         skip_ifunc, don't call ifunc function if non-zero.
75232         (elf_machine_rela): Likewise.
75233         (elf_machine_lazy_rel): Likewise.
75234         (elf_machine_lazy_rela): Likewise.
75235         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75236         (elf_machine_lazy_rel): Likewise.
75237         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75238         Likewise.
75239         (elf_machine_lazy_rel): Likewise.
75240         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75241         Likewise.
75242         (elf_machine_lazy_rel): Likewise.
75243         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75244         (elf_machine_lazy_rel): Likewise.
75245         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75246         (elf_machine_lazy_rel): Likewise.
75247         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75248         (elf_machine_lazy_rel): Likewise.
75249         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75250         (elf_machine_lazy_rel): Likewise.
75251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75252         (elf_machine_lazy_rel): Likewise.
75253         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75254         (elf_machine_lazy_rel): Likewise.
75256 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75258         * nss/nss_files/files-init.c (_nss_files_init): Use static
75259         initialization for all the *_traced_file variables.
75261 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75263         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75265 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75267         [BZ #13226]
75268         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75270 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75272         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75273         Reread the line before reparsing it.
75275 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75277         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75279 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75280             Maxim Kuvyrkov  <maxim@codesourcery.com>
75281             Joseph Myers  <joseph@codesourcery.com>
75283         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75284         if needed for __stack_chk_guard.
75286 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75288         * sysdeps/posix/spawni.c (script_execute): Always define it.
75289         It will be optimized away if unused.
75290         (maybe_script_execute): New function.
75291         (__spawni): Call it.
75293         * Makerules: Don't include tls.make.
75294         (config-tls): Always set to thread.
75295         * tls.make.c: File removed.
75297 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75299         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75300         * config.make.in (CPPFLAGS-config): New substituted variable.
75302 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75304         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75306         [BZ #13192]
75307         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75308         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75310 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75312         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75313         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75314         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75315         (CALL_FAIL): Likewise.
75316         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75317         (CALL_FAIL): Macro removed.
75318         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75320 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75322         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75323         for __FINITE_MATH_ONLY__ == 1.
75325 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75327         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75328         __ieee754_sqrt instead of sqrt.
75329         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75330         __ieee754_sqrtf instead of sqrtf.
75331         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75332         __floorf instead of floorf.
75333         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75334         __floorf, __truncf instead of floorf, truncf.
75336 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75338         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75340         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75341         __extern_always_inline.
75342         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75343         32-bit.
75345 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75347         * elf/rtld.c (dl_main): Also relocate in dependency order when
75348         doing symbol dependency testing.
75350 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75352         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75353         Always define `refsym'.
75355 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75357         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75358         (__FD_ELT): Renamed from __FDELT.
75359         * misc/bits/select2.h (__FD_ELT): Likewise.
75360         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75361         __FD_MASK instead of __FDELT, __FDMASK.
75362         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75363         Likewise.
75364         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75365         Likewise.
75367         * elf/Makefile (gen-ldd): Fix pattern.
75369         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75370         (init_tls): Likewise.
75372 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75376 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75378         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75379         `struct cmsghdr *' instead of `void *'.
75380         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75381         Likewise.
75383 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75385         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75386         if non-absolute.
75387         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75388         ldd_rewrite_script.
75390 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75392         * configure.in: Remove --with-tls option.
75393         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75394         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75395         out in case it is missing.
75396         * sysdeps/ia64/elf/configure.in: Likewise.
75397         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75398         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75399         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75400         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75401         * sysdeps/sh/elf/configure.in: Likewise.
75402         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75403         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75404         * sysdeps/x86_64/elf/configure.in: Likewise.
75405         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75406         * sysdeps/mach/hurd/tls.h: Likewise.
75408         [BZ #13067]
75409         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75411         [BZ #13090]
75412         * configure.in: Fix use of AC_INIT.
75414         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75416 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75418         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75419         __set_errno.
75420         * malloc/hooks.c: Likewise.
75422         [BZ #11929]
75423         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75424         variables statically.
75425         (narenas): Initialize.
75426         (list_lock): Initialize.
75427         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75428         initializtion of main_arena and list_lock.  Small cleanups.
75429         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75430         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75431         Add initializers to main_arena and mp_.
75432         (malloc_state): Remove pagesize member.  Change all users to use
75433         GLRO(dl_pagesize).
75435         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75436         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75437         is always initialized.
75439         * malloc/malloc.c: Removed unused configurations and dead code.
75440         * malloc/arena.c: Likewise.
75441         * malloc/hooks.c: Likewise.
75442         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75444         * include/tls.h: Removed.  USE___THREAD must always be defined.
75445         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75446         * elf/dl-libc.c: Likewise.
75447         * elf/dl-tsd.c: Likewise.
75448         * include/errno.h: Likewise.
75449         * include/netdb.h: Likewise.
75450         * include/resolv.h: Likewise.
75451         * inet/herrno-loc.c: Likewise.
75452         * inet/herrno.c: Likewise.
75453         * malloc/arena.c: Likewise.
75454         * malloc/hooks.c: Likewise.
75455         * malloc/malloc.c: Likewise.
75456         * resolv/res-state.c: Likewise.
75457         * resolv/res_libc.c: Likewise.
75458         * sysdeps/i386/dl-machine.h: Likewise.
75459         * sysdeps/ia64/dl-machine.h: Likewise.
75460         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75461         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75462         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75463         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75464         * sysdeps/sh/dl-machine.h: Likewise.
75465         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75466         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75467         * sysdeps/unix/i386/sysdep.S: Likewise.
75468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75469         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75470         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75472         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75473         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75474         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75476         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75478         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75479         * sysdeps/x86_64/dl-machine.h: Likewise.
75480         * tls.make.c: Likewise.
75482         * configure.in: Remove --with-__thread option.  Make tests for
75483         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75484         tls_model attribute fail if no support is available.  Remove
75485         USE_IN_LIBIO.
75486         * Makeconfig: Adjust for dropped configure option.  All features are
75487         now mandatory.
75488         * Makerules: Likewise.
75489         * Versions.def: Likewise.
75490         * argp/argp-fmtstream.c: Likewise.
75491         * argp/argp-fmtstream.h: Likewise.
75492         * argp/argp-help.c: Likewise.
75493         * assert/assert.c: Likewise.
75494         * config.h.in: Likewise.
75495         * config.make.in: Likewise.
75496         * configure: Likewise.
75497         * configure.in: Likewise.
75498         * csu/Versions: Likewise.
75499         * csu/init.c: Likewise.
75500         * elf/tst-audit2.c: Likewise.
75501         * elf/tst-tls10.c: Likewise.
75502         * elf/tst-tls10.h: Likewise.
75503         * elf/tst-tls11.c: Likewise.
75504         * elf/tst-tls12.c: Likewise.
75505         * elf/tst-tls14.c: Likewise.
75506         * elf/tst-tlsmod11.c: Likewise.
75507         * elf/tst-tlsmod12.c: Likewise.
75508         * elf/tst-tlsmod13.c: Likewise.
75509         * elf/tst-tlsmod13a.c: Likewise.
75510         * elf/tst-tlsmod14a.c: Likewise.
75511         * elf/tst-tlsmod15b.c: Likewise.
75512         * elf/tst-tlsmod16a.c: Likewise.
75513         * elf/tst-tlsmod16b.c: Likewise.
75514         * elf/tst-tlsmod7.c: Likewise.
75515         * elf/tst-tlsmod8.c: Likewise.
75516         * elf/tst-tlsmod9.c: Likewise.
75517         * gmon/gmon.c: Likewise.
75518         * grp/fgetgrent_r.c: Likewise.
75519         * grp/putgrent.c: Likewise.
75520         * hurd/fopenport.c: Likewise.
75521         * include/libc-symbols.h: Likewise.
75522         * include/tls.h: Likewise.
75523         * intl/gettextP.h: Likewise.
75524         * intl/loadinfo.h: Likewise.
75525         * locale/global-locale.c: Likewise.
75526         * locale/localeinfo.h: Likewise.
75527         * mach/devstream.c: Likewise.
75528         * malloc/arena.c: Likewise.
75529         * malloc/set-freeres.c: Likewise.
75530         * misc/err.c: Likewise.
75531         * misc/getttyent.c: Likewise.
75532         * misc/mntent_r.c: Likewise.
75533         * posix/getopt.c: Likewise.
75534         * posix/wordexp.c: Likewise.
75535         * pwd/fgetpwent_r.c: Likewise.
75536         * resolv/Versions: Likewise.
75537         * resolv/res_hconf.c: Likewise.
75538         * shadow/fgetspent_r.c: Likewise.
75539         * shadow/putspent.c: Likewise.
75540         * stdio-common/printf_fphex.c: Likewise.
75541         * stdio-common/tmpfile.c: Likewise.
75542         * stdlib/abort.c: Likewise.
75543         * stdlib/fmtmsg.c: Likewise.
75544         * sunrpc/auth_unix.c: Likewise.
75545         * sunrpc/clnt_perr.c: Likewise.
75546         * sunrpc/clnt_tcp.c: Likewise.
75547         * sunrpc/clnt_udp.c: Likewise.
75548         * sunrpc/clnt_unix.c: Likewise.
75549         * sunrpc/openchild.c: Likewise.
75550         * sunrpc/svc_simple.c: Likewise.
75551         * sunrpc/svc_tcp.c: Likewise.
75552         * sunrpc/svc_udp.c: Likewise.
75553         * sunrpc/svc_unix.c: Likewise.
75554         * sunrpc/xdr.c: Likewise.
75555         * sunrpc/xdr_array.c: Likewise.
75556         * sunrpc/xdr_rec.c: Likewise.
75557         * sunrpc/xdr_ref.c: Likewise.
75558         * sunrpc/xdr_stdio.c: Likewise.
75560 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75562         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75564 2011-07-03  Andreas Jaeger  <aj@suse.de>
75566         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75567         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75568         regenerate with gen-libm-tests.pl.
75570 2010-05-12  Petr Baudis  <pasky@suse.cz>
75572         [BZ #11589]
75573         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75574         around j0() zero points by switching to j1().
75575         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75576         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75577         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75578         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75580 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75582         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75583         instead of 0.
75584         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75585         instead of 0.
75586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75587         Patch in part by Pavel Roskin <proski@gnu.org>.
75589         [BZ #13138]
75590         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75591         realloc.
75592         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75593         Free memory block if necessary.
75595         [BZ #12847]
75596         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75597         be NULL.  Don't lock in this case.
75599 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75601         * elf/elf.h (ELFOSABI_GNU): New macro.
75602         (ELFOSABI_LINUX): Define to that.
75604 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75606         * string/strncat.c (strncat): Undef the symbol in case it has been
75607         defined in bits/string.h.
75609 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75611         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75613         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75614         link map.
75616 2011-08-17  Andreas Jaeger  <aj@suse.de>
75618         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75620 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75621             Ian Lance Taylor  <iant@google.com>
75623         * math/libm-test.inc (lround_test): New testcase.
75624         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75626 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75628         * Makefile: Remove support for automatic cvs check-ins.
75629         * Makerules: Likewise.
75630         * config.make.in: Likewise.
75631         * configure.in: Likewise.
75632         * intl/Makefile: Likewise.
75633         * locale/Makefile: Likewise.
75634         * po/Makefile: Likewise.
75635         * posix/Makefile: Likewise.
75636         * sysdeps/gnu/Makefile: Likewise.
75637         * sysdeps/mach/hurd/Makefile: Likewise.
75638         * sysdeps/sparc/sparc32/Makefile: Likewise.
75640         [BZ #13118]
75641         * posix/Makefile (bug-regex32-ENV): Define.
75642         Patch by John Stanley <jpsinthemix@verizon.net>.
75644         * misc/Makefile (headers): Add bits/select2.h.
75645         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75646         * misc/bits/select2.h: New file.
75647         * include/bits/select2.h: New file.
75648         * debug/Makefile (routines): Add fdelt_chk.
75649         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75650         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75651         FD_ISSET.
75652         * debug/fdelt_chk.c: New file.
75654         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75655         * wcsmbs/test-wmemcmp.c: Likewise.
75656         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75657         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75659 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75661         * string/Makefile (strop-tests): Add memcmp.
75662         * string/test-wmemcmp.c: New file.
75663         * string/test-memcmp.c: Add wmemcmp support.
75665 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75667         [BZ #13153]
75668         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75669         2011-07-19 change.
75671         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75672         garbage value in a __mach_port_mod_refs call in the cases of the
75673         task-self and thread-self ports.
75675 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75677         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75679 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75681         * elf/dl-load.c (lose): Check for non-null L.
75683 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75685         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75687         * elf/dl-libc.c (dlerror_run): Pass back error code from
75688         dl_catch_error.
75690         [BZ #13123]
75691         * elf/dl-load.c (lose): Free l_origin if it is valid.
75693         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75694         names.
75695         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75696         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75697         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75698         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75699         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75700         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75702 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75704         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75705         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75706         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75707         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75708         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75709         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75710         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75711         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75712         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75713         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75715 2011-08-15  Alan Modra  <amodra@gmail.com>
75717         [BZ #13092]
75718         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75719         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75720         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75721         ppc_mcount to static-only-routines.
75722         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75723         __mcount_internal.
75724         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75725         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75727 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75729         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75730         for finite and infinity parameters.
75732 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75734         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75735         and add nop instructions for throughput optimization.
75736         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75738 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75740         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75741         aligned copy for power7 with vector-scalar instructions.
75742         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75744 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75746         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75747         AVX check.
75749 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75751         [BZ #13144]
75752         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75753         last change.
75755 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75757         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75758         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75759         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75760         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75761         clock_gettime.
75763 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75765         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75766         Forgot to demangle the pointer.
75768         * sysdeps/i386/sysdep.h: Define atom_text_section.
75769         * sysdeps/x86_64/sysdep.h: Likewise.
75770         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75771         section with atom_text_section.
75772         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75773         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75774         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75775         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75776         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75778         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75779         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75780         already be defined.  Change to take two parameters and don't assign
75781         result to variable.  Adjust all users.
75782         Define INTERNAL_GETTIME if not already defined.
75783         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75784         call.
75785         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75786         HAVE_CLOCK_GETTIME_VSYSCALL.
75787         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75789         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75790         gettimeofday vsyscall, just use time.
75792 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75794         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75795         <errno.h>.
75797 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75799         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75800         syscall on x86-64.
75801         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75802         syscall.
75803         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75804         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75805         syscall if possible.
75807 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75809         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75810         e_ident.  Don't pass to find_mapsXX.
75811         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75813 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75816         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75817         * sysdeps/x86_64/multiarch/strchr.S: Update.
75818         Check bit_slow_BSF bit.
75819         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75820         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75821         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75823 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75825         [BZ #13134]
75826         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75827         before glibc 2.15.
75828         (tryshell): Define.
75829         (__spawni): Change last parameter to be flag.  Test
75830         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75831         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75832         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75833         * posix/spawni.c: Likewise.
75834         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75835         * posix/spawnp.c: Likewise.  Change normal version to use
75836         SPAWN_XFLAGS_USE_PATH.
75837         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75838         SPAWN_XFLAGS_TRY_SHELL.
75840         [BZ #13150]
75841         * posix/glob.h: Remove gcc 1.x support.
75843         [BZ #13068]
75844         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75846 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75849         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75850         strrchr-sse2-bsf
75851         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75852         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75853         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75854         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75855         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75856         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75858 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75860         * sysdeps/x86_64/wcscmp.S: New file.
75862         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75863         wcscmp-c wcscmp-sse2
75864         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75865         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75866         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75867         * wcsmbs/wcscmp.c: Allow renaming.
75869 2011-09-05  David S. Miller  <davem@davemloft.net>
75871         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75872         stack slot, rather than the struct return pointer slot.
75873         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75874         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75876         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75878 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75880         * po/ja.po: Update from translation team.
75882         [BZ #13144]
75883         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75884         kernel in 64-bit binaries.
75886 2011-09-01  David S. Miller  <davem@davemloft.net>
75888         * elf/elf.h (HWCAP_SPARC_*): Move to..
75889         * sysdeps/sparc/sysdep.h: this new file and add new values.
75890         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75891         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75892         _DL_HWCAP_COUNT to 24.
75893         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75894         entries.
75895         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75896         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75897         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75898         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75899         instead of magic constants.
75900         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75902 2011-08-31  David S. Miller  <davem@davemloft.net>
75904         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75905         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75906         Reimplement to do errno handling inline.
75907         (SYSCALL_ERROR_HANDLER): New macro.
75908         (__SYSCALL_STRING): Do not do errno handling in asm.
75909         (__CLONE_SYSCALL_STRING): Delete.
75910         (__INTERNAL_SYSCALL_STRING): Delete.
75911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75912         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75913         (PSEUDO): Reimplement to do errno handling inline.
75914         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75915         (SYSCALL_ERROR_HANDLER): New macro.
75916         (__SYSCALL_STRING): Do not do errno handling in asm.
75917         (__CLONE_SYSCALL_STRING): Delete.
75918         (__INTERNAL_SYSCALL_STRING): Delete.
75919         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75920         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75921         i386.
75922         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75923         (inline_syscall*): Add 'err' argument.
75924         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75925         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75926         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75927         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75929         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75930         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75932 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75934         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75936 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75938         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75939         directive.
75941 2011-08-24  David S. Miller  <davem@davemloft.net>
75943         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75945 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75947         * elf/Makefile: Add rules to build and run unload8 test.
75948         * elf/unload8.c: New file.
75949         * elf/unload8mod1.c: New file.
75950         * elf/unload8mod1x.c: New file.
75951         * elf/unload8mod2.c: New file.
75952         * elf/unload8mod3.c: New file.
75954         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75955         it wasn't used.
75957 2011-08-23  David S. Miller  <davem@davemloft.net>
75959         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75960         subtract stack bias.
75961         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75962         %sp not %fp in calculations.
75963         (_JMPBUF_UNWINDS_ADJ): Likewise.
75965         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75966         (aio_suspend): Call it to force an exception region around the
75967         AIO_MISC_WAIT() invocation.
75969 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75971         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75972         backslash.
75974 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75976         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75977         protection macro.
75978         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75979         and <dl-machine.h>.
75980         (Elf64_FuncDesc): Remove.
75982 2011-08-22  David S. Miller  <davem@davemloft.net>
75984         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75985         sigaltstack check, add missing cfi directives.
75986         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75987         missing cfi directives, and sigaltstack handling.
75989 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75991         [BZ #11724]
75992         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75993         object is seen twice.
75994         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75996         * elf/Makefile (distribute): Add tst-initorder2.c.
75997         (tests): Add tst-initorder2.
75998         (modules-names): Add tst-initorder2a tst-initorder2b
75999         tst-initorder2c tst-initorder2d.  Add rules to build them.
76000         ($(objpfx)tst-initorder2.out): New rule.
76001         * elf/tst-initorder2.c: New file.
76002         * elf/tst-initorder2.exp: New file.
76004 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76006         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76008         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76009         dependencies back to end of function.
76011         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76012         $(elfobjdir)/ld.so.
76014 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76016         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76017         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76018         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76019         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76020         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76021         of __vdso_gettimeofday.
76022         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76023         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76024         attribute_hidden.
76025         (_libc_vdso_platform_setup): Remove initialization of
76026         __vdso_gettimeofday and __vdso_time.
76028 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76030         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76031         and fgetc_unlocked.
76032         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76033         getc_unlocked.
76035         * elf/dl-open.c (add_to_global): Report additions to the global scope
76036         for LD_DEBUG=scopes.
76037         (dl_open_worker): Also print scope of newly loaded dependencies.
76038         (_dl_show_scope): Indicate if there is no scope.
76040         [BZ #13114]
76041         * stdio-common/Makefile (tests): Add bug24.
76042         * stdio-common/bug24.c: New file.
76044 2011-08-19  Andreas Jaeger  <aj@suse.de>
76046         [BZ #13114]
76047         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76048         non-existant file when using close-on-exec mode.
76050 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76053         the very first instruction.
76055         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76056         the CFI state in the end.
76057         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76058         inclusion of dl-trampoline.h.
76059         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76061 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76063         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76064         expectations for long double.
76066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76067         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76069 2011-08-14  David S. Miller  <davem@davemloft.net>
76071         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76072         artificual limit depends upon the system page size.
76074 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76076         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76077         * resolv/Makefile: Define CFLAGS-libresolv.
76079 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76081         * nss/makedb.c (compute_tables): Make variables used in nested
76082         function static.
76084 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76086         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76087         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76088         if buffer was too small.
76090         * elf/pldd.c (main): Attach to all threads in the process.
76091         Rewrite /proc handling to use *at functions.
76093 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76095         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76096         specifies first scope to show.
76097         (dl_open_worker): Update callers.  Move printing scope of new
76098         object to before the relocation.
76099         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76100         * sysdeps/generic/ldsodefs.h: Update declaration.
76102         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76103         string for the scope number.
76105 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76107         * nscd/servicescache.c (cache_addserv): Make sure written is always
76108         initialized.
76110 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76112         * sysdeps/i386/i486/bits/atomic.h
76113         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76114         statement expression, so as to suppress "set but not used" warning.
76115         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76117         * string/strncat.c (STRNCAT): Use prototype definition.
76119         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76120         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76121         -Iprograms here.
76122         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76123         (localedef-modules): Add localedef.
76124         (locale-modules): Add locale.
76126         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76127         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76128         to avoid a warning.
76130 2011-08-14  David S. Miller  <davem@davemloft.net>
76132         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76133         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76135 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76137         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76138         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76139         * elf/rtld.c (dl_main): Set l_name of vDSO.
76140         Call _dl_show_scope when DL_DEBUG_SCOPES.
76141         (process_dl_debug): Recognize scopes flag and also set it for all.
76142         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76143         Declare _dl_show_scope.
76145         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76146         (do_dlopen): Pass caller_dlopen to dl_open.
76147         (__libc_dlopen_mode): Initialize caller_dlopen.
76149         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76150         of libc.  Make tolower call locale-independent.  Optimize a bit by
76151         using isdigit instead of isalnum.
76152         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76154 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76156         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76157         was a dependency or dynamically loaded.
76159 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76161         * intl/l10nflist.c: Allow architecture-specific pop function.
76162         * sysdeps/x86_64/l10nflist.c: New file.
76164         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76165         classification.
76167 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76169         * include/dirent.h: Add libc_hidden_proto for scandirat and
76170         scandirat64.  Don't declare __scandirat64.
76171         * dirent/scandirat.c: Add libc_hidden_def.
76172         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76173         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76175 2011-08-10  David S. Miller  <davem@davemloft.net>
76177         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76178         enum.
76179         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76180         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76181         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76183 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76185         * Versions.def [libc]: Add GLIBC_2.15.
76186         * dirent/Makefile (routines): Add scandirat and scandirat64.
76187         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76188         GLIBC_2.15.
76189         * dirent/dirent.h: Declare scandirat and scandirat64.
76190         * dirent/scandirat.c: New file.
76191         * dirent/scandirat64.c: New file.
76192         * sysdeps/wordsize-64/scandirat.c: New file.
76193         * sysdeps/wordsize-64/scandirat64.c: New file.
76194         * dirent/opendir.c: Define opendirat.
76195         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76196         using scandirat.
76197         * dirent/scandir64.c: Adjust for scandir.c change.
76198         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76199         __scandirat64, and __scandir_cancel_handler.
76200         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76201         additional parameter and use openat instead of open (outside of ld.so).
76202         Add new __opendir as wrapper around __opendirat.
76203         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76204         here without requiring old scandirat implementation.
76206 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76208         * dirent/scandir.c (cancel_handler): Renamed to
76209         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76210         defined.  Adjust users.
76211         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76212         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76214 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76216         * string/test-string.h (IMPL): Use __STRING to expand name and then
76217         stringify it.
76219         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76220         of cleanups.
76222 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76224         * string/Makefile: Update.
76225         (strop-tests): Append strncat.
76226         * string/test-wcscmp.c: New file.
76227         New comprehensive test for wcscmp.
76228         * string/test-strcmp.c: Update.
76229         (WIDE): New define.
76231 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76233         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76234         line.
76236 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76239         encoding to ACE if AI_IDN.
76241 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76243         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76244         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76246 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76248         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76249         Fix overflow bug in strncat.
76250         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76252         * string/test-strncat.c: Update.
76253         Add new tests for checking overflow bugs.
76255 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76257         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76258         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76259         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76260         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76261         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76262         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76263         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76264         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76265         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76268         (USE_AS_STRCAT): Define.
76269         Add strcat and strncat support.
76270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76272 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76274         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76275         __n bigger than INT_MAX+1.
76276         (__strncmp_g): Likewise.
76278 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76280         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76281         * libio/stido.h: Likewise.
76283         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76284         (AF_NFC): Define.
76285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76286         (AF_NFC): Define.
76288         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76289         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76290         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76291         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76292         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76294         [BZ #13021]
76295         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76296         installed.
76298         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76299         typo.
76300         (_dl_x86_64_save_sse): Likewise.
76302 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76304         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76305         OSXSAVE.
76306         (_dl_x86_64_save_sse): Likewise.
76308         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76310         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76312 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76314         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76315         change.
76316         (_dl_x86_64_save_sse): Use correct AVX check.
76318 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76320         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76321         bug in strncpy/strncat.
76322         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76324 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76326         * string/tester.c (test_strcat): Add tests for different alignments
76327         of source and destination.
76328         (test_strncat): Likewise.
76330 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76332         [BZ #12852]
76333         * posix/glob.c (glob): Check passed in values before using them in
76334         expressions to avoid some overflows.
76335         (glob_in_dir): Likewise.
76337         [BZ #13007]
76338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76339         check for AVX enablement so that we don't crash with old kernels and
76340         new hardware.
76341         * elf/tst-audit4.c: Add same checks here.
76342         * elf/tst-audit6.c: Likewise.
76344         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76346 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76348         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76350 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76352         * po/cs.po: Update from translation team.
76353         * po/bg.po: Likewise.
76355 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76357         * misc/sys/cdefs.h: Add support for const attribute.
76358         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76359         to gnu_dev_{major,minor,makedev} functions.
76361 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76363         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76365 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76367         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76368         strlen results.
76370 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76372         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76373         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76374         register in order to avoid conflicts with the soft frame pointer
76375         being held in r11 when necessary.
76376         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76377         (INTERNAL_VSYSCALL_NCS): Likewise.
76379 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76381         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76382         * elf/dl-fini.c (_dl_fini): Adjust caller.
76383         * elf/dl-close.c (_dl_close_worker): Likewise.
76384         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76386 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76388         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76389         "aux_cache->nlibs < 0".
76391         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76392         in the reload-count case.
76394 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76397         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76398         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76399         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76400         * sysdeps/x86_64/multiarch/strcat.S: New file.
76401         * sysdeps/x86_64/multiarch/strncat.S: New file.
76402         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76403         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76404         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76405         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76406         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76407         (USE_AS_STRCAT): Define.
76408         Add strcat and strncat support.
76409         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76410         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76411         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76412         * string/strncat.c: Update.
76413         (USE_AS_STRNCAT): Define.
76414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76415         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76416         and i7.
76417         * sysdeps/x86_64/multiarch/init-arch.h
76418         (bit_Prefer_PMINUB_for_stringop): New.
76419         (index_Prefer_PMINUB_for_stringop): Likewise.
76420         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76421         bit_Prefer_PMINUB_for_stringop.
76423 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76425         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76426         buffer64.
76427         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76428         of casting of buffer.
76429         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76430         buffer32 and buffer64.
76431         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76432         writes instead of casting of buffer.
76433         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76434         buffer32.
76435         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76436         casting of buffer.
76438 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76440         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76442 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76444         * nscd/nscd.c (termination_handler): Don't do anything for a database
76445         if it has not yet been initialized.
76447 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76449         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76451 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76453         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76455 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76457         * po/nl.po: Update from translation team.
76458         * po/sv.po: Likewise.
76460 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76462         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76463         now disallowed by GCC.
76465         * configure.in (use-default-link): Default to yes if a test -shared
76466         link meets our qualifications.
76467         * configure: Regenerated.
76469         * config.make.in (output-format): New variable.
76470         * configure.in: Check for ld --print-output-format support.
76471         * configure: Regenerated.
76472         * Makerules ($(common-objpfx)format.lds)
76473         [$(output-format) != unknown]: Just use $(output-format),
76474         instead of the linker-script munging.
76476 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76478         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76479         of $(common-objpfx)shlib.lds.
76480         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76482         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76483         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76485         * configure.in (-z relro check): Adjust test code to add a large
76486         writable data section after it.
76487         * configure: Regenerated.
76489 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76491         * configure.in (-z relro check): Fix test code to make the variable
76492         truly const.
76493         * configure: Regenerated.
76495 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76497         * nscd/nscd.h (struct traced_file): Define.
76498         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76499         elements.  Add traced_files.
76500         (inotify_fd): Declare.
76501         (register_traced_file): Declare.
76502         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76503         (inotify_fd): Export.
76504         (resolv_conf_descr): Remove.
76505         (nscd_init): Move inotify descriptor creation to main.
76506         Don't register files for notification here.
76507         (register_traced_file): New function.
76508         (invalidate_cache): Don't use reset_res to determine whether to call
76509         res_init, go through the list of registered files.
76510         (main_loop_poll): The inotify descriptors are now stored in the
76511         structures for the traced files.
76512         (main_loop_epoll): Likewise.
76513         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76514         to __nss_disable_nscd.
76515         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76516         for a database anymore.  Check the records for all the registered
76517         files instead.
76518         * nss/Makefile (libnss_files-routines): Add files-init.
76519         (libnss_db-routines): Add db-init.
76520         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76521         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76522         * nss/nss_db/db-init.c: New file.
76523         * nss/nss_files/files-init.c: New file.
76524         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76525         __nss_lookup_function.
76526         (__nss_lookup_function): Call nss_load_library.
76527         (nss_load_all_libraries): New function.
76528         (__nss_disable_nscd): Take parameter with callback function for files
76529         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76530         used for the cached services.
76531         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76532         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76533         options for features to all the files in nscd.
76535         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76537 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76539         * csu/elf-init.c (__libc_csu_init): Comment typo.
76541 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76543         * po/pl.po: Update from translation team.
76544         * po/ja.po: Likewise.
76545         * po/ru.po: Likewise.
76546         * po/ko.po: Likewise.
76547         * po/fr.po: Likewise.
76549 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76551         * configure.in (.ctors/.dtors header and trailer check):
76552         Use an empirical test on a built program.
76553         * configure: Regenerated.
76555         * configure.in (-z relro check): Use an empirical test on a built DSO.
76556         Detect, but do not require, on ia64.
76557         * configure: Regenerated.
76559         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76560         Update tests that use readelf to use $READELF instead.
76561         * configure: Regenerated.
76563 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76565         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76566         if the result is not used.
76568 2011-07-05  Andreas Jaeger  <aj@suse.de>
76570         [BZ#9696]
76571         * stdlib/tst-strtod.c: Add testcase.
76573 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76575         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76576         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76577         The latter has a higher limit.  Take additional parameter to pass to
76578         the new function.
76579         (__pathconf): Pass file to __statfs_link_max.
76580         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76581         __statfs_link_max.
76582         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76583         __statfs_link_max.
76585         [BZ #12868]
76586         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76587         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76588         Handle Lustre.
76589         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76590         (__statfs_filesize_max): Likewise.
76591         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76593 2011-07-05  Andreas Jaeger  <aj@suse.de>
76595         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76597 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76599         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76600         `status' variable.
76601         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76602         Likewise.
76604 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76606         * Makefile (strop-tests): Add strncat.
76607         * string/test-strncat.c: New file.
76609 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76611         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76613 2011-06-21  Andreas Jaeger  <aj@suse.de>
76615         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76616         Copy rule from iconvdata/Makefile.
76618 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76620         [BZ #12922]
76621         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76622         but no long options are defined, just return 'W'.
76624 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76626         [BZ #9696]
76627         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76629 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76631         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76632         netgroups to read.
76633         (innetgr): Likewise.
76635 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76637         * config.make.in (install_root): Default to $(DESTDIR).
76639 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76641         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76643 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76645         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76647         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76648         containing directory rather than embedding absolute directory names.
76650         * scripts/check-local-headers.sh: Rewritten using awk.
76651         Match by word, not by line.  Print error messages for matches.
76652         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76654         * Makerules [shlib-lds-flags empty]:
76655         ($(common-objpfx)libc_pic.opts): New target.
76656         ($(common-objpfx)libc_pic.os.clean): New target.
76657         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76659         * config.make.in (OBJCOPY): New variable.
76660         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76661         * configure: Regenerated.
76663         * config.make.in (use-default-link): New variable.
76664         * configure.in (use_default_link): Grok --with-default-link to set it.
76665         * configure: Regenerated.
76666         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76667         (shlib-lds, shlib-lds-flags): Define to empty.
76669         * Makerules (shlib-lds): New variable.
76670         (shlib-lds-flags): New variable.
76671         (build-shlib, build-moduile, build-module-asneeded): Use it.
76672         ($(common-objpfx)libc.so): Use $(shlib-lds).
76673         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76674         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76676         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76677         DT_FLAGS/DT_FLAGS_1 with zero flags.
76679         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76680         linker script munging.
76682 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76684         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76685         as 128-bit value.
76686         * crypt/sha512.c (sha512_process_block): Perform total addition using
76687         128-bit if possible.
76688         (__sha512_finish_ctx): Likewise.
76689         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76690         as 64-bit value.
76691         * crypt/sha256.c (SWAP64): Define.
76692         (sha256_process_block): Perform total addition using 64-bit if
76693         possible.
76694         (__sha256_finish_ctx): Likewise.
76696 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76698         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76700         * nscd/hstcache.c (cache_addhst): Likewise.
76701         * nscd/grpcache.c (cache_addgr): Likewise.
76702         * nscd/aicache.c (addhstaiX): Likewise.
76703         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76705 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76707         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76709         * nscd/hstcache.c (cache_addhst): Likewise.
76710         * nscd/grpcache.c (cache_addgr): Likewise.
76711         * nscd/aicache.c (addhstaiX): Likewise.
76713 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76715         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76716         domain only when needed.
76718 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76721         is always restored.
76723 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76725         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76726         are re-adding the entry.
76727         * nscd/servicescache.c (cache_addserv): Likewise.
76729 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76731         * sysdeps/generic/dl-irel.h: fix protection against multiple
76732         inclusions.
76733         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76735 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76737         [BZ #12935]
76738         * malloc/memusage.sh: Fix quoting in message.
76739         * debug/xtrace.sh: Likewise.
76741         * configure.in: Remove support for --experimental-malloc option, make
76742         it the default.
76743         * config.make.in: Likewise.
76744         * malloc/Makefile: Likewise.
76746 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76748         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76749         two-byte characters.
76751 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76753         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76754         AC_CACHE_CHECK invocation.
76755         * configure: Regenerated.
76757         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76759 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76761         [BZ #12350]
76762         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76763         bit from old_res_options.
76765         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76767         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76768         value type for setfct.
76770 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76772         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76773         __gettimeofday instead of gettimeofday.
76775 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76777         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76779 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76781         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76783         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76784         info.
76786 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76789         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76790         strcpy-sse2-unaligned strncpy-sse2-unaligned
76791         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76792         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76793         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76794         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76795         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76796         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76797         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76798         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76799         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76800         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76801         (STRCPY): Support SSE2 and SSSE3 versions.
76803 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76805         [BZ #12874]
76806         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76807         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76808         kernels which artificially limit size of requests.
76810 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76813         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76814         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76815         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76816         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76817         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76818         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76819         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76820         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76821         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76822         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76823         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76824         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76825         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76826         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76828         Enable unaligned load optimization for Intel Core i3, i5 and i7
76829         processors.
76830         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76831         Define.
76832         (index_Fast_Unaligned_Load): Define.
76833         (HAS_FAST_UNALIGNED_LOAD): Define.
76835 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76837         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76839 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76841         [BZ #12907]
76842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76843         until it is clear that the information is realy needed.
76844         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76846 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76850 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76852         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76853         /sys/devices/system/cpu/online if it is usable.
76855         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76856         reading the information from the /proc filesystem to once a second.
76858 2011-06-21  Andreas Jaeger  <aj@suse.de>
76860         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76861         NULL after inclusion of kernel headers.
76863 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76865         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76866         calls to internal_setent.
76868         [BZ #12885]
76869         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76870         addresses using gethostbyname4_r ignore IPv4 addresses.
76872         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76873         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76875         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76877 2011-06-20  David S. Miller  <davem@davemloft.net>
76879         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76880         inclusions.
76881         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76883         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76884         (elf_irel): Use it.
76885         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76886         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76887         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76888         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76889         * sysdeps/x86_64/dl-irel.h: Likewise.
76891         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76892         * elf/dl-sym.c: Likewise.
76894 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76896         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76897         need to dereference resplen2.
76899 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76901         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76903 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76905         * Makeconfig: Define vardbdir and inst_vardbdir.
76906         * nss/Makefile: Add rules to install db-Makefile.
76908         * nss/nss_db/db-XXX.c: Cleanup.
76910         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76911         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76912         GLIBC_PRIVATE.
76913         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76914         * nss/makedb.c: Implement -g option to specify that value strings
76915         are generated and should not be added to table iterated over for
76916         get*ent calls.
76917         * nss/nss_db/db-initgroups.c: New file.
76919         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76920         interface.
76922         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76923         (internal_getgrouplist): Adjust to name change.
76924         Update use_initgroups_entry if this is not the first call.
76925         * nss/databases.def: Add initgroups entry.
76927         * nss/makedb.c (compute_tables): Check result of multiple hash table
76928         sizes to minimize maximum chain length.
76930 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76932         * Versions.def: Add entry for libnss_db.
76933         * shlib-versions: Likewise.
76934         * nss/Makefile: Add rules to build libnss_db.
76935         * nss/Versions: Add libnss_db information.  Organize libnss_files
76936         entries better.
76937         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76938         makedb progra.  Some minor improvements to generate smaller files.
76939         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76940         here from...
76941         * nss/makedb.c: ...here.
76942         Improve database format to be smaller and require less memory at
76943         runtime.
76944         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76945         db anymore.
76946         * nss/nss_db/db-netgrp.c: Likewise.
76947         * nss/nss_db/db-open.c: Likewise.
76948         * nss/nss_files/flies-XXX.x: Adjust comments.
76949         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76950         * nss/nss_files/files-grp.c: Likewise.
76951         * nss/nss_files/files-hosts.c: Likewise.
76952         * nss/nss_files/files-network.c: Likewise.
76953         * nss/nss_files/files-proto.c: Likewise.
76954         * nss/nss_files/files-pwd.c: Likewise.
76955         * nss/nss_files/files-rpc.c: Likewise.
76956         * nss/nss_files/files-service.c: Likewise.
76957         * nss/nss_files/files-sgrp.c: Likewise.
76958         * nss/nss_files/files-spwd.c: Likewise.
76959         * nss/nss_db/db-alias.c: Removed.
76960         * nss/nss_db/dummy-db.h: Removed.
76962 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76964         * nss/makedb.c: Rewritten to not use database library.
76965         * nss/Makefile: Update to build new makedb program.
76967 2011-06-14  Andreas Jaeger  <aj@suse.de>
76969         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76970         memset declaration.
76972 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76975         tmpbuf.
76977 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76979         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76980         * elf/Makefile ($(objpfx)ld.so): Likewise.
76982         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76983         Don't list ld.so twice in dependencies.
76985         * posix/bug-regex31.c: Include <stdlib.h>.
76987         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76989         * nis/nss_compat/compat-spwd.c
76990         (getspent_next_nss_netgr): Remove unused variable.
76991         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76993         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76994         nonmembers" output to use the right array.
76996         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76998         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77000         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77001         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77002         * catgets/gencat.c (read_input_file): Likewise.
77003         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77005         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77006         variable definition inside #if's controlling its use.
77008         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77010         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77012         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77014         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77015         unreachable code.
77017         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77019         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77020         * configure: Regenerated.
77022         * Makerules: Revert last change.
77023         * elf/Makefile: Likewise.
77025 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77027         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77028         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77029         (reloc-link): Likewise.
77031 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77033         * elf/Makefile: Add rules to build pldd.
77034         * elf/pldd.c: New file.
77035         * elf/pldd-xx.c: New file.
77037 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77039         * version.h: Update for 2.15 development version.
77041 2011-06-07  David S. Miller  <davem@davemloft.net>
77043         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77044         ifuncs.
77045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77046         elf_machine_lazy_rel): Likewise.
77047         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77049         elf_machine_lazy_rel): Likewise.
77050         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77051         dl_hwcap via passed in argument.
77052         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77053         Likewise.
77055 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77057         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77059 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77061         [BZ #12849]
77062         * manual/fdl-1.1.texi: New file, verbatim from:
77063         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77064         * manual/lgpl-2.1.texi: New file, verbatim from:
77065         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77066         * manual/Makefile (licenses): New variable, list those new file names.
77067         (texis): Use it.
77068         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77070         * manual/fdl.texi: File removed.
77071         * manual/lesser.texi: File removed.
77072         * manual/libc.texinfo (Copying, Documentation License):
77073         Use new @include file names, put @appendix directive before @include.
77075 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77077         [BZ #12841]
77078         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77079         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77080         (mq_open): Add __NTH.
77082 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77085         Assume Intel Core i3/i5/i7 processor if AVX is available.
77087 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77090         typo.
77092 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77094         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77095         memory.  Use alloca_account.  Fix memory leak when retrying.
77097 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77099         * version.h (RELEASE): Bump for 2.14 release.
77100         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77102         * config.make.in (RANLIB): Remove entry.
77104 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77106         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77107         (libc.pot): Work around missing support for .ksh extension in xgettext.
77109         [BZ #12684]
77110         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77111         if both request failed.
77112         (send_dg): In case of server errors clear resplen or *resplen2.
77114         [BZ #12454]
77115         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77116         when there are multiple maps.
77117         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77118         (_dl_fini): Remove test here.
77120         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77122 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77124         [BZ #12350]
77125         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77126         bit from old_res_options.
77127         (gaih_inet): Likewise.
77129         [BZ #11099]
77130         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77131         as signed.
77133         * resolv/res_init.c (res_setoptions): Make the code more compact.
77135         [BZ #11558]
77136         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77137         set RES_USEVC.
77139         [BZ #11634]
77140         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77142         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77144         [BZ #11781]
77145         * malloc/malloc.h: Declare malloc hook variables as volatile.
77147         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77148         in last patch.
77150         [BZ #11799]
77151         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77152         raise in the comment.
77153         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77154         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77155         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77157 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77159         [BZ #12811]
77160         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77161         grow the buffers more if it already has to be sufficient.
77162         (build_wcs_upper_buffer): Likewise.
77163         * posix/regexec.c (check_matching): Likewise.
77164         (clean_state_log_if_needed): Likewise.
77165         (extend_buffers): Don't enlarge buffers beyond size of the input
77166         buffer.
77167         Patches mostly by Emil Wojak <emil@wojak.eu>.
77168         * posix/bug-regex32.c: New file.
77169         * posix/Makefile (tests): Add bug-regex32.
77171         * locale/findlocale.c (_nl_find_locale): Return right away if
77172         _nl_explode_name failed.
77173         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77175         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77177         * debug/xtrace.sh: Unify messages.
77178         * malloc/memusage.sh: Likewise.
77180         [BZ #12813]
77181         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77182         time symbol from vDSO.  Substitute with vsyscall if not available.
77183         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77184         __vdso_time.
77186         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77187         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77188         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77189         Add sendmmsg and internal_sendmmsg.
77190         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77191         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77192         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77194         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77195         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77196         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77198 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77200         [BZ #12813]
77201         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77202         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77203         available.
77204         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77205         __vdso_getcpu.
77207         [BZ #12814]
77208         * iconvdata/Makefile (tests): Add bug-iconv9.
77209         * iconvdata/bug-iconv9.c: New file.
77211 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77213         [BZ #12814]
77214         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77216 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77218         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77219         (struct user_regs_struct): Change intcs field back to cs.
77221 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77223         * po/ja.po: Update from translation team.
77225 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77227         [BZ #12795]
77228         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77229         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77231 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77233         * stdlib/longlong.h: Update from GCC.
77235 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77237         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77238         parameter name.
77239         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77240         Add parameter name.
77241         (__sysconf): Pass it down.
77243 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77245         [BZ #12671]
77246         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77247         some situations.
77248         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77249         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77250         add in in __libc_use_alloca calls.  Adjust callers.
77251         (glob): Use malloc in some situations.
77253         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77254         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77255         pltexit.
77257 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77259         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77260         and CLOCK_BOOTTIME_ALARM.
77262         [BZ #12782]
77263         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77264         is returned.
77266         * string/_strerror.c (__strerror_r): Print negative errors as signed
77267         numbers.
77269         [BZ #12777]
77270         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77271         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77272         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77274         * configure.in: Fix typo in redirection and correct removal of test
77275         files in two cases.
77277         [BZ #12788]
77278         * locale/setlocale.c (new_composite_name): Fix test to check for
77279         identical name of all categories.
77281         [BZ #12792]
77282         * libio/filedoalloc.c (local_isatty): New function.
77283         (_IO_file_doallocate): Use local_isatty.
77284         * stdio-common/perror.c (perror): In case a new stream is used
77285         forward the stream error.
77286         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77287         error flag.
77289 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77291         [BZ #11884]
77292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77293         alloca.
77294         * include/alloca.h (extend_alloca_account): Define.
77296         [BZ #11857]
77297         * posix/regex.h: Fix comments with documentation of user-accessible
77298         fields after compilation and describe correct free'ing of pattern
77299         after re_compile_pattern.
77300         Patch by Reuben Thomas <rrt@sc3d.org>.
77302 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77304         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77305         and -mno-altivec to prevent the compiler from using Altivec and/or
77306         VSX instructions when the corresponding registers are not available.
77308 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77310         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77312 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77314         * libio/freopen.c (freopen): Use __dup2, not dup2.
77315         * libio/freopen64.c (freopen64): Likewise.
77317 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77319         [BZ #12775]
77320         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77321         * math/Makefile (tests): Add test-powl.
77322         (CFLAGS-test-powl.c): Define.
77323         * math/test-powl.c: New file.
77325 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77327         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77329 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77331         [BZ #11837]
77332         * iconvdata/gb18030.c: Update to GB18020-2005.
77334 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77336         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77337         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77338         Patch by Aharon Robbins <arnold@skeeve.com>.
77340         [BZ #11892]
77341         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77342         on the stack.
77344         [BZ #11895]
77345         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77346         through underflows.
77348         [BZ #12766]
77349         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77350         point to strings before performing equality test for error_one_per_line
77351         mode.
77353         [BZ #11697]
77354         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77356         [BZ #11820]
77357         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77358         (struct user_fpregs_struct): Avoid __uint*_t types.
77360         [BZ #6420]
77361         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77362         symbol info.  Use it instead of calling _dl_addr locally.
77363         (lock_and_info): New function.
77364         (tr_freehook): Call lock_and_info and pass symbol info as additional
77365         parameter to tr_where.
77366         (tr_mallochook): Likewise.
77367         (tr_reallochook): Likewise.
77368         (tr_memalignhook): Likewise.
77370         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77371         used and couldn't be at all thread-safe.
77373 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77375         * libio/freopen.c (freopen): Don't close old file descriptor
77376         before the new one is opened.  Instead dup the new file descriptor
77377         to the old one after the new stream is created.
77378         * libio/freopen64.c (freopen64): Likewise.
77379         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77380         * libio/fileops.c (_IO_new_file_close_it): Handle new
77381         _IO_FLAGS2_NOCLOSE flag.
77382         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77383         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77384         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77385         _IO_FLAGS2_NOCLOSE flag.
77386         * include/unistd.h: Add hidden_proto for dup3.
77387         Define __have_dup3.
77388         * io/dup3.c: Define hidden symbol.
77389         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77391         [BZ #7101]
77392         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77393         when an incomplete long option is used.
77394         * posix/tst-getopt_long1.c: New file.
77395         * posix/Makefile (tests): Add tst-getopt_long1.
77397         [BZ #10138]
77398         * scripts/config.guess: Update from autoconf-2.68.
77399         * scripts/config.sub: Likewise.
77401         [BZ #10157]
77402         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77403         tests into ...
77404         (has_cpuclock): ...this.  New function.
77405         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77406         macro here based on has_cpuclock code.
77408         [BZ #10149]
77409         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77410         First byte (not low byte) is now always NUL.
77411         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77414         Use non-cancelable interfaces.
77416         [BZ #9809]
77417         * locale/iso-639.def: Add entry for Sorani.
77419         [BZ #11901]
77420         * include/stdlib.h: Move include protection to the right place.
77421         Define abort_msg_s.  Declare __abort_msg with it.
77422         * stdlib/abort.c (__abort_msg): Adjust type.
77423         * assert/assert.c (__assert_fail_base): New function.  Majority
77424         of code from __assert_fail.  Allocate memory for __abort_msg with
77425         mmap.
77426         (__assert_fail): Now call __assert_fail_base.
77427         * assert/assert-perr.c: Remove bulk of implementation.  Use
77428         __assert_fail_base.
77429         * include/assert.hL Declare __assert_fail_base.
77430         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77431         mmap.
77432         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77434 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77436         [BZ #11952]
77437         [BZ #12453]
77438         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77439         until all modules are registered in the DTV.
77440         * elf/Makefile: Add rules to build and run tst-tls19.
77441         * elf/tst-tls19.c: New file.
77442         * elf/tst-tls19mod1.c: New file.
77443         * elf/tst-tls19mod2.c: New file.
77444         * elf/tst-tls19mod3.c: New file.
77445         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77447         [BZ #12083]
77448         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77449         correctly.
77451         [BZ #12601]
77452         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77453         two-byte sequence errors.
77454         * iconvdata/Makefile (tests): Add bug-iconv8.
77455         * iconvdata/bug-iconv8.c: New file.
77457         [BZ #12626]
77458         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77459         buf2 definition.
77461         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77463         [BZ #12432]
77464         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77465         (dummy_getcfa): New function.
77466         (init): Get _Unwind_GetCFA address, use dummy if not found.
77467         (backtrace_helper): In recursion check, also check whether CFA changes.
77468         (__backtrace): Completely initialize arg.
77470         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77471         storing incomplete byte sequence in state object.  Avoid testing for
77472         guaranteed too small input if we know there is enough data available.
77474 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77476         * Makeconfig (+link-pie): Indent.
77477         * Rules (binaries-pie): Define if $(have-fpie) and
77478         $(build-shared).
77479         (binaries-shared): Also filter out $(binaries-pie).
77480         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77481         * nscd/Makefile (others-pie): Add nscd.
77482         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77483         ($(objpfx)nscd): Remove command override.
77484         * login/Makefile (others-pie): Add pt_chown.
77485         ($(objpfx)pt_chown): Remove command override.
77486         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77487         remove command overrides.
77489 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77491         * libio/tst_putwc.c: Fix error messages.
77493         [BZ #12724]
77494         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77495         currently writing and seek to current position when not.
77496         * libio/Makefile (tests): Add bug-fclose1.
77497         * libio/bug-fclose1.c: New file.
77499 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77501         [BZ #12511]
77502         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77503         don't set DF_1_NODELETE here.
77504         (do_lookup_x): When entering new entry test for copy relocation
77505         and if necessary set DF_1_NODELETE flag.
77506         * elf/tst-unique4.cc: New file.
77507         * elf/tst-unique4.h: New file.
77508         * elf/tst-unique4lib.cc: New file.
77509         * elf/Makefile: Add rules to build and run tst-unique4.
77510         Patch by Piotr Bury <pbury@goahead.com>.
77512 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77514         [BZ #12052]
77515         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77517         [BZ #12625]
77518         * misc/mntent_r.c (addmntent): Flush the stream after the output
77520         [BZ #12393]
77521         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77522         (is_trusted_path_normalize): Skip initial colon.  Append slash
77523         to empty buffer.  Duplicate is_trusted_path code but allow
77524         constructed patch to be prefix.
77525         (is_dst): Allow $ORIGIN followed by /.
77526         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77527         Correct testing of result of is_trusted_path_normalize
77528         (decompose_rpath): Fix warning.
77530 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77532         [BZ #11257]
77533         * grp/initgroups.c (internal_getgrouplist): When we found the service
77534         list through the initgroups entry in nsswitch.conf do not always
77535         continue on a successful lookup.  Don't always use the
77536         __nss_group_database value if it is set.
77537         * nss/nsswitch.conf (initgroups): Change action for successful db
77538         lookup to continue for compatibility.
77540 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77542         [BZ #11532]
77543         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77544         and CP774 modules.
77545         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77546         and CP774 modules.
77547         * iconvdata/tst-tables.sh: Likewise.
77548         * iconvdata/cp770.c: New file.
77549         * iconvdata/cp771.c: New file.
77550         * iconvdata/cp772.c: New file.
77551         * iconvdata/cp773.c: New file.
77552         * iconvdata/cp774.c: New file.
77553         * iconvdata/testdata/CP770: New file.
77554         * iconvdata/testdata/CP770..UTF8: New file.
77555         * iconvdata/testdata/CP771: New file.
77556         * iconvdata/testdata/CP771..UTF8: New file.
77557         * iconvdata/testdata/CP772: New file.
77558         * iconvdata/testdata/CP772..UTF8: New file.
77559         * iconvdata/testdata/CP773: New file.
77560         * iconvdata/testdata/CP773..UTF8: New file.
77561         * iconvdata/testdata/CP774: New file.
77562         * iconvdata/testdata/CP774..UTF8: New file.
77564         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77565         END CHARMAP line.
77566         * iconvdata/gen-8bit-gap.sh: Likewise.
77567         * iconvdata/gen-8bit.sh: Likewise.
77569         * locale/iso-639.def: Add ary entry.
77571         [BZ #11258]
77572         * locale/C-translit.h.in: Add U20A1 transliteration.
77574         [BZ #12178]
77575         * locale/iso-639.def: Add wae entry.
77576         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77578         [BZ #12545]
77579         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77580         for n.
77582         [BZ #12711]
77583         * locale/C-translit.h.in: Add entry for U20B9.
77584         Patch by pravin.d.s@gmail.com.
77586 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77588         [BZ #12713]
77589         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77590         ENAMETOOLONG use generic getcwd.
77591         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77592         in rtld.  Use *stat64.
77593         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77594         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77595         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77596         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77597         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77598         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77599         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77600         __fstatat64 macros.
77601         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77602         * dirent/rewinddir.c: Add libc_hidden_def.
77603         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77604         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77606         * include/dirent.h (__alloc_dir): Add flags parameter.
77607         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77608         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77609         __alloc_dir.
77610         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77611         from fdopendir if O_CLOEXEC is already set.
77613 2011-03-15  Alan Modra  <amodra@gmail.com>
77615         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77616         l_tls_firstbyte_offset non-zero.  Save padding offset in
77617         l_tls_firstbyte_offset for later use.
77618         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77619         freeing static tls block.
77621 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77623         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77624         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77625         being defined by the kernel headers.
77627 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77629         [BZ #12734]
77630         * resolv/resolv.h: Define RES_NOTLDQUERY.
77631         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77632         no-tld-query and set RES_NOTLDQUERY.
77633         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77634         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77635         modern BIND to search name as TLD unless forbidden.
77637 2011-05-07  Petr Baudis  <pasky@suse.cz>
77638             Ulrich Drepper  <drepper@gmail.com>
77640         [BZ #12393]
77641         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77642         (is_trusted_path): ...to here.
77643         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77644         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77645         using is_trusted_path_normalize() in setuid scripts.
77647 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77649         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77650         __BEGIN/__END_DECLS.
77652 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77654         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77655         NSS_STATUS_NOTFOUND if no record was found.
77657 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77659         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77660         (headers-not-in-tirpc): Remove rpc/netdb.h
77661         * resolv/netdb.h: Revert last change.
77663 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77665         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77666         circular dependency between libgcc.a and libc.a.
77668 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77670         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77671         * nis/Makefile: Don't install rpcsvc/*.
77672         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77673         instead of <rpc/types.h>.
77674         (MAXHOSTNAMELEN): Define.
77676 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77678         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77680 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77682         [BZ #12714]
77683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77684         gethostbyname4_r when IPv6 results are possible.
77686 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77688         [BZ #12723]
77689         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77690         _PC_PIPE_BUF handling.
77692 2011-04-30  Bruno Haible  <bruno@clisp.org>
77694         [BZ #12717]
77695         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77696         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77697         to 'int'.
77698         * inet/getnameinfo.c (getnameinfo): Likewise.
77700 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77702         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77703         to groups setting in database lookup.
77704         * nss/nsswitch.conf: Add initgroups entry.
77706 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77708         [BZ #12685]
77709         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77710         mode string.
77711         Patch by Eric Blake <eblake@redhat.com>.
77713 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77715         * sunrpc/Makefile (need-export-routines): Add svc_run.
77716         (routines): Remove svc_run.
77717         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77718         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77719         * sunrpc/svc_run.c (svc_run): Likewise.
77720         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77722 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77724         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77725         problem in reallocation in last patch.
77727 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77729         * sunrpc/Makefile: Move inclusion of Rules.
77731 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77733         * nss/nss_files/files-initgroups.c: New file.
77734         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77735         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77736         _nss_files_initgroups_dyn.
77738 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77740         * elf/elf.h (R_ARM_IRELATIVE): Define.
77742 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77744         * po/ru.po: Update from translation team.
77746 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77748         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77749         dependencies.
77751 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77753         [BZ #12653]
77754         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77755         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77756         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77757         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77758         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77760 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77762         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77763         differing bytes.
77764         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77765         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77768 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77770         [BZ #12420]
77771         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77772         storing it.
77773         * stdlib/bug-getcontext.c: New file.
77774         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77776 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77778         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77779         instructions into .machine "z9-109".
77780         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77781         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77783 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77785         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77786         between environment variables and auxiliary vector.
77788 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77790         * Makefile: Add rules to build linkobj/libc.so.
77791         * include/libc-symbols.h: Define libc_hidden_nolink.
77792         * include/rpc/auth.h: Mark functions which are to be hidden.
77793         * include/rpc/auth_des.h: Likewise.
77794         * include/rpc/auth_unix.h: Likewise.
77795         * include/rpc/clnt.h: Likewise.
77796         * include/rpc/des_crypt.h: Likewise.
77797         * include/rpc/key_prot.h: Likewise.
77798         * include/rpc/pmap_clnt.h: Likewise.
77799         * include/rpc/pmap_prot.h: Likewise.
77800         * include/rpc/pmap_rmt.h: Likewise.
77801         * include/rpc/rpc_msg.h: Likewise.
77802         * include/rpc/svc.h: Likewise.
77803         * include/rpc/svc_auth.h: Likewise.
77804         * include/rpc/xdr.h: Likewise.
77805         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77806         * nss/Makefile: Likewise.
77807         * sunrpc/Makefile: Don't install headers.  Build library with normal
77808         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77809         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77810         for the compat linking library.  Remove use of INTDEF/INTUSE.
77811         * sunrpc/auth_none.c: Likewise.
77812         * sunrpc/auth_unix.c: Likewise.
77813         * sunrpc/authdes_prot.c: Likewise.
77814         * sunrpc/authuxprot.c: Likewise.
77815         * sunrpc/clnt_gen.c: Likewise.
77816         * sunrpc/clnt_perr.c: Likewise.
77817         * sunrpc/clnt_raw.c: Likewise.
77818         * sunrpc/clnt_simp.c: Likewise.
77819         * sunrpc/clnt_tcp.c: Likewise.
77820         * sunrpc/clnt_udp.c: Likewise.
77821         * sunrpc/clnt_unix.c: Likewise.
77822         * sunrpc/des_crypt.c: Likewise.
77823         * sunrpc/des_soft.c: Likewise.
77824         * sunrpc/get_myaddr.c: Likewise.
77825         * sunrpc/key_call.c: Likewise.
77826         * sunrpc/key_prot.c: Likewise.
77827         * sunrpc/netname.c: Likewise.
77828         * sunrpc/pm_getmaps.c: Likewise.
77829         * sunrpc/pm_getport.c: Likewise.
77830         * sunrpc/pmap_clnt.c: Likewise.
77831         * sunrpc/pmap_prot.c: Likewise.
77832         * sunrpc/pmap_prot2.c: Likewise.
77833         * sunrpc/pmap_rmt.c: Likewise.
77834         * sunrpc/publickey.c: Likewise.
77835         * sunrpc/rpc_cmsg.c: Likewise.
77836         * sunrpc/rpc_common.c: Likewise.
77837         * sunrpc/rpc_dtable.c: Likewise.
77838         * sunrpc/rpc_prot.c: Likewise.
77839         * sunrpc/rpc_thread.c: Likewise.
77840         * sunrpc/rtime.c: Likewise.
77841         * sunrpc/svc.c: Likewise.
77842         * sunrpc/svc_auth.c: Likewise.
77843         * sunrpc/svc_authux.c: Likewise.
77844         * sunrpc/svc_raw.c: Likewise.
77845         * sunrpc/svc_run.c: Likewise.
77846         * sunrpc/svc_simple.c: Likewise.
77847         * sunrpc/svc_tcp.c: Likewise.
77848         * sunrpc/svc_udp.c: Likewise.
77849         * sunrpc/svc_unix.c: Likewise.
77850         * sunrpc/svcauth_des.c: Likewise.
77851         * sunrpc/xcrypt.c: Likewise.
77852         * sunrpc/xdr.c: Likewise.
77853         * sunrpc/xdr_array.c: Likewise.
77854         * sunrpc/xdr_float.c: Likewise.
77855         * sunrpc/xdr_intXX_t.c: Likewise.
77856         * sunrpc/xdr_mem.c: Likewise.
77857         * sunrpc/xdr_rec.c: Likewise.
77858         * sunrpc/xdr_ref.c: Likewise.
77859         * sunrpc/xdr_sizeof.c: Likewise.
77860         * sunrpc/xdr_stdio.c: Likewise.
77862 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77864         [BZ #12650]
77865         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77866         * sysdeps/ia64/dl-tls.h: Likewise.
77867         * sysdeps/powerpc/dl-tls.h: Likewise.
77868         * sysdeps/s390/dl-tls.h: Likewise.
77869         * sysdeps/sh/dl-tls.h: Likewise.
77870         * sysdeps/sparc/dl-tls.h: Likewise.
77871         * sysdeps/x86_64/dl-tls.h: Likewise.
77872         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77874 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77876         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77877         rpath element also skip the following colon.
77878         (expand_dynamic_string_token): Add is_path parameter and pass
77879         down to DL_DST_REQUIRED and _dl_dst_substitute.
77880         (decompose_rpath): Call expand_dynamic_string_token with
77881         non-zero is_path.  Ignore empty rpaths.
77882         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77883         with zero is_path.
77885 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77888         Make cancelable.
77890 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77892         [BZ #12655]
77893         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77894         Patch by Filipe David Manana <fdmanana@apache.org>.
77896 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77898         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77899         Maintain aligned stack.
77900         (CHECK_RSP): Remove unused macro.
77902 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77904         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77905         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77907 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77909         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77911         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77913 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77915         [BZ #12518]
77916         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77917         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77918         * sysdeps/x86_64/memmove.c: New file.
77919         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77920         (memcpy): Renamed to ...
77921         (__new_memcpy): This.
77922         (memcpy): Provide GLIBC_2_14 memcpy.
77923         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77924         (memcpy): Provide GLIBC_2_2_5 memcpy.
77926 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77928         [BZ #12631]
77929         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77931 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77933         * misc/syncfs.c: New file.
77934         * misc/Makefile (routines): Add syncfs.
77935         * posix/unistd.h: Declare syncfs.
77936         * sysdeps/unix/syscalls.list: Add syncfs.
77938 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77940         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77941         open_by_handle_at.
77942         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77943         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77944         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77945         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77946         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77947         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77948         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77950 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77952         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77953         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77954         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77956         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77958         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77960         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77961         sync_file_range.c with -fexceptions.
77962         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77963         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77964         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77965         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77966         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77967         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77969         sync_file_range as cancellation point
77970         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77971         now a wrapper around __call_sync_file_range with cancellation handling.
77972         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77973         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77974         function name to __call_sync_file_range.
77975         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77976         Add call_sync_file_range.
77978 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77980         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77981         bits/timex.h.
77983 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77985         * iconv/iconv.h: Fix typo in comment.
77986         * io/fcntl.h: Likewise.
77987         * libio/stdio.h: Likewise.
77988         * posix/spawn.h: Likewise.
77989         * posix/unistd.h: Likewise.
77990         * stdlib/stdlib.h: Likewise.
77991         * time/time.h: Likewise.
77992         * wcsmbs/wchar.h: Likewise.
77994         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77995         open_by_handle): Add.
77996         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77997         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77998         Augment a few comments.
77999         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78000         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78001         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78003         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78004         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78005         open_by_handle.
78007         * io/fcntl.h (AT_EMPTY_PATH): Define.
78009 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78011         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78012         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78013         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78014         to...
78015         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78016         * Versions.def: Add GLIBC_2.14.
78017         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78018         Export.
78020 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78022         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78023         round counter.
78024         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78026 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78028         [BZ #12597]
78029         * string/test-strncmp.c (do_page_test): New function.
78030         (check2): Likewise.
78031         (test_main): Call check2.
78032         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78034 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78036         [BZ #12587]
78037         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78038         Handle cache information in CPU leaf 4.
78039         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78041 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78043         [BZ #12583]
78044         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78045         character representation.
78046         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78048 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78050         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78051         END(__isnan) to END(__isnanf) to match function entry point/label
78052         EALIGN(__isnanf,...).
78054 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78056         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78058 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78060         [BZ #12510]
78061         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78062         copy from the symbol referenced in the relocation to initialize the
78063         used variable.
78064         Patch by Piotr Bury <pbury@goahead.com>.
78065         * elf/Makefile: Add rules to build and tst-unique3.
78066         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78067         * elf/tst-unique3.cc: New file.
78068         * elf/tst-unique3.h: New file.
78069         * elf/tst-unique3lib.cc: New file.
78070         * elf/tst-unique3lib2.cc: New file.
78072         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78074 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78076         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78077         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78078         to _start.
78080 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78082         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78083         to-be-loaded object along a path to loader is ld.so.
78085 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78086             Ulrich Drepper  <drepper@gmail.com>
78088         * sysdeps/x86_64/memset.S: After aligning destination, code
78089         branches to different locations depending on the value of
78090         misalignment, when multiarch is enabled. Fix this.
78092 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78094         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78095         Set _x86_64_preferred_memory_instruction for AMD processsors.
78096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78097         Set bit_Prefer_SSE_for_memop for AMD processors.
78099 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78101         * libio/fmemopen.c (fmemopen): Optimize a bit.
78103 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78105         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78107 2011-03-03  Roland McGrath  <roland@redhat.com>
78109         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78111 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78113         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78114         __bzero_ultra1 instead of __memset_ultra1.
78116 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78117             Ulrich Drepper  <drepper@gmail.com>
78119         [BZ #12509]
78120         * include/link.h (struct link_map): Add l_orig_initfini.
78121         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78122         returning unsuccessfully.
78123         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78124         close of a file loaded at startup, restore the original l_initfini
78125         list.
78126         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78127         list, store the pointer.
78128         * elf/Makefile ($(objpfx)noload-mem): New rule.
78129         (noload-ENV): Define.
78130         (tests): Add $(objpfx)noload-mem.
78131         * elf/noload.c: Include <memcheck.h>.
78132         (main): Call mtrace.  Close all opened handles.
78134 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78136         [BZ #12454]
78137         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78138         dependencies are missing.
78140 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78142         Fix __if_freereq crash: Unlike the generic version which uses free,
78143         Hurd needs munmap.
78144         * sysdeps/mach/hurd/ifreq.h: New file.
78146 2011-01-27  Petr Baudis  <pasky@suse.cz>
78147             Ulrich Drepper  <drepper@gmail.com>
78149         [BZ 12445]#
78150         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78151         to extend_alloca().
78152         * stdio-common/bug23.c: New file.
78153         * stdio-common/Makefile (tests): Add bug23.
78155 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78156             Ulrich Drepper  <drepper@gmail.com>
78158         [BZ #12489]
78159         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78160         before performing relro protection.  At old place add assertion
78161         to make sure nothing changed.
78163 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78164             Glauber de Oliveira Costa  <glommer@gmail.com>
78166         * elf/elf.h: Add new ARM TLS relocs.
78168 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78171         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78172         cast from r3.
78173         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78174         'tests' variable.
78175         * sysdeps/wordsize-64/tst-writev.c: New file.
78177 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78179         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78180         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78181         insns in _dl_start to prevent a TOC reference before relocs are
78182         resolved.
78184 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78186         [BZ #12469]
78187         * Makeconfig: Remove RANLIB definition.
78188         * Makerules: Don't use RANLIB.
78189         * aclocal.m4: Remove ranlib test.
78190         * configure.in: No need to check for ranlib.
78191         * elf/rtld-Rules: Don't use RANLIB.
78193 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78195         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78196         protection macro.
78197         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78198         inclusion protection macro.
78200         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78201         SIGRTMIN and SIGRTMAX and print information in that case only when
78202         SIGRTMIN is defined.
78204 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78206         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78207         arginfo fn returning -1.
78209         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78210         and thousands string is zero terminated.
78212 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78215         sysdeps/unix/sysv/linux/bits/socket.h.
78217 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78219         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78220         (__CPU_COUNT): Remove old macros.
78221         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78222         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78223         (__CPU_ALLOC, __CPU_FREE): Add macros.
78224         (__sched_cpualloc, __sched_cpufree): Add declarations.
78226 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78228         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78229         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78230         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78231         (readdhstai): Return value of addhstaiX call.
78232         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78233         (addgrbyX): Return value returned by cache_addgr.
78234         (readdgrbyname): Return value returned by addgrbyX.
78235         (readdgrbygid): Likewise.
78236         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78237         (addpwbyX): Return value returned by cache_addpw.
78238         (readdpwbyname): Return value returned by addhstbyX.
78239         (readdpwbyuid): Likewise.
78240         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78241         (addservbyX): Return value returned by cache_addserv.
78242         (readdservbyname): Return value returned by addservbyX:
78243         (readdservbyport): Likewise.
78244         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78245         (addhstbyX): Return value returned by cache_addhst.
78246         (readdhstbyname): Return value returned by addhstbyX.
78247         (readdhstbyaddr): Likewise.
78248         (readdhstbynamev6): Likewise.
78249         (readdhstbyaddrv6): Likewise.
78250         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78251         (readdinitgroups): Return value returned by addinitgroupsX.
78252         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78253         (prune_cache): Keep track of timeout value of re-added entries.
78254         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78255         * nscd/nscd.h: Adjust prototypes of readd* functions.
78257 2011-02-04  Roland McGrath  <roland@redhat.com>
78259         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78260         (nis_stats): Likewise.
78261         * nis/nis_modify.c (nis_modify): Likewise.
78262         * nis/nis_remove.c (nis_remove): Likewise.
78263         * nis/nis_add.c (nis_add): Likewise.
78265         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78267         * posix/fnmatch_loop.c: Add some consts.
78269         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78271 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78273         [BZ #12460]
78274         * config.make.in (config-cflags-novzeroupper): Define.
78275         * configure.in: Substitute libc_cv_cc_novzeroupper.
78276         * elf/Makefile (AVX-CFLAGS): Define.
78277         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78278         (CFLAGS-tst-auditmod4a.c): Likewise.
78279         (CFLAGS-tst-auditmod4b.c): Likewise.
78280         (CFLAGS-tst-auditmod6b.c): Likewise.
78281         (CFLAGS-tst-auditmod6c.c): Likewise.
78282         (CFLAGS-tst-auditmod7b.c): Likewise.
78283         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78285 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78287         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78288         function to the callback.
78289         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78291 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78293         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78294         of errno.
78296 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78298         [BZ #11724]
78299         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78300         of constructors.
78301         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78302         of destructors.
78303         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78305         [BZ #11724]
78306         * elf/Makefile: Add rules to build and run new test.
78307         * elf/tst-initorder.c: New file.
78308         * elf/tst-initorder.exp: New file.
78309         * elf/tst-initordera1.c: New file.
78310         * elf/tst-initordera2.c: New file.
78311         * elf/tst-initordera3.c: New file.
78312         * elf/tst-initordera4.c: New file.
78313         * elf/tst-initorderb1.c: New file.
78314         * elf/tst-initorderb2.c: New file.
78315         * elf/tst-order-a1.c: New file.
78316         * elf/tst-order-a2.c: New file.
78317         * elf/tst-order-a3.c: New file.
78318         * elf/tst-order-a4.c: New file.
78319         * elf/tst-order-b1.c: New file.
78320         * elf/tst-order-b2.c: New file.
78321         * elf/tst-order-main.c: New file.
78322         New test case by George Gensure <werkt0@gmail.com>.
78324 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78327         decoding ACE if AI_CANONIDN.
78329 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78331         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78333 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78335         * version.h (RELEASE): Bump for 2.13 release.
78336         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78338         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78340         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78341         MADV_NOHUGEPAGE.
78342         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78343         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78344         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78345         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78346         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78347         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78349         * posix/getconf.c: Update copyright year.
78350         * catgets/gencat.c: Likewise.
78351         * csu/version.c: Likewise.
78352         * debug/catchsegv.sh: Likewise.
78353         * debug/xtrace.sh: Likewise.
78354         * elf/ldconfig.c: Likewise.
78355         * elf/ldd.bash.in: Likewise.
78356         * elf/sprof.c (print_version): Likewise.
78357         * iconv/iconv_prog.c: Likewise.
78358         * iconv/iconvconfig.c: Likewise.
78359         * locale/programs/locale.c: Likewise.
78360         * locale/programs/localedef.c: Likewise.
78361         * malloc/memusage.sh: Likewise.
78362         * malloc/mtrace.pl: Likewise.
78363         * nscd/nscd.c (print_version): Likewise.
78364         * nss/getent.c: Likewise.
78366         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78367         PF_CAIF, and PF_ALG.
78368         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78370 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78372         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78373         (modules-names): Use them.
78374         (ifunc-test-modules, ifunc-pie-tests): Define.
78375         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78376         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78377         (test-extras): Likewise.
78378         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78379         $(compile-command.c).
78380         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78381         (all-built-dso): Define.
78382         (check-textrel.out, check-execstack.out): Depend on it.
78384         * configure.in: Don't override --enable-multi-arch.
78386 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78388         [BZ #6812]
78389         * nscd/hstcache.c (tryagain): Define.
78390         (cache_addhst): Return tryagain not notfound for temporary errors.
78391         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78392         failed.
78394 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78396         [BZ #10563]
78397         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78398         to make the syscall.
78399         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78401         [BZ #12378]
78402         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78403         and fall back to matching as normal character if the string ends before
78404         the matching ']' is found.  This is what POSIX requires.
78405         * posix/testfnm.c: Adjust test result.
78406         * posix/globtest.sh: Adjust test result.  Add new test.
78407         * posix/tst-fnmatch.input: Likewise.
78408         * posix/tst-fnmatch2.c: Add new test.
78410 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78412         * elf/Makefile (check-execstack): Revert last change.  Depend on
78413         check-execstack.h.
78414         (check-execstack.h): New target.
78415         (generated): Add check-execstack.h.
78416         * elf/check-execstack.c: Include "check-execstack.h".
78417         (main): Revert last change.
78418         (handle_file): Return zero if GNU_STACK is absent and
78419         DEFAULT_STACK_PERMS doesn't include PF_X.
78421 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78423         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78424         in child fails because the descriptor is already closed.
78425         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78426         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78427         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78429         [BZ #12397]
78430         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78431         syscall.
78433         [BZ #10484]
78434         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78435         temporary buffer used to handle multi lookups locally.
78436         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78438 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78440         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78441         loader is ld.so.
78443 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78445         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78446         alignment for SSE2.
78448 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78450         [BZ #12394]
78451         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78452         characters.  When rounding increased number of integer digits recompute
78453         number of groups.
78454         * stdio-common/tst-grouping.c: New file.
78455         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78457 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78459         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78460         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78462         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78463         void.
78464         * bits/select.h: Likewise.
78466 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78468         * po/ja.po: Update from translation team.
78470 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78472         [BZ #11155]
78473         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78474         implementation just like for lxstat, fxstatat, et al.
78476 2010-12-27  Jim Meyering  <meyering@redhat.com>
78478         [BZ #12348]
78479         * posix/regexec.c (build_trtable): Return failure indication upon
78480         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78482 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78484         [BZ #12201]
78485         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78486         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78487         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78488         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78490         [BZ #12207]
78491         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78493         [BZ #12204]
78494         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78495         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78497 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78499         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78500         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78501         script has SORT_BY_INIT_PRIORITY.
78502         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78503         NO_CTORS_DTORS_SECTIONS is defined.
78504         * elf/soinit.c: Likewise.
78505         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78506         NO_CTORS_DTORS_SECTIONS is defined.
78507         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78508         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78509         * sysdeps/sh/init-first.c: Likewise.
78510         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78512 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78514         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78515         always use the slow path.
78517 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78519         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78520         similar rule which adds the sysdep directories to the header search in
78521         order to pick up the correct platform stackinfo.h.
78522         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78523         perform test if it is, otherwise return successfully without testing.
78524         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78525         DEFAULT_STACK_PERMS define in stackinfo.h.
78526         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78527         defined in stackinfo.h.
78528         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78529         DEFAULT_STACK_PERMS defined in stackinfo.h.
78530         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78531         * sysdeps/ia64/stackinfo.h: Likewise.
78532         * sysdeps/s390/stackinfo.h: Likewise.
78533         * sysdeps/sh/stackinfo.h: Likewise.
78534         * sysdeps/sparc/stackinfo.h: Likewise.
78535         * sysdeps/x86_64/stackinfo.h: Likewise.
78536         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78537         PF_X for powerpc64.  Retain PF_X for powerpc32.
78539 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78541         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78542         accurately.
78543         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78544         GETDENTS_64BIT_ALIGNED.
78546 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78548         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78550 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78552         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78553         _GNU_SOURCE.
78555         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78556         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78557         Remove __restrict.
78558         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78559         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78561 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78563         [BZ #11655]
78564         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78565         are initialized.
78567 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78569         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78571 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78573         * po/it.po: Update from translation team.
78575 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78578         unused codes.
78580 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78582         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78584 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78586         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78587         specially.
78588         (gaih_getanswer_slice): Likewise.
78590 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78592         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78594 2010-05-31  Petr Baudis  <pasky@suse.cz>
78596         [BZ #11149]
78597         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78598         silently even in the chroot mode.
78600 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78602         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78603         last patch a bit.  Pretty printing
78605 2010-05-31  Petr Baudis <pasky@suse.cz>
78607         [BZ #10085]
78608         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78609         initialization of skip_initgroups_dyn.
78611 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78613         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78614         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78616 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78618         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78620 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78622         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78623         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78624         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78625         ($(objpfx)tst-fnmatch-mem): New rule.
78626         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78627         * posix/tst-fnmatch.c (main): Call mtrace.
78629 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78632         Support Intel processor model 6 and model 0x2c.
78634 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78636         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78637           signed comparison.
78639 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78641         [BZ #12205]
78642         * string/test-strncasecmp.c (check_result): New function.
78643         (do_one_test): Use it.
78644         (check1): New function.
78645         (test_main): Use it.
78646         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78647         Support strcasecmp and strncasecmp.
78649 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78651         [BZ #12194]
78652         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78653         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78655 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78657         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78658         IFUNC support.
78659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78660         memset-x86-64.
78661         * sysdeps/x86_64/multiarch/bzero.S: New file.
78662         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78663         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78664         * sysdeps/x86_64/multiarch/memset.S: New file.
78665         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78667         Set bit_Prefer_SSE_for_memop for Intel processors.
78668         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78669         Define.
78670         (index_Prefer_SSE_for_memop): Define.
78671         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78673 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78675         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78676         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78678 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78680         [BZ #12191]
78681         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78682         (__x86_64_raw_data_cache_size_half): Likewise.
78683         (__x86_64_raw_shared_cache_size): Likewise.
78684         (__x86_64_raw_shared_cache_size_half): Likewise.
78686         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78687         (__x86_64_raw_data_cache_size_half): Likewise.
78688         (__x86_64_raw_shared_cache_size): Likewise.
78689         (__x86_64_raw_shared_cache_size_half): Likewise.
78690         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78691         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78692         and __x86_64_raw_shared_cache_size_half.  Round
78693         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78694         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78695         to multiple of 256 bytes.
78697 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78699         [BZ #12167]
78700         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78701         of inacessible symlinks.  Verify result of symlink before returning it.
78702         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78703         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78705 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78707         * math/math.h (isinf): Fix typo in comment.
78709 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78711         * po/da.po: Update from translation team.
78713 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78715         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78716         is added to the list.
78718 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78719             Ulrich Drepper  <drepper@gmail.com>
78721         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78722         the global list here.  Move code to...
78723         (_dl_add_to_namespace_list): ...here.  New function.
78724         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78725         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78726         * elf/dl-load.c (lose): Don't remove the element from the list.
78727         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78728         (_dl_map_object): Likewise.
78730 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78732         [BZ #12159]
78733         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78734         into all bytes of SSE register.
78735         Patch by Richard Li <richardpku@gmail.com>.
78737 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78739         [BZ #12140]
78740         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78741         perturbing.
78743 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78745         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78746         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78747         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78748         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78750         submachine.
78751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78753 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78755         * include/dlfcn.h (__RTLD_SECURE): Define.
78756         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78757         mode & __RTLD_SECURE instead.
78758         (open_path): Rename preloaded parameter to secure.
78759         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78760         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78761         * elf/dl-deps.c (openaux): Likewise.
78762         * elf/rtld.c (struct map_args): Remove is_preloaded.
78763         (map_doit): Don't use it.
78764         (dl_main): Likewise.
78765         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78766         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78768 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78770         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78771         (sysd-rules-targets): Remove duplicates.
78772         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78773         rtld-%.$o dependency.
78775 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78777         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78778         _dl_map_object do it.
78780 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78782         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78783         fast fma builtins, define the macros in the C99 standard.
78784         (FP_FAST_FMAF): Likewise.
78785         (FP_FAST_FMAL): Likewise.
78786         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78788         * bits/mathdef.h: Update copyright year.
78789         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78791 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78793         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78794         builtins, define the macros in the C99 standard.
78795         (FP_FAST_FMAF): Likewise.
78796         (FP_FAST_FMAL): Likewise.
78797         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78798         multiply/add.
78799         (FP_FAST_FMAF): Likewise.
78801 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78803         [BZ #3268]
78804         * math/libm-test.inc (fma_test): Some new testcases.
78805         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78806         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78807         y and infinite z.  Do multiplication by C already in long double.
78808         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78810         y and infinite z.  Do bitwise or of inexact bit into u.d.
78811         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78812         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78813         * sysdeps/i386/fpu/s_fma.S: Removed.
78814         * sysdeps/i386/fpu/s_fmal.S: Removed.
78816 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78818         [BZ #3268]
78819         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78821         computation is not scheduled after fetestexcept.  Fix value
78822         of minimum denormal long double.
78824 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78826         [BZ #3268]
78827         * math/libm-test.inc (fma_test): Add some more tests.
78828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78829         correctly.
78831 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78833         * scripts/data/localplt-s390-linux-gnu.data: New file.
78834         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78836 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78838         [BZ #3268]
78839         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78840         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78841         instead of dbl-64.
78842         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78843         inlines.
78844         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78846         if one of x and y is very large and the other is subnormal.
78847         * sysdeps/s390/fpu/s_fmaf.c: New file.
78848         * sysdeps/s390/fpu/s_fma.c: New file.
78849         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78850         * sysdeps/powerpc/fpu/s_fma.S: New file.
78851         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78852         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78853         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78855 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78857         [BZ #3268]
78858         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78859         fma tests.
78860         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78861         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78862         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78863         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78864         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78865         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78866         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78868 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78870         [BZ #12078]
78871         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78872         * posix/bug-regex31.input: Add test case.
78874 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78876         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78877         * posix/bug-regex31.input: New file.
78879         [BZ #12078]
78880         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78881         (parse_sub_exp): Fix last change, use postorder.
78883         * posix/bug-regex31.c: New file.
78884         * posix/Makefile: Add rules to build and run bug-regex31.
78886         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78888         [BZ #12078]
78889         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78891         [BZ #12108]
78892         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78893         to have entries in sys_siglist.
78895         [BZ #12093]
78896         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78897         be NULL.
78899 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78901         [BZ #3268]
78902         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78903         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78904         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78905         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78906         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78907         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78908         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78909         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78910         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78911         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78912         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78913         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78914         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78915         * math/ftestexcept.c (fetestexcept): Likewise.
78916         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78917         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78918         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78919         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78920         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78921         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78922         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78924 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78926         [BZ #12107]
78927         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78928         newline.
78930 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78932         * string/bug-strstr1.c: New file.
78933         * string/Makefile: Add rules to build and run bug-strstr1.
78935 2010-10-05  Eric Blake  <eblake@redhat.com>
78937         [BZ #12092]
78938         * string/str-two-way.h (two_way_long_needle): Always clear memory
78939         when skipping input due to the shift table.
78941 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78943         [BZ #12005]
78944         * malloc/mcheck.c: Handle large requests.
78946         [BZ #12077]
78947         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78948         for strncmp and strncasecmp.
78949         * string/stratcliff.c: Add tests for strcmp and strncmp.
78950         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78952 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78954         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78955         __set_fpscr.
78957 2010-09-30  Andreas Jaeger  <aj@suse.de>
78959         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78960         (CGROUP_SUPER_MAGIC): Define.
78961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78962         Handle btrfs and cgroup file systems.
78963         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78964         Likewise.
78966 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78968         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78969         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78971 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78973         [BZ #12067]
78974         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78975         trying to locate the ELF header.
78977 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78979         [BZ #11611]
78980         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78981         Mask out sign-bit copies when constructing f_fsid.
78983 2010-09-24  Petr Baudis <pasky@suse.cz>
78985         * debug/stack_chk_fail_local.c: Add missing licence exception.
78986         * debug/warning-nop.c: Likewise.
78988 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78990         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78991         implementing getdents64 using getdents syscall, set d_type if
78992         __ASSUME_GETDENTS32_D_TYPE.
78994 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78996         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78997         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78999 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79001         [BZ #12037]
79002         * posix/unistd.h: Undo change of feature selection for ftruncate from
79003         2010-01-11.
79005 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79007         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79008         detection.
79010 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79012         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79013         fanotify_mark.
79014         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79016 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79018         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79019         variables after CHECK_SP call.
79020         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79022 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79023             Ulrich Drepper  <drepper@redhat.com>
79025         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79026         re-relocationg ld.so.
79027         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79028         _dl_init_paths call.
79029         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79030         here anymore.
79032 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79034         * resolv/res_init.c (__res_vinit): Count the default server we added.
79036 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79037             Ulrich Drepper  <drepper@redhat.com>
79039         [BZ #11968]
79040         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79041         (____longjmp_chk): Use %ebx for saving value across system call.
79042         Add unwind info.
79044 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79046         * manual/Makefile: Don't mix pattern rules with normal rules.
79048 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79050         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79051         operation.
79052         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79053         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79054         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79055         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79057         Likewise.
79059 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79061         [BZ #11979]
79062         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79063         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79065 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79067         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79068         * sysdeps/x86_64/addmul_1.S: Likewise.
79069         * sysdeps/x86_64/lshift.S: Likewise.
79070         * sysdeps/x86_64/mul_1.S: Likewise.
79071         * sysdeps/x86_64/rshift.S: Likewise.
79072         * sysdeps/x86_64/sub_n.S: Likewise.
79073         * sysdeps/x86_64/submul_1.S: Likewise.
79075 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79077         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79078         Define __sched_param instead of SCHED_* and sched_param when
79079         <bits/sched.h> is included with __need_schedparam defined.
79080         * bits/sched.h [__need_schedparam]
79081         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79082         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79083         (__defined_schedparam): Define to 1.
79084         (__sched_param): New structure, identical to sched_param.
79085         (__need_schedparam): Undefine.
79087 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79089         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79090         (epoll_create1): Declare.
79092         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79094 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79096         [BZ #7066]
79097         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79098         shifting retval into place.
79100 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79102         * nis/rpcsvc/nis.h: Update copyright notice.
79103         * nis/rpcsvc/nis.x: Likewise.
79104         * nis/rpcsvc/nis_callback.h: Likewise.
79105         * nis/rpcsvc/nis_callback.x: Likewise.
79106         * nis/rpcsvc/nis_object.x: Likewise.
79107         * nis/rpcsvc/nis_tags.h: Likewise.
79108         * nis/rpcsvc/yp.h: Likewise.
79109         * nis/rpcsvc/yp.x: Likewise.
79110         * nis/rpcsvc/ypupd.h: Likewise.
79111         * nis/yp_xdr.c: Likewise.
79112         * nis/ypupdate_xdr.c: Likewise.
79114         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79115         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79116         (pmap_getport): Use __libc_rpc_getport.
79117         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79118         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79119         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79121 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79124         fanotify_mark.
79126 2010-08-27  Roland McGrath  <roland@redhat.com>
79128         * sysdeps/i386/i686/multiarch/Makefile
79129         (CFLAGS-varshift.c): New variable.
79131 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79133         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79134         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79136         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79138         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79140 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79142         * sysdeps/x86_64/strlen.S: Unroll the loop.
79143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79144         strlen-sse2 strlen-sse2-bsf.
79145         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79146         __strlen_no_bsf if bit_Slow_BSF is set.
79147         (__strlen_sse42): Removed.
79148         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79149         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79151 2010-08-25  Roland McGrath  <roland@redhat.com>
79153         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79154         * sysdeps/x86_64/multiarch/varshift.c: New file.
79155         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79156         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79157         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79158         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79160 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79163         strlen-sse2 strlen-sse2-bsf.
79164         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79165         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79166         (__strlen_sse2): Removed.
79167         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79168         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79170         bit_Slow_BSF for Atom.
79171         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79172         (index_Slow_BSF): Define.
79173         (HAS_SLOW_BSF): Define.
79175 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79177         [BZ #10851]
79178         * resolv/res_init.c (__res_vinit): When no server address at all
79179         is given default to loopback.
79181 2010-08-24  Roland McGrath  <roland@redhat.com>
79183         * configure.in: Remove config-name.h generation.
79184         * configure: Regenerated.
79185         * config-name.in: File removed.
79186         * scripts/config-uname.sh: New file.
79187         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79188         ($(objdir)config-name.h): New target.
79190         * sunrpc/rpc_parse.h: Avoid nested comment.
79192 2010-08-24  Richard Henderson  <rth@redhat.com>
79193             Ulrich Drepper  <drepper@redhat.com>
79194             H.J. Lu  <hongjiu.lu@intel.com>
79196         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79198         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79199         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79200         _mm_alignr_epi8 with _mm_loadu_si128.
79201         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79202         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79203         (__m128i_shift_right): Removed.
79204         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79205         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79206         * sysdeps/x86_64/multiarch/varshift.h: New file.
79207         * sysdeps/x86_64/multiarch/varshift.S: New file.
79209 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79211         * configure.in: Move assembler checks to before sysdep dir checking.
79213 2010-08-20  Petr Baudis  <pasky@suse.cz>
79215         * LICENSES: Sync the sunrpc license.
79217 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79219         * sunrpc/auth_des.c: Update copyright notice once again.
79220         * sunrpc/auth_none.c: Likewise.
79221         * sunrpc/auth_unix.c: Likewise.
79222         * sunrpc/authdes_prot.c: Likewise.
79223         * sunrpc/authuxprot.c: Likewise.
79224         * sunrpc/bindrsvprt.c: Likewise.
79225         * sunrpc/clnt_gen.c: Likewise.
79226         * sunrpc/clnt_perr.c: Likewise.
79227         * sunrpc/clnt_raw.c: Likewise.
79228         * sunrpc/clnt_simp.c: Likewise.
79229         * sunrpc/clnt_tcp.c: Likewise.
79230         * sunrpc/clnt_udp.c: Likewise.
79231         * sunrpc/clnt_unix.c: Likewise.
79232         * sunrpc/des_crypt.c: Likewise.
79233         * sunrpc/des_soft.c: Likewise.
79234         * sunrpc/get_myaddr.c: Likewise.
79235         * sunrpc/getrpcport.c: Likewise.
79236         * sunrpc/key_call.c: Likewise.
79237         * sunrpc/key_prot.c: Likewise.
79238         * sunrpc/openchild.c: Likewise.
79239         * sunrpc/pm_getmaps.c: Likewise.
79240         * sunrpc/pm_getport.c: Likewise.
79241         * sunrpc/pmap_clnt.c: Likewise.
79242         * sunrpc/pmap_prot.c: Likewise.
79243         * sunrpc/pmap_prot2.c: Likewise.
79244         * sunrpc/pmap_rmt.c: Likewise.
79245         * sunrpc/rpc/auth.h: Likewise.
79246         * sunrpc/rpc/auth_unix.h: Likewise.
79247         * sunrpc/rpc/clnt.h: Likewise.
79248         * sunrpc/rpc/des_crypt.h: Likewise.
79249         * sunrpc/rpc/key_prot.h: Likewise.
79250         * sunrpc/rpc/netdb.h: Likewise.
79251         * sunrpc/rpc/pmap_clnt.h: Likewise.
79252         * sunrpc/rpc/pmap_prot.h: Likewise.
79253         * sunrpc/rpc/pmap_rmt.h: Likewise.
79254         * sunrpc/rpc/rpc.h: Likewise.
79255         * sunrpc/rpc/rpc_des.h: Likewise.
79256         * sunrpc/rpc/rpc_msg.h: Likewise.
79257         * sunrpc/rpc/svc.h: Likewise.
79258         * sunrpc/rpc/svc_auth.h: Likewise.
79259         * sunrpc/rpc/types.h: Likewise.
79260         * sunrpc/rpc/xdr.h: Likewise.
79261         * sunrpc/rpc_clntout.c: Likewise.
79262         * sunrpc/rpc_cmsg.c: Likewise.
79263         * sunrpc/rpc_common.c: Likewise.
79264         * sunrpc/rpc_cout.c: Likewise.
79265         * sunrpc/rpc_dtable.c: Likewise.
79266         * sunrpc/rpc_hout.c: Likewise.
79267         * sunrpc/rpc_main.c: Likewise.
79268         * sunrpc/rpc_parse.c: Likewise.
79269         * sunrpc/rpc_parse.h: Likewise.
79270         * sunrpc/rpc_prot.c: Likewise.
79271         * sunrpc/rpc_sample.c: Likewise.
79272         * sunrpc/rpc_scan.c: Likewise.
79273         * sunrpc/rpc_scan.h: Likewise.
79274         * sunrpc/rpc_svcout.c: Likewise.
79275         * sunrpc/rpc_tblout.c: Likewise.
79276         * sunrpc/rpc_util.c: Likewise.
79277         * sunrpc/rpc_util.h: Likewise.
79278         * sunrpc/rpcinfo.c: Likewise.
79279         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79280         * sunrpc/rpcsvc/key_prot.x: Likewise.
79281         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79282         * sunrpc/rpcsvc/mount.x: Likewise.
79283         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79284         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79285         * sunrpc/rpcsvc/rex.x: Likewise.
79286         * sunrpc/rpcsvc/rstat.x: Likewise.
79287         * sunrpc/rpcsvc/rusers.x: Likewise.
79288         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79289         * sunrpc/rpcsvc/spray.x: Likewise.
79290         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79291         * sunrpc/rtime.c: Likewise.
79292         * sunrpc/svc.c: Likewise.
79293         * sunrpc/svc_auth.c: Likewise.
79294         * sunrpc/svc_authux.c: Likewise.
79295         * sunrpc/svc_raw.c: Likewise.
79296         * sunrpc/svc_run.c: Likewise.
79297         * sunrpc/svc_simple.c: Likewise.
79298         * sunrpc/svc_tcp.c: Likewise.
79299         * sunrpc/svc_udp.c: Likewise.
79300         * sunrpc/svc_unix.c: Likewise.
79301         * sunrpc/svcauth_des.c: Likewise.
79302         * sunrpc/xcrypt.c: Likewise.
79303         * sunrpc/xdr.c: Likewise.
79304         * sunrpc/xdr_array.c: Likewise.
79305         * sunrpc/xdr_float.c: Likewise.
79306         * sunrpc/xdr_mem.c: Likewise.
79307         * sunrpc/xdr_rec.c: Likewise.
79308         * sunrpc/xdr_ref.c: Likewise.
79309         * sunrpc/xdr_sizeof.c: Likewise.
79310         * sunrpc/xdr_stdio.c: Likewise.
79312         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79313         handling.
79315 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79317         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79319 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79321         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79322         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79323         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79324         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79325         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79326         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79327         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79328         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79329         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79330         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79331         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79332         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79333         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79334         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79336 2010-07-26  Anton Blanchard  <anton@samba.org>
79338         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79339         * malloc/arena.c (heap_trim): Likewise.
79341 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79343         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79344         here.  Not...
79345         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79346         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79348 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79350         * sysdeps/i386/elf/Makefile: New file.
79352 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79354         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79355         from fanotify_init.
79356         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79357         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79359 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79361         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79362         of strncasecmp_l.
79363         * sysdeps/multiarch/strcmp.S: Likewise.
79365 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79367         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79368         strncase_l-nonascii.
79369         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79370         Add strncase_l-ssse3.
79371         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79372         * sysdeps/x86_64/strcmp.S: Likewise.
79373         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79374         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79375         * sysdeps/x86_64/strncase.S: New file.
79376         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79377         * sysdeps/x86_64/strncase_l.S: New file.
79378         * string/Makefile (strop-tests): Add strncasecmp.
79379         * string/test-strncasecmp.c: New file.
79381         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79382         warning.
79384         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79385         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79387 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79389         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79391 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79393         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79394         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79395         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79397 2010-05-01  Alan Modra  <amodra@gmail.com>
79399         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79400         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79401         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79402         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79403         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79404         tidying.  Don't tail-call __sigjmp_save for static lib.
79405         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79406         save location.
79407         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79408         (CALL_MCOUNT): Add eh info, and nop after bl.
79409         (TAIL_CALL_SYSCALL_ERROR): New macro.
79410         (PSEUDO_RET): Use it.
79411         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79412         Correct save location of integer regs and cr.
79413         (_dl_profile_resolve): Correct cr save location.  Delete nops
79414         after bl when SHARED.  Reduce cfi size a little by better
79415         placement of cfi directives.
79416         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79417         make a stack frame.  Instead use parm save area as a temp.
79418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79419         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79421         Don't make a stack frame for parent, use parm save area.
79422         Increase child stack frame to 112 bytes.  Don't save unused reg,
79423         and adjust reg usage.  Set up cfi on error recovery and
79424         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79426         (__makecontext): Add dummy nop after jump to exit.
79427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79428         Use correct parm save area and cr save, reduce stack frame.
79429         Correct cfi for possible PSEUDO_RET frame setup.
79430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79431         Branch to local label emitted by PSEUDO_RET rather than
79432         __syscall_error.
79434 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79436         [BZ #11904]
79437         * locale/programs/locale.c (print_assignment): New function.
79438         (show_locale_vars): Use it.
79440 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79442         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79443         field.
79444         (struct statfs64): Likewise.
79445         (_STATFS_F_FLAGS): Define.
79446         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79447         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79448         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79449         (ST_VALID): Define locally.
79450         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79451         __statvfs_getflags, use the provided value.
79452         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79453         __ASSUME_STATFS_F_FLAGS.
79455         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79457         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79458         Add sys/fanotify.h.
79459         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79460         fanotify_mask for GLIBC_2.13.
79461         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79462         fanotify_init and fanotify_mark.
79463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79464         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79466         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79467         Add prlimit.
79468         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79469         prlimit64 for GLIBC_2.13.
79470         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79471         prlimit64.
79472         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79473         syscall.
79474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79475         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79476         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79477         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79479         add prlimit alias.
79480         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79482         [BZ #11903]
79483         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79484         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79486         * nss/Makefile: Add rules to build and run tst-nss-test1.
79487         * shlib-versions: Add entry for libnss_test1.
79488         * nss/nss_test1.c: New file.
79489         * nss/tst-nss-test1.c: New file.
79491         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79492         (__nss_configure_lookup): Set appropriate entry in
79493         __nss_configure_lookup to true.
79494         * nss/nsswitch.h: Define enum with indeces of databases in
79495         databases and __nss_database_custom arrays.  Declare
79496         __nss_database_custom.
79497         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79498         to avoid using nscd when custom rules are installed.
79499         * nss/getXXbyYY_r.c: Likewise.
79500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79502         * nss/nss_files/files-parse.c: Whitespace fixes.
79504 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79506         [BZ #11883]
79507         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79508         * posix/fnmatch_loop.c: Likewise.
79510 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79512         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79513         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79514         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79515         * Versions.def [GLIBC_2.13]: Add.
79517 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79519         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79520         Also fail if tpwd after pwuid call is NULL.
79522 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79524         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79525         when converting to ms.
79527 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79529         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79530         EOPNOTSUPP errors with ENOTTY.
79531         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79532         EOPNOTSUPP errors with ENOTTY.
79534 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79536         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79537         Add strcasecmp_l-ssse3.
79538         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79539         strcasecmp.
79540         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79541         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79542         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79544 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79546         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79548         * string/Makefile (strop-tests): Add strcasecmp.
79549         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79550         strcasecmp_l-nonascii.
79551         (gen-as-const-headers): Add locale-defines.sym.
79552         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79553         * sysdeps/x86_64/strcasecmp.S: New file.
79554         * sysdeps/x86_64/strcasecmp_l.S: New file.
79555         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79556         * sysdeps/x86_64/locale-defines.sym: New file.
79557         * string/test-strcasecmp.c: New file.
79559         * string/test-strcasestr.c: Test both ends of the range of characters.
79560         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79562 2010-07-29  Roland McGrath  <roland@redhat.com>
79564         [BZ #11856]
79565         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79567 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79569         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79570         for ld.so.
79572 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79574         * manual/memory.texi (Malloc Tunable Parameters): Document
79575         M_PERTURB.
79577 2010-07-26  Roland McGrath  <roland@redhat.com>
79579         [BZ #11840]
79580         * configure.in (-fgnu89-inline check): Set and substitute
79581         gnu89_inline, not libc_cv_gnu89_inline.
79582         * configure: Regenerated.
79583         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79585 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79587         * string/test-strnlen.c: New file.
79588         * string/Makefile (strop-tests): Add strnlen.
79589         * string/tester.c (test_strnlen): Add a few more test cases.
79590         * string/tst-strlen.c: Better error reporting.
79592         * sysdeps/x86_64/strnlen.S: New file.
79594 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79596         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79597         lower-latency instructions.
79599 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79601         * string/test-strcasestr.c: New file.
79602         * string/test-strstr.c: New file.
79603         * string/Makefile (strop-tests): Add strstr and strcasestr.
79604         * string/str-two-way.h: Don't undefine MAX.
79605         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79607 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79609         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79610         strcasestr-nonascii.
79611         (CFLAGS-strcasestr-nonascii.c): Define.
79612         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79613         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79614         Remove unused attribute.
79616 2010-07-20  Roland McGrath  <roland@redhat.com>
79618         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79619         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79620         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79621         like LD_HWCAP_MASK can disable hwcaps.
79623 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79625         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79627 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79629         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79630         call in strcasestr.
79631         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79632         __strcasestr_sse42_nonascii.
79633         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79634         strcasestr-nonascii.c.
79635         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79637 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79639         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79640         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79641         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79642         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79644 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79646         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79647         fcntl.
79649 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79651         [BZ #11577]
79652         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79653         dl_signal_cerror.
79655 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79657         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79658         _PC_PIPE_BUF using F_GETPIPE_SZ.
79660 2010-07-05  Roland McGrath  <roland@redhat.com>
79662         * manual/arith.texi (Rounding Functions): Fix rint description
79663         implicit in round description.
79665 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79667         * elf/Makefile: Fix linking for a few tests to make recent linker
79668         happy.
79670 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79672         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79673         $(common-objpfx)libc_nonshared.a.
79675 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79677         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79678         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79679         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79680         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79681         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79682         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79683         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79684         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79699         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79700         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79701         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79702         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79703         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79704         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79705         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79706         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79707         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79708         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79709         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79710         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79726 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79728         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79729         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79730         * string/memmove.c (memmove): Renamed to ...
79731         (MEMMOVE): ...this.  Default to memmove.
79732         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79733         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79734         (END_CHK): Define.
79735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79736         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79737         mempcpy-ssse3-back memmove-ssse3-back.
79738         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79739         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79740         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79741         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79742         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79743         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79744         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79745         * sysdeps/x86_64/multiarch/memmove.c: New file.
79746         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79747         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79748         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79749         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79750         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79751         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79752         Define.
79753         (index_Fast_Copy_Backward): Define.
79754         (HAS_ARCH_FEATURE): Define.
79755         (HAS_FAST_REP_STRING): Define.
79756         (HAS_FAST_COPY_BACKWARD): Define.
79758 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79760         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79761         Restore proper fallback handling.
79763 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79765         [BZ #11701]
79766         * posix/group_member.c (__group_member): Correct checking loop.
79768         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79769         OOM in getpwuid_r correctly.  Return error number when the caller
79770         should return, otherwise -1.
79771         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79772         call returning > 0 value.
79773         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79775 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79777         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79778         libc_nonshared.a from targets in modules-names.
79780 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79782         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79783         requires it.
79785 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79787         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79788         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79789         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79790         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79792 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79794         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79796 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79798         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79799         and F_GETPIPE_SZ.
79800         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79801         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79802         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79803         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79804         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79805         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79807 2010-06-14  Roland McGrath  <roland@redhat.com>
79809         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79811 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79813         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79814         __REDIRECT followed by __THROW.
79815         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79816         * posix/getopt.h (getopt): Likewise.
79818 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79820         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79821         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79822         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79823         in AT_FLAGS.
79824         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79825         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79827 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79829         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79831 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79833         [BZ #11640]
79834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79835         Properly check family and model.
79837 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79839         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79841 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79843         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79845 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79847         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79848         symbol reference.
79850 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79852         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79853         symbol reference.
79855 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79857         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79858         and internal_recvmmsg.
79859         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79860         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79861         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79862         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79864         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79865         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79866         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79868 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79870         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79872 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79874         POWER7 optimizations.
79875         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79876         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79878 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79880         * version.h: Update for 2.13 development version.
79882 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79884         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79885         exceptions.  Return 0.
79887 2010-05-07  Roland McGrath  <roland@redhat.com>
79889         * elf/ldconfig.c (main): Add a const.
79891 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79893         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79894         (args_options): Add no-idn option.
79895         (ahosts_keys_int): Add idn_flags to ai_flags.
79896         (parse_option): Handle 'i' option to clear idn_flags.
79898         * malloc/malloc.c (_int_free): Possible race in the most recently
79899         added check.  Only act on the data if no current modification
79900         happened.
79902 See ChangeLog.17 for earlier changes.