Installed-header hygiene (BZ#20366): time.h types.
[glibc.git] / ChangeLog
blobb428ba42ee7b5e3e6eae0f9b04bf634518b5d205
1 2016-09-23  Zack Weinberg  <zackw@panix.com>
3         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
4         Remove all logic conditional on __need macros.  Move all the
5         conditionally defined types to their own headers...
6         * time/bits/types/clock_t.h: Define clock_t here.
7         * time/bits/types/clockid_t.h: Define clockid_t here.
8         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9         * time/bits/types/struct_timespec.h: Define struct timespec here.
10         * time/bits/types/struct_timeval.h: Define struct timeval here.
11         * time/bits/types/struct_tm.h: Define struct tm here.
12         * time/bits/types/time_t.h: Define time_t here.
13         * time/bits/types/timer_t.h: Define timer_t here.
14         * time/Makefile: Install the new headers.
16         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
17         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
18         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
19         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
20         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
21         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
22         * sysdeps/unix/sysv/linux/bits/resource.h
23         * sysdeps/unix/sysv/linux/bits/timex.h
24         * sysdeps/unix/sysv/linux/mips/bits/resource.h
25         * sysdeps/unix/sysv/linux/net/ppp_defs.h
26         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
27         * sysdeps/unix/sysv/linux/sys/acct.h
28         * sysdeps/unix/sysv/linux/sys/timerfd.h
29         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
30         * time/sys/time.h, time/sys/timeb.h
31         Use the new bits/types headers.
33         * include/time.h: Remove __need logic.
34         * include/bits/time.h
35         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
36         * include/bits/types/time_t.h, include/bits/types/timer_t.h
37         * include/bits/types/struct_itimerspec.h
38         * include/bits/types/struct_timespec.h
39         * include/bits/types/struct_timeval.h
40         * include/bits/types/struct_tm.h:
41         New wrapper headers.
43 2016-09-23  Zack Weinberg  <zackw@panix.com>
45         * sysdeps/mach/hurd/net/if_ppp.h
46         * sysdeps/unix/sysv/linux/net/if_ppp.h:
47         Only define struct ifpppstatsreq and struct ifpppcstatsreq
48         if __USE_MISC is defined, to ensure struct ifreq is declared.
50         * inet/netinet/ether.h: Condition all function prototypes
51         on __USE_MISC, to ensure struct ether_addr is declared.
53         * socket/bits/types/struct_osockaddr.h: New header.
54         * include/bits/types/struct_osockaddr.h: New wrapper.
55         * socket/Makefile: Install the new header.
56         * socket/sys/socket.h, inet/protocols/talkd.h:
57         Refer to bits/types/struct_osockaddr.h for the definition of
58         struct osockaddr.
60 2016-09-23  Zack Weinberg  <zackw@panix.com>
62         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
63         * inet/protocols/routed.h, inet/protocols/talkd.h
64         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
65         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
66         * sysdeps/generic/netinet/if_ether.h
67         * sysdeps/generic/netinet/in_systm.h
68         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
69         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
70         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
71         * sysdeps/mach/hurd/net/if_arp.h
72         * sysdeps/mach/hurd/net/if_ppp.h
73         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
74         * sysdeps/unix/sysv/linux/bits/in.h
75         * sysdeps/unix/sysv/linux/net/ethernet.h
76         * sysdeps/unix/sysv/linux/net/if_arp.h
77         * sysdeps/unix/sysv/linux/net/if_ppp.h
78         * sysdeps/unix/sysv/linux/net/if_shaper.h
79         * sysdeps/unix/sysv/linux/net/route.h
80         * sysdeps/unix/sysv/linux/netinet/if_ether.h
81         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
82         * sysdeps/unix/sysv/linux/netinet/if_tr.h
83         * sysdeps/unix/sysv/linux/netipx/ipx.h
84         * sysdeps/unix/sysv/linux/sys/acct.h
85         * include/arpa/nameser.h, include/resolv.h:
86         Change all uses of u_char to unsigned char,
87         u_short and ushort to unsigned short, u_int and uint to unsigned int,
88         u_long and ulong to unsigned long, u_int8_t to uint8_t,
89         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
90         and u_int64_t and u_quad_t to uint64_t.
92         * mach/sys/reboot.h: Remove two casts of integer literals
93         to the types they already have.
95         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
96         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
97         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
98         from referring to 'unsigned char' to 'uint8_t' for consistency with
99         the macro definition below.
101         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
102         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
103         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
104         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
105         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
106         * sysdeps/unix/sysv/linux/sys/acct.h
107         * include/arpa/nameser.h, include/resolv.h:
108         Fix indentation disrupted by mechanical edits.
110         * inet/protocols/talkd.h, resolv/arpa/nameser.h
111         * sysdeps/generic/netinet/in_systm.h
112         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
113         * sysdeps/gnu/netinet/udp.h
114         * sysdeps/unix/sysv/linux/net/ethernet.h
115         * sysdeps/unix/sysv/linux/net/if_arp.h
116         * sysdeps/unix/sysv/linux/net/if_ppp.h
117         * sysdeps/unix/sysv/linux/net/if_shaper.h
118         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
119         * sysdeps/unix/sysv/linux/netinet/if_tr.h
120         * sysdeps/unix/sysv/linux/netipx/ipx.h
121         * sysdeps/unix/sysv/linux/sys/acct.h
122         Include stdint.h for uintNN_t definitions.
123         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
125 2016-09-23  Zack Weinberg  <zackw@panix.com>
127         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
128         * sysdeps/unix/sysv/linux/netrose/rose.h:
129         Include sys/socket.h and netax25/ax25.h.
131         * inet/netinet/icmp6.h, inet/netinet/ip6.h
132         * resolv/arpa/nameser_compat.h:
133         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
135         * sysdeps/unix/sysv/linux/sys/quota.h:
136         Use __caddr_t instead of caddr_t.
137         * sysdeps/unix/sysv/linux/sys/timerfd.h:
138         Use __clockid_t instead of clockid_t.
140         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
142         * argp/argp.h: Check whether _LIBC is defined before expanding it.
143         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
144         expanding it.
146         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
147         Define __glibc_c99_flexarr_available to 1 when the compiler
148         supports C99-compatible flexible array members, 0 otherwise.
149         * sysdeps/unix/sysv/linux/bits/socket.h
150         * sysdeps/mach/hurd/bits/socket.h
151         * bits/socket.h: Use __glibc_c99_flexarr_available in
152         definitions of struct cmsghdr and CMSG_DATA.
154 2016-09-23  Florian Weimer  <fweimer@redhat.com>
156         * manual/nss.texi (NSS Modules Interface): Adjust function return
157         type to enum nss_status.  Document errnop argument.  Clarify
158         h_errnop semantics.  Fix cross-reference formatting.
159         (NSS Module Function Internals): Mention that *errnop needs to be
160         set on failure, but not to zero.
162 2016-09-23  Florian Weimer  <fweimer@redhat.com>
164         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
165         (get_random_name): New functions.
166         (check_wrapper_flags_mode): Use linkat to give the new file a name
167         determined by get_random_name.
168         (do_test): Add calls to test open64 and openat64.
170 2016-09-23  Florian Weimer  <fweimer@redhat.com>
172         * test-skeleton.c: Remove #include <stdarg.h>.
174 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
176         [BZ #19826]
177         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
178         initialization of static TLS entries.
179         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
180         * nptl/allocatestack.c (init_one_static_tls): Likewise.
182 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
184         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
185         _hurd_malloc_fork_prepare.
186         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
187         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
188         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
189         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
190         (_hurd_fork_child_hook): Drop malloc_fork_child.
191         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
192         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
193         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
194         after locking locks (notably hurd_dtable_lock). Call
195         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
196         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
197         __malloc_fork_unlock_child.
198         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
200 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
202         * soft-fp/extendhftf2.c: New.
203         * soft-fp/fixhfti.c: Likewise.
204         * soft-fp/fixunshfti.c: Likewise.
205         * soft-fp/floattihf.c: Likewise.
206         * soft-fp/floatuntihf.c: Likewise.
207         * soft-fp/half.h: Likewise.
208         * soft-fp/trunctfhf2.c: Likewise.
210 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
212         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
213         macro.
214         * math/libm-test.inc (issubnormal_test_data): New array.
215         (issubnormal_test): New function.
216         * manual/arith.texi (Floating Point Classes): Document
217         issubnormal.
218         * manual/libm-err-tab.pl: Update comment on interfaces without
219         ulps tabulated.
221         * sysdeps/generic/stdint.h: Define
222         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
223         <bits/libc-header-start.h> instead of including <features.h>.
224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
235         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
237         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
238         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
239         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
240         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
241         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
242         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
257         * manual/arith.texi (Integers): Document these macros for types
258         specified by width properties.
259         * manual/lang.texi (Width of Type): Document these macros for
260         other standard typedefs.
261         * stdlib/tst-width-stdint.c: New file.
262         * stdlib/Makefile (tests): Add tst-width-stdint.
264 2016-09-21  Florian Weimer  <fweimer@redhat.com>
266         [BZ #20016]
267         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
268         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
269         Move ...
270         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
271         ... here, as compatibility symbols in a new file.
272         * resolv/Makefile (libresolv-routines): Add compat-hooks.
273         * resolv/res_init.c (__res_vinit): Adjust member names.
274         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
275         * resolv/resolv.h (res_sendhookact, res_send_qhook)
276         (res_send_rhook): Remove.
277         (struct __res_state): Rename qhook, rhook members.
279 2016-09-21  Florian Weimer  <fweimer@redhat.com>
281         malloc: Use __libc_lock wrappers.
282         * malloc/arena.c (list_lock, free_list_lock): Define using
283         __libc_lock_define_initialized.
284         (arena_lock): Adjust formatting.
285         * malloc/malloc.c (struct malloc_state): Define mutex using
286         __libc_lock_define.
287         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
288         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
289         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
290         (mutex_unlock, mutex_trylock): Remove.
291         (__pthread_initialize): Remove unused macro.
292         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
293         (mutex_unlock, mutex_trylock): Remove.
295 2016-09-21  Florian Weimer  <fweimer@redhat.com>
297         [BZ #20592]
298         Remove RR type classification macros.
299         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
300         (ns_t_udp_p, ns_t_xfr_p): Remove.
302 2016-09-21  Florian Weimer  <fweimer@redhat.com>
304         Remove misleading version information.
305         * resolv/arpa/nameser.h (__NAMESER): Remove.
306         * resolv/arpa/nameser_compat.h (__BIND): Remove.
308 2016-09-21  Florian Weimer  <fweimer@redhat.com>
310         Remove the always-defined BIND_4_COMPAT macro.
311         * resolv/arpa/nameser.h: Unconditionally include
312         <arpa/nameser_compat.h>.
313         (BIND_4_COMPAT): Remove.
314         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
316 2016-09-21  Florian Weimer  <fweimer@redhat.com>
318         [BZ #20591]
319         Remove obsolete DNSSEC support.
320         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
321         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
322         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
323         (ns_verify_tcp, ns_verify_tcp_init): Remove.
324         (ns_cert_types): Add comment.
325         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
326         separately.
327         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
328         (dst_s_dns_key_id): Remove.
329         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
330         variables.
332 2016-09-21  Florian Weimer  <fweimer@redhat.com>
334         [BZ #20524]
335         * manual/string.texi (String/Array Comparison): Clarify the
336         strverscmp behavior.
338 2016-09-21  Florian Weimer  <fweimer@redhat.com>
340         * test-skeleton.c (xasprintf): Add function.
341         * io/tst-open-tmpfile.c: New test.
342         * io/Makefile (tests): Add it.
344 2016-09-21  Florian Weimer  <fweimer@redhat.com>
346         Avoid running $(CXX) during build to obtain header file paths.
347         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
348         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
349         * Makerules (cstdlib, cmath): Remove variables.  Use
350         $(c++-cstdlib-header), $(c++-cmath-header) instead.
351         * configure: Regenerate.
353 2016-09-21  Florian Weimer  <fweimer@redhat.com>
355         * Makeconfig (all-object-suffixes): Include .op only if
356         $(build-profile).
358 2016-09-21  Florian Weimer  <fweimer@redhat.com>
360         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
361         conditionals.  Do not define PATH_MAX.
363 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
365         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
366         all signals when executing the clone vfork child.
367         (SIGALL_SET): Remove macro.
369         * nptl/Makefile (tests): Add tst-exec5.
370         * nptl/tst-exec5.c: New file.
371         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
372         asynchronous cancellation.
374 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
376         * hurd/exc2signal.c: #include <hurd/signal.h>
377         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
378         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
379         accordingly.
380         * mach/mach_error.c (mach_error): Fix old-style function definition.
381         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
383 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
385         * math/Makefile (libm-calls): Remove s_nanF.
386         (gen-libm-calls): Add s_nanF.
388         * math/s_nan.c: Refactor into ...
389         * math/s_nan_template.c: New file.
391         * math/s_nanf.c: Removed.
392         * math/s_nanl.c: Removed.
393         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
394         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
396         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
397         (LDOUBLE_nanl_libm_version): New macro.
399         * sysdeps/generic/math-type-macros-double.h:
400         (M_STRTO_NAN): New macro.
401         * sysdeps/generic/math-type-macros-float.h: Likewise.
402         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
404         * sysdeps/generic/math-type-macros.h: Document
405         M_STRTO_NAN.
407 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
409         * math/s_nanf.c: Remove __nanf undef.
410         * math/s_nan.c: Remove __nan undef.
411         * math/s_nanl.c: Remove __nanl undef.
413         * sysdeps/generic/math_private.h (__nan): Remove macro
414         override.
415         (__nanf): Likewise.
416         (__nanl): Likewise.
418 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
420         * math/Makefile (gen-all-calls): New variable.
421         (generated): Replace gen-libm-calls with gen-all-calls.
422         (gen-libm-templates.stmp): Likewise.  Also, ensure
423         the output directory exists or is created and add
424         dependency on the Makefile.
425         (calls): Move s_ldexpF into gen-calls.
426         (gen-calls): New variable.
428         * math/s_ldexpf.c: Removed.
429         * math/s_ldexpl.c: Removed.
430         * math/s_ldexp.c: Refactored into ...
431         * math/s_ldexp_template.c: New file.
433         * sysdeps/generic/math-type-macros-double.h: Remove
434         redundant fall-through definition of declare_mgen_alias.
435         (declare_mgen_alias_2): New macro.
437         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
438         New macro for function aliased to two exported symbols.
440         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
441         new template file.
442         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
444 2016-09-20  Florian Weimer  <fweimer@redhat.com>
446         * Makeconfig (all-object-suffixes): Remove .og.
447         * Makerules (elide-routines.og): Remove.
448         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
449         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
450         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
452 2016-09-20  Florian Weimer  <fweimer@redhat.com>
454         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
455         .os objects.
457 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
459         [BZ #20615]
460         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
461         fpu directory by non-fpu.
462         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
463         on non-fpu directory from a fpu directory.
465 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
467         * include/limits.h: Define
468         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
469         <bits/libc-header-start.h> instead of including <features.h>.
470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
481         * manual/lang.texi (Width of Type): Document these macros.
482         * stdlib/tst-width.c: New file.
483         * stdlib/Makefile (tests): Add tst-width.
485 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
487         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
488         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
490 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
492         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
493         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
494         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
496 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
498         [BZ #18243]
499         * rt/Makefile (test): Add tst-shm-cancel.
500         * rt/tst-shm-cancel.c: New file.
501         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
503         [BZ #18243]
504         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
505         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
506         definition.
507         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
508         uncontended case.
509         * nptl/sem_wait.c (__new_sem_wait): Likewise.
510         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
511         (tf): Fix check for uncontended case.
512         (do_test): Likewise.
513         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
514         (tf): Fix check for uncontended case.
515         (do_test): Likewise.
516         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
517         (tf): Fix check for uncontended case.
518         (do_test): Likewise.
519         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
520         (tf): Fix check for uncontended case.
521         (do_test): Likewise.
523         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
524         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
526         [BZ #15765]
527         * nptl/Makefile (tests): Add tst-sem16.
528         * nptl/tst-sem16.c: New file.
529         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
531         * nptl/sem_open.c (sem_open): Init pad value to 0.
532         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
533         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
535 2016-09-15  Florian Weimer  <fweimer@redhat.com>
537         [BZ #20611]
538         * inet/Makefile (routines): Add inet6_scopeid_pton.
539         (tests): Add tst-inet6_scopeid_pton.
540         * inet/inet6_scopeid_pton.c: New file.
541         * inet/net-internal.h: Likewise.
542         * inet/tst-inet6_scopeid_pton.c: New test.
543         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
544         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
547 2016-09-14  Florian Weimer  <fweimer@redhat.com>
549         Remove support for compiling wrappers with PTW.
550         * sysdeps/nptl/Makeconfig: Drop ptw- support.
551         * nptl/Makefile (pthread-compat-wrappers): Define.
552         (libpthread-routines): Use pthread-compat-wrappers.
553         * sysdeps/unix/sysv/linux/alpha/Makefile
554         (libpthread-routines, libpthread-shared-only-routines): Remove
555         ptw- prefix.
556         * sysdeps/s390/nptl/Makefile
557         (libpthread-routines, libpthread-shared-only-routines): Likewise.
558         * sysdeps/ia64/nptl/Makefile
559         (libpthread-routines, libpthread-shared-only-routines): Likewise.
560         * sysdeps/nacl/Makefile (libpthread-routines): Use
561         pthread-compat-wrappers to filter the routines list instead of the
562         ptw- prefix.
564 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
566         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
567         with L() and remove explicit suffix, convert real literals
568         which can be equivalentally substituted with integers, and
569         transform -L(x) to L(-x).
571         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
572         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
573         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
574         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
575         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
576         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
577         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
578         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
579         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
580         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
581         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
582         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
583         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
584         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
585         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
586         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
587         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
588         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
589         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
590         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
591         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
592         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
593         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
594         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
595         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
596         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
597         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
598         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
599         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
600         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
601         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
602         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
603         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
604         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
605         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
606         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
607         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
608         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
609         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
610         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
611         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
612         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
613         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
614         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
615         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
616         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
617         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
618         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
619         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
620         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
622 2016-09-13  Florian Weimer  <fweimer@redhat.com>
624         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
626 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
628         * malloc/Makefile (tests): Remove individual static test names
629         and just add all of tests-static.
631         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
633 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
635         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
636         file.
638         * sysdeps/sparc/fpu/fegetmode.c: New file.
639         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
641         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
642         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
644         * sysdeps/s390/fpu/fegetmode.c: New file.
645         * sysdeps/s390/fpu/fesetmode.c: Likewise.
647         * sysdeps/powerpc/fpu/fegetmode.c: New file.
648         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
649         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
650         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
651         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
652         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
654         * sysdeps/mips/fpu/fegetmode.c: New file.
655         * sysdeps/mips/fpu/fesetmode.c: Likewise.
657         * sysdeps/m68k/fpu/fegetmode.c: New file.
658         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
660         * sysdeps/ia64/fpu/fegetmode.c: New file.
661         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
663         * sysdeps/hppa/fpu/fegetmode.c: New file.
664         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
666         * sysdeps/arm/fegetmode.c: New file.
667         * sysdeps/arm/fesetmode.c: Likewise.
669         * sysdeps/alpha/fpu/fegetmode.c: New file.
670         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
672         * sysdeps/aarch64/fpu/fegetmode.c: New file.
673         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
675         * math/fegetmode.c: New file.
676         * math/fesetmode.c: Likewise.
677         * sysdeps/i386/fpu/fegetmode.c: Likewise.
678         * sysdeps/i386/fpu/fesetmode.c: Likewise.
679         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
680         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
681         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
683         declaration.
684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
685         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
686         typedef.
687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
688         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
689         (femode_t): New typedef.
690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
691         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
692         (femode_t): New typedef.
693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
694         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
695         (femode_t): New typedef.
696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
697         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
698         (femode_t): New typedef.
699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
700         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
701         (femode_t): New typedef.
702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
703         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
704         (femode_t): New typedef.
705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
706         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
707         (femode_t): New typedef.
708         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
709         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
710         (femode_t): New typedef.
711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
712         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
713         (femode_t): New typedef.
714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
715         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
716         (femode_t): New typedef.
717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
718         declaration.
719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
720         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
721         (femode_t): New typedef.
722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
723         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
724         (femode_t): New typedef.
725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
726         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
727         (femode_t): New typedef.
728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
729         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
730         (femode_t): New typedef.
731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
732         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
733         (femode_t): New typedef.
734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
735         * manual/arith.texi (FE_DFL_MODE): Document macro.
736         (fegetmode): Document function.
737         (fesetmode): Likewise.
738         * math/Versions (fegetmode): New libm symbol at version
739         GLIBC_2.25.
740         (fesetmode): Likewise.
741         * math/Makefile (libm-support): Add fegetmode and fesetmode.
742         (tests): Add test-femode and test-femode-traps.
743         * math/test-femode-traps.c: New file.
744         * math/test-femode.c: Likewise.
745         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
746         alias for __fe_dfl_env.
747         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
748         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
749         (__fe_dfl_mode): Likewise.
750         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
751         version GLIBC_2.25.
752         * sysdeps/nacl/libm.abilist: Update.
753         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
756         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
757         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
760         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
761         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
762         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
763         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
764         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
766         Likewise.
767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
768         Likewise.
769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
770         Likewise.
771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
772         Likewise.
773         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
775         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
776         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
777         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
779         Likewise.
780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
781         Likewise.
782         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
783         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
784         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
786 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
788         [BZ #20495]
789         [BZ #20508]
790         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
791         processors, set Use_dl_runtime_resolve_slow and set
792         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
793         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
794         New.
795         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
796         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
797         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
798         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
799         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
800         if Use_dl_runtime_resolve_opt is set.  Use
801         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
802         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
803         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
804         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
805         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
806         New.
807         (_dl_runtime_resolve_opt): Likewise.
808         (_dl_runtime_profile): Define only if _dl_runtime_profile is
809         defined.
811 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
813         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
814         __libc_memalign with "+ RELA R_390_GLOB_DAT".
816 2016-09-06  Florian Weimer  <fweimer@redhat.com>
818         Convert malloc to __libc_lock.  Automated part, using this Perl
819         s/// command:
820           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
821             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
822         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
823         conversion.
825 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
827         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
828         (linknamespace-symlists-tests): Likewise.
829         (linknamespace-header-tests): Likewise.
831 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
833         [BZ #19810]
834         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
835         * elf/tst-noload.c: New test case.
836         * elf/Makefile (tests): Add tst-noload.
838 2016-09-02  Roland McGrath  <roland@hack.frob.com>
840         * sysdeps/nacl/dup.c: Add libc_hidden_def.
842         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
843         not any more.
845         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
847 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
849         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
850         (do_cos_slow): Likewise.
851         (do_sin): Likewise.
852         (do_sin_slow): Likewise.
853         (slow): Likewise.
854         (slow1): Likewise.
855         (slow2): Likewise.
856         (sloww): Likewise.
857         (sloww1): Likewise.
858         (sloww2): Likewise.
859         (bsloww): Likewise.
860         (bsloww1): Likewise.
861         (bsloww2): Likewise.
862         (cslow2): Likewise.
864         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
866         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
867         arguments.  Consolidate input partitioning from callers here.
868         (do_cos_slow): Likewise.
869         (do_sin): Likewise.
870         (do_sin_slow): Likewise.
871         (do_sincos_1): Remove the no longer necessary input partitioning.
872         (do_sincos_2): Likewise.
873         (__sin): Likewise.
874         (__cos): Likewise.
875         (slow1): Likewise.
876         (slow2): Likewise.
877         (sloww1): Likewise.
878         (sloww2): Likewise.
879         (bsloww1): Likewise.
880         (bsloww2): Likewise.
881         (cslow2): Likewise.
883 2016-09-02  Florian Weimer  <fweimer@redhat.com>
885         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
886         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
887         outside of allocated array.
889 2016-09-02  Florian Weimer  <fweimer@redhat.com>
891         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
892         instead of MB_CUR_MAX to avoid variable-length array.
894 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
896         * math/Makefile (libm-calls): Remove k_rem_pio2F.
897         (type-double-routines): Add k_rem_pio2.
898         (type-float-routines): Add k_rem_pio2f.
900         * sysdeps/generic/math_private.h:
901         (__kernel_rem_pio2l): Removed.
903         * math/k_rem_pio2l.c: Removed.
904         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
905         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
906         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
907         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
909 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
911         * math/Makefile (gen-libm-calls): Add s_fmin
912         (libm-calls): Remove above.
914         * math/s_fmin.c: Refactor into ...
915         * math/s_fmin_template.c: New file.
917         * math/s_fminf.c: Removed.
918         * math/s_fminl.c: Removed.
919         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
920         (LDOUBLE_fmin_libm_version): New macro.
922         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
923         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
925 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
927         * math/Makefile: (gen-libm-calls): Add s_fmax.
928         (libm-calls): Remove above.
930         * math/s_fmax.c: Refactor into ...
931         * math/s_fmax_template.c: New file.
932         * math/s_fmaxf.c: Removed.
933         * math/s_fmaxl.c: Removed.
935         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
936         (LDOUBLE_fmaxl_libm_version): New macro.
938         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
939         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
941         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
942         s_fmin.c to pick the aarch64 version of the file.
943         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
944         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
946 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
948         * math/Makefile: (gen-libm-calls): Add s_nextdown.
949         (libm-calls): Remove above.
951         * math/s_nextdown.c: Refactor into ...
952         * math/s_nextdown_template.c: New file.
953         * math/s_nextdownf.c: Removed.
954         * math/s_nextdownl.c: Removed.
956         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
958 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
960         * math/Makefile (gen-libm-calls): Add s_fdim.
961         (libm-calls): Move to above.
963         * math/s_fdim.c: Renamed and refactored into to ...
964         * math/s_fdim_template.c: New file.
965         * math/s_fdiml.c: Removed.
966         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
967         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
969         * sysdeps/generic/math-type-macros-double.h:
970         (declare_mgen_alias): Don't declare if already declared.
971         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
972         Likewise.
974         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
975         (declare_mgen_alias): Don't declare if already declared.
976         (M_LIBM_NEED_COMPAT): Likewise.
977         (declare_mgen_libm_compat): Likewise.
978         (LDOUBLE_fdiml_libm_version): New macro.
980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
981         Include math/s_fdim.c now that ldbl-opt version is not needed.
982         (declare_mgen_alias): New macro to disable aliasing.
984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
985         (declare_mgen_alias): Likewise.
986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
987         (declare_mgen_alias): Likewise.
988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
989         (declare_mgen_alias): Likewise.
990         (M_LIBM_NEED_COMPAT): Likewise.
992 2016-09-01  Florian Weimer  <fweimer@redhat.com>
994         [BZ #20525]
995         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
996         Include <linux/quota.h>.
997         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
998         and btodb.
999         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1000         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1001         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1002         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1003         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1004         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1005         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1006         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1007         types.
1008         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1009         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1011 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1013         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1014         (gammal_positive): Fix spacing.
1015         (__ieee754_gammal_r): Likewise.
1017 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1019         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1020         (_Float128): Define as long double, always.
1021         (L): Apply long double type suffix, always.
1023         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1024         _Float128, excepting comments.
1026         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1027         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1028         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1029         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1030         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1031         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1032         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1033         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1034         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1035         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1036         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1037         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1038         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1039         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1040         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1041         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1042         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1043         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1044         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1045         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1046         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1047         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1048         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1049         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1050         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1051         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1052         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1053         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1054         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1055         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1056         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1057         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1058         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1059         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1060         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1061         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1062         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1063         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1064         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1065         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1066         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1067         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1068         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1069         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1070         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1071         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1072         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1073         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1074         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1075         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1076         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1077         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1078         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1079         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1080         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1081         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1082         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1083         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1084         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1085         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1086         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1087         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1088         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1089         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1090         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1091         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1092         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1093         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1095         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1096         _Float128, and include math_private.h.
1097         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1099         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1100         long double semantics.
1101         (_Float128): Likewise.
1102         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1103         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1104         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1105         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1107 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1109         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1110         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1111         * sysdeps/s390/configure: Regenerated.
1112         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1113         instruction for raising over-/underflow if z196 zarch is supported
1114         by default.
1115         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1117 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1119         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1120         it point to a dumb buffer for RPC to fill it.
1122 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1124         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1125         instead of if/else.
1126         (do_sin_slow): Likewise.
1127         (do_sincos_1): Use fabs instead of if/else.
1128         (do_sincos_2): Likewise.
1129         (__sin): Likewise.
1130         (__cos): Likewise.
1131         (slow2): Likewise.
1132         (sloww): Likewise.
1133         (sloww1): Likewise.  Drop argument M.
1134         (sloww2): Use fabs instead of if/else.
1135         (bsloww): Likewise.
1136         (bsloww1): Likewise.
1137         (bsloww2): Likewise.
1139         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1140         fall through comment.
1141         (do_sincos_1): Likewise.
1143         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1144         Consolidate switch cases 0 and 2.
1146 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1148         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1149         (libm-calls): Remove the above.
1151         * math/s_cexp_template.c: Update using type-generic macros.
1152         * math/s_clog10_template.c: Likewise.
1153         * math/s_cpow_template.c: Likewise.
1154         * math/s_clog_template.c: Likewise.
1155         * math/s_cproj_template.c: Likewise.
1156         * math/s_csqrt_template.c: Likewise.
1158         * math/s_cexp.c: Removed.
1159         * math/s_cexpf.c: Removed.
1160         * math/s_cexpl.c: Removed.
1161         * math/s_clog10.c: Removed.
1162         * math/s_clog10f.c: Removed.
1163         * math/s_clog10l.c: Removed.
1164         * math/s_cpow.c: Removed.
1165         * math/s_cpowf.c: Removed.
1166         * math/s_cpowl.c: Removed.
1167         * math/s_clog.c: Removed.
1168         * math/s_clogf.c: Removed.
1169         * math/s_clogl.c: Removed.
1170         * math/s_cproj.c: Removed.
1171         * math/s_cprojf.c: Removed.
1172         * math/s_cprojl.c: Removed.
1173         * math/s_csqrt.c: Removed.
1174         * math/s_csqrtf.c: Removed.
1175         * math/s_csqrtl.c: Removed.
1177         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1178         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1179         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1180         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1181         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1182         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1184         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1185         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1186         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1187         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1188         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1189         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1190         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1191         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1192         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1193         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1194         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1196         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1197         version.
1199         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1200         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1201         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1202         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1204 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1206         * s_cexp_template.c: Copy of s_cexp.c.
1207         * s_clog_template.c: Copy of s_clog.c.
1208         * s_clog10_template.c: Copy of s_clog10.c.
1209         * s_cpow_template.c: Copy of s_cpow.c.
1210         * s_cproj_template.c: Copy of s_cproj.c.
1211         * s_csqrt_template.c: Copy of s_csqrt.c.
1213 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1215         [BZ #20517]
1216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1217         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1218         exported.
1220 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1222         * math/fetestexceptflag.c: New file.
1223         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1224         Stefan Liebler.
1225         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1226         (fetestexceptflag): New function declaration.
1227         * manual/arith.texi (fetestexceptflag): Document function.
1228         * math/Versions (fetestexceptflag): New libm symbol at version
1229         GLIBC_2.25.
1230         * math/Makefile (libm-support): Add fetestexceptflag.
1231         (tests): Add test-fetestexceptflag.
1232         * math/test-fetestexceptflag.c: New file.
1233         * sysdeps/nacl/libm.abilist: Update.
1234         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1235         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1236         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1237         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1238         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1239         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1240         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1242         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1243         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1244         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1245         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1247         Likewise.
1248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1249         Likewise.
1250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1251         Likewise.
1252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1253         Likewise.
1254         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1255         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1256         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1257         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1258         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1260         Likewise.
1261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1262         Likewise.
1263         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1264         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1265         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1267 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1269         [BZ #20432]
1270         Avoid strong references to malloc-internal symbols when linking
1271         statically, to support statically interposed mallocs.
1272         * include/libc-symbols.h (call_function_static_weak): New macro.
1273         * malloc/Makefile (tests): Add tst-interpose-nothread,
1274         tst-interpose-thread, tst-interpose-static-nothread,
1275         tst-interpose-static-thread.
1276         (tests-static): Add tst-interpose-static-nothread,
1277         tst-interpose-static-thread.
1278         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1279         tst-interpose-aux-thread.o.
1280         (test-extras): Add tst-interpose-aux-nothread,
1281         tst-interpose-aux-thread.
1282         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1283         tst-interpose-aux-nothread.o.
1284         (tst-interpose-thread, tst-interpose-static-thread): Link with
1285         tst-interpose-aux-thread.o and libthread.
1286         * malloc/tst-interpose-aux-nothread.c: New file.
1287         * malloc/tst-interpose-aux-thread.c: Likewise.
1288         * malloc/tst-interpose-aux.c: Likewise.
1289         * malloc/tst-interpose-aux.h: Likewise.
1290         * malloc/tst-interpose-nothread.c: Likewise.
1291         * malloc/tst-interpose-skeleton.c: Likewise.
1292         * malloc/tst-interpose-static-nothread.c: Likewise.
1293         * malloc/tst-interpose-static-thread.c: Likewise.
1294         * malloc/tst-interpose-thread.c: Likewise.
1295         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1296         * sysdeps/mach/hurd/fork.c (__fork): Only call
1297         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1298         __malloc_fork_unlock_child if defined.
1299         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1301 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1303         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1304         timespec C99 designated initialization.
1306 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1308         [BZ #19946]
1309         Avoid expected SIGALRM signals.
1310         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1311         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1312         (xpthread_create, xpthread_detach, xpthread_join)
1313         (delayed_exit_thread, delayed_exit): New functions.
1314         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1315         (tf): Use xpthread_cond_wait.
1316         (do_test): Likewise.  Replace alarm with delayed_exit.
1317         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1318         (do_test): Call delayed_exit.  Report failure.
1319         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1320         (do_test): Call delayed_exit.
1321         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1322         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1323         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1324         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1325         error.
1326         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1327         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1328         error.
1329         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1330         (do_test): Call delayed_exit.
1331         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1332         (do_test): Call delayed_exit.
1333         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1334         (do_test): Call delayed_exit instead of alarm.  Use
1335         xpthread_mutex_lock.
1336         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1337         (do_test): Call delayed_exit instead of alarm.  Use
1338         xpthread_mutex_lock.
1339         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1340         (do_test): Call delayed_exit instead of alarm.
1341         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1342         (do_test): Call delayed_exit instead of alarm.  Use
1343         xpthread_spin_lock.
1344         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1345         (do_test): Call delayed_exit instead of alarm.  Use
1346         xpthread_join.
1348 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1350         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1351         adjust CFA when allocating register save area on re-aligned
1352         stack.
1354 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1356         * string/tst-cmp.c: New test.
1357         * string/Makefile (tests): Add it.
1359 2016-08-25  Mark Wielaard  <mark@klomp.org>
1361         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1362         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1363         (check_tree_recurse): Use newly defined accessors.
1364         (check_tree): Likewise.
1365         (maybe_split_for_insert): Likewise.
1366         (__tfind): Likewise.
1367         (__tdelete): Likewise.
1368         (trecurse): Likewise.
1369         (tdestroy_recurse): Likewise.
1370         (__tsearch): Likewise. And add asserts for malloc alignment.
1371         (__twalk): Cast root to node in case CHECK_TREE is defined.
1373 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1375         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1377 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1379         * math/Makefile (libm-gen-calls): Add
1380         catan, catanh, ctan, ctanh.
1381         (libm-calls): Remove the above.
1383         * math/s_catan_template.c: Update using type-generic macros.
1384         * math/s_catanh_template.c: Likewise.
1385         * math/s_ctan_template.c: Likewise.
1386         * math/s_ctanh_template.c: Likewise.
1388         * math/s_catanf.c: Removed.
1389         * math/s_catan.c: Removed.
1390         * math/s_catanl.c: Removed.
1391         * math/s_catanhf.c: Removed.
1392         * math/s_catanh.c: Removed.
1393         * math/s_catanhl.c: Removed.
1394         * math/s_ctanf.c: Removed.
1395         * math/s_ctan.c: Removed.
1396         * math/s_ctanl.c: Removed.
1397         * math/s_ctanhf.c: Removed.
1398         * math/s_ctanh.c: Removed.
1399         * math/s_ctanhl.c: Removed.
1401         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1402         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1403         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1404         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1405         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1406         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1408         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1409         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1410         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1411         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1413 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1415         * s_catan_template.c: Copy of s_catan.c.
1416         * s_catanh_template.c: Copy of s_catanh.c.
1417         * s_ctan_template.c: Copy of s_ctan.c.
1418         * s_ctanh_template.c: Copy of s_ctanh.c.
1420 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1422         * math/Makefile (gen-libm-calls): Move
1423         casin, casinh, csin, csinh here.
1424         (libm-calls): Remove the above.
1426         * math/s_casin_template.c: Update using type-generic macros.
1427         * math/s_casinh_template.c: Likewise.
1428         * math/s_csin_template.c: Likewise.
1429         * math/s_csinh_template.c: Likewise.
1430         * math/k_casinh_template.c: Likewise.
1432         * math/s_casinf.c: Removed.
1433         * math/s_casin.c: Removed.
1434         * math/s_casinl.c: Removed.
1435         * math/s_casinh.c: Removed.
1436         * math/s_casinhf.c: Removed.
1437         * math/s_casinhl.c: Removed.
1438         * math/s_csin.c: Removed.
1439         * math/s_csinf.c: Removed.
1440         * math/s_csinl.c: Removed.
1441         * math/s_csinh.c: Removed.
1442         * math/s_csinhf.c: Removed.
1443         * math/s_csinhl.c: Removed.
1444         * math/k_casinh.c: Removed.
1445         * math/k_casinhf.c: Removed.
1446         * math/k_casinhl.c: Removed.
1448         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1449         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1450         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1451         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1453         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1454         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1455         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1456         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1457         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1458         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1459         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1460         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1462         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1463         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1464         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1465         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1467         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1468         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1469         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1470         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1472 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1474         * s_casin_template.c: Copy of s_casin.c.
1475         * s_casinh_template.c: Copy of s_casinh.c.
1476         * s_csin_template.c: Copy of s_csin.c.
1477         * s_csinh_template.c: Copy of s_csinh.c.
1478         * k_casinh_template.c: Copy of k_casinh.c.
1480 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1482         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1484 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1486         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1487         (mul_split) Remove, rename as mul_splitl, remove
1488         redundant float.h include, and include via mul_splitl.h
1490         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1491         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1492         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1493         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1494         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1496         * math/mul_splitl.h: New file.
1498         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1499         Move into mul_split.h, and remove redundant float.h include.
1501         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1502         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1503         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1504         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1506         * math/mul_split.h: New file.
1508 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1510         * math/Makefile (libm-gen-calls): Move
1511         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1512         (libm-calls): Remove above.
1514         * math/s_cacos_template.c: Update using type-generic macros.
1515         * math/s_cacosh_template.c: Likewise.
1516         * math/s_ccos_template.c: Likewise.
1517         * math/s_ccosh_template.c: Likwise.
1519         * math/s_cacosf.c: Removed.
1520         * math/s_cacos.c: Removed.
1521         * math/s_cacosl.c: Removed.
1522         * math/s_cacoshf.c: Removed.
1523         * math/s_cacosh.c: Removed.
1524         * math/s_cacoshl.c: Removed.
1525         * math/s_ccosf.c: Removed.
1526         * math/s_ccos.c: Removed.
1527         * math/s_ccosl.c: Removed.
1528         * math/s_ccoshf.c: Removed.
1529         * math/s_ccosh.c: Removed.
1530         * math/s_ccoshl.c: Removed.
1532         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1533         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1534         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1535         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1536         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1537         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1539         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1540         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1541         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1542         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1544         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1545         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1546         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1547         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1549 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1551         * s_cacos_template.c: Copy of s_cacos.c.
1552         * s_cacosh_template.c: Copy of s_cacosh.c.
1553         * s_ccos_template.c: Copy of s_ccos.c.
1554         * s_ccosh_template.c: Copy of s_ccosh.c.
1556 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1558         * stdlib/tst-strtod-round-skeleton.c:
1559         Refactored from tst-strtod-round.c.
1561         (L_): New macro to apply literal modifier.
1562         (FNPFX): New macro to select str or wcs prefix.
1563         (CHAR): New macro to choose wchar_t or char.
1564         (STRM): New macro to choose printf for tested character type.
1566         (STRTO): New macro to choose appropriate string -> real function.
1567         (FNPFXS): Stringitized version of FNPFX.
1568         (STR): Support for above macro.
1569         (STRX): Likewise.
1571         (TEST): Update with above macros.
1572         (test): Likewise.
1573         (GEN_ONE_TEST): Likewise.
1574         (test_in_one_mode): Likewise.
1576         * stdlib/tst-strtod-round.c: New file.
1577         * wcsmbs/tst-wcstod-round.c: New file.
1579         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1580         (tst-wcstod-round): Add libm depencency for fesetround.
1582 2016-08-19  Zack Weinberg  <zackw@panix.com>
1584         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1586 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1588         [BZ #20477]
1589         * resolv/res_hconf.c (do_init): Use atomic access.
1590         * resolv/res_hconf.h: Add comments.
1591         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1592         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1595 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1597         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1598         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1599         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1600         Likewise.
1602 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1604         [BZ #16907]
1605         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1606         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1607         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1608         (__attribute__): Remove definition.
1610 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1612         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1613         Remove unused sqrtl declaration.
1615 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1617         * math/Makefile: (gen-libm-templates.stmp): New rule.
1618         (libm-calls): Move carg conj cimag and cabs into ...
1619         (gen-libm-calls): New variable.
1620         (generated): Inform Make objects from gen-libm-calls
1621         may be generated.
1623         * sysdeps/generic/math-type-macros.h: New file.
1624         * sysdeps/generic/math-type-macros-float.h: Likewise.
1625         * sysdeps/generic/math-type-macros-double.h: Likewise.
1626         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1627         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1628         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1630         * math/cabs.c: Refactor into
1631         * math/cabs_template.c: new file.
1632         * math/cabsf.c: Removed.
1633         * math/cabsl.c: Removed.
1634         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1635         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1637         * math/carg.c: Refactor into
1638         * math/carg_template.c: new file.
1639         * math/cargf.c: Removed.
1640         * math/cargl.c: Removed.
1641         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1642         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1644         * math/conj.c: Refactor into
1645         * math/conj_template.c: new file.
1646         * math/conjf.c: Removed.
1647         * math/conjl.c: Removed.
1648         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1649         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1651         * math/cimag.c: Refactor into
1652         * math/cimag_template.c: new file.
1653         * math/cimagf.c: Removed.
1654         * math/cimagl.c: Removed.
1655         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1656         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1658         * math/cimag.c: Refactor into
1659         * math/cimag_template.c: new file.
1660         * math/cimagf.c: Removed.
1661         * math/cimagl.c: Removed.
1662         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1663         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1665 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1667         Reduce time to expected nptl/tst-once5 failure.
1668         * nptl/tst-once5.cc (TIMEOUT): Define.
1670 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1672         [BZ #20452]
1673         Avoid additional copies of objects in libc.a in static libraries.
1674         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1675         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1676         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1677         rt-sysdep.
1678         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1679         Add nptl-sysdep.
1680         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1681         Add ptw-sysdep.
1682         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1683         rt-sysdep.
1684         * sysdeps/unix/sysv/linux/alpha/Makefile
1685         (libpthread-shared-only-routines): Add ptw-sysdep,
1686         ptw-sigprocmask, ptw-rt_sigaction.
1687         * sysdeps/unix/sysv/linux/ia64/Makefile
1688         (librt-shared-only-routines): Add rt-sysdep.
1689         * sysdeps/unix/sysv/linux/i386/Makefile
1690         (libpthread-shared-only-routines): Add libc-do-syscall.
1691         * sysdeps/unix/sysv/linux/microblaze/Makefile
1692         (libpthread-shared-only-routines): Add sysdep.
1693         * sysdeps/unix/sysv/linux/powerpc/Makefile
1694         (librt-shared-only-routines): Add rt-sysdep.
1695         (libpthread-shared-only-routines): Add sysdep.
1696         * sysdeps/unix/sysv/linux/s390/Makefile
1697         (librt-shared-only-routines): Add rt-sysdep.
1698         * sysdeps/unix/sysv/linux/sparc/Makefile
1699         (librt-shared-only-routines): Add rt-sysdep.
1700         (libpthread-shared-only-routines): Add sysdep.
1701         * sysdeps/unix/sysv/linux/tile/Makefile
1702         (libpthread-shared-only-routines): Likewise.
1704 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1706         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1707         Mask implicit bit out of unpacked value.
1708         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1709         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1710         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1712         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1714         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1716         * sysdeps/s390/fpu/fesetexcept.c: New file.
1718         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1719         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1720         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1722         * sysdeps/mips/fpu/fesetexcept.c: New file.
1724         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1726         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1728         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1730         * sysdeps/arm/fesetexcept.c: New file.
1732         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1734         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1736         * math/fesetexcept.c: New file.
1737         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1738         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1739         * math/fenv.h: Define
1740         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1741         <bits/libc-header-start.h> instead of including <features.h>.
1742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1743         declaration.
1744         * manual/arith.texi (fesetexcept): Document function.
1745         * math/Versions (fesetexcept): New libm symbol at version
1746         GLIBC_2.25.
1747         * math/Makefile (libm-support): Add fesetexcept.
1748         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1749         * math/test-fesetexcept.c: New file.
1750         * math/test-fesetexcept-traps.c: Likewise.
1751         * sysdeps/nacl/libm.abilist: Update.
1752         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1753         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1754         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1755         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1756         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1757         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1758         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1759         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1760         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1761         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1762         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1763         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1765         Likewise.
1766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1767         Likewise.
1768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1769         Likewise.
1770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1771         Likewise.
1772         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1773         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1774         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1775         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1776         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1778         Likewise.
1779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1780         Likewise.
1781         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1782         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1783         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1785 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1787         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1788         New.
1789         (do_test): Apply default_stack_size_in_mb if not set.
1790         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1792 2016-08-15  Andreas Schwab  <schwab@suse.de>
1794         [BZ #20435]
1795         CVE-2016-6323
1796         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1797         as .cantunwind.
1799 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1801         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1802         comment from fraiseexcpt.c.
1804         * math/test-fexcept.c (feraiseexcept_exact): New function.
1805         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1806         (test_except): Likewise.
1808 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1810         [BZ #20455]
1811         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1812         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1813         to be restored.
1815         * math/test-fexcept-traps.c: New file.
1816         * math/test-fexcept.c: Likewise.
1817         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1818         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1819         macro.
1820         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1821         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1823 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1825         * include/atomic.h (atomic_fetch_and_relaxed,
1826         atomic_fetch_and_release, atomic_fetch_or_release,
1827         atomic_fetch_xor_release): New.
1829 2016-08-06  Christian Seiler  <christian@iwakd.de>
1831         [BZ #20444]
1832         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1833         MACH_PORT_NULL.
1835 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1837         * math/s_fdim.c: Avoid alias renamed.
1838         * math/s_fdimf.c: Likewise.
1839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1840         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1841         Add s_fdimf-vis3, s_fdim-vis3.
1842         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1843         (CFLAGS-s_fdim-vis3.c): Likewise.
1844         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1845         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1847 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1850         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1851         Remove s_fdimf-vis3, s_fdim-vis3.
1852         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1853         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1860         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1861         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1863 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1865         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1866         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1867         -Wa,-Av9a -mvis.
1869 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1871         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1872         LIT() to individual constants in simple expressions
1873         after splitting on spaces.
1874         (_apply_lit): Rename replaced version, and use it to
1875         apply to what appears to be a token.
1877         * math/libm-test.inc: Fix many, many issues with
1878         spacing.
1880 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1882         * math/math.h: Move comment about <bits/mathdef.h> definitions
1883         above inclusion of <bits/mathdef.h>.  Do not mention
1884         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1886 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1888         * include/atomic.h (atomic_exchange_relaxed): New.
1890 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1892         * math/e_scalb.c: Do not include <fenv.h>.
1893         (invalid_fn): Do calculation resulting in NaN instead of raising
1894         FE_INVALID and returning a NaN explicitly.
1895         * math/e_scalbf.c: Do not include <fenv.h>.
1896         (invalid_fn): Do calculation resulting in NaN instead of raising
1897         FE_INVALID and returning a NaN explicitly.
1898         * math/e_scalbl.c: Do not include <fenv.h>.
1899         (invalid_fn): Do calculation resulting in NaN instead of raising
1900         FE_INVALID and returning a NaN explicitly.
1902 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1904         * po/de.po: Updated from Translation Project.
1905         * po/fi.po: Likewise.
1906         * po/sv.po: Likewise.
1908 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1910         [BZ #20452]
1911         Use sysdep.o from libc.a in static libraries.
1912         * sysdeps/unix/sysv/linux/i386/Makefile
1913         (libpthread-shared-only-routines): Add sysdep.
1914         (librt-shared-only-routines): Likewise.
1916 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1918         * math/tgmath.h (nextdown): Define if
1919         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1920         (nextup): Likewise.
1922         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1923         macro.
1924         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1925         Document.
1926         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1927         Document macro.
1928         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1929         (exp10f): Likewise.
1930         (exp10l): Likewise.
1931         * math/bits/mathcalls.h (exp10): Declare if
1932         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1934         * manual/arith.texi (nextup): Fix typo in last change.
1936 2016-08-03  Zack Weinberg  <zackw@panix.com>
1938         [BZ #19239]
1939         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1940         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1941         define major, minor, and makedev to issue deprecation warnings on use.
1942         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1943         previously-activated deprecation warnings for these macros and prevent
1944         subsequent inclusions of this header from having any effect.
1945         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1946         including <sys/sysmacros.h>, and undefine it again afterward.
1948 2016-08-03  Zack Weinberg  <zackw@panix.com>
1950         * sysdeps/generic/sys/sysmacros.h: Delete file.
1951         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1952         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1953         * bits/sysmacros.h: ... here; this encoding is now the generic
1954         encoding.  Now defines only the following macros:
1955         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1956         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1957         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1959         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1960         bits/sysmacros.h and the above new macros to generate the
1961         public implementations of major, minor, and makedev.
1962         * misc/tst-makedev.c: New test.
1963         * include/sys/sysmacros.h: New wrapper.
1965         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1966         (routines): Add makedev.
1967         (tests): Add tst-makedev.
1968         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1969         gnu_dev_makedev.
1970         * posix/Makefile (headers): Remove sys/sysmacros.h.
1971         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1973         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1974         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1975         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1976         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1977         * sysdeps/unix/sysv/linux/arm/libc.abilist
1978         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1979         * sysdeps/unix/sysv/linux/i386/libc.abilist
1980         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1981         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1982         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1983         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1984         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1985         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1986         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1987         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1988         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1993         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1994         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1995         * sysdeps/unix/sysv/linux/sh/libc.abilist
1996         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1997         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2000         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2001         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2002         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2003         Add GLIBC_2.25.
2005         * include/features.h (__glibc_clang_prereq): New macro.
2006         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2007         (__attribute_deprecated_msg__): New macros.
2009 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2011         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2012         macro.
2013         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2014         * manual/arith.texi (issignaling): Document as ISO from TS
2015         18661-1:2014.
2016         (nextup): Likewise.
2017         (nextupf): Likewise.
2018         (nextupl): Likewise.
2019         (nextdown): Likewise.
2020         (nextdownf): Likewise.
2021         (nextdownl): Likewise.
2022         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2023         macro.
2024         * math/math.h: Define
2025         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2026         <bits/libc-header-start.h> instead of including <features.h>.
2027         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2028         [__USE_GNU].
2029         * math/bits/mathcalls.h (nextdown): Declare if
2030         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2031         (nextup): Likewise.
2032         (__issignaling): Likewise.
2034 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2036         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2037         check, and remove __glibc_likely hint
2038         from FP_INFINITE check.
2039         * s_csinhf.c (__csinhf): Likewise.
2041         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2042         hint from FP_INFINITE check.
2043         * s_csinhl.c (__csinhl): Likewise.
2045 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2047         * math/Makefile (libm-calls): Insert F placeholder into
2048         object names.  Move w_lgamma_compat* routines into
2049         (libm-compat-calls): New variable.
2050         (libm-compat-calls-ldouble-yes): New variable.
2051         (calls): Insert F placeholder.
2052         (generated): Redefine using new type-foreach macro call.
2053         (routines): Likewise.
2055         (types): New variable to hold a list of symbolic names
2056         for each type supported by the target machine.
2057         (libm-routines): Redefine using new types variable.
2058         (type-foreach): macro to replace fooF with the
2059         appropriately suffixed foo for each types.
2061         (type-ldouble-suffix): New variable.
2062         (type-ldouble-routines): Likewise.
2063         (type-ldouble-yes): Likewise.
2064         (type-double-suffix): Likewise.
2065         (type-double-routines): Likewise.
2066         (type-float-suffix): Likewise.
2067         (type-float-routines): Likewise.
2069         (dbl-only-routines): Remove.
2070         (long-c-yes): Likewise.
2071         (long-m-routines): Likewise.
2072         (long-m-support): Likewise.
2073         (long-m-yes): Likewise.
2074         (test-longdouble-yes): Likewise.
2076         (test-float.o): Simplify by increasing the scope of the
2077         recipe which adds libm-test.stmp to the vector types.
2078         (test-ifloat.o): Likewise.
2079         (test-float-finite.o): Likewise.
2080         (test-double.o): Likewise
2081         (test-idouble.o): Likewise.
2082         (test-double-finite.o): Likewise.
2083         (test-ldouble.o): Likewise
2084         (test-ildoubl.o): Likewise.
2085         (test-ldouble-finite.o): Likewise.
2087         (libm-tests): Redefine type tests using foreach and the
2088         list of types in types.
2090         (CPPFLAGS-test-ildoubl.c): Rename to
2091         (CPPFLAGS-test-ildouble.c): New variable
2093         * math/test-ildoubl.c: Rename to
2094         * math/test-ildouble.c: New file.
2096 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2098         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2099         Use fabsl instead of fabs.
2100         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2101         Likewise.
2102         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2103         Add long double suffix to constant to ensure proper
2104         promotion to long double.
2106 2016-08-03  Tom Tromey  <tom@tromey.com>
2108         [BZ #20311]
2109         * nptl_db/Makefile (headers): Add proc_service.h.
2110         * nptl_db/proc_service.h: Add include guard.  Use
2111         __BEGIN/__END_DECLS.
2112         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2113         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2114         arguments.
2117 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2119         [BZ #17730]
2120         Avoid using memalign for TCB allocations.
2121         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2122         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2123         Avoid alignment gap in the TLS_DTV_AT_TP case.
2124         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2125         determine the pointer to free.
2126         * nptl/tst-tls3-malloc.c: New test.
2127         * nptl/Makefile (tests): Add it.
2128         (tst-tls3-malloc): Link with libdl, libpthread.
2129         (LDFLAGS-tst-tls3-malloc): Set.
2130         (tst-tls3-malloc.out): Depend on DSO used in test.
2132 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2134         [BZ #17730]
2135         Avoid using memalign for TLS allocations.
2136         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2137         is_static member with to_free member.
2138         (union dtv): Use struct dtv_pointer.
2139         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2140         dtv_pointer instead of is_static.
2141         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2142         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2143         instead of val.
2144         (allocate_dtv_entry): New function.
2145         (allocate_and_init): Return struct dtv_pointer.  Call
2146         allocate_dtv_entry instead of __libc_memalign.
2147         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2148         instead of val.
2149         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2150         instead of is_static.  Adjust call to allocate_and_init.
2151         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2152         struct dtv_pointer instead of val.
2154 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2156         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2157         (MALLOC_ALIGN_MASK): Move ...
2158         * malloc/malloc-internal.h: ... to here.
2159         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2161 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2163         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2164         (UDP_ENCAP_GTP1U): Likewise.
2166         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2167         (PF_MAX): Update value.
2168         (AF_QIPCRTR): New macro.
2170 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2172         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2173         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2174         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2175         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2176         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2177         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2178         s_truncf-vis3, s_trunc-vis3.
2179         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2180         (CFLAGS-s_ceil-vis3.c): Likewise.
2181         (CFLAGS-s_floorf-vis3.c): Likewise.
2182         (CFLAGS-s_floor-vis3.c): Likewise.
2183         (CFLAGS-s_truncf-vis3.c): Likewise.
2184         (CFLAGS-s_trunc-vis3.c): Likewise.
2185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2193         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2194         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2195         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2196         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2198 2016-08-02  David S. Miller  <davem@davemloft.net>
2200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2201         (__nearbyint_vis3): Don't check for sNaN before float register is
2202         loaded with the incoming argument.
2203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2204         (__nearbyintf_vis3): Likewise.
2205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2206         Likewise.
2207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2208         Likewise.
2210         * string/test-strncmp.c (do_test_limit): Make sure the test data
2211         stream is aligned as required for the type "CHAR".
2212         (do_test): Likewise.
2214 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2216         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2217         by beq instructions jumping to the end of the function.
2218         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2219         clobber list. Use "i" constraint instead of "X".
2220         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2221         of "X".
2223 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2225         * bits/libc-header-start.h: New file.
2226         * Makefile (headers): Add bits/libc-header-start.h.
2227         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2228         (__GLIBC_USE): New macro.
2229         * libio/stdio.h: Define
2230         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2231         <bits/libc-header-start.h> instead of including <features.h>.
2232         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2233         (open_memstream): Likewise.
2234         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2235         (__asprintf): Likewise.
2236         (asprintf): Likewise.
2237         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2238         (getdelim): Likewise.
2239         (getline): Likewise.
2240         * string/string.h: Define
2241         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2242         <bits/libc-header-start.h> instead of including <features.h>.
2243         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2244         (strndup): Likewise.
2245         * wcsmbs/wchar.h: Define
2246         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2247         <bits/libc-header-start.h> instead of including <features.h>.
2248         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2249         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2251 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2253         Support linking against compatibility symbols, for use in tests.
2254         * include/libc-symbols.h (symbol_version_reference): New macro.
2255         (symbol_version): Use it.
2256         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2257         (compat_symbol): Use compat_symbol_reference.
2258         (compat_symbol_1, compat_symbol_2): Remove.
2259         (compat_symbol_reference, compat_symbol_reference_1)
2260         (compat_symbol_reference_2): New macro.  Use
2261         symbol_version_reference.
2263 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2265         [BZ #19469]
2266         * malloc/Makefile (CPPFLAGS): Compile tests with
2267         -DTEST_NO_MALLOPT.
2268         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2270 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2272         [BZ #20033]
2273         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2274         finite version.
2275         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2276         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2277         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2278         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2279         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2280         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2281         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2282         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2283         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2284         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2285         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2286         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2287         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2288         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2289         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2290         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2291         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2292         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2293         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2294         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2295         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2296         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2297         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2298         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2299         in zero power.
2301 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2303         [BZ #20370]
2304         * malloc/arena.c (get_free_list): Update comment.  Assert that
2305         arenas on the free list have no attached threads.
2306         (remove_from_free_list): New function.
2307         (reused_arena): Call it.
2309 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2311         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2312         when it is a NaN.
2313         [_IEEE_FP_INEXACT] Remove.
2314         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2315         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2316         when it is a NaN.
2317         [_IEEE_FP_INEXACT] Remove.
2318         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2319         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2320         when it is a NaN.
2321         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2322         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2323         when its absolute value is greater than 0x1.0p52.
2324         [_IEEE_FP_INEXACT] Remove.
2325         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2326         when its absolute value is greater than 0x1.0p23.
2327         [_IEEE_FP_INEXACT] Remove.
2329 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2331         * version.h (RELEASE): Set to "development"
2332         (VERSION): Set to 2.24.90.
2333         * NEWS: Add 2.25 section.
2335         * version.h (RELEASE): Set to "stable"
2336         (VERSION): Set to 2.24.
2337         * include/features.h (__GLIBC_MINOR__): Set to 24.
2339         * NEWS: Add 2.24 fixed bugs.
2340         * po/libc.pot: Regenerate.
2342 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2345         [$(subdir) = math] (libm-sysdep_routines): Remove.
2346         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2347         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2348         s_truncf-vis3, s_trunc-vis3.
2349         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2351         file.
2352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2373         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2374         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2375         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2376         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2385         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2386         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2387         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2388         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2389         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2390         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2391         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2392         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2393         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2394         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2396 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2398         [BZ #20384]
2399         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2400         test-double-libmvec-sincos-avx-main.o,
2401         test-double-libmvec-sincos-avx2-main.o,
2402         test-double-libmvec-sincos-main.o,
2403         test-float-libmvec-sincosf-avx-main.o,
2404         test-float-libmvec-sincosf-avx2-main.o and
2405         test-float-libmvec-sincosf-main.o.
2406         test-float-libmvec-sincosf-avx512-main.o.
2407         ($(objpfx)test-double-libmvec-sincos): Also link with
2408         $(objpfx)test-double-libmvec-sincos-main.o.
2409         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2410         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2411         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2412         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2413         ($(objpfx)test-float-libmvec-sincosf): Also link with
2414         $(objpfx)test-float-libmvec-sincosf-main.o.
2415         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2416         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2417         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2418         test-double-libmvec-sincos-avx512-main.o and
2419         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2420         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2421         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2422         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2423         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2424         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2425         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2426         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2427         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2428         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2429         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2430         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2431         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2432         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2433         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2434         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2435         -DREQUIRE_AVX2.
2436         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2437         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2438         -DREQUIRE_AVX512F.
2439         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2440         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2441         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2442         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2443         file.
2444         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2445         Likewise.
2446         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2447         Likewise.
2448         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2449         Likewise.
2450         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2451         Likewise.
2452         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2453         Likewise.
2454         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2455         Likewise.
2456         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2457         Likewise.
2459 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2461         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2463 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2465         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2466         and typo in a comment about AT_HWCAP entry.
2468 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2470         * sysdeps/aarch64/libm-test-ulps: Updated.
2472 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2474         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2475         of r13 as it is not restored in mvcle case.
2477 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2479         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2480         Rename "ret" to "__ret".
2481         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2482         inline_syscall5, inline_syscall6): Likewise.
2484 2016-07-19   Will Newton  <will.newton@gmail.com>
2486         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2487         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2488         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2489         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2490         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2492 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2494         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2495         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2496         -mfpmath=387 with $(rtld-CFLAGS).
2497         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2498         $(rtld-CFLAGS).
2500 2016-07-18   Ross Burton  <ross.burton@intel.com>
2501              Khem Raj  <raj.khem@gmail.com>
2503         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2504         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2505         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2506         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2507         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2508         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2509         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2510         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2511         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2512         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2513         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2514         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2515         R_METAG_TLS_DTPOFF): New.
2517 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2518             Matt Clay  <mclay@lycos.com>
2520         [BZ #20357]
2521         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2522         to call __mpsin/__mpcos and to negate values.
2523         * math/auto-libm-test-in: Add test.
2524         * math/auto-libm-test-out: Regenerate.
2526 2016-07-18  Zack Weinberg  <zackw@panix.com>
2528         * grp/Makefile: Don't install the internal header grp-merge.h.
2530 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2532         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2534 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2536         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2538 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2540         [BZ #15368]
2541         * sysdeps/unix/sysv/linux/nptl-signals.h
2542         (__nptl_clear_internal_signals): New function.
2543         (__libc_signal_block_all): Likewise.
2544         (__libc_signal_block_app): Likewise.
2545         (__libc_signal_restore_set): Likewise.
2546         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2547         implementation.
2548         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2549         the cached pid/tid value in pthread structure.
2551 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2553         [BZ #20347]
2554         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2556 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2558         [BZ #20348]
2559         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2560         preadv64, pwrite64 and pwritev64.
2562 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2564         [BZ #20350]
2565         * posix/tst-preadwrite.c: Renamed to ...
2566         * posix/tst-preadwrite-common.c: This.
2567         (PREAD): Removed.
2568         (PWRITE): Likewise.
2569         (STRINGIFY): Likewise.
2570         (STRINGIFY2): Likewise.
2571         (do_prepare): Make it static and remove function arguments.
2572         (do_test): Likewise.
2573         (PREPARE): Updated.
2574         (TEST_FUNCTION): New.
2575         (name): Make it static.
2576         (fd): Likewise.
2577         (do_prepare): Use create_temp_file.
2578         (do_test): Renamed to ...
2579         (do_test_with_offset): This.  Make it static and accept offset.
2580         Properly check return value of PWRITE and PREAD.  Return bytes
2581         read.  Don't close fd nor unlink name.
2582         * posix/tst-preadwrite.c: Rewrite.
2583         * posix/tst-preadwrite64.c: Likewise.
2585 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2587         [BZ #20309]
2588         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2589         -mtls-dialect=gnu2 works.
2590         * configure: Regenerated.
2591         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2592         (tests): Add tst-gnu2-tls1.
2593         (modules-names): Add tst-gnu2-tls1mod.
2594         ($(objpfx)tst-gnu2-tls1): New.
2595         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2596         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2597         * elf/tst-gnu2-tls1.c: New file.
2598         * elf/tst-gnu2-tls1mod.c: Likewise.
2599         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2600         bytes for push in the PLT entry to align the stack.
2602 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2604         [BZ #20349]
2605         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2607 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2609         [BZ #18707]
2610         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2611         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2613 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2615         * sysdeps/unix/sysv/linux/sysdep.h
2616         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2617         guards.
2618         * misc/tst-preadvwritev-common.c: New file.
2619         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2620         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2621         a check for files larger than 2GB.
2623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2624         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2625         * sysdeps/unix/sysv/linux/pread.c
2626         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2627         __OFF_T_MATCHES_OFF64_T.
2628         * sysdeps/unix/sysv/linux/pread64.c
2629         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2630         * sysdeps/unix/sysv/linux/preadv.c
2631         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2632         * sysdeps/unix/sysv/linux/preadv64.c
2633         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2634         * sysdeps/unix/sysv/linux/pwrite.c
2635         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2636         * sysdeps/unix/sysv/linux/pwrite64.c
2637         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2638         * sysdeps/unix/sysv/linux/pwritev.c
2639         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2640         * sysdeps/unix/sysv/linux/pwritev64.c
2641         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2643 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2645         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2646         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2648 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2650         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2652 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2654         [BZ #20240]
2655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2656         (CFLAGS-s_modf-ppc32.c): New variable.
2657         (CFLAGS-s_modff-ppc32.c): Likewise.
2658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2659         (CFLAGS-s_modf-ppc64.c): Likewise.
2660         (CFLAGS-s_modff-ppc64.c): Likewise.
2662 2016-07-07  Andreas Schwab  <schwab@suse.de>
2664         [BZ #20263]
2665         * nptl/tst-robust10.c: New test.
2666         * nptl/Makefile (tests): Add tst-robust10.
2668 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2670         [BZ #20263]
2671         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2673 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2675         * sysdeps/s390/linkmap.h (struct link_map_machine):
2676         Remove member gotplt and add member jmprel.
2677         * sysdeps/s390/s390-32/dl-machine.h
2678         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2679         instead of gotplt with &got[3].
2680         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2681         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2683 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2685         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2687 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2689         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2690         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2691         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2692         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2693         * libio/vtables.c (_IO_vtable_check)
2694         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2695         * libio/libioP.h (IO_set_accept_foreign_vtables)
2696         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2698 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2700         [BZ #20314]
2701         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2702         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2703         $(common-objpfx)cmath.
2704         ($(common-objpfx)cstdlib): New target.
2705         ($(common-objpfx)cmath): Likewise.
2707 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2709         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2711 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2713         [BZ #20327]
2714         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2715         are not part of the string.
2717 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2719         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2720         * nptl/tst-cancel4-common.h (fifoname): New variable.
2721         (fifofd): Likewise.
2722         (cl_fifo): New function.
2723         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2724         SIGINT.
2725         (tf_open): Add early cancel test.
2727 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2729         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2731 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2733         * sysdeps/generic/ldsodefs.h
2734         (dl_symbol_visibility_binds_local_p): New inline function.
2735         * elf/dl-addr.c (determine_info): Treat hidden and internal
2736         symbols as local.
2737         * elf/dl-lookup.c (do_lookup_x): Likewise.
2738         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2740 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2742         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2743         invalid exception for a sNaN input.
2744         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2745         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2746         (__nearbyint_vis3): Likewise
2747         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2748         (__nearbyintf_vis3): Likewise
2749         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2750         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2751         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2752         Likewise.
2753         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2754         Likewise.
2756 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2758         [BZ #20139]
2759         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2760         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2761         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2762         2.24 or above.
2763         (HAVE_AVX512_ASM_SUPPORT): Removed.
2764         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2765         * sysdeps/x86_64/configure: Regenerated.
2766         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2767         check unconditional.
2768         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2769         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2770         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2771         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2772         Likewise.
2773         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2774         Likewise.
2775         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2776         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2777         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2778         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2779         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2780         Likewise.
2781         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2782         Likewise.
2783         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2784         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2785         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2786         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2787         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2788         Likewise.
2789         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2790         Likewise.
2791         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2792         Likewise.
2793         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2794         Likewise.
2795         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2796         Likewise.
2797         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2798         Likewise.
2799         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2800         Likewise.
2801         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2802         Likewise.
2803         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2804         Likewise.
2805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2806         Likewise.
2807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2808         Likewise.
2810 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2812         [BZ #20024]
2813         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2815         of this implementation of vector function.
2816         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2818         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2819         Likewise.
2820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2821         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2822         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2823         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2824         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2825         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2826         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2827         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2828         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2829         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2830         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2831         for testing vector sincos with fixed ABI.
2832         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2833         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2834         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2835         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2836         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2837         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2838         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2839         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2840         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2841         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2842         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2843         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2844         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2845         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2846         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2847         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2849 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2851         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2853 2016-06-30  Anton Blanchard  <anton@samba.org>
2855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2856         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2857         s_sinf-ppc64.
2858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2861         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2863 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2867         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2868         e_expf-ppc64.
2869         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2870         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2872         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2874 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2876         [BZ #20277]
2877         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2878         when SHARED is defined.
2880 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2882         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2883         (index_arch_Prefer_ERMS): Likewise.
2884         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2885         __memcpy_erms for Prefer_ERMS.
2886         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2887         (__memmove_erms): Enabled for libc.a.
2888         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2889         __memmove_erms or Prefer_ERMS.
2890         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2891         __mempcpy_erms for Prefer_ERMS.
2892         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2893         __memset_erms for Prefer_ERMS.
2895 2016-06-30  Andreas Schwab  <schwab@suse.de>
2897         [BZ #20262]
2898         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2899         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2900         of memory.
2902 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2904         [BZ #18645]
2905         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2906         (test-extras): Add tst-cleanupx4aux.
2907         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2908         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2909         tst-cleanupx4aux.o.
2910         * nptl/tst-cleanupx4aux.c: New file.
2912 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2914         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2916 2016-06-29  Andreas Schwab  <schwab@suse.de>
2918         [BZ #20260]
2919         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2920         address before the beginning of the string as an integer to avoid
2921         array-bounds warning.
2923 2016-06-28  Richard Henderson  <rth@redhat.com>
2925         * elf/elf.h (EM_BPF): New.
2926         (EM_NUM): Update.
2927         (R_BPF_NONE, R_BPF_MAP_FD): New.
2929         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2930         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2931         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2932         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2933         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2934         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2935         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2936         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2937         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2938         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2939         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2940         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2941         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2942         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2943         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2944         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2945         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2946         (EM_NUM): Update.
2948 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2950         [BZ #18960]
2951         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2952         Set _nl_current_LC_CATEGORY_used to two instead of one.
2954 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2956         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2957         (do_test): ... this.
2958         (TEST_FUNCTION): New macro.
2959          Include test-skeleton.c.
2960         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2961         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2963 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2965         [BZ #15479]
2966         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2967         floating-point environment rather than just control word.
2968         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2969         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2970         floating-point environment, with "invalid" exceptions merged in,
2971         rather than just control word.
2972         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2973         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2974         "inexact" exceptions.
2976         [BZ #15479]
2977         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2978         floating-point environment rather than just control word.
2979         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2980         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2981         floating-point environment, with "invalid" exceptions merged in,
2982         rather than just control word.
2983         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2984         * math/libm-test.inc (floor_test_data): Do not allow spurious
2985         "inexact" exceptions.
2987         [BZ #15479]
2988         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2989         floating-point environment rather than just control word.
2990         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2991         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2992         floating-point environment, with "invalid" exceptions merged in,
2993         rather than just control word.
2994         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2995         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2996         "inexact" exceptions.
2998 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3000         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3001         __libc_vfork.
3002         (__vfork) [IS_IN (libc)]: Remove alias.
3003         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3004         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3005         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3007 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3009         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3010         of atomic_compare_and_exchange_bool_rel.
3011         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3012         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3013         catomic_compare_and_exchange_bool_rel): Remove.
3014         * sysdeps/aarch64/atomic-machine.h
3015         (atomic_compare_and_exchange_bool_rel): Likewise.
3016         * sysdeps/alpha/atomic-machine.h
3017         (atomic_compare_and_exchange_bool_rel): Likewise.
3018         * sysdeps/arm/atomic-machine.h
3019         (atomic_compare_and_exchange_bool_rel): Likewise.
3020         * sysdeps/mips/atomic-machine.h
3021         (atomic_compare_and_exchange_bool_rel): Likewise.
3022         * sysdeps/microblaze/atomic-machine.h
3023         ( __arch_compare_and_exchange_bool_8_rel,
3024         __arch_compare_and_exchange_bool_16_rel): Likewise.
3025         * sysdeps/powerpc/atomic-machine.h
3026         ( __arch_compare_and_exchange_bool_8_rel,
3027         __arch_compare_and_exchange_bool_16_rel): Likewise.
3028         * sysdeps/powerpc/powerpc32/atomic-machine.h
3029         ( __arch_compare_and_exchange_bool_32_rel,
3030         __arch_compare_and_exchange_bool_64_rel): Likewise.
3031         * sysdeps/powerpc/powerpc64/atomic-machine.h
3032         ( __arch_compare_and_exchange_bool_32_rel,
3033         __arch_compare_and_exchange_bool_64_rel): Likewise.
3034         * sysdeps/tile/atomic-machine.h
3035         (atomic_compare_and_exchange_bool_rel): Likewise.
3037 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3039         [BZ #20296]
3040         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3041         when either argument is a NaN.
3042         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3043         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3045         * math/libm-test.inc (snan_value_ld): New macro.
3046         (isgreater_test_data): Add sNaN tests.
3047         (isgreaterequal_test_data): Likewise.
3048         (isless_test_data): Likewise.
3049         (islessequal_test_data): Likewise.
3050         (islessgreater_test_data): Likewise.
3051         (isunordered_test_data): Likewise.
3052         (nextafter_test_data): Likewise.
3053         (nexttoward_test_data): Likewise.
3054         (remainder_test_data): Likewise.
3055         (remquo_test_data): Likewise.
3056         (significand_test_data): Likewise.
3057         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3059 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3061         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3062         environment macros are defined.
3063         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3065 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3067         [BZ #20191]
3068         Implement vtable verification in libio.
3069         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3070         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3071         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3072         _IO_new_file_init_internal instead of _IO_file_init.
3073         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3074         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3075         * libio/Makefile (routines): Add vtables.
3076         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3077         (_IO_init): Remove, not for internal use.
3078         (_IO_init_internal): Declare, internal replacement for _IO_init.
3079         (_IO_file_init): Remove, not for internal use.
3080         (_IO_new_file_init): Remove, not for internal use.
3081         (_IO_new_file_init_internal): Declare, internal replacement for
3082         _IO_new_file_init.
3083         (_IO_old_file_init): Remove, not for internal use.
3084         (_IO_old_file_init_internal): Declare, internal replacement for
3085         _IO_old_file_init.
3086         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3087         internal use.
3088         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3089         Declare.
3090         (libio_vtable): New macro.
3091         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3092         functions.
3093         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3094         _IO_new_file_init.
3095         (_IO_new_file_init): New externally visible wrapper which disables
3096         vtable verification.
3097         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3098         Define as vtables.
3099         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3100         (_IO_init): New externally visible wrapper which disables
3101         vtable verification.
3102         * libio/iofdopen.c (_IO_new_fdopen): Call
3103         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3104         comment.
3105         * libio/iofopen.c (__fopen_internal): Call
3106         _IO_new_file_init_internal instead of _IO_file_init.
3107         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3108         Define as vtables.
3109         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3110         _IO_new_file_init_internal instead of _IO_file_init.
3111         * libio/iopopen.c (_IO_new_popen): Likewise.
3112         (_IO_proc_jumps): Define as vtable.
3113         * libio/iovdprintf.c (_IO_vdprintf): Call
3114         _IO_new_file_init_internal instead of _IO_file_init.
3115         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3116         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3117         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3118         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3119         _IO_old_file_init.
3120         (_IO_old_file_init): New externally visible wrapper which disables
3121         vtable verification.
3122         (_IO_old_file_jumps): Define as vtable.
3123         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3124         _IO_old_file_init_internal instead of _IO_old_file_init.
3125         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3126         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3127         (_IO_old_proc_jumps): Define as vtable.
3128         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3129         Define as vtables.
3130         * libio/vtables.c: New file.
3131         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3132         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3133         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3134         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3135         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3136         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3137         instead of _IO_init.
3139 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3141         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3143 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3145         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3146         potentially unused.
3148 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3150         * test-skeleton.c (write_message): New function.
3151         * malloc/tst-mallocfork2.c (write_message): Remove.
3152         * debug/tst-longjmp_chk2.c (write_indented): New function.
3153         (write_message): Remove.
3154         (stackoverflow_handler): Call write_indented.
3156 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3158         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3159         "inexact" exceptions after fnstenv.
3160         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3161         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3162         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3164 2015-06-22  Zack Weinberg  <zackw@panix.com>
3166         * sysdeps/generic/bits/hwcap.h: Moved to ...
3167         * bits/hwcap.h: Here.
3169 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3171         * sysdeps/aarch64/memcpy.S (memcpy):
3172         Further tuning for performance.
3174 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3176         [BZ #20284]
3177         * malloc/arena.c (reused_arena): Do not return NULL if we start
3178         out with a non-corrupted arena.
3180 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3182         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3183         * misc/tst-preadvwritev.c: New file.
3184         * misc/tst-preadvwritev64.c: Likewise.
3185         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3186         usage.
3187         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3188         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3189         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3190         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3192 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3194         [BZ #19654]
3195         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3196         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3197         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3198         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3199         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3200         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3201         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3202         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3203         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3204         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3205         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3206         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3207         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3208         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3209         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3210         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3211         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3212         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3213         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3214         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3215         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3216         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3217         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3218         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3219         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3220         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3222 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3224         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3225         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3227 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3229         * sysdeps/aarch64/memcpy.S (memcpy):
3230         Rewrite of optimized memcpy and memmove.
3231         * sysdeps/aarch64/memmove.S (memmove): Remove
3232         memmove code (merged into memcpy.S).
3234 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3236         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3237         * sysdeps/generic/dl-dtv.h: New file.
3238         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3239         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3240         (dtv_t): Remove.
3241         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3242         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3243         (dtv_t): Remove.
3244         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3245         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3246         (dtv_t): Remove.
3247         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3248         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3249         (dtv_t): Remove.
3250         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3251         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3252         (dtv_t): Remove.
3253         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3254         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3255         (dtv_t): Remove.
3256         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3257         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3258         (dtv_t): Remove.
3259         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3260         (dtv_t): Remove.
3261         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3262         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3263         (dtv_t): Remove.
3264         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3265         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3266         (dtv_t): Remove.
3267         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3268         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3269         (dtv_t): Remove.
3270         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3271         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3272         (dtv_t): Remove.
3273         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3274         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3275         (dtv_t): Remove.
3276         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3277         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3278         (dtv_t): Remove.
3279         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3280         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3281         (dtv_t): Remove.
3282         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3283         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3284         (dtv_t): Remove.
3286 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3288         Revert symbol poisoning of  __malloc_initialize_hook.
3289         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3290         poisoning.
3291         * malloc/Makefile: Remove un-poisoning.
3292         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3293         instead of old__malloc_initialize_hook.
3294         * malloc/malloc-hooks.h: Likewise.
3295         * malloc/malloc.c: Likewise.
3296         * malloc/mcheck-init.c: Likewise.
3298 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3300         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3302 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3304         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3305         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3306         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3307         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3309 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3311         * NEWS: Mention addition of nextup and nextdown.
3312         * manual/arith.texi: Document nextup and nextdown.
3313         * manual/libm-err-tab.pl: Add nextup and nextdown.
3314         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3315         * math/Versions (libm): Add GLIBC_2.24.
3316         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3317         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3318         Add new test.
3319         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3320         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3321         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3322         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3323         (nextup_test_data): Likewise.
3324         (nextdown_test_data): Likewise.
3325         * math/s_nextdown.c: New file.
3326         * math/s_nextdownf.c: Likewise.
3327         * math/s_nextdownl.c: Likewise.
3328         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3329         F(nextup): New function.
3330         F(nextdown): Likewise.
3331         * math/tgmath.h: Add nextup and nextdown.
3332         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3333         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3334         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3335         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3336         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3337         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3338         Add nextup and nextdown.
3339         (CFLAGS-nldbl-nextup.c): New variable.
3340         (CFLAGS-nldbl-nextdown.c): Likewise.
3341         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3342         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3343         * sysdeps/nacl/libm.abilist: Update.
3344         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3345         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3346         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3347         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3348         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3349         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3350         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3351         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3352         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3353         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3354         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3355         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3358         Likewise.
3359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3361         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3362         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3363         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3364         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3365         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3368         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3369         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3370         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3371         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3373 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3375         * manual/pattern.texi: Fix typos & grammar errors.
3377 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3379         * manual/search.texi: Fix typos & grammar errors.
3381 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3383         * manual/message.texi: Fix typos & grammar errors.
3385 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3387         * manual/contrib.texi: Fix spelling typos.
3388         * manual/crypt.texi: Likewise.
3389         * manual/filesys.texi: Likewise.
3390         * manual/locale.texi: Likewise.
3391         * manual/message.texi: Likewise.
3392         * manual/nss.texi: Likewise.
3393         * manual/string.texi: Likewise.
3395 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3397         * manual/locale.texi: Fix typos & grammar errors.
3399 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3401         * manual/charset.texi: Fix typos & grammar errors.
3403 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3405         * manual/string.texi: Fix typos.
3407 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3409         * manual/ctype.texi: Fix typos.
3411 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3413         * manual/memory.texi: Fix various typos & grammar errors.
3415 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3417         [BZ #20255]
3418         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3419         * math/libm-test.inc (fdim_test_data): Add another test.
3421         [BZ #6796]
3422         [BZ #20255]
3423         [BZ #20256]
3424         * math/s_fdim.c: Include <math_private.h>.
3425         (__fdim): Use math_narrow_eval on result.
3426         * math/s_fdimf.c: Include <math_private.h>.
3427         (__fdimf): Use math_narrow_eval on result.
3428         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3429         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3430         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3431         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3432         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3433         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3434         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3435         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3436         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3437         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3438         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3439         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3440         overflow.  Add sNaN tests.
3442         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3443         fpclassify.
3444         * math/s_fdimf.c (__fdimf): Likewise.
3445         * math/s_fdiml.c (__fdiml): Likewise.
3447 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3449         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3450         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3452         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3453         ifunc'ed strcasecmp/strncasecmp.
3454         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3455         [EALIGN]: Removed.
3456         [END]: Likewise.
3457         [__strcasecmp]: Define instead of the above to control symbol name.
3458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3459         for __strcasecmp_power8.
3460         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3461         for __strncasecmp_power8.
3462         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3463         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3464         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3465         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3466         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3467         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3469 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3471         [BZ #20252]
3472         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3473         arguments when second argument is a NaN.
3474         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3475         qNaN tests.
3477         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3478         (conj_test_data): Likewise.
3479         (copysign_test_data): Likewise.
3480         (creal_test_data): Likewise.
3481         (fma_test_data): Likewise.
3482         (fmod_test_data): Likewise.
3484         [BZ #20250]
3485         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3486         itself.
3487         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3488         zero input to itself.
3489         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3490         Likewise.
3491         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3492         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3493         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3494         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3495         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3497 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3499         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3500         * nptl/tst-cancel4-common.c: New file.
3501         * nptl/tst-cancel4-common.h: Likewise.
3502         * nptl/tst-cancel4.c: Move common definitions to
3503         tst-cancel4-common.{c,h} file.
3504         * nptl/tst-cancel4_1.c: New test.
3505         * nptl/tst-cancel4_2.c: New test.
3507 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3509         [BZ #20248]
3510         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3511         (write_message): New function.
3512         (stackoverflow_handler): Call it instead of printf, to avoid
3513         excessive stack usage by printf.
3514         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3516 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3518         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3519         (prio_inherit_missing): Remove define.
3520         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3521         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3522         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3523         Likewise.
3524         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3525         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3527         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3528         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3529         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3531 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3533         [BZ #19670]
3534         [BZ #19672]
3536         * io/test-lfs.c (do_prepare): Use xmalloc.
3537         * io/tst-fcntl.c (do_prepare): Likewise.
3538         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3539         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3540         * login/tst-utmp.c (do_prepare): Likewise.
3541         * posix/tst-exec.c (do_prepare): Likewise.
3542         * posix/tst-pathconf.c (prepare): Likewise.
3543         * posix/tst-spawn.c (do_prepare): Likewise.
3544         * posix/tst-truncate.c (do_prepare): Likewise.
3545         * rt/tst-aio.c (do_prepare): Likewise.
3546         * rt/tst-aio64.c (do_prepare): Likewise.
3548 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3550         [BZ #20237]
3551         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3552         (get*ent): Set entidx to NULL during initialization.  If entidx is
3553         NULL, start iteration from the beginning.
3555 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3557         * malloc/malloc.c (musable): Return correct size for dumped fake
3558         mmapped chunk.
3560 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3562         [BZ #20222]
3563         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3564         (_IO_cookie_write): Likewise.
3565         (_IO_cookie_seek): Likewise.
3566         (_IO_cookie_close): Likewise.
3567         (_IO_old_cookie_seek): Likewise.
3568         (set_callbacks): New function.
3569         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3571 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3573         * locale/programs/localedef.c (oldstyle_tables): Remove.
3574         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3576 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3578         [BZ #20240]
3579         * math/Makefile (CFLAGS-s_modf.c): New variable.
3580         (CFLAGS-s_modff.c): Likewise.
3581         (CFLAGS-s_modfl.c): Likewise.
3582         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3584 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3586         [BZ #20215]
3587         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3588         [!__GNUC_PREREQ (3,2)]: Likewise.
3590 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3592         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3593         (msghdr.msg_controllen): Likewise.
3594         (cmsghdr.cmsg_len): Likewise.
3595         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3596         ptw-oldsendmsg.
3597         (CFLAGS-oldrecvmsg.c): Remove rule.
3598         (CFLAGS-oldsendmsg.c): Likewise.
3599         (CFLAGS-recvmsg.c): Add rule.
3600         (CFLAGS-sendmsg.c): Likewise.
3601         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3602         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3603         (CFLAGS-recvmsg.c): Remove rule.
3604         (CFLAGS-sendmsg.c): Likewise.
3605         (CFLAGS-oldrecvmsg.c): Likewise.
3606         (CFLAGS-oldsendmsg.c): Likewise.
3607         (CFLAGS-recvmmsg.c): Likewise.
3608         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3609         to kernel defined interfaces.
3610         (msghdr.msg_controllen): Likewise.
3611         (cmsghdr.cmsg_len): Likewise.
3612         (msghdr.__glibc_reserved1): Remove member.
3613         (msghdr.__glibc_reserved2): Likewise.
3614         (cmsghdr.__glibc_reserved1): Likewise.
3615         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3616         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3617         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3618         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3619         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3620         version.
3621         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3622         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3623         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3624         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3625         Remove recvmsg and sendmsg.
3626         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3627         Likewise.
3628         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3629         Likewise.
3630         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3631         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3632         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3633         Likewise.
3634         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3635         Likewise.
3636         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3637         [libc] (GLIBC_2.24): Likewise.
3638         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3639         Likewise.
3640         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3641         Likewise.
3642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3643         [libc] (GLIBC_2.24): Likewise.
3644         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3645         Likewise.
3646         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3647         Likewise.
3648         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3649         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3650         Likewise.
3651         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3652         Likewise.
3653         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3654         Likewise.
3655         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3656         Likewise.
3657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3658         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3659         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3660         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3661         version for {recv,send,recm,sendm}msg.
3662         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3663         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3664         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3665         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3666         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3667         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3668         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3669         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3670         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3671         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3672         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3673         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3675         Likewise.
3676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3677         Likewise.
3678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3680         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3681         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3682         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3683         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3684         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3685         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3688         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3689         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3690         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3692 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3694         [BZ #19564]
3695         Remove __malloc_initialize_hook from the API.
3696         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3697         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3698         #pragma GCC poison.
3699         * malloc/malloc-hooks.h: New file.
3700         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3701         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3702         (old__malloc_initialize_hook): Rename from
3703         __malloc_initialize_hook to evade poisoning.  Turn into compat
3704         symbol.
3705         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3706         __malloc_initialize_hook.
3707         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3708         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3709         * manual/memory.texi (Hooks for Malloc): Remove
3710         __malloc_initialize_hook.  Adjust hook example.
3712 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3714         [BZ #20235]
3715         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3716         itself.
3717         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3718         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3720         [BZ #20234]
3721         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3722         infinity or NaN input to itself.
3724         [BZ #20233]
3725         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3726         to itself.
3728         [BZ #20232]
3729         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3730         itself.
3732 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3734         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3735         __libc_start_main via GOT.
3737 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3739         * sysdeps/x86_64/memcopy.h: New file.
3740         * sysdeps/x86_64/wordcopy.c: Likewise.
3742 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3744         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3745         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3746         <cstdlib>.
3747         (optimization_barrier): New.
3748         (do_test): Use it.  Call quick_exit in the global namespace.
3749         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3750         instead of <cstdlib>, <thread>.
3751         (optimization_barrier): New.
3752         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3753         Call quick_exit in the global namespace.
3754         (do_test): Call optimization_barrier.  Use pthread_create,
3755         pthread_join instead of std::thread.
3757 2016-06-09  Andreas Schwab  <schwab@suse.de>
3759         [BZ #19755]
3760         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3761         new entries in auto-propagate mode.
3762         * nscd/grpcache.c (cache_addgr): Likewise.
3764 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3766         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3767         New functions.
3768         (add_temp_file): Use them.
3770 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3772         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3774 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3776         [BZ #20229]
3777         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3778         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3779         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3781         [BZ #20228]
3782         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3783         itself.
3784         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3785         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3787         [BZ #20227]
3788         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3789         itself.
3790         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3791         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3792         * math/libm-test.inc (log_test_data): Add sNaN tests.
3794         [BZ #20226]
3795         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3796         itself.
3797         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3798         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3799         (exp10_test_data): Likewise.
3800         (expm1_test_data): Likewise.
3802         [BZ #20225]
3803         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3804         itself.
3805         * math/s_ldexpf.c (__ldexpf): Likewise.
3806         * math/s_ldexpl.c (__ldexpl): Likewise.
3807         * math/w_scalbln.c (__w_scalbln): Likewise.
3808         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3809         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3810         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3811         (scalbln_test_data): Likewise.
3813         [BZ #20224]
3814         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3815         argument to itself.
3816         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3818 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3820         [BZ #19776]
3821         * sysdeps/x86_64/memcpy.S: Make it dummy.
3822         * sysdeps/x86_64/mempcpy.S: Likewise.
3823         * sysdeps/x86_64/memmove.S: New file.
3824         * sysdeps/x86_64/memmove_chk.S: Likewise.
3825         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3826         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3827         * sysdeps/x86_64/memmove.c: Removed.
3828         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3829         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3830         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3831         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3832         Likewise.
3833         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3834         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3836         memcpy-sse2-unaligned, memmove-avx-unaligned,
3837         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3839         (__libc_ifunc_impl_list): Replace
3840         __memmove_chk_avx512_unaligned_2 with
3841         __memmove_chk_avx512_unaligned.  Remove
3842         __memmove_chk_avx_unaligned_2.  Replace
3843         __memmove_chk_sse2_unaligned_2 with
3844         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3845         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3846         with __memmove_avx512_unaligned.  Replace
3847         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3848         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3849         with __memcpy_chk_avx512_unaligned.  Remove
3850         __memcpy_chk_avx_unaligned_2.  Replace
3851         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3852         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3853         Replace __memcpy_avx512_unaligned_2 with
3854         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3855         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3856         with __mempcpy_chk_avx512_unaligned.  Remove
3857         __mempcpy_chk_avx_unaligned_2.  Replace
3858         __mempcpy_chk_sse2_unaligned_2 with
3859         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3860         Replace __mempcpy_avx512_unaligned_2 with
3861         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3862         Replace __mempcpy_sse2_unaligned_2 with
3863         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3864         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3865         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3866         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3867         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3868         (ENTRY): Removed.
3869         (END): Likewise.
3870         (ENTRY_CHK): Likewise.
3871         (libc_hidden_builtin_def): Likewise.
3872         Don't include ../memcpy.S.
3873         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3874         __memcpy_chk_avx512_unaligned_erms and
3875         __memcpy_chk_avx512_unaligned.  Use
3876         __memcpy_chk_avx_unaligned_erms and
3877         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3878         Default to __memcpy_chk_sse2_unaligned.
3879         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3880         Change function suffix from unaligned_2 to unaligned.
3881         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3882         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3883         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3884         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3885         (ENTRY): Removed.
3886         (END): Likewise.
3887         (ENTRY_CHK): Likewise.
3888         (libc_hidden_builtin_def): Likewise.
3889         Don't include ../mempcpy.S.
3890         (mempcpy): New.  Add a weak alias.
3891         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3892         __mempcpy_chk_avx512_unaligned_erms and
3893         __mempcpy_chk_avx512_unaligned.  Use
3894         __mempcpy_chk_avx_unaligned_erms and
3895         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3896         Default to __mempcpy_chk_sse2_unaligned.
3898 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3900         [BZ #19881]
3901         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3902         into ...
3903         * sysdeps/x86_64/memset.S: This.
3904         (__bzero): Removed.
3905         (__memset_tail): Likewise.
3906         (__memset_chk): Likewise.
3907         (memset): Likewise.
3908         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3909         defined.
3910         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3911         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3912         (__memset_zero_constant_len_parameter): Check SHARED instead of
3913         PIC.
3914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3915         memset-avx2 and memset-sse2-unaligned-erms.
3916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3917         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3918         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3919         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3920         (__bzero): Enabled.
3921         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3922         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3923         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3924         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3925         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3926         (memset): Removed.
3927         (__memset_chk): Likewise.
3928         (MEMSET_SYMBOL): New.
3929         (libc_hidden_builtin_def): Replace __memset_sse2 with
3930         __memset_sse2_unaligned.
3931         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3932         __memset_chk_sse2 and __memset_chk_avx2 with
3933         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3934         Use __memset_chk_sse2_unaligned_erms or
3935         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3936         __memset_chk_avx512_unaligned_erms and
3937         __memset_chk_avx512_unaligned.
3939 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3941         * math/gen-auto-libm-test.c (fp_format_desc): remove
3942         suffix member.
3943         (output_generic_value): Remove usage of suffix member,
3944         and the resulting unuse of the fp_format argument.
3945         (output_for_one_input_case): Remove unused fp_format
3946         parameter.
3948         * math/auto-libm-test-out: Regenerate.
3950         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3951         usage with TEST_COND_ibm128.
3952         (TEST_COND_flt_32): Remove.
3953         (TEST_COND_dbl_64): Remove.
3954         (TEST_COND_ldbl_96_intel): Remove.
3955         (TEST_COND_ldbl_96_m68k): Remove.
3956         (TEST_COND_ldbl_128): Remove.
3958 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3960         * auto-libm-test-in:
3961         Replace flt-32 usage with binary32.
3962         Replace dbl-64 usage with binary64.
3963         Replace ldbl-intel-96 usage with intel96.
3964         Replace ldbl-m68k-96 usage with m68k96.
3965         Replace ldbl-128ibm usage with ibm128.
3966         Replace ldbl-128 usage with binary128.
3968         * auto-libm-test-out: Regenerate.
3970 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3972         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3973         (parse_ulps): Dynamically generate type name matching
3974         string from all_floats.
3975         (get_ulps): Generate the ulps as an array instead.
3976         (output_ulps): Dynamically compose the type based
3977         on the number of supported formats, and print
3978         the indices as type specific helper macros.
3980         * math/libm-test.inc: Remove comment about CHOOSE.
3981         (ulp_data): Generate the type in libm-test-ulps.h.
3982         (ULP_IDX): New macro.
3983         (find_ulps): Update usage of max_ulp.
3985         * math/test-double-vlen2.h (CHOOSE): Remove.
3986         * math/test-double-vlen4.h (CHOOSE): Likewise.
3987         * math/test-double-vlen8.h (CHOOSE): Likewise.
3988         * math/test-float.c (CHOOSE): Likewise.
3989         * math/test-float-finite.c (CHOOSE): Likewise.
3990         * math/test-double.c (CHOOSE): Likewise.
3991         * math/test-double-finite.c (CHOOSE): Likewise.
3992         * math/test-idouble.c (CHOOSE): Likewise.
3993         * math/test-ifloat.c (CHOOSE): Likewise.
3994         * math/test-ildoubl.c (CHOOSE): Likewise.
3995         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3996         * math/test-ldouble.c (CHOOSE): Likewise.
3998         * math/test-float.h (TEST_FLOAT): Remove.
3999         * math/test-double.h (TEST_DOUBLE): Likewise.
4000         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4002 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4004         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4005         (parse_args): Strip C suffix from floating point literals
4006         typed with 'f' and wrap them with LIT().
4008         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4009         (test_ff_f_data_nexttoward): Rename to
4010         (test_fj_f_data): New struct.
4011         (nexttoward_test_data): Relabel tests as
4012         TEST_fj_f instead of TEST_ff_f.
4014 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4016         Emacs bug 23726.
4017         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4018         (__libc_realloc): Correct size computation for dumped fake mmapped
4019         chunks.
4021 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4023         [BZ #20219]
4024         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4025         to itself.
4026         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4028         [BZ #20218]
4029         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4030         to itself.
4031         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4033 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4035         [BZ #20195]
4036         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4037         check to ...
4038         (init_cpu_features): Here.
4040 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4042         [BZ #20214]
4043         * sysdeps/unix/sysv/linux/bits/in.h
4044         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4045          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4046         Define to 1.
4047         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4048          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4049         Define to 0.
4050         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4051         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4053 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4055         [BZ #20198]
4056         * stdlib/Makefile (tests): Add tst-quick_exit, and
4057         tst-thread-quick_exit.
4058         [ifeq ($(have-cxx-thread_local),yes)]
4059         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4060         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4061         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4062         (LDLIBS-tst-thread-quick_exit): Likewise.
4063         [ifneq ($(have-cxx-thread_local),yes)]
4064         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4065         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4066         If run_dtors is true call __call_tls_dtors.
4067         (exit): Call __run_exit_handlers with run_dtors set to true.
4068         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4069         definition.
4070         * stdlib/quick_exit.c (quick_exit): Remove function.
4071         (__new_quick_exit): New function.
4072         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4073         function.
4074         * stdlib/tst-quick_exit.cc: New file.
4075         * stdlib/tst-thread-quick_exit.cc: New file.
4076         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4077         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4078         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4079         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4080         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4081         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4082         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4083         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4084         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4085         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4086         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4087         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4088         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4089         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4090         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4091         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4096         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4097         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4098         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4099         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4100         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4103         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4104         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4105         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4107 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4109         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4110         a typo in comments.
4112 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4114         [BZ #20213]
4115         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4116         argument to itself.
4117         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4119 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4121         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4122         required flags.
4123         (CFLAGS-pwritev64.c): Likewise.
4124         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4125         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4126         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4127         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4128         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4129         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4130         syscall from auto-generation.
4131         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4132         [WORDSIZE == 64] (pwritev64): Remove macro.
4133         [!PWRITEV] (PWRITEV): Likewise.
4134         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4135         [!PWRITEV] (PWRITE): Likewise.
4136         [!PWRITEV] (OFF_T): Likewise.
4137         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4138         (LO_HI_LONG): Remove macro.
4139         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4140         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4141         (PWRITEV): Remove macro.
4142         (PWRITEV_REPLACEMENTE): Likewise.
4143         (PWRITE): Likewise.
4144         (OFF_T): Likewise.
4145         (pwritev64): New function.
4146         * nptl/tst-cancel4.c (tf_writev): Add test.
4148         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4149         required flags.
4150         (CFLAGS-preadv64.c): Likewise.
4151         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4152         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4153         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4154         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4155         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4156         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4157         syscall from auto-generation.
4158         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4159         [WORDSIZE == 64] (preadv64): Remove macro.
4160         [!PREADV] (PREADV): Likewise.
4161         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4162         [!PREADV] (PREAD): Likewise.
4163         [!PREADV] (OFF_T): Likewise.
4164         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4165         (LO_HI_LONG): Remove macro.
4166         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4167         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4168         (PREADV): Remove macro.
4169         (PREADV_REPLACEMENTE): Likewise.
4170         (PREAD): Likewise.
4171         (OFF_T): Likewise.
4172         (preadv64): New function.
4173         * nptl/tst-cancel4.c (tf_preadv): Add test.
4175 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4177         [BZ #20212]
4178         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4179         argument to itself.
4180         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4182 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4184         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4185         New symbol defined as libc_hidden_def.
4186         (strcasestr): Became a weak alias to __strcasestr.
4187         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4188         according to multi-arch support.  Move __stpncpy hidden
4189         definition from here to...
4190         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4191         symbol stpncpy.
4192         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4193         libc_hidden_builtin_def.
4194         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4195         memset symbol to use when multi-arch support is available.
4197 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4199         * dlfcn/tst-rec-dlopen.c: Include string.h.
4201 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4203         * manual/install.texi: Remove mention of --without-tls
4204         * INSTALL: Regenerate.
4206 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4208         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4209         Remove.
4210         (call_function, interposed_malloc_called): New variables.
4211         (malloc): New function.
4212         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4213         and clear call_function as needed.
4215 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4217         * include/wchar.h (__wmemset): Use __typeof.
4219 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4221         * include/wchar.h (__wmemset): Declare function without typeof.
4223 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4225         [BZ #20205]
4226         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4227         exponent when incrementing negative subnormal with low mantissa
4228         word zero.
4229         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4230         Add another test.
4232 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4234         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4235         __wmemset instead of wmemset.
4237 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4239         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4240         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4241         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4242         __USE_KERNEL_IPV6_DEFS to 0.
4243         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4244         Update comment.
4246 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4248         [BZ #19861]
4249         Do not use IFUNC resolver with potentially unrelocated symbol.
4250         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4251         (DEFINE_FORK): Remove macro and inline definition.
4252         (fork_alias): Renamed from fork_ifunc.
4253         (__fork_alias): Renamed from __fork_ifunc.
4255 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4257         [BZ 19653]
4258         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4259         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4261 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4263         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4264         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4265         i386-linux-gnu).
4266         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4267         Set to no.
4268         * sysdeps/mach/hurd/configure: Refresh.
4270 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4272         [BZ #20178]
4273         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4274         on failure instead of exit.
4276 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4278         [BZ #3629]
4279         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4280         of POSIX.1-2008.
4282 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4284         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4285           Use PLT entry for calling _hurd_self_sigstate.
4287 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4289         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4290         available logical processors with SMT level type sharing L2
4291         cache for Intel processors.
4293 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4295         [BZ #20160]
4296         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4297         argument to itself before returning the result.
4298         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4299         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4300         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4301         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4302         Likewise.
4303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4304         Likewise.
4305         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4306         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4307         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4308         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4309         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4310         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4312         [BZ #20160]
4313         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4314         argument to itself before returning the result.
4315         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4316         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4317         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4318         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4319         Likewise.
4320         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4321         Likewise.
4322         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4323         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4324         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4325         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4326         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4327         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4329 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4331         * libm-test.inc: Replace usage of M_El with
4332         (lit_e): New macro.
4334 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4336         * libm-test.inc: Replace usage of M_PI_4l with
4337         (lit_pi_4_d): New macro.
4339 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4341         * libm-test.inc: Replace usage of M_PIl with
4342         (lit_pi): New macro.
4344 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4346         * libm-test.inc: Replace usage of M_PI2l with
4347         (lit_pi_2_d): New macro.
4349         * math/test-double.h (LITM): New macro.
4350         * math/test-float.h (LITM): Likewise.
4351         * math/test-ldouble.h (LITM): Likewise.
4353 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4355         * libm-test.inc (M_PI_34l): Rename to
4356         (lit_pi_3_m_4_d): New Macro.
4357         (M_PI_34_LOG10El): Rename to
4358         (lit_pi_3_m_4_ln10_m_d): New Macro.
4359         (M_PI2_LOG10El): Rename to
4360         (lit_pi_2_ln10_m_d):  New Macro.
4361         (M_PI4_LOG10El): Rename to
4362         (lit_pi_4_ln10_m_d):  New Macro.
4363         (M_PI_LOG10El): Rename to
4364         (lit_pi_ln10_d):  New Macro.
4366 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4368         [BZ #20157]
4369         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4370         determine whether to negate low half if [_ARCH_PPCGR], and integer
4371         comparison otherwise.
4372         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4373         determine whether to negate low half.
4375         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4376         (NO_TEST_INLINE_DOUBLE): Likewise.
4377         (TEST_COND_x86_64): Likewise.
4378         (TEST_COND_x86): Likewise.
4379         (M_PI_6l): Likewise.
4381 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4383         * math/libm-test.inc:
4384         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4385         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4386         (TEST_LDOUBLE): Update usage to evaluate as true if
4387         the guarded tests match the property being tested.
4388         (LDBL_MAX_EXP): Change to MAX_EXP.
4389         (LDBL_MIN_EXP): Change to MIN_EXP.
4390         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4391         nexttoward tests.
4393 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4395         * math/libm-test.inc:
4396         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4397         (TYPE_MIN): Likewise.
4398         (TYPE_TRUE_MIN): Likewise.
4399         (TYPE_MAX): Likewise.
4400         (MIN_EXP): Likewise.
4401         (MAX_EXP): Likewise.
4402         (MANT_DIG): Likewise.
4404         (FSTR_MAX): New macro.
4405         (__CONCATX): Likewise.
4406         (QTYPE_STR): Likewise.
4407         (TEST_COND_binary32): Likewise.
4408         (TEST_COND_binary64): Likewise.
4409         (TEST_COND_binary128): Likewise.
4410         (TEST_COND_ibm128): Likewise.
4411         (TEST_COND_intel96): Likewise.
4412         (TEST_COND_m68k96): Likewise.
4414         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4415         (TEST_COND_dbl_64): Likewise.
4416         (TEST_COND_ldbl_96_intel): Likewise.
4417         (TEST_COND_ldbl_96_m68k): Likewise.
4418         (TEST_COND_ldbl_128): Likewise.
4419         (TEST_COND_ldbl_128ibm): Likewise.
4421         (plus_zero): Redefine using LIT macro.
4422         (minus_zero): Likewise.
4423         (plus_infty): Redefine as (INF).
4424         (minux_infty): Redefine as (-INF).
4425         (max_value): Redefine as TYPE_MAX.
4426         (min_value): Redefine as TYPE_MIN.
4427         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4429         (print_float): Refactor to use snprintf to convert FLOAT values
4430         to string. This brings it closer to dropin replacement of strtof
4431         for the TS 18661 defined types.
4432         (update_stats): Likewise.
4433         (print_complex_function_ulps): Likewise.
4434         (print_max_error): Likewise.
4435         (print_complex_max_error): Likewise.
4436         (check_float_internal): Likewise.
4438         * math/test-float.h (PREFIX): New macro.
4439         (LIT): Likewise.
4440         (TYPE_STR): Likewise.
4441         (FTOSTR): Likewise.
4443         * math/test-double.h (PREFIX): New macro.
4444         (LIT): Likewise.
4445         (TYPE_STR): Likewise.
4446         (FTOSTR): Likewise.
4448         * math/test-ldouble.h (PREFIX): New macro.
4449         (LIT): Likewise.
4450         (TYPE_STR): Likewise.
4451         (FTOSTR): Likewise.
4453 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4455         [BZ #20156]
4456         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4457         to itself when zero or not finite.
4458         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4459         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4460         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4461         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4463 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4465         [BZ #20153]
4466         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4467         x * x + x for infinities and NaNs.
4469         [BZ #20151]
4470         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4471         argument to itself before returning result.
4472         (__ieee754_y0l): Likewise.
4473         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4474         (__ieee754_y1l).
4476         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4477         (atan_test_data): Likewise.
4478         (ceil_test_data): Likewise.
4479         (cos_test_data): Likewise.
4480         (cosh_test_data): Likewise.
4481         (erf_test_data): Likewise.
4482         (exp2_test_data): Likewise.
4483         (fabs_test_data): Likewise.
4484         (floor_test_data): Likewise.
4485         (ilogb_test_data): Likewise.
4486         (j0_test_data): Likewise.
4487         (j1_test_data): Likewise.
4488         (jn_test_data): Likewise.
4489         (lgamma_test_data): Likewise.
4490         (lrint_test_data): Likewise.
4491         (llrint_test_data): Likewise.
4492         (logb_test_data): Likewise.
4493         (lround_test_data): Likewise.
4494         (llround_test_data): Likewise.
4495         (nearbyint_test_data): Likewise.
4496         (rint_test_data): Likewise.
4497         (round_test_data): Likewise.
4498         (sin_test_data): Likewise.
4499         (sincos_test_data): Likewise.
4500         (sinh_test_data): Likewise.
4501         (sqrt_test_data): Likewise.
4502         (tan_test_data): Likewise.
4503         (tanh_test_data): Likewise.
4504         (tgamma_test_data): Likewise.
4505         (trunc_test_data): Likewise.
4506         (y0_test_data): Likewise.
4507         (y1_test_data): Likewise.
4508         (yn_test_data): Likewise.
4510         * math/libm-test.inc: Update comment about NaN testing.
4511         (TEST_SNAN): New macro.
4512         (snan_value): Likewise.
4513         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4514         (fpclassify_test_data): Add sNaN tests.
4515         (isfinite_test_data): Likewise.
4516         (isinf_test_data): Likewise.
4517         (isnan_test_data): Likewise.
4518         (isnormal_test_data): Likewise.
4519         (issignaling_test_data): Likewise.
4520         (signbit_test_data): Likewise.
4521         * math/gen-libm-test.pl (%beautify): Add snan_value.
4522         (show_exceptions): Add argument $test_snan.
4523         (parse_args): Handle snan_value as non-finite.  Update call to
4524         show_exceptions.
4525         * math/Makefile (libm-test-no-inline-cflags): Add
4526         -fsignaling-nans.
4528 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4530         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4531         (CFLAGS-oldsendmsg.c): Add rule.
4532         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4533         Correct recvmsg symbol name.
4534         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4535         Likewise.
4537 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4539         * sysdeps/unix/sysv/linux/Makefile
4540         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4541         oldsendmmsg.
4542         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4543         sendmmsg.
4544         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4545         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4546         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4547         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4549         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4550         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4552         Likewise.
4553         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4554         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4555         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4556         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4557         iovlen and controllen fields to adjust to POSIX specification.
4558         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4560         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4561         and change to correct expected type.
4562         (msghdr.msg_controllen): Likewise.
4563         (cmsghdr.cmsg_len): Likewise.
4564         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4565         expected POSIX assumption about the size.
4566         (msghdr.msg_controllen): Likewise.
4567         (msghdr.__glibc_reserved1): Likewise.
4568         (msghdr.__glibc_reserved2): Likewise.
4569         (cmsghdr.cmsg_len): Likewise.
4570         (cmsghdr.__glibc_reserved1): Likewise.
4571         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4572         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4573         (CFLAGS-sendmsg.c): Remove rule.
4574         (CFLAGS-recvmsg.c): Likewise.
4575         (CFLAGS-oldsendmsg.c): Add rule.
4576         (CFLAGS-oldrecvmsg.c): Likewise.
4577         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4578         recvmsg and sendmsg.
4579         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4580         Likewise.
4581         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4582         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4583         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4584         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4585         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4586         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4587         Likewise.
4588         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4589         Likewise.
4590         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4591         Likewise.
4592         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4593         Likewise.
4594         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4595         Likewise.
4596         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4597         Likewise.
4598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4599         (GLIBC_2.24): Likewise.
4600         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4601         Likewise.
4602         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4603         Likewise.
4604         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4605         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4608         Likewise.
4609         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4610         Likewise.
4611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4612         (GLIBC_2.24): Likewise.
4613         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4614         Likewise.
4615         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4616         Likewise.
4617         * sysdeps/unix/sysv/linux/Makefile
4618         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4619         (CFLAGS-sendmsg.c): Add rule.
4620         (CFLAGS-recvmsg.c): Likewise.
4621         (CFLAGS-oldsendmsg.c): Likewise.
4622         (CFLAGS-oldrecvmsg.c): Likewise.
4623         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4624         initialization.
4625         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4626         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4627         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4628         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4629         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4630         iovlen and controllen fields to adjust to POSIX specification.
4631         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4632         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4633         added recvmsg and sendmsg.
4634         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4635         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4636         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4637         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4638         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4639         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4640         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4641         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4642         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4643         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4644         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4645         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4647         Likewise.
4648         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4650         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4651         Likewise.
4652         Likewise.
4653         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4654         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4655         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4656         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4657         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4658         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4660         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4662         Likewise.
4663         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4664         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4666         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4667         from auto-generation.
4668         (sendmsg): Likewise.
4669         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4670         (sendmsg): Likewise.
4671         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4672         (sendmsg): Likewise.
4673         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4674         (sendmsg): Likewise.
4675         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4676         (sendmsg): Likewise.
4677         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4678         (sendmsg): Likewise.
4679         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4680         Likewise.
4681         (sendmsg): Likewise.
4682         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4683         (sendmsg): Likewise.
4684         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4685         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4686         Remove.
4687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4688         Likewise.
4689         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4690         Undefine.
4691         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4692         Likewise.
4693         * sysdeps/unix/sysv/linux/kernel-features.h
4694         (__ASSUME_SENDMSG_SYSCALL): Define.
4695         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4696         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4697         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4698         Remove.
4699         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4700         Likewise.
4701         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4702         Undefine.
4703         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4704         Likewise.
4705         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4706         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4707         Remove.
4708         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4709         Likewise.
4710         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4711         Undefine.
4712         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4713         Likewise.
4714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4715         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4716         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4717         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4718         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4719         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4720         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4721         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4722         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4724 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4726         * stdlib/gen-tst-strtod-round.c: Add backslash to
4727         compile command in comment.
4728         (printfp): Remove the literal suffix, and define an infinite
4729         value as INF to avoid expansion clash with INFINITY.
4730         (round_str): Remove the literal suffix.
4731         (round_for_all): Likewise, remove the now duplicate ldbl-64
4732         entry, and remove some magic constants.
4734         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4735         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4736         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4737         (_CONCAT): New macro.
4738         (CONCAT): Likewise.
4739         (CHOOSE_ld): Likewise.
4740         (CHOOSE_f): Likewise.
4741         (CHOOSE_d): Likewise.
4742         (FTYPE_MEMBER): Likewise.
4743         (BOOL_MEMBER): Likewise.
4744         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4745         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4746         (_XNTRY): Likewise.
4747         (XNTRY): Likewise.
4748         (_ENTRY): Likewise.
4749         (ENTRY): Likewise.
4750         (test_exactness): Generate members via macro.
4751         (test_results): Likewise.
4752         (test): Update members.
4753         (TEST): Redefine using new macros.
4754         (INF): New macro.
4755         (fetestmodes): New structure.
4756         (do_test): Refactor to be type generic.
4757         (test_in_one_mode): Refactor duplicate code into
4758         (GEN_ONE_TEST): New macro.
4760         * stdlib/tst-strtod-round-data.h: Regenerate.
4762         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4763         Extend to pass additional arbitrary parameters to
4764         generators.
4766 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4768         [BZ #15479]
4769         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4770         floating-point state after first floating-point operation on
4771         input.  Restore full floating-point state instead of just rounding
4772         mode.
4773         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4774         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4775         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4776         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4777         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4779         [BZ #15479]
4780         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4781         floating-point state after first floating-point operation on
4782         input.  Restore full floating-point state instead of just rounding
4783         mode.
4784         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4785         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4786         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4787         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4788         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4790 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4792         [BZ #19727]
4793         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4794         valid high surrogate.
4795         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4796         of an utf16 surrogate.
4797         * iconv/gconv_simple.c (BODY): Likewise.
4798         * iconvdata/bug-iconv12.c: New file.
4799         * iconvdata/Makefile (tests): Add bug-iconv12.
4801 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4803         [BZ #19726]
4804         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4805         outptrp in case of an illegal input.
4806         * iconv/tst-iconv6.c: New file.
4807         * iconv/Makefile (tests): Add tst-iconv6.
4809 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4811         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4812         an error in case of a value in range of an utf16 low surrogate.
4814 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4816         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4817         an error in case of a value in range of an utf16 low surrogate.
4819 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4821         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4822         Move to ...
4823         * sysdeps/s390/Makefile: ... here.
4824         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4825         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4826         (BRANCH_ON_COUNT): New define.
4827         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4828         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4829         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4830         run on s390-32, too.
4831         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4832         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4833         run on s390-32, too.
4834         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4835         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4836         run on s390-32, too.
4838 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4840         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4841         etf3eh or new vector loop-variant.
4843 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4845         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4846         etf3eh or new vector loop-variant.
4848 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4850         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4851         or new vector loop-variant.
4853 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4855         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4856         Rename to TR_LOOP and usage of tr instead of troo instruction.
4858 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4860         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4861         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4863 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4865         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4866         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4867         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4868         New override define.
4869         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4871 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4873         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4874         * sysdeps/s390/configure.ac: Add test for S390 vector register
4875         support in gcc.
4876         * sysdeps/s390/configure: Regenerated.
4878 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4880         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4881         Install file from $(objpfx)gconv-modules.
4882         ($(objpfx)gconv-modules): Concatenate architecture specific file
4883         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4884         * sysdeps/s390/gconv-modules: New file.
4885         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4886         Deleted.
4887         ($(objpfx)gconv-modules-s390): Deleted.
4888         (sysdeps-gconv-modules): New variable.
4890 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4892         [BZ #15479]
4893         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4894         of immediate operand to rounding instruction.
4895         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4896         Likewise.
4897         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4898         Likewise.
4899         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4900         Likewise.
4902 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4904         * math/libm-test.inc (MIN_EXP): Directly define as
4905         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4907 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4909         * math/libm-test.inc (MANT_DIG): Directly define as
4910         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4912 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4914         * stdlib/gen-tst-strtod-round.c (main):
4915           Change usage to more closely match the generated
4916           output.  Add usage and compilation instructions.
4917           (string_to_fp): Add and use FILE* parameter as
4918           output target.
4919           (print_fp): Likewise.
4920           (round_str): Likewise.
4921           (round_for_all): Likewise.
4922         * stdlib/tst-strtod-round.c (tests): Move into
4923         * stdlib/tst-strtod-round-data.h: New file.
4925 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4927         [BZ #15479]
4928         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4929         (__round): Do not force "inexact" exception.
4930         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4931         variable.
4932         (__round): Do not force "inexact" exception.
4933         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4934         (__roundf): Do not force "inexact" exception.
4935         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4936         (__roundl): Do not force "inexact" exception.
4937         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4938         (__roundl): Do not force "inexact" exception.
4939         * math/libm-test.inc (round_test_data): Do not allow spurious
4940         "inexact" exceptions.
4942         [BZ #15479]
4943         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4944         exception in comment.
4945         (huge): Remove variable.
4946         (__floor): Do not force "inexact" exception.
4947         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4948         "inexact" exception in comment.
4949         (huge): Remove variable.
4950         (__floor): Do not force "inexact" exception.
4951         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4952         exception in comment.
4953         (huge): Remove variable.
4954         (__floorf): Do not force "inexact" exception.
4955         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4956         exception in comment.
4957         (huge): Remove variable.
4958         (__floorl): Do not force "inexact" exception.
4960         [BZ #15479]
4961         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4962         exception in comment.
4963         (huge): Remove variable.
4964         (__ceil): Do not force "inexact" exception.
4965         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4966         "inexact" exception in comment.
4967         (huge): Remove variable.
4968         (__ceil): Do not force "inexact" exception.
4969         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4970         (__ceilf): Do not force "inexact" exception.
4971         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4972         exception in comment.
4973         (huge): Remove variable.
4974         (__ceill): Do not force "inexact" exception.
4976 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4978         * config.h.in (BIND_NOW): New.
4979         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4980         * configure: Regenerated.
4981         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4982         indirect branch via the GOT slot.
4984 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4986         [BZ #19765]
4987         * sysdeps/s390/mempcpy.S: New File.
4988         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4989         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4990         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4991         Add mempcpy variants.
4992         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4993         (memcpy): Adjust to be usable from mempcpy entry point.
4994         (__memcpy_mvcle): Likewise.
4995         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4996         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4997         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4998         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4999         (__memcpy_z10): Likewise.
5000         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5002 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5004         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5005         Remove __GI_ symbol.
5006         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5007         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5008         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5009         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5010         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5011         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5013 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5015         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5016         Use cghi instead of chi to compare 64bit value.
5018 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5020         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5021         Jump to 1MB check before executing mvc-loop.
5023 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5025         [BZ #6527]
5026         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5027         unconditionally.
5028         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5030 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5032         * stdlib/tst-strtod6.c (do_test): Use new type generic
5033         invocation of the test function.
5034         (test): Refactor into ...
5035         (TEST_STRTOD): New macro base function.
5037 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5039         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5040         (TEST_STRTOD): New macro.
5041         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5043 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5045         * stdlib/tst-strtod6.c (do_test): Use new type generic
5046         invocation of the test function.
5047         (test): Refactor into ...
5048         (TEST_STRTOD): New macro base function.
5050 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5052         CVE-2016-4429
5053         [BZ #20112]
5054         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5055         payload.
5057 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5059         [BZ #20111]
5060         * bits/sockaddr.h (_SS_SIZE): Define.
5061         * bits/socket.h (_SS_SIZE): Remove.
5062         (_SS_PADSIZE): Adjust to account for all padding.
5063         (struct sockaddr_storage): Update comment.  Avoid implicit
5064         padding.
5065         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5066         (_SS_PADSIZE): Adjust to account for all padding.
5067         (struct sockaddr_storage): Update comment.  Avoid implicit
5068         padding.
5069         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5070         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5071         (_SS_PADSIZE): Adjust to account for all padding.
5072         (struct sockaddr_storage): Update comment.  Avoid implicit
5073         padding.
5074         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5075         __SS_SIZE is 126 in this version.
5076         * inet/tst-sockaddr.c: New file.
5077         * inet/Makefile (tests): Add tst-sockaddr.c
5078         (tst-sockaddr.c): Compile with non-strict aliasing.
5080 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5082         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5083         [XPG3 || XPG4].
5084         (NL_ARGMAX): Also expect for [XPG3].
5085         (NL_LANGMAX): Likewise.
5086         (NL_MSGMAX): Likewise.
5087         (NL_NMAX): Likewise.
5088         (NL_SETMAX): Likewise.
5089         (NL_TEXTMAX): Likewise.
5090         (NZERO): Likewise.
5091         (TMP_MAX): Likewise.
5092         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5093         variable.
5095         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5096         (PF_MAX): Update value.
5097         (AF_KCM): New macro.
5098         (SOL_NETBEUI): Likewise.
5099         (SOL_LLC): Likewise.
5100         (SOL_DCCP): Likewise.
5101         (SOL_NETLINK): Likewise.
5102         (SOL_TIPC): Likewise.
5103         (SOL_RXRPC): Likewise.
5104         (SOL_PPPOL2TP): Likewise.
5105         (SOL_BLUETOOTH): Likewise.
5106         (SOL_PNPIPE): Likewise.
5107         (SOL_RDS): Likewise.
5108         (SOL_IUCV): Likewise.
5109         (SOL_CAIF): Likewise.
5110         (SOL_ALG): Likewise.
5111         (SOL_NFC): Likewise.
5112         (SOL_KCM): Likewise.
5113         (MSG_BATCH): New enum value and macro.
5115 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5117         [BZ #18185]
5118         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5119         sharing L2 cache to 2 for Knights Landing.
5121 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5123         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5124         (FTW_DP): Do not expect for [XPG3 || XPG4].
5125         (FTW_SL): Do not expect for [XPG3].
5126         (FTW_SLN): Likewise.
5127         (FTW_PHYS): Likewise.
5128         (FTW_MOUNT): Likewise.
5129         (FTW_DEPTH): Likewise.
5130         (FTW_CHDIR): Likewise.
5131         (nftw): Likewise.
5132         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5133         variable.
5135 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5137         * manual/errno.texi: Fix various typos & grammar errors.
5139 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5141         * manual/intro.texi: Fix duplicated typo.
5143 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5145         [BZ #13304]
5146         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5147         <float.h>, <math_private.h> and <stdlib.h>.
5148         (add_split): New function.
5149         (mul_split): Likewise.
5150         (ext_val): New typedef.
5151         (store_ext_val): New function.
5152         (mul_ext_val): New function.
5153         (compare): New function.
5154         (add_split_ext): New function.
5155         (__fmal): After checking for Inf, NaN and zero, compute result as
5156         an exact sum of scaled double values in round-to-nearest before
5157         adding those up and adjusting for other rounding modes.
5158         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5159         tests of fma.
5160         * math/auto-libm-test-out: Regenerated.
5162 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5164         [BZ #20119]
5165         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5166         processor level type mask for CPUID with EAX == 11.
5168 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5170         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5171         logical threads if the HTT bit is 0.
5172         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5173         (index_cpu_HTT): Likewise.
5174         (reg_HTT): Likewise.
5176 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5178         [BZ #20115]
5179         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5180         Remove alignments on jump targets.
5182 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5184         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5185         (getpwent): Likewise.
5186         (setpwent): Likewise.
5187         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5188         variable.
5190         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5191         (remque): Likewise.
5192         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5193         variable.
5195 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5197         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5198         not being tested.
5200 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5202         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5203         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5204         call.
5205         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5206         (__condvar_cleanup1): Likewise.
5208 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5210         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5211         New
5212         (__pthread_unwind): Renamed to ...
5213         (PTHREAD_UNWIND): This.
5214         (__pthread_enable_asynccancel): Replace
5215         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5217 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5219         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5220         (CLONE_NEWCGROUP): New macro.
5222         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5223         (Q_GETNEXTQUOTA): New macro.
5225 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5227         [BZ #19907]
5228         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5229         buffer updated by the previous run.
5230         * string/test-memcpy.c (do_one_test): Likewise.
5231         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5232         * string/test-memmove.c (do_one_test): Likewise.
5234 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5236         [BZ #20094]
5237         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5238         not [__USE_XOPEN].
5239         (unlockpt): Likewise.
5240         (ptsname): Likewise.
5241         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5242         variable.
5244         [BZ #20076]
5245         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5246         instead of [__USE_UNIX98].
5247         (S_ISSOCK): Likewise.
5248         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5249         variable.
5251         [BZ #20074]
5252         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5253         [__USE_POSIX].
5254         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5255         variable.
5257         [BZ #20051]
5258         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5259         (ttyslot): Do not declare.
5260         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5261         (ttyslot): New prototype.
5262         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5263         variable.
5264         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5266 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5268         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5270 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5272         Fix race condition in tst-mallocfork2, use fewer resources.
5273         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5274         to current process group.
5275         (signal_sender): Yield in the non-sleeping case.
5277 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5279         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5280         (ecvt): Likewise.
5281         (fcvt): Likewise.
5282         (gcvt): Likewise.
5283         (getsubopt): Likewise.
5284         (grantpt): Likewise.
5285         (initstate): Likewise.
5286         (l64a): Likewise.
5287         (mktemp): Likewise.
5288         (mkstemp): Likewise.
5289         (ptsname): Likewise.
5290         (random): Likewise.
5291         (realpath): Likewise.
5292         (setstate): Likewise.
5293         (srandom): Likewise.
5294         (ttyslot): Likewise.
5295         (unlockpt): Likewise.
5296         (valloc): Likewise.
5298         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5299         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5300         variable.
5302 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5304         [BZ #20072]
5305         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5306         init_cpu_features only if SHARED is defined.
5307         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5309 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5311         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5312         non-inclusive caches on Intel processors.
5314 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5316         * malloc/malloc.c (dumped_main_arena_start)
5317         (dumped_main_arena_end): New variables.
5318         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5319         (do_check_chunk): Skip dumped fake mmapped chunks.
5320         (munmap_chunk): Likewise.
5321         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5322         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5323         mmapped chunks.
5324         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5325         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5326         and dumped_main_arena_end to cover the dumped heap.
5328 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5330         * conform/data/time.h-data (getdate_err): Do not expect for
5331         [XPG3].
5332         (getdate): Likewise.
5333         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5334         variable.
5336         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5337         (F_ULOCK): Likewise.
5338         (F_TEST): Likewise.
5339         (F_TLOCK): Likewise.
5340         (useconds_t): Likewise.
5341         (intptr_t): Do not expect for [XPG3] or [XPG4].
5342         (brk): Do not expect for [XPG3]
5343         (fchown): Likewise.
5344         (fchdir): Likewise.
5345         (ftruncate): Likewise.
5346         (getdtablesize): Likewise.
5347         (gethostid): Likewise.
5348         (getpagesize): Likewise.
5349         (getpgid): Likewise.
5350         (getsid): Likewise.
5351         (getwd): Likewise.
5352         (lchown): Likewise.
5353         (lockf): Likewise.
5354         (readlink): Likewise.
5355         (sbrk): Likewise.
5356         (setpgrp): Likewise.
5357         (setregid): Likewise.
5358         (setreuid): Likewise.
5359         (symlink): Likewise.
5360         (sync): Likewise.
5361         (truncate): Likewise.
5362         (ualarm): Likewise.
5363         (usleep): Likewise.
5364         (vfork): Likewise.
5365         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5366         variable.
5368         [BZ #20054]
5369         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5370         not [__USE_UNIX98].
5371         * conform/data/unistd.h-data (gethostname): Do not expect for
5372         [XPG3].
5374         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5375         [!POSIX] (S_IFBLK): Likewise.
5376         [!POSIX] (S_IFCHR): Likewise.
5377         [!POSIX] (S_IFIFO): Likewise.
5378         [!POSIX] (S_IFREG): Likewise.
5379         [!POSIX] (S_IFDIR): Likewise.
5380         [!POSIX] (S_IFLNK): Likewise.
5381         [!POSIX] (S_IFSOCK): Likewise.
5382         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5383         variable.
5384         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5386 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5388         * sysdeps/aarch64/memset.S (__memset):
5389         Rewrite of optimized memset.
5391 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5393         [BZ #19703]
5394         Partially async-signal-safe fork for single-threaded processes.
5395         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5396         variable.  Do not acquire and reset/release malloc and libio locks
5397         in single-threaded processes.
5398         * malloc/tst-mallocfork2.c: New file.
5399         * malloc/Makefile (tests): Add it.
5401 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5403         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5404         argument.  Use scratch buffer instead of extend_alloca.
5405         (gethosts): Use scratch buffer instead of extend_alloca.
5406         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5407         extend_alloca.
5408         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5410 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5412         [BZ #20055]
5413         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5414         instead of [__USE_UNIX98].
5415         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5416         [__USE_UNIX98].
5417         * conform/data/termios.h-data (tcgetsid): Do not expect for
5418         [XPG3].
5419         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5420         variable.
5421         (test-xfail-XPG4/termios.h/conform): Likewise.
5423 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5425         Do not use mcheck in localedef.
5426         * locale/programs/localedef.c (turn_on_mcheck)
5427         (__malloc_initialize_hook): Remove.
5429 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5431         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5432         * sysdeps/s390/s390-64/Makefile: Likewise.
5434 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5436         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5437         Remove ifunc-defines.sym.
5438         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5439         Likewise.
5440         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5441         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5442         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5443         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5444         rtld-global-offsets.sym.
5445         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5446         * sysdeps/x86/cpu-features-offsets.sym: This.
5447         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5448         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5450 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5452         [BZ #20073]
5453         * io/sys/stat.h (fchmod): Declare for
5454         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5455         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5456         variable.
5458         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5459         [XPG3] (S_IFSOCK): Likewise.
5460         [XPG3] (S_ISVTX): Likewise.
5461         [XPG3] (S_ISLNK): Likewise.
5462         [XPG3] (S_ISSOCK): Likewise.
5463         [XPG3] (fchmod): Likewise.
5464         [XPG3] (lstat): Likewise.
5465         [XPG3] (mknod): Likewise.
5467         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5468         [XPG3].  Expect type long and XFAIL for [XPG4].
5469         (st_blocks): Likewise.
5471         [BZ #20044]
5472         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5473         (pthread_atfork): New prototype.
5474         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5475         variable.
5477         [BZ #20043]
5478         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5479         prototype.
5481 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5483         [BZ #20017]
5484         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5485         gmtime.
5487 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5489         [BZ #19994]
5490         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5491         flag in _res.options.
5493 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5495         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5496         [XPG3 || XPG4].
5497         (blksize_t): Likewise.
5498         (clockid_t): Likewise.
5499         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5500         variable.
5501         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5503 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5505         * sysdeps/unix/sysv/linux/s390/init-first.c:
5506         Add VDSO_SYMBOL(getcpu).
5507         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5508         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5509         Add VDSO_SYMBOL(getcpu).
5510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5511         New define HAVE_GETCPU_VSYSCALL.
5512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5514 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5516         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5517         instead of <sysdeps/x86_64/cacheinfo.c>.
5518         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5519         * sysdeps/x86/cacheinfo.c: Here.
5521 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5523         * malloc/malloc-internal.h: Adjust header file guard.
5525 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5527         [BZ #19787]
5528         * inet/getnameinfo.c (check_sprintf_result): New function.
5529         (CHECKED_SNPRINTF): New macro.
5530         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5531         to the host buffer.
5532         (gni_host_local): Use checked_copy to copy the host name.
5533         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5534         (gni_serv_local): Use checked_copy to copy the service name.
5535         (getnameinfo): Remove unnecessary truncation of result buffers.
5537 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5539         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5540         in case of inet_ntop failure.
5542 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5544         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5545         avoid long lines.
5546         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5547         variables.
5548         (gni_host_inet, gni_host_local): Add comment.
5549         (gni_host): Add comment.  Use temporary to avoid long lines.
5551 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5553         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5554         registers specifiers where general purpose registers specifiers should
5555         have been used.
5557 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5559         [BZ #19779]
5560         CVE-2016-1234
5561         Avoid copying names of directory entries.
5562         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5563         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5564         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5565         (struct readdir_result): New type.
5566         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5567         (GL_READDIR): New macros.
5568         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5569         (convert_dirent, convert_dirent64): New functions.
5570         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5571         convert_dirent64.  Adjust references to the readdir result.
5572         * sysdeps/unix/sysv/linux/i386/glob64.c:
5573         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5574         * posix/bug-glob2.c (LONG_NAME): Define.
5575         (filesystem): Add LONG_NAME.
5576         (my_DIR): Increase the size of room_for_dirent.
5578 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5580         [BZ #20041]
5581         * misc/sys/select.h (__need_timespec): Only define if
5582         [__USE_XOPEN2K].
5583         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5584         variable.
5585         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5586         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5587         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5589 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5590             Segher Boessenkool  <segher@gcc.gnu.org>
5592         [BZ #20004]
5593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5594         (__novec_swapcontext): Add missing load.
5596 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5598         [BZ #20023]
5599         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5600         <time.h>.
5601         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5602         variable.
5603         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5605 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5608         flags CLONE_VM compare.
5610 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5612         [BZ #20031]
5613         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5614         completely empty.
5616 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5618         [BZ #19573]
5619         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5620         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5621         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5622         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5623         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5624         (hesiod_free_list): Mark as hidden.
5625         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5626         res_set, res_get.
5627         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5628         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5629         (hesiod_init): Remove obsolete res_ninit call.
5630         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5631         (hesiod_bind): Do not call init.
5632         (get_txt_records): Use res_mkquery, res_send instead of
5633         res_nmkquery, res_nsend.
5634         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5635         instead of _nss_hesiod_init.
5636         (_nss_hesiod_initgroups_dyn): Likewise.
5637         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5638         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5639         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5641 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5643         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5644         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5646 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5648         * hesiod/hesiod.h: Remove RCS keyword.
5649         * hesiod/hesiod_p.h: Likewise.
5651         * hesiod/hesiod.c: Likewise.
5653 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5655         [BZ #12450]
5656         * locale/iso-639.def: Add Samogitian/sgs.
5658 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5660         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5662         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5664 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5665             Carlos O'Donell  <carlos@redhat.com>
5667         [BZ #19072]
5668         * grp/Makefile (headers): Add grp-merge.h
5669         (routines): Add grp-merge.
5670         * grp/getgrgid_r.c: Include grp-merge.h.
5671         (DEEPCOPY_FN): Define.
5672         (MERGE_FN): Define.
5673         * grp/getgrname_r.c: Include grp-merge.h.
5674         (DEEPCOPY_FN): Define.
5675         (MERGE_FN): Define.
5676         * grp/grp-merge.c: New file.
5677         * grp/grp-merge.h: New file.
5678         * include/grp-merge.h: New file.
5679         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5680         __copy_grp@GLIBC_PRIVATE.
5681         * manual/nss.texi (Actions in the NSS configuration): Describe
5682         return, continue, and merge.
5683         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5684         (DEEPCOPY_FN): Define.
5685         (MERGE_FN): Define.
5686         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5687         (DEEPCOPY_FN): Define.
5688         (MERGE_FN): Define.
5689         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5690         [!MERGE_FN]: Define __merge_einval.
5691         (CHECK_MERGE): Define.
5692         (REENTRANT_NAME): Process merge if do_merge is true.
5693         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5694         (__nss_getent_r): Likewise.
5695         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5696         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5698 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5700         [BZ #20012]
5701         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5702         length to calculate the buffer to read.
5703         (fmemopen_write): Set the buffer position based on bytes written.
5704         (fmemopen_seek): Return EINVAL for invalid whence modes.
5706         [BZ #19957]
5707         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5708         tst-getpid2.
5709         (test): Add tst-clone2.
5710         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5711         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5712         pid/tid fields for CLONE_VM.
5713         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5714         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5715         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5716         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5717         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5718         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5719         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5720         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5722         Likewise.
5723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5724         Likewise.
5725         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5726         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5727         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5728         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5729         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5730         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5731         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5732         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5734 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5736         [BZ #19642]
5737         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5738         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5739         (gni_serv_local, gni_serv): New functions extracted from
5740         getnameinfo.
5741         (getnameinfo): Call gni_host and gni_serv to perform the
5742         processing.  Always free scratch buffer.
5744 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5746         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5747         remaining bytes in the dest string, with zeros.
5749 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5751         [BZ #20010]
5752         CVE-2016-3706
5753         * sysdeps/posix/getaddrinfo.c
5754         (convert_hostent_to_gaih_addrtuple): New function.
5755         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5756         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5757         AF_INET data.
5759 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5761         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5762         callback function gl_readdir.
5763         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5764         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5765         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5766         memcpy to copy the name.
5767         * manual/pattern.texi (Calling Glob): Document requirements for
5768         implementations of the gl_readdir callback function.
5769         * manual/examples/mkdirent.c: New example.
5770         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5771         per the manual guidance.
5772         * posix/tst-gnuglob.c (my_readdir): Likewise.
5774 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5776         [BZ #20014]
5777         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5778         not [__USE_POSIX].
5779         (getchar_unlocked): Likewise.
5780         (putc_unlocked): Likewise.
5781         (putchar_unlocked): Likewise.
5782         (flockfile): Likewise.
5783         (ftrylockfile): Likewise.
5784         (funlockfile): Likewise.
5785         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5786         variable.
5787         (test-xfail-XPG4/stdio.h/conform): Likewise.
5789         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5790         Expect constant.
5791         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5792         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5793         variable.
5794         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5795         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5797         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5798         [__USE_LARGEFILE64] (off64_t): Likewise.
5799         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5800         variable.
5802 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5804         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5806 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5808         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5809         * resolv/res_init.c: Likewise.
5810         * resolv/res_mkquery.c: Likewise.
5812 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5814         * resolv/res_init.c (isascii): Do not define.  Use definition in
5815         <ctype.h>.
5816         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5817         (LOG_AUTH): Remove.
5818         (SPRINTF): Remove, adjust caller.
5819         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5821 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5823         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5824         SUNSECURITY conditional.
5825         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5827 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5829         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5830         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5831         Remove BSD-related preprocessor conditionals.
5832         * conf/portability.h: Remove.
5834 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5836         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5837         * resolv/res_data.c: Likewise.
5839 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5841         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5842         * resolv/res_data.c: Remove code conditional on ultrix.
5844 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5846         * resolv/res_init.c (RFC1535): Do not define.  Remove
5847         RFC1535 preprocessor conditionals.
5848         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5849         because there configuration options which make the resolver
5850         behavior different.
5852 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5854         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5855         RESOLVSORT preprocessor conditionals.
5856         * resolv/nss_dns/dns-host.c: Likewise.
5857         * resolv/res_init.c: Likewise.
5859 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5861         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5862         is never defined.
5864 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5866         * inet/inet_lnaof.c: Remove SCSS keyword.
5867         * inet/inet_mkadr.c: Likewise.
5868         * inet/inet_net.c: Likewise.
5869         * inet/inet_netof.c: Likewise.
5870         * inet/rcmd.c: Likewise.
5871         * inet/rexec.c: Likewise.
5872         * inet/ruserpass.c: Likewise.
5874 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5876         * resolv/inet_addr.c: Remove _LIBC conditionals.
5877         * resolv/res_data.c: Likewise.
5878         * resolv/res_init.c: Likewise.
5879         * resolv/res_mkquery.c: Likewise.
5880         * resolv/res_libc.c: Update comment.
5881         * resolv/README: Update.
5883 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5885         * resolv/gethnamaddr.c: Remove SCSS keyword.
5886         * resolv/herror.c: Likewise.
5887         * resolv/inet_addr.c: Likewise.
5888         * resolv/inet_net_ntop.c: Likewise.
5889         * resolv/inet_net_pton.c: Likewise.
5890         * resolv/inet_neta.c: Likewise.
5891         * resolv/inet_ntop.c: Likewise.
5892         * resolv/inet_pton.c: Likewise.
5893         * resolv/ns_date.c: Remove RCS keyword.
5894         * resolv/ns_name.c: Likewise.
5895         * resolv/ns_netint.c: Likewise.
5896         * resolv/ns_parse.c: Likewise.
5897         * resolv/ns_print.c: Likewise.
5898         * resolv/ns_samedomain.c: Likewise.
5899         * resolv/ns_ttl.c: Likewise.
5900         * resolv/nsap_addr.c: Likewise.
5901         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5902         * resolv/res_data.c: Remove RCS keyword.
5903         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5904         * resolv/res_init.c: Likewise.
5905         * resolv/res_mkquery.c: Likewise.
5906         * resolv/res_query.c: Likewise.
5907         * resolv/res_send.c: Likewise.
5909 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5911         * conform/data/stdio.h-data (fdopen): Expect also for
5912         [XPG3 || XPG4].
5914         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5915         (fseeko): Likewise.
5916         (ftello): Likewise.
5917         (ftrylockfile): Likewise.
5918         (funlockfile): Likewise.
5919         (getc_unlocked): Likewise.
5920         (getchar_unlocked): Likewise.
5921         (putc_unlocked): Likewise.
5922         (putchar_unlocked): Likewise.
5924 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5926         [BZ #19868]
5927         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5928         DNS packet syntax checks (which were not needed before).  Skip
5929         over non-PTR records.
5931 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5933         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5934         definition.  Include <stddef.h> instead.
5936 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5938         [BZ #19831]
5939         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5940         function.
5941         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5942         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5944 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5946         [BZ #19862]
5947         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5948         (getanswer_r): Do not call syslog.
5949         (gaih_getanswer_slice): Likewise.
5950         * resolv/gethnamaddr.c (AskedForGot): Remove.
5951         (getanswer): Do not call syslog.
5952         (gethostbyaddr): Likewise.
5954 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5956         * conform/data/signal.h-data (union sigval): Expect also if
5957         [XOPEN2K].
5958         (struct sigevent): Likewise.
5959         (SIGEV_NONE): Likewise.
5960         (SIGEV_SIGNAL): Likewise.
5961         (SIGEV_THREAD): Likewise.
5962         (SIGRTMIN): Likewise.
5963         (SIGRTMAX): Likewise.
5964         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5965         variable.
5966         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5968 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5970         [BZ #19830]
5971         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5972         (gaih_getanswer_slice): Likewise.
5973         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5974         Also check for availability of RR metadata.
5976 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5978         [BZ #19825]
5979         * resolv/res_send.c (send_vc): Remove early *resplen2
5980         initialization.  Set *resplen2 on socket error.  Call
5981         close_and_return_error for other errors.
5983 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5985         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5986         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5987         (SCM_IUCV_TRGCLS): New define.
5989 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5991         [BZ #20005]
5992         * libio/fmemopen.c (fmemopen_write): Update internal position after
5993         write.
5994         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5995         * stdio-common/tst-fmemopen4.c: New file..
5997 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5999         [BZ #19996]
6000         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6001         not [__USE_XOPEN2K].
6002         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6003         variable.
6005         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6006         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6007         variable.
6009         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6010         [__USE_XOPEN2K8].
6011         [__USE_LARGEFILE64] (off64_t): Likewise.
6012         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6013         variable.
6015 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6017         [BZ #19989]
6018         * libio/stdio.h (cuserid): Do not declare if
6019         [__USE_XOPEN2K && !__USE_GNU].
6020         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6021         variable.
6023 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6025         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6026         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6028         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6029         ifunc'ed strcspn.
6030         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6031         [EALIGN]: Removed.
6032         [END]: Likewise
6033         [STRSPN]: Define instead of the above to control symbol name.
6034         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6035         New file.
6036         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6037         Likewise.
6038         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6039         Likewise.
6040         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6041         Likewise.
6042         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6043         [INITIAL_MASK]: New macro.
6044         [STRCSPN]: Likewise.
6045         [UPDATE_MASK]: Likewise.
6046         [USE_AS_STRCSPN]: Lisewise.
6048 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6050         [BZ #19931]
6051         * stdio-common/tst-vfprintf-width-prec.c: New file.
6052         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6053         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6054         (generated): Add mtrace-related files.
6055         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6056         (tst-%-mem.out): New pattern rule, replaces
6057         tst-printf-bz18872-mem.out.
6058         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6059         specifier, deallocate any previously allocated work buffer.
6061 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6063         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6064         Add nop before __startcontext, add explaining comments.
6066 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6068         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6069         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6070         completely different API.
6072         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6073         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6074         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6075         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6076         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6077         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6078         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6079         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6080         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6081         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6083 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6085         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6087 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6089         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6090         when it is the default of 0.
6092 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6094         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6095         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6096         (sysdep_routines): Add new strcasestr targets.
6097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6098         (__libc_ifunc_impl_list): Likewise.
6099         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6100         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6101         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6102         * sysdeps/powerpc/powerpc64/power8/Makefile:
6103         New file to add strcasestr-ppc64 to sysdep_routines.
6104         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6105         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6107 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6109         * benchtests/Makefile (wcsmbs-benchset): Include only for
6110         native builds and runs.
6111         (LOCALES): Likewise.
6112         (bench-build): Build timing-type here instead of the bench
6113         target.  Generate locale only for native builds.
6114         * benchtests/README: Add note for cross-building.
6116         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6118         * benchtests/README: Update README to include instructions on
6119         using bench-build.
6121         * Makefile.in (bench-build): New target.
6122         * Rules (PHONY): Add bench-build target.
6123         * benchtests/Makefile (bench): Depend on bench-build.
6124         (bench-build): New target.
6126 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6128         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6129         profil_reply_port.
6130         (profile_waiter): Do not initialize profil_reply_port.
6131         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6132         frequency instead of tick length in us.
6134 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6136         [BZ #18712]
6137         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6138         (__old_mempcpy_small): Likewise.
6139         (__old_strcpy_small): Likewise.
6140         (__old_stpcpy_small): Likewise.
6141         (__old_strpbrk_c2): Fix compat symbol name.
6142         (__old_strpbrk_c3): Likewise.
6143         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6144         (__mempcpy_small): Remove.
6145         (__strcpy_small): Remove.
6146         (__stpcpy_small): Remove.
6148 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6150         [BZ #19400]
6151         * locale/iso-639.def: Add the Talossan/tzl language.
6153 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6155         [BZ #16983]
6156         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6157         comment.  Add "ln" to strchr check on postal_fmt.
6159 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6161         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6162         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6163         tel_dom_fmt.
6165 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6167         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6168         (sysdep_routines): Added __strlen_power8.
6169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6170         __strlen_power8 entry.
6171         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6172         Implementation for POWER8.
6173         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6174         for __strlen_power8.
6175         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6176         Implementation for POWER8.
6178 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6180         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6182 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6184         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6185         Goldmont and Airmont processors.
6187 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6189         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6190         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6191         (__STRING2_SMALL_GET32): Remove.
6192         (memset): Remove.
6193         (__memset_1): Remove.
6194         (__memset_gc): Remove.
6195         (__mempcpy): Remove.
6196         (mempcpy): Remove.
6197         (__mempcpy_args): Remove.
6198         (strchr): Remove.
6199         (strcpy): Remove.
6200         (strcpy_args): Remove.
6201         (__stpcpy_args): Remove.
6202         (__strcmp_cc): Remove.
6203         (__strcmp_gc): Remove.
6204         (strstr): Remove.
6206 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6208         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6209         * nis/nis_call.c (nis_server_cache_add): Likewise.
6211 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6213         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6215 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6217         * malloc/arena.c (__malloc_fork_lock_parent)
6218         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6219         internal_function attribute.
6221 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6223         * stdio-common/printf_fp.c (__printf_fp_l):
6224         Rename ___printf_fp_l to __printf_fp_l and
6225         remove strong alias. Use libc_hidden_def instead
6226         of ldbl_hidden_def macro.
6228 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6230         Remove malloc hooks from fork handler.  They are no longer needed
6231         because malloc runs right before fork, and no malloc calls from
6232         other fork handlers are not possible anymore.
6233         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6234         declarations.
6235         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6236         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6237         (atfork_recursive_cntr): Remove.
6238         (__malloc_fork_lock_parent): Do not override malloc hooks and
6239         thread_arena.
6240         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6241         thread_arena.
6242         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6243         thread_arena instead of save_arena.
6245 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6247         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6248         (thread_atfork, thread_atfork_static): Remove.
6249         * sysdeps/mach/hurd/malloc-machine.h:
6250         (thread_atfork, thread_atfork_static): Remove.
6252 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6254         [BZ #19431]
6255         Run the malloc fork handler as late as possible to avoid deadlocks.
6256         * malloc/malloc-internal.h: New file.
6257         * malloc/malloc.c: Include it.
6258         * malloc/arena.c (ATFORK_MEM): Remove.
6259         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6260         Update comment.
6261         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6262         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6263         Remove outdated comment.
6264         (ptmalloc_init): Do not call thread_atfork.  Remove
6265         thread_atfork_static.
6266         * malloc/tst-malloc-fork-deadlock.c: New file.
6267         * Makefile (tests): Add tst-malloc-fork-deadlock.
6268         (tst-malloc-fork-deadlock): Link against libpthread.
6269         * manual/memory.texi (Aligned Memory Blocks): Update safety
6270         annotation comments.
6271         * sysdeps/nptl/fork.c (__libc_fork): Call
6272         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6273         __malloc_fork_unlock_child.
6274         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6276 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6278         [BZ #19613]
6279         Remove union wait.
6280         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6281         (w_stopsig, w_stopval): Remove.
6282         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6283         stat_loc argument.
6284         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6285         (__WAIT_STATUS_DEFN): Remove.
6286         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6287         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6288         (wait, wait3, wait4): Use int * for the stat_loc argument.
6289         * posix/wait.c (__wait): Likewise.
6290         * posix/wait3.c (__wait3): Likewise.
6291         * posix/wait4.c (__wait4): Likewise.
6292         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6293         (__WAIT_STATUS_DEFN): Remove.
6294         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6295         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6296         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6297         argument.
6298         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6299         * sysdeps/posix/wait3.c (__wait3): Likewise.
6300         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6301         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6302         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6303         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6304         stat_loc argument.
6305         * manual/process.texi (BSD Wait Functions): Remove union wait.
6307 2016-04-13  Andreas Schwab  <schwab@suse.de>
6309         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6310         (test-extras): Add tst-tlsalign-vars.
6311         * math/Makefile: Wrap long lines.
6312         (libm-vec-test-wrappers): Define.
6313         (test-extras): Add $(libm-vec-test-wrappers).
6314         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6315         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6316         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6317         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6318         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6319         (extra-test-objs): Add corresponding objects.
6321 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6323         [BZ #19928]
6324         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6325         New.
6326         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6327         times of shared cache size.
6328         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6329         (VMOVNT): New.
6330         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6331         (VMOVNT): Likewise.
6332         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6333         (VMOVNT): Likewise.
6334         (VMOVU): Changed to movups for smaller code sizes.
6335         (VMOVA): Changed to movaps for smaller code sizes.
6336         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6337         comments.
6338         (PREFETCH): New.
6339         (PREFETCH_SIZE): Likewise.
6340         (PREFETCHED_LOAD_SIZE): Likewise.
6341         (PREFETCH_ONE_SET): Likewise.
6342         Rewrite to use forward and backward loops, which move 4 vector
6343         registers at a time, to support overlapping addresses and use
6344         non temporal store if size is above the threshold and there is
6345         no overlap between destination and source.
6347 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6349         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6350         Include dl-vdso.
6351         * sysdeps/unix/sysv/linux/mips/Versions: Add
6352         __vdso_clock_gettime.
6353         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6354         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6355         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6356         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6357         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6358         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6359         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6360         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6361         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6363 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6365         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6366         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6369         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6370         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6373         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6374         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6375         syscalls generation.
6376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6377         [__NR_pwrite64] (__NR_write): Remove define.
6378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6379         [__NR_pwrite64] (__NR_write): Remove define.
6380         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6381         Remove define.
6382         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6383         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6384         Remove define.
6385         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6386         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6387         Linux implementation as base.
6388         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6390         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6391         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6393         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6396         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6398         syscall generation.
6399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6400         [__NR_pread64] (__NR_pread): Remove define.
6401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6402         [__NR_pread64] (__NR_pread): Likewise.
6403         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6404         define.
6405         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6406         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6407         Remove define.
6408         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6409         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6410         Linux implementation as base.
6411         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6412         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6413         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6415         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6416         definition.
6417         (__ALIGNMENT_COUNT): Likewise.
6418         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6419         (__ALIGNMENT_COUNT): Likewise.
6420         (SYSCALL_LL): New define.
6421         (SYSCALL_LL64): Likewise.
6422         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6423         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6424         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6425         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6427         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6428         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6429         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6430         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6431         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6432         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6434 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6436         [BZ #19865]
6437         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6438         original buffer before retry.
6440 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6442         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6443         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6444         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6445         GLRO(dl_auxv) list.
6446         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6447         including <ldsodefs.h>.
6448         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6450 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6452         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6453         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6454         $(CPPFLAGS).
6456 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6458         [BZ #17950]
6459         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6460         Add -mfpmath=387.
6462 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6464         * sysdeps/i386/configure.ac: Change == to = when calling test.
6465         * sysdeps/x86_64/configure.ac: Likewise.
6466         * sysdeps/i386/configure: Regenerated.
6467         * sysdeps/x86_64/configure: Likewise.
6469 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6471         [BZ #16137]
6472         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6473         * benchtests/bench-strcoll.c (input_files): Likewise.
6474         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6475         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6476         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6478 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6480         [BZ #19929]
6481         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6482         [__USE_XOPEN2K8 && !__USE_GNU].
6483         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6484         variable.
6486         [BZ #19925]
6487         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6488         define if [!__USE_MISC && __USE_XOPEN2K].
6489         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6490         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6491         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6492         Likewise.
6493         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6494         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6495         variable.
6496         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6498 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6500         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6501         (sysdep_routines): Add new strspn targets.
6502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6503         (__libc_ifunc_impl_list): Add strspn.
6504         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6505         New file.
6506         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6507         Likewise.
6508         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6509         Likewise.
6510         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6511         Likewise.
6513 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6515         * misc/hsearch_r.c: Include <limits.h>.
6517 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6519         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6521 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6523         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6524         (MEMCPY_SYMBOL): New.
6525         (MEMPCPY_SYMBOL): Likewise.
6526         (MEMMOVE_CHK_SYMBOL): Likewise.
6527         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6528         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6529         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6530         Provide alias for memcpy in libc.a and ld.so.
6532 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6534         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6535         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6536         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6537         Disabled fro now.
6538         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6539         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6541 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6543         * benchtests/Makefile (string-benchset): Add memcpy-large,
6544         memmove-large and memset-large.
6545         * benchtests/bench-memcpy-large.c: New file.
6546         * benchtests/bench-memmove-large.c: Likewise.
6547         * benchtests/bench-memmove-large.c: Likewise.
6548         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6550 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6552         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6553         32-bit displacement to avoid long nop between instructions.
6555 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6557         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6558         a comment on VMOVU and VMOVA.
6560 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6562         [BZ #19633]
6563         Use specified locale for number formatting in strfmon_l.
6564         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6565         (__nl_lookup_word): New inline functions.
6566         * include/printf.h (__print_fp_l): Declare.
6567         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6568         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6569         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6570         (___printf_fp): New function.
6571         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6572         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6573         * stdlib/tst-strfmon_l.c (do_test): New test.
6574         * stdlib/Makefile (tests): Add kt.
6575         (LOCALES): Build additional locales.
6576         (tst-strfmon_l.out): Require locales.
6578 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6580         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6581         if not in libc.
6582         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6583         Likewise.
6584         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6585         Likewise.
6586         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6587         Likewise.
6589 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6591         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6592         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6593         with unaligned_erms.
6594         (__memmove_erms): Skip if source == destination.
6595         (__memmove_unaligned_erms): Don't check source == destination
6596         first.
6598 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6600         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6601         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6603 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6605         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6606         * string/strspn.c (strspn): Likewise.
6608 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6610         * benchtests/bench-memset.c (do_test): Support 64-byte
6611         alignment.
6612         (test_main): Test 64-byte alignment.
6614 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6616         * benchtests/bench-memmove.c (test_main): Test 64-byte
6617         alignment.
6619 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6621         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6623 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6625         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6626         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6627         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6629         * string/strpbrk.c (strpbrk): Rewrite function.
6630         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6631         (__strpbrk_c2): Likewise.
6632         (__strpbrk_c3): Likewise.
6633         * string/string-inlines.c
6634         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6635         Likewise.
6636         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6637         Likewise.
6639         * string/strspn.c (strcspn): Rewrite function.
6640         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6641         (__strspn_c1): Remove inline function.
6642         (__strspn_c2): Likewise.
6643         (__strspn_c3): Likewise.
6644         * string/string-inlines.c
6645         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6646         compatibility symbol.
6647         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6648         Likewise.
6649         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6650         Likewise.
6651         * string/string-inlines.c: Include generic version.
6653 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6654             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6656         * string/Version (libc): Add GLIBC_2.24.
6657         * string/strcspn.c (strcspn): Rewrite function.
6658         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6659         (__strcspn_c1): Remove inline function.
6660         (__strcspn_c2): Likewise.
6661         (__strcspn_c3): Likewise.
6662         * string/string-inline.c
6663         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6664         compatibility symbol.
6665         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6666         Likewise.
6667         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6668         Likewise.
6669         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6671 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6673         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6674         Use ahi instead of aghi to adjust stack pointer.
6676 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6678         [BZ #19853]
6679         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6680         TEST to take significant digits as second parameter.
6681         [TEST]: Redefine in terms of TEST_N taking 30
6682         significant digits.
6683         (do_test): Add test case to demonstrate precision
6684         failure in the ldbl-128ibm printf.
6685         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6686         (__mpn_extract_long_double): Carry 7 extra intermediate
6687         bits of precision to aide computing difference when
6688         signs differ.
6690 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6692         [BZ #19881]
6693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6694         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6695         memset-avx512-unaligned-erms.
6696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6697         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6698         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6699         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6700         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6701         __memset_sse2_unaligned_erms, __memset_erms,
6702         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6703         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6704         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6705         file.
6706         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6707         Likewise.
6708         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6709         Likewise.
6710         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6711         Likewise.
6713 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6715         [BZ #19776]
6716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6717         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6718         memmove-avx512-unaligned-erms.
6719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6720         (__libc_ifunc_impl_list): Test
6721         __memmove_chk_avx512_unaligned_2,
6722         __memmove_chk_avx512_unaligned_erms,
6723         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6724         __memmove_chk_sse2_unaligned_2,
6725         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6726         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6727         __memmove_avx512_unaligned_erms, __memmove_erms,
6728         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6729         __memcpy_chk_avx512_unaligned_2,
6730         __memcpy_chk_avx512_unaligned_erms,
6731         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6732         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6733         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6734         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6735         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6736         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6737         __mempcpy_chk_avx512_unaligned_erms,
6738         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6739         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6740         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6741         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6742         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6743         __mempcpy_erms.
6744         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6745         file.
6746         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6747         Likwise.
6748         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6749         Likwise.
6750         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6751         Likwise.
6753 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6755         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6756         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6757         (La_s390_64_regs): Likewise.
6758         (La_s390_32_retval): Append vector register lrv_v24.
6759         (La_s390_64_retval): Likeweise.
6760         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6761         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6762         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6763         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6765 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6767         [BZ #19916]
6768         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6769         to create a non-vector/vector version for _dl_runtime_resolve and
6770         _dl_runtime_profile. Move implementation to ...
6771         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6772         (_dl_runtime_resolve) Save and restore fpr/vrs.
6773         (_dl_runtime_profile) Save and restore vrs and fix some issues
6774         if _dl_call_pltexit is called.
6775         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6776         Choose the correct resolver function if running on a machine with vx.
6777         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6778         to create a non-vector/vector version for _dl_runtime_resolve and
6779         _dl_runtime_profile. Move implementation to ...
6780         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6781         (_dl_runtime_resolve) Save and restore fpr/vrs.
6782         (_dl_runtime_profile) Save and restore vrs and fix some issues
6783         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6784         Choose the correct resolver function if running on a machine with vx.
6786 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6788         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6790 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6792         [BZ #19509]
6793         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6794         skip_map != NULL.
6795         * elf/tst-dlsym-error.c: New file.
6796         * elf/Makefile (tests): Add tst-dlsym-error.
6797         (tst-dlsym-error): Link against libdl.
6799 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6802         (__ASSUME_FUTIMESAT): Remove macro.
6803         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6805 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6807         [BZ #19879]
6808         CVE-2016-3075
6809         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6810         copy name.
6812 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6814         [BZ #19837]
6815         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6816         error if parse_line fails.
6818 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6820         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6821         (index_cpu_ERMS): Likewise.
6822         (reg_ERMS): Likewise.
6824 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6826         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6827         PER_LINUX_FDPIC): Add.
6829 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6832         memcpy-avx512-no-vzeroupper.
6833         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6834         to ...
6835         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6836         (MEMCPY): Don't define.
6837         (MEMCPY_CHK): Likewise.
6838         (MEMPCPY): Likewise.
6839         (MEMPCPY_CHK): Likewise.
6840         (MEMPCPY_CHK): Renamed to ...
6841         (__mempcpy_chk_avx512_no_vzeroupper): This.
6842         (MEMPCPY_CHK): Renamed to ...
6843         (__mempcpy_chk_avx512_no_vzeroupper): This.
6844         (MEMCPY_CHK): Renamed to ...
6845         (__memmove_chk_avx512_no_vzeroupper): This.
6846         (MEMCPY): Renamed to ...
6847         (__memmove_avx512_no_vzeroupper): This.
6848         (__memcpy_avx512_no_vzeroupper): New alias.
6849         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6851 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6853         [BZ #18858]
6854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6855         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6856         and mempcpy-avx512-no-vzeroupper.
6857         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6858         New.
6859         (MEMPCPY): Likewise.
6860         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6861         (MEMPCPY_CHK): New.
6862         (MEMPCPY): Likewise.
6863         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6864         (MEMPCPY): Likewise.
6865         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6866         (MEMPCPY): Likewise.
6867         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6868         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6869         Likewise.
6870         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6871         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6873 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6874              Amit Pawar  <Amit.Pawar@amd.com>
6876         [BZ #19583]
6877         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6878         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6879         processors.  Set Fast_Copy_Backward for AMD Excavator
6880         processors.
6881         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6882         New.
6883         (index_arch_Fast_Unaligned_Copy): Likewise.
6884         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6885         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6887 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6889         [BZ #19791]
6890         * resolv/res_send.c (close_and_return_error): New function.
6891         (send_dg): Initialize *resplen2 after reopen failure.  Call
6892         close_and_return_error for error returns.  On error paths without
6893         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6894         successful return.
6896 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6898         [BZ# 19860]
6899         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6900         zero if the compiler does not provide the AVX512F bit.
6902 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6904         [BZ #19848]
6905         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6906         from 8 to 4.
6907         (__ieee754_powl): Compare integer exponent against 4 not 8.
6908         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6909         from 8 to 4.
6910         (__ieee754_powl): Compare integer exponent against 4 not 8.
6911         * math/auto-libm-test-in: Add more tests of pow.
6912         * math/auto-libm-test-out: Regenerated.
6913         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6916 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6918         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6919         Make code unconditional.
6920         [!__NR_utimensat]: Remove conditional code.
6921         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6922         Make code unconditional.
6923         [!__NR_utimensat]: Remove conditional code.
6924         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6925         Make code unconditional.
6926         [!__NR_utimensat]: Remove conditional code.
6928 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6930         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6931         Make code unconditional.
6933 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6935         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6936         call-clobbered %eax on retry path.
6937         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6939 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6941         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6942         Don't set %rcx twice before "rep movsb".
6944 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6946         [BZ #19583]
6947         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6948         inline.  Check family before setting family, model and
6949         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6950         bits here.
6951         (init_cpu_features): Replace HAS_CPU_FEATURE and
6952         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6953         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6954         for Intel processors with usable AVX2.  Call get_common_indeces
6955         for other processors with family == NULL.
6956         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6957         (CPU_FEATURES_ARCH_P): Likewise.
6958         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6959         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6961 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6963         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6964         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6965         $(shared-thread-library) instead of hardcoding the path to libpthread.
6967 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6969         * sysdeps/unix/sysv/linux/kernel-features.h
6970         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6971         * sysdeps/unix/sysv/linux/getdents.c
6972         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6973         [!have_no_getdents64_defined]: Likewise.
6974         (__GETDENTS): Remove __have_no_getdents64 conditional.
6976 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6978         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6979         Remove macro.
6980         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6981         <kernel-features.h>.
6982         (signalfd) [__NR_signalfd4]: Make code unconditional.
6983         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6985 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6987         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6988         style.
6990 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6992         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6993         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6994         __pthread_unwind.
6995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6996         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6997         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6998         (__condvar_cleanup1): Likewise.
7000 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7002         [BZ #19822]
7003         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7004         move it to the final $@ location.
7006 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7008         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7009         access where posix_spawn success and pid argument is null.
7010         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7011         success case.
7013 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7015         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7017         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7019         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7020         and __fcntl.
7021         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7022         __fcntl only.
7023         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7024         adding attribute_hidden to __open and __fcntl.
7026         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7027         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7028         depend on libc-modules.h,
7029         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7031 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7033         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7034         Remove macro.
7035         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7036         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7037         entry.
7039         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7040         Remove macro.
7041         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7042         include <kernel-features.h>.
7043         [!__ASSUME_FALLOCATE]: Remove conditional code.
7044         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7046 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7049         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7050         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7051         (_ZGVdN4v_cos_avx2): Likewise.
7052         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7053         (_ZGVdN4v_cos): Likewise.
7054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7055         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7056         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7057         (_ZGVdN4v_exp_avx2): Likewise.
7058         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7059         (_ZGVdN4v_exp): Likewise.
7060         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7061         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7062         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7063         (_ZGVdN4v_log_avx2): Likewise.
7064         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7065         (_ZGVdN4v_log): Likewise.
7066         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7067         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7068         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7069         (_ZGVdN4vv_pow_avx2): Likewise.
7070         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7071         (_ZGVdN4vv_pow): Likewise.
7072         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7073         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7075         (_ZGVdN4v_sin_avx2): Likewise.
7076         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7077         (_ZGVdN4v_sin): Likewise.
7078         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7079         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7080         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7081         (_ZGVdN4vvv_sincos_avx2): Likewise.
7082         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7083         (_ZGVdN4vvv_sincos): Likewise.
7084         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7085         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7086         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7087         (_ZGVbN4v_cosf_sse4): Likewise.
7088         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7089         (_ZGVdN8v_cosf_avx2): Likewise.
7090         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7091         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7092         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7093         (_ZGVbN4v_expf_sse4): Likewise.
7094         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7095         (_ZGVdN8v_expf_avx2): Likewise.
7096         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7097         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7098         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7099         (_ZGVbN4v_logf_sse4): Likewise.
7100         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7101         (_ZGVdN8v_logf_avx2): Likewise.
7102         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7103         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7104         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7105         (_ZGVbN4vv_powf_sse4): Likewise.
7106         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7107         (_ZGVdN8vv_powf_avx2): Likewise.
7108         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7109         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7110         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7111         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7112         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7113         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7115         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7117         (_ZGVbN4v_sinf_sse4): Likewise.
7118         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7119         (_ZGVdN8v_sinf_avx2): Likewise.
7120         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7121         Use JUMPTARGET to call callee.
7122         (WRAPPER_IMPL_SSE2_ff): Likewise.
7123         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7124         (WRAPPER_IMPL_AVX): Likewise.
7125         (WRAPPER_IMPL_AVX_ff): Likewise.
7126         (WRAPPER_IMPL_AVX_fFF): Likewise.
7127         (WRAPPER_IMPL_AVX512): Likewise.
7128         (WRAPPER_IMPL_AVX512_ff): Likewise.
7129         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7130         Likewise.
7131         (WRAPPER_IMPL_SSE2_ff): Likewise.
7132         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7133         (WRAPPER_IMPL_AVX): Likewise.
7134         (WRAPPER_IMPL_AVX_ff): Likewise.
7135         (WRAPPER_IMPL_AVX_fFF): Likewise.
7136         (WRAPPER_IMPL_AVX512): Likewise.
7137         (WRAPPER_IMPL_AVX512_ff): Likewise.
7138         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7140 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7142         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7143         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7144         qualifier.
7145         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7146         internal_function qualifiers.
7148 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7150         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7151         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7152         * math/atest-exp.c (exp_mpn): Mark chk unused.
7153         * math/atest-exp2.c (exp_mpn): Likwise.
7154         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7155         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7157 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7159         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7160         Remove macro.
7161         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7162         <kernel-features.h>.
7163         [__NR_ppoll]: Make code unconditional.
7164         [!__ASSUME_PPOLL]: Remove conditional code.
7166         * sysdeps/unix/sysv/linux/kernel-features.h
7167         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7168         (__ASSUME_ACCEPT4): Likewise.
7169         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7170         Define.
7171         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7172         Likewise.
7173         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7174         Likewise.
7175         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7176         Likewise.
7177         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7178         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7179         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7180         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7181         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7182         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7183         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7184         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7185         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7187         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7188         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7189         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7190         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7191         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7192         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7193         Likewise.
7194         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7195         Likewise.
7196         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7197         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7198         0x040300].
7199         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7200         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7201         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7202         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7203         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7204         0x030300].
7205         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7206         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7207         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7208         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7209         0x040300].
7210         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7212         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7213         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7214         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7215         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7216         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7217         0x030300].
7218         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7219         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7220         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7221         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7222         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7223         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7224         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7225         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7226         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7227         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7228         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7229         0x040300].
7230         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7231         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7232         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7233         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7234         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7236         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7237         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7238         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7239         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7240         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7241         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7242         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7243         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7244         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7245         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7246         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7247         Likewise.
7248         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7249         Likewise.
7251 2016-03-15  Andreas Schwab  <schwab@suse.de>
7253         [BZ #19257]
7254         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7255         statp->_u._ext.nscount as loop count.
7257 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7259         * math/test-signgam-finite-c99.c: Also #undef
7260         __LIBC_INTERNAL_MATH_INLINES.
7261         * math/test-signgam-main.c: Likewise.
7263 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7265         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7266         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7267         (MADV_FREE): Likewise.
7268         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7269         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7270         EPOLLEXCLUSIVE.
7272 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7274         * timezone/README: Remove mention of checktab.awk. Mention wiki
7275         SharedSourceFiles.
7277 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7279         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7280         WUNTRACED.
7282 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7284         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7285         order to match the type of p when calling atomic_exchange_acq().
7287 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7289         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7290         cfi_offset calls.
7291         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7292         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7293         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7294         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7295         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7297 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7299         * timezone/checktab.awk: Removed.
7301 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7303         * manual/math.texi (Errors in Math Functions): Document relaxed
7304         accuracy goals for IBM long double.
7305         * math/libm-test.inc (test_exceptions): Always allow spurious
7306         "underflow" and "inexact" exceptions for IBM long double.
7308 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7310         [BZ #19762]
7311         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7312         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7313         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7314         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7315         (bit_arch_*): This for feature array.
7316         (bit_*): Renamed to ...
7317         (bit_cpu_*): This for cpu array.
7318         (index_*): Renamed to ...
7319         (index_arch_*): This for feature array.
7320         (index_*): Renamed to ...
7321         (index_cpu_*): This for cpu array.
7322         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7323         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7324         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7325         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7326         bit_##name with index_cpu_##name and bit_cpu_##name.
7327         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7328         bit_##name with index_arch_##name and bit_arch_##name.
7330 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7332         [BZ #19792]
7333         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7334         Terminate FDE before return label.
7336 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7338         [BZ #19790]
7339         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7340         (rintl): Define as macro.
7341         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7342         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7343         of fesetround.  Ensure results are evaluated before end of scope.
7344         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7345         USE_AS_NEARBYINTL and include s_rintl.c.
7346         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7347         Disable exception traps in new environment.
7348         (libc_feholdsetround_ppc_ctx): Likewise.
7350 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7352         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7353         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7354         (tst_audit10_aux) [__AVX512F__]: ... here.
7356 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7358         * include/sys/auxv.h: New file.
7360 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7362         [BZ #19759]
7363         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7365 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7367         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7368         operand modifier.
7369         (feclearexcept): Likewise.
7371 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7373         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7374         to reflect the entire 32-bit HWCAP.
7375         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7376         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7378 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7380         [BZ #19783]
7381         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7382         $(test-via-rtld-prefix).
7383         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7385 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7387         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7388         union wait.  Report any non-zero exit status as error.
7390 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7392         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7393         configured with --enable-hardcoded-path-in-tests.
7395 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7397         [BZ #19677]
7398         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7399         (__ieee754_remainderl): Put zero low parts in canonical form.
7400         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7401         file.  Based on
7402         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7403         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7404         with wrapper round test-fmodrem-ldbl-128ibm.c.
7405         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7406         file.
7407         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7408         Likewise.
7409         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7410         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7412 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7414         [BZ #19610]
7415         * elf/ldconfig.c (opt_link): Update comment.
7416         (options): Update help string for option -X.
7417         (search_dir): Unlink stale symbolic link only if updating symbolic
7418         links.
7419         * elf/tst-ldconfig-X.sh: New file.
7420         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7421         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7423 2016-03-07  Andreas Schwab  <schwab@suse.de>
7425         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7426         needed arguments.
7428 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7430         [BZ #15333]
7431         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7432         to lstat64.
7434 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7436         * libio/filedoalloc.c (isatty): Remove.
7437         (local_isatty): Add comment.  Call __isatty directly.
7438         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7439         * libio/wfiledoalloc.c (isatty): Remove.
7440         (_IO_wfile_doallocate): Update comment.
7442 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7444         [BZ #19269]
7445         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7446         tst-audit4-aux.o.
7447         (tst-audit10): Depend on tst-audit10-aux.o.
7448         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7449         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7450         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7451         instead of inline AVX code.
7452         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7453         instead of inline AVX512 code.
7454         * sysdeps/x86_64/tst-audit4-aux.c: New file
7455         * sysdeps/x86_64/tst-audit10-aux.c: New file
7457         [BZ #19648]
7458         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7460 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7462         [BZ #14750]
7463         [BZ #10354]
7464         [BZ #18433]
7465         * include/sched.h (__clone): Add hidden prototype.
7466         (__clone2): Likewise.
7467         * include/unistd.h (__dup): Likewise.
7468         * posix/Makefile (tests): Add tst-spawn2.
7469         * posix/tst-spawn2.c: New file.
7470         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7471         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7472         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7473         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7474         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7475         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7476         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7477         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7478         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7479         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7480         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7482         Likewise.
7483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7484         Likewise.
7485         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7486         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7487         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7488         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7489         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7490         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7491         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7492         * sysdeps/unix/sysv/linux/nptl-signals.h
7493         (____nptl_is_internal_signal): New function.
7494         * sysdeps/unix/sysv/linux/spawni.c: New file.
7496         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7497         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7498         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7499         * posix/tst-execvp2.c (do_test): Likewise.
7500         * posix/tst-execvp3.c (do_test): Likewise.
7501         * posix/tst-execvp4.c (do_test): Likewise.
7502         * posix/tst-execvpe1.c: New file.
7503         * posix/tst-execvpe2.c: Likewise.
7504         * posix/tst-execvpe3.c: Likewise.
7505         * posix/tst-execvpe4.c: Likewise.
7506         * posix/tst-execvpe5.c: Likewise.
7507         * posix/tst-execvpe6.c: Likewise.
7509         [BZ #19534]
7510         * posix/execl.c (execl): Remove dynamic memory allocation.
7511         * posix/execle.c (execle): Likewise.
7512         * posix/execlp.c (execlp): Likewise.
7514 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7516         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7517         Replace .text with .text.avx512.
7518         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7519         Likewise.
7521 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7523         * sysdeps/generic/libnsl.abilist: New file.
7524         * sysdeps/generic/libutil.abilist: New file.
7526 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7528         [BZ #19762]
7529         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7530         HAS_ARCH_FEATURE with Fast_Rep_String.
7531         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7532         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7533         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7534         Likewise.
7535         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7536         Likewise.
7537         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7538         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7539         Likewise.
7540         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7541         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7542         Likewise.
7544 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7546         [BZ #19745]
7547         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7548         with *%rax in call.
7550 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7552         [BZ #19745]
7553         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7554         with *__libc_start_main@GOTPCREL(%rip) in call.
7556 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7558         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7559         inside conditional for nonempty $(CXX).
7561         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7562         nonempty.
7564         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7565         to test for empty $(CXX) rather than $(CXX) of "no".
7567 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7569         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7571 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7572             H.J. Lu  <hongjiu.lu@intel.com>
7574         [BZ #18880]
7575         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7576         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7577         enable __memcpy_ssse3_back.
7579 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7581         [BZ #19758]
7582         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7583         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7585 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7587         [BZ #19490]
7588         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7589         (__fentry__): Likewise.
7591 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7593         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7594         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7596 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7598         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7599         __mcount_internal directly.
7600         (C_LABEL(__fentry__)): Likewise.
7601         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7602         directly.
7604 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7606         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7607         (__start_context): Call __setcontext directly.
7609 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7611         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7612         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7613         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7614         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7615         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7616         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7617         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7618         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7619         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7620         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7621         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7622         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7623         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7624         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7625         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7626         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7627         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7628         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7629         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7630         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7631         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7632         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7633         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7634         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7635         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7636         Remove conditional code.
7637         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7638         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7639         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7640         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7641         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7642         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7643         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7644         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7645         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7646         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7647         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7648         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7650 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7652         * NEWS (2.23): Fix typo in bug 19048 text.
7654 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7656         [BZ #14259]
7657         * Makeconfig: Rename msgcatdir to localedir.
7658         Rename inst_msgcatdir to inst_localedir.
7659         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7660         * config.make.in: Add localedir.
7661         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7662         (ldd-rewrite): Likewise.
7663         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7664         (install-others): Use inst_localedir.
7665         (CPPFLAGS): Use localedir.
7666         * locale/Makefile (locale-CPPFLAGS): Likewise.
7667         * po/Makefile (mo-installed): Use inst_localedir.
7669         [BZ #19575]
7670         * localedata/charmaps/GB18030: Update comments regarding PAU to
7671         non-PUA mappings.
7673 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7675         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7676         test for header.
7677         * sysdeps/unix/sysv/linux/configure: Regenerated.
7678         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7679         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7680         Remove conditional code.
7681         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7683         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7684         Define to 3.2.0.
7685         (arch_minimum_kernel): Likewise.
7686         * sysdeps/unix/sysv/linux/configure: Regenerated.
7687         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7688         Define to 2.6.32.
7689         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7690         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7691         (arch_minimum_kernel): Define to 2.6.32.
7692         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7693         * README: Document Linux 3.2 requirement.
7694         * manual/install.texi (Linux): Document Linux 3.2 headers
7695         requirement.
7696         * INSTALL: Regenerated.
7698 2016-02-24  Andreas Schwab  <schwab@suse.de>
7700         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7701         if !NO_LONG_DOUBLE.
7703 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7705         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7706         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7708 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7710         [BZ #19512]
7711         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7713 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7715         * posix/tst-dir.c: Include libc-internal.h.
7717 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7719         [BZ #19056]
7720         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7721         * manual/filesys.texi (Reading/Closing Directory): Mention
7722         deprecaion.
7723         * posix/tst-dir.c (main): Disable deprecation warning in test.
7725 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7727         [BZ #19679]
7728         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7729         Renamed to ...
7730         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7731         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7732         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7733         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7734         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7735         * sysdeps/x86_64/dl-trampoline.h
7736         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7737         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7739 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7741         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7743 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7745         * elf/elf.h (R_386_GOT32X): New.
7746         (R_386_NUM): Update.
7747         (R_X86_64_GOTPCRELX: New.
7748         (R_X86_64_REX_GOTPCRELX): New.
7749         (R_X86_64_NUM): Update.
7751 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7753         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7755 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7757         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7758         assign attr->stackaddr to it, and adjust it down when
7759         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7760         [_STACK_GROWS_UP]: Delete assert.
7761         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7762         Implement stack grows up logic.
7763         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7764         stack grows up logic.
7766 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7768         * NEWS: Update with 2.24 template.
7770 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7772         [BZ #19678]
7773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7774         Ensure +0.0 is returned when taking the next value below the least
7775         positive value.
7777 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7779         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7780         available.  Do not define NO_THREADS.
7781         * malloc/malloc.c: Do not check NO_THREADS.
7782         * malloc/arena.c: Likewise.
7784 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7786         * malloc/malloc.c (__libc_mallinfo): Update comment.
7787         (struct malloc_par): Remove max_total_mem member, it was always 0.
7788         (int_mallinfo): Store 0 into usmblks (no functional change).
7789         * malloc/hooks.c (struct malloc_state): Document that
7790         max_total_mem is always 0.
7791         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7792         always 0.
7793         * manual/memory.texi (Statistics of Malloc): Likewise.
7795 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7797         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7798         * malloc/arena.c (arena_max): Remove.
7799         (heap_trim, _int_new_arena): Do not update arena_max.
7801 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7803         * resolv/res_init.c (res_ninit): Update comment.
7805 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7807         [BZ #19505]
7808         * posix/spawn_int.h: Add headers and include guard.
7809         (__spawn_valid_fd): New function.
7810         * posix/spawn_faction_addopen.c
7811         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7812         * posix/spawn_faction_addclose.c
7813         (posix_spawn_file_actions_addclose): Likewise.
7814         * posix/spawn_faction_adddup2.c
7815         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7816         second file descriptor.
7817         * posix/spawn_valid_fd.c: New file.
7818         * posix/tst-posix_spawn-fd.c: New file.
7819         * posix/Makefile (routines): Add spawn_valid_fd.
7820         (tests): Add tst-posix_spawn-fd.
7822 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7824         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7825         (do_test): Limit the number of arenas, so that we can use fewer
7826         outer threads.  Limit timeout to 3 seconds, in preparation for a
7827         larger TIMEOUT value.
7829 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7831         [BZ #19674]
7832         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7833         sign in overflowing and underflowing results when overflow or
7834         underflow is detected early.  Include sign in result before rather
7835         than after scaling.
7837         [BZ #19603]
7838         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7839         (__ieee754_remainderl): Adjust sign of integer version of low part
7840         when taking absolute value of high part.
7841         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7842         * math/libm-test.inc (remainder_test_data): Add another test.
7843         (remquo_test_data): Likewise.
7845 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7847         [BZ #19602]
7848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7849         equal high parts and both low parts zero specially.
7850         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7851         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7852         Add test-fmodl-ldbl-128ibm.
7854         [BZ #19595]
7855         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7856         common logic for all cases of shifting subnormal results.  Do not
7857         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7858         exponent to ldbl_insert_mantissa in subnormal case.
7860         [BZ #19594]
7861         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7862         on high and low parts then adjust result and use
7863         ldbl_canonicalize_int if needed.
7865         [BZ #19593]
7866         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7867         on high part and __floor or __ceil on low part then use
7868         ldbl_canonicalize_int if needed.
7870         [BZ #19592]
7871         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7872         high and low parts then use ldbl_canonicalize_int if needed.
7874         [BZ #17899]
7875         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7876         New function.
7877         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7878         on high and low parts then use ldbl_canonicalize_int if needed.
7880 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7882         * configure: Regenerated.
7884         * po/libc.pot: Regenerated.
7886         * po/be.po: Updated translation.
7887         * po/bg.po: Likewise.
7888         * po/ca.po: Likewise.
7889         * po/cs.po: Likewise.
7890         * po/da.po: Likewise.
7891         * po/el.po: Likewise.
7892         * po/eo.po: Likewise.
7893         * po/es.po: Likewise.
7894         * po/fi.po: Likewise.
7895         * po/fr.po: Likewise.
7896         * po/gl.po: Likewise.
7897         * po/hr.po: Likewise.
7898         * po/hu.po: Likewise.
7899         * po/ia.po: Likewise.
7900         * po/id.po: Likewise.
7901         * po/it.po: Likewise.
7902         * po/ja.po: Likewise.
7903         * po/lt.po: Likewise.
7904         * po/nb.po: Likewise.
7905         * po/nl.po: Likewise.
7906         * po/pt_BR.po: Likewise.
7907         * po/rw.po: Likewise.
7908         * po/sk.po: Likewise.
7909         * po/sl.po: Likewise.
7910         * po/sv.po: Likewise.
7911         * po/tr.po: Likewise.
7912         * po/zh_CN.po: Likewise.
7913         * po/zh_TW.po: Likewise.
7915         * version.h (RELEAES): Set to "development".
7916         (VERSION): Set to 2.23.90.
7918         * version.h (RELEASE): Set to "stable".
7919         (VERSION): Set to 2.23.
7920         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7922         * NEWS: Updated fixed bugs.
7924 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7925             Wilco Dijkstra  <wdijkstr@arm.com>
7927         [BZ #19462]
7928         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7929         (_STRING_INLINE_unaligned): This.
7930         * include/string.h: Include <string_private.h>.
7931         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7932         _STRING_INLINE_unaligned.
7933         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7934         (_STRING_INLINE_unaligned): New.
7935         * sysdeps/aarch64/string_private.h: New file.
7936         * sysdeps/generic/string_private.h: Likewise.
7937         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7938         * sysdeps/s390/string_private.h: Likewise.
7939         * sysdeps/x86/string_private.h: Likewise.
7940         * sysdeps/m68k/m680x0/m68020/bits/string.h
7941         (_STRING_ARCH_unaligned): Renamed to ...
7942         (_STRING_INLINE_unaligned): This.
7943         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7944         to ...
7945         (_STRING_INLINE_unaligned): This.
7946         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7947         to ...
7948         (_STRING_INLINE_unaligned): This.
7949         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7950         to ...
7951         (_STRING_INLINE_unaligned): This.
7953 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7954             H.J. Lu  <hongjiu.lu@intel.com>
7956         [BZ #19590]
7957         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7958         relocation.
7960 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7962         [BZ #18665]
7963         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7964         *herrno_p.
7965         (gaih_getanswer): Document functional behviour. Return tryagain
7966         if any result is tryagain.
7967         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7968         when freed.
7969         * resolv/res_send.c: Add copyright text.
7970         (__libc_res_nsend): Document that MAXPACKET is expected.
7971         (send_vc): Document. Remove buffer reuse.
7972         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7973         size of the buffer. Add Dprint for truncated UDP buffer.
7975 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7977         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7978         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7979         * INSTALL: Regenerate.
7981 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7982             Jonathan Wakely  <jwakely@redhat.com>
7983             Carlos O'Donell  <carlos@redhat.com>
7985         [BZ 19439]
7986         * math/Makefile (tests): Add test-math-isinff.
7987         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7988         * math/bits/mathcalls.h [__USE_MISC]: Use
7989         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7990         functions not in C++11 and which don't conflict e.g. isinff,
7991         isinfl etc.
7992         * math/test-math-isinff.cc: New file.
7994 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7996         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7998 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8000         [BZ #19529]
8001         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8003 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8005         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8007 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8009         [BZ #19550]
8010         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8011         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8012         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8013         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8014         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8015         New syscall entry.
8016         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8017         New syscall entry.
8018         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8019         syscall entry.
8021 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8023         [BZ #18240]
8024         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8025         unsigned int wraparound.
8027 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8029         [BZ #18240]
8030         * misc/bug18240.c: New test.
8031         * misc/Makefile (tests): Add it.
8033 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8034             Joseph Myers  <joseph@codesourcery.com>
8036         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8037         load in branch delay slot when less than a word of input left.
8039 2016-01-27  Andreas Schwab  <schwab@suse.de>
8041         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8042         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8043         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8044         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8046 2016-01-26  David S. Miller  <davem@davemloft.net>
8048         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8050 2016-01-25  David S. Miller  <davem@davemloft.net>
8052         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8053         __sqrtl_finite.
8054         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8055         instead using versioned_symbol.
8056         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8057         of entries.
8059         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8060         __sqrtl_finite to GLIBC_2.23
8062 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8064         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8066 2016-01-25  Andreas Schwab  <schwab@suse.de>
8068         [BZ #17514]
8069         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8070         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8071         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8072         * nptl/tst-mutex-errorcheck.c: New file.
8074 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8076         [BZ #18560]
8077         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8078         (IPCOP_semop): Likewise.
8079         (IPCOP_semget): Likewise.
8080         (IPCOP_semctl): Likewise.
8081         (IPCOP_msgsnd): Likewise.
8082         (IPCOP_msgrcv): Likewise.
8083         (IPCOP_msgget): Likewise.
8084         (IPCOP_msgctl): Likewise.
8085         (IPCOP_shmat): Likewise.
8086         (IPCOP_shmdt): Likewise.
8087         (IPCOP_shmget): Likewise.
8088         (IPCOP_shmctl): Likewise.
8090 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8092         * string/tst-endian.c: Include <libc-internal.h>.
8093         (do_test): Ignore tautological-compare warnings around
8094         "htobeXX (beXXtoh (i)) != i" and
8095         "htoleXX (leXXtoh (i)) != i" if-statements.
8097 2016-01-24  David S. Miller  <davem@davemloft.net>
8099         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8100         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8101         alias.
8102         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8103         __sqrtl_finite.
8105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8107 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8109         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8110         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8111         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8113 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8115         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8116         (thread_func): Use new function to simplify barrier check.
8117         (do_test): Use new function to simplify checking barrier exit
8118         code, and actually join the child thread.
8120 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8122         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8123         semicolon.
8124         (__libc_tend): Likewise.
8125         (__libc_tabort): Likewise.
8127 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8129         * sysdeps/nios2/libm-test-ulps: Update.
8130         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8131         (__gtsf2): Likewise.
8132         (__unorddf2): Likewise.
8133         (__unordsf2): Likewise.
8134         (__ledf2): Likewise.
8136 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8138         * nis/nis_table.c (__follow_path): Disable diagnostic for
8139         uninitialized variable that is a false positive for gcc 4.7.
8140         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8142 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8144         * sysdeps/nacl/lowlevellock-futex.h
8145         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8146         Always evaluate PRIVATE argument.
8148 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8150         [BZ #19490]
8151         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8152         (pthread_cond_broadcast): Use ENTRY/END
8153         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8154         (pthread_cond_signal): Likewise.
8155         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8156         Likewise.
8157         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8158         Likewise.
8159         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8160         Likewise.
8162 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8164         * sysdeps/ieee754/dbl-64/s_finite.c
8165         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8166         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8167         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8168         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8169         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8172         (__gtsf2): Add as optional for libc.so.
8173         (__unordsf2): Likewise.
8174         (__signbit): Remove for libc.so.
8175         (__signbitl): Likewise.
8177 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8179         * iconvdata/bug-iconv11.c (test_ibm93x):
8180         Use %zu printf format specifier for size_t argument.
8182 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8184         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8185         already-recorded ulps.
8186         * sysdeps/arm/libm-test-ulps: Regenerated.
8187         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8188         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8189         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8191 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8192             Paul Pluzhnikov  <ppluzhnikov@google.com>
8194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8195         assembler not supporting AVX-512.
8197 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8199         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8201 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8203         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8204         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8206         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8208         * sysdeps/arm/libm-test-ulps: Regenerated.
8210 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8212         [BZ #19451]
8213         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8215 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8217         [BZ #19486]
8218         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8219         * sysdeps/generic/fix-fp-int-convert-overflow.h
8220         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8221         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8222         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8223         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8224         Likewise.
8225         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8226         Avoid conversions to long int where inexact exceptions
8227         could be raised.
8228         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8229         Likewise.
8230         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8231         Avoid conversions to long long int where inexact exceptions
8232         could be raised.
8233         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8234         Likewise.
8236 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8238         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8239         * configure: Regenerated.
8241 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8243         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8245 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8247         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8248         outside of comment.
8250 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8252         * nptl/tst-barrier1.c: Add description on first line.
8253         * nptl/tst-barrier2.c: Likewise.
8254         * nptl/tst-barrier3.c: Likewise.
8255         * nptl/tst-barrier4.c: Likewise.
8256         * nptl/tst-barrier5.c: Likewise.
8258 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8260         [BZ #18868]
8261         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8263 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8267         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8268         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8269         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8270         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8271         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8272         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8273         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8274         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8275         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8277 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8279         [BZ #13065]
8280         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8281         new implementation.
8282         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8283         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8284         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8285         (BARRIER_IN_THRESHOLD): New macro.
8286         * nptl/pthread_barrierattr_setpshared.c
8287         (pthread_barrierattr_setpshared): Clean up.
8288         * nptl/tst-barrier4.c: Correct comment.
8289         * nptl/tst-barrier5.c: New file.
8290         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8291         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8292         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8293         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8294         * nptl/lowlevelbarrier.sym: Remove.
8295         * nptl/DESIGN-barrier.txt: Remove.
8296         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8297         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8298         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8299         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8300         error.
8301         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8302         implementation.
8304 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8306         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8307         (do_child): Mask SIGRTMIN while thr is running.
8309 2016-01-15  Martin Sebor  <msebor@redhat.com>
8311         [BZ #19432]
8312         * iconvdata/Makefile: Add bug-iconv11.
8313         * iconvdata/bug-iconv11.c: New test.
8314         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8315         * iconvdata/ibm933.c: Same.
8316         * iconvdata/ibm935.c: Same.
8317         * iconvdata/ibm937.c: Same.
8318         * iconvdata/ibm939.c: Same.
8320 2016-01-15  Martin Sebor  <msebor@redhat.com>
8322         [BZ #19443]
8323         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8324         [DEBUG] (_ufc_set_bits): Declare used.
8325         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8326         [DEBUG] (print_all): Declare used.
8327         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8328         operands of the ternary ?: expression to target type.
8329         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8330         calling the undeclared abort.
8331         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8333 2016-01-15  Martin Sebor  <msebor@redhat.com>
8335         [BZ #18755]
8336         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8337         warnings.
8338         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8339         (__gai_create_helper_thread): Same.
8340         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8341         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8342         to suppress -Wmaybe-uninitialized warnings.
8344 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8346         [BZ #19465]
8347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8348         inside if.
8349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8350         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8353 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8355         [BZ #19466]
8356         * time/tst-mktime2.c (time_t_max): Removed.
8357         (time_t_min): Likewise.
8358         (TYPE_SIGNED): New.
8359         (TYPE_MINIMUM): Likewise.
8360         (TYPE_MAXIMUM): Likewise.
8361         (TIME_T_MIN): Likewise.
8362         (TIME_T_MAX): Likewise.
8363         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8364         and TIME_T_MIN.
8365         (do_test): Likewise.
8367 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8369         [BZ #19467]
8370         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8371         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8373 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8375         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8377 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8379         * benchtests/Makefile (PYTHON): Define.
8380         (bench-func): Use $(PYTHON) to run python scripts.
8381         ($(objpfx)bench-%.c): Likewise.
8383 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8385         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8386         leading slash when `file_name' is "/".
8388 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8390         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8391         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8392         Likewise.
8393         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8394         Likewise.
8395         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8396         Likewise.
8397         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8398         enum constant and macro.
8399         (PTRACE_SETSIGMASK): Likewise.
8400         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8401         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8402         (PTRACE_GETSIGMASK): Likewise.
8403         (PTRACE_SETSIGMASK): Likewise.
8404         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8405         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8406         Likewise.
8407         (PTRACE_SETSIGMASK): Likewise.
8408         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8409         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8410         (PTRACE_GETSIGMASK): Likewise.
8411         (PTRACE_SETSIGMASK): Likewise.
8412         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8413         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8414         Likewise.
8415         (PTRACE_SETSIGMASK): Likewise.
8416         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8418         Likewise.
8419         (PTRACE_SETSIGMASK): Likewise.
8420         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8421         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8422         Likewise.
8423         (PTRACE_SETSIGMASK): Likewise.
8424         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8426 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8427             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8429         [BZ #19439]
8430         * math/bits/mathcalls.h
8431         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8432         prototype.
8433         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8435 2016-01-11  Andreas Schwab  <schwab@suse.de>
8437         [BZ #19253]
8438         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8439         cache when TZDEFRULES was used.
8440         * time/tst-tzname.c: New file.
8441         * time/Makefile (test): Add tst-tzname.
8442         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8443         * timezone/Makefile (test-zones): Add $(posixrules-file).
8444         ($(testdata)/$(posixrules-file)): New rule.
8446 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8448         Fix doc quoting problems with Texinfo 5
8449         Without this change, in the info file output, Texinfo 5 quotes code
8450         in text with undirected single quotes 'like this' and generates
8451         code examples that with many PDF readers cannot be cut out of PDFs
8452         and pasted into code.
8453         * manual/libc.texinfo: Configure the libc manual like the GNU
8454         Emacs manual, by using @documentencoding and setting
8455         txicodequoteundirected and txicodequotebacktick.  This way,
8456         Texinfo 5 quotes code in text with directed single quotes ‘like
8457         this’ and produces examples that can be cut out of PDFs.  This
8458         change causes Texinfo 5 to generate info files that contain UTF-8
8459         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8460         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8462 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8464         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8465         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8466         barriers to their respective compiler built-ins.
8467         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8468         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8469         * sysdeps/powerpc/sysdep.h: Likewise.
8470         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8471         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8472         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8474 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8476         * scripts/config.guess: Revert previous shebang change.
8477         * scripts/config.sub: Likewise.
8478         * scripts/mkinstalldirs: Likewise.
8480 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8482         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8483         PPC_FEATURE2_HAS_IEEE128.
8484         * sysdeps/powerpc/dl-procinfo.c:
8485         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8487 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8489         [BZ #19415]
8490         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8491         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8492         (_dl_lookup_address): Rewrite using function resolver trampoline.
8493         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8494         two bits in address.
8496 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8498         * longlong.h: Change !__SHMEDIA__ to
8499         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8500         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8502 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8503             Joseph Myers  <joseph@codesourcery.com>
8504             Mark Shinwell  <shinwell@codesourcery.com>
8505             Andrew Stubbs  <ams@codesourcery.com>
8506             Rich Felker <dalias@libc.org>
8508         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8510 2016-01-07  Richard Henderson  <rth@redhat.com>
8512         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8514 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8516         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8517         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8518         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8519         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8520         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8522 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8523             Joseph Myers  <joseph@codesourcery.com>
8525         * timezone/private.h: Update from tzcode 2015g.
8526         * timezone/tzfile.h: Likewise.
8527         * timezone/tzselect.ksh: Likewise.
8528         * timezone/zdump.c: Likewise.
8529         * timezone/zic.c: Likewise.
8530         * timezone/ialloc.c: Remove file.
8531         * timezone/scheck.c: Likewise.
8532         * timezone/Makefile (extra-objs): Remove variable.
8533         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8534         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8535         -Wno-maybe-uninitialized.
8536         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8537         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8538         (CFLAGS-ialloc.c): Remove variable.
8539         (CFLAGS-scheck.c): Likewise.
8540         * timezone/README: Update list of files from tzcode.
8542 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8544         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8545         instead of __fxprintf when _LIBC is undefined.
8547 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8549         * catgets/test-gencat.sh: Remove space after shebang.
8550         * conform/GlibcConform.pm: Likewise.
8551         * conform/check-header-lists.sh: Likewise.
8552         * conform/conformtest.pl: Likewise.
8553         * conform/linknamespace.pl: Likewise.
8554         * conform/list-header-symbols.pl: Likewise.
8555         * debug/catchsegv.sh: Likewise.
8556         * elf/genrtldtbl.awk: Likewise.
8557         * elf/tst-pathopt.sh: Likewise.
8558         * elf/tst-rtld-load-self.sh: Likewise.
8559         * grp/tst_fgetgrent.sh: Likewise.
8560         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8561         * iconvdata/gen-8bit-gap.sh: Likewise.
8562         * iconvdata/gen-8bit.sh: Likewise.
8563         * iconvdata/run-iconv-test.sh: Likewise.
8564         * intl/tst-gettext.sh: Likewise.
8565         * intl/tst-gettext2.sh: Likewise.
8566         * intl/tst-gettext4.sh: Likewise.
8567         * intl/tst-gettext6.sh: Likewise.
8568         * intl/tst-translit.sh: Likewise.
8569         * io/ftwtest-sh: Likewise.
8570         * libio/test-freopen.sh: Likewise.
8571         * locale/gen-translit.pl: Likewise.
8572         * malloc/tst-mtrace.sh: Likewise.
8573         * manual/check-safety.sh: Likewise.
8574         * manual/libc-texinfo.sh: Likewise.
8575         * manual/tsort.awk: Likewise.
8576         * manual/xtract-typefun.awk: Likewise.
8577         * nptl/tst-cancel-wrappers.sh: Likewise.
8578         * nptl/tst-tls6.sh: Likewise.
8579         * posix/globtest.sh: Likewise.
8580         * posix/tst-getconf.sh: Likewise.
8581         * posix/wordexp-tst.sh: Likewise.
8582         * scripts/check-c++-types.sh: Likewise.
8583         * scripts/check-local-headers.sh: Likewise.
8584         * scripts/config.guess: Likewise.
8585         * scripts/config.sub: Likewise.
8586         * scripts/cpp: Likewise.
8587         * scripts/cross-test-ssh.sh: Likewise.
8588         * scripts/documented.sh: Likewise.
8589         * scripts/evaluate-test.sh: Likewise.
8590         * scripts/gen-libc-abis: Likewise.
8591         * scripts/gen-sorted.awk: Likewise.
8592         * scripts/list-fixed-bugs.py: Likewise.
8593         * scripts/merge-test-results.sh: Likewise.
8594         * scripts/mkinstalldirs: Likewise.
8595         * scripts/rellns-sh: Likewise.
8596         * scripts/test-installation.pl: Likewise.
8597         * scripts/update-copyrights: Likewise.
8598         * stdio-common/tst-printf.sh: Likewise.
8599         * stdio-common/tst-unbputc.sh: Likewise.
8600         * stdlib/tst-fmtmsg.sh: Likewise.
8601         * stdlib/tst-setcontext3.sh: Likewise.
8602         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8603         * sysdeps/unix/make-syscalls.sh: Likewise.
8605 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8607         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8608         asm stw with atomic_exchange_rel.  Add explanatory comment.
8609         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8610         Likewise.
8612 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8614         [BZ #19122]
8615         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8616         * sysdeps/generic/dl-unistd.h: New file.
8617         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8619 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8621          [BZ #19122]
8622          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8623          * sysdeps/generic/dl-mman.h: New file.
8624          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8626 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8628         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8629         trailing whitespace removed.
8630         * scripts/config.guess: Update to version 2016-01-01.
8631         * scripts/config.sub: Update to version 2016-01-01.
8632         * scripts/move-if-change: Update from gnulib.
8634 2016-01-04  Anton Blanchard  <anton@samba.org>
8636         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8637         for array indices.
8638         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8640 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8642         * NEWS: Update copyright dates.
8643         * catgets/gencat.c (print_version): Likewise.
8644         * csu/version.c (banner): Likewise.
8645         * debug/catchsegv.sh: Likewise.
8646         * debug/pcprofiledump.c (print_version): Likewise.
8647         * debug/xtrace.sh (do_version): Likewise.
8648         * elf/ldconfig.c (print_version): Likewise.
8649         * elf/ldd.bash.in: Likewise.
8650         * elf/pldd.c (print_version): Likewise.
8651         * elf/sotruss.sh: Likewise.
8652         * elf/sprof.c (print_version): Likewise.
8653         * iconv/iconv_prog.c (print_version): Likewise.
8654         * iconv/iconvconfig.c (print_version): Likewise.
8655         * locale/programs/locale.c (print_version): Likewise.
8656         * locale/programs/localedef.c (print_version): Likewise.
8657         * login/programs/pt_chown.c (print_version): Likewise.
8658         * malloc/memusage.sh (do_version): Likewise.
8659         * malloc/memusagestat.c (print_version): Likewise.
8660         * malloc/mtrace.pl: Likewise.
8661         * manual/libc.texinfo: Likewise.
8662         * nptl/version.c (banner): Likewise.
8663         * nscd/nscd.c (print_version): Likewise.
8664         * nss/getent.c (print_version): Likewise.
8665         * nss/makedb.c (print_version): Likewise.
8666         * posix/getconf.c (main): Likewise.
8667         * scripts/test-installation.pl: Likewise.
8668         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8670         * All files with FSF copyright notices: Update copyright dates
8671         using scripts/update-copyrights.
8672         * intl/plural.c: Regenerated.
8673         * locale/programs/charmap-kw.h: Likewise.
8674         * locale/programs/locfile-kw.h: Likewise.
8676 2016-01-02  Helge Deller  <deller@gmx.de>
8678         [BZ #19285]
8679         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8680         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8681         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8682         (MADV_xxK_PAGES): Remove.
8684 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8686         [BZ #15421]
8687         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8688         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8689         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8690         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8692 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8694         [BZ #19408]
8695         * sysdeps/unix/sysv/linux/personality.c: New file.
8696         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8697         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8698         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8699         (sysdep_routines): Add personality.
8700         (tests): Add tst-personality.
8701         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8702         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8703         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8704         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8705         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8706         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8707         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8708         Likewise.
8709         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8710         Likewise.
8711         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8712         Likewise.
8713         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8714         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8715         Likewise.
8717 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8719         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8720         (PATH_ARM_SYSTYPE): Remove.
8721         (PATH_CPUINFO): Likewise.
8722         (IO_BASE_FOOTBRIDGE): Likewise.
8723         (IO_SHIFT_FOOTBRIDGE): Likewise.
8724         (struct platform): Likewise.
8725         (init_iosys): Remove compatibility code for 2.4 kernels.
8726         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8728 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8730         * malloc/tst-malloc-thread-fail.c: New file.
8731         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8732         (tst-malloc-thread-fail): Link against libpthread.
8734 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8736         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8737         (get_parser): New function.
8738         (main): New function.
8740 2015-12-29  Rob Wu  <rob@robwu.nl>
8742         [BZ #19369]
8743         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8745 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8747         [BZ #19270]
8748         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8750 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8752         [BZ #15421]
8753         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8755 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8757         [BZ #13690]
8758         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8759         after releasing it.
8760         (__lll_robust_unlock): Likewise.
8761         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8762         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8763         (lll_robust_unlock): Likewise.
8764         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8765         Prevent warnings in callers.
8767 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8769         * malloc/arena.c (list_lock): Update comment.
8771 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8773         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8774         __parse_hwcap_and_convert_at_platform to libc.a.
8776 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8778         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8779         platform and feature support for POWER9.
8780         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8781         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8782         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8783         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8784         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8785         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8786         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8787         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8789 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8791         Harmonize generic stdio-lock support with nptl
8793         This fixes build when _IO_funlockfile is a macro, fixes build where
8794         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8795         stack unwind.
8797         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8798         _IO_release_lock ): Use cleanup attribute on new
8799         _IO_acquire_lock_file variable instead of assuming that
8800         _IO_release_lock will be called.
8801         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8802         _IO_acquire_lock_needs_exceptions_enabled.
8803         (_IO_acquire_lock_clear_flags2): New macro.
8805 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8807         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8809 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8811         [BZ #19182]
8812         * malloc/arena.c (list_lock): Document lock ordering requirements.
8813         (free_list_lock): New lock.
8814         (ptmalloc_lock_all): Comment on free_list_lock.
8815         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8816         (detach_arena): Update comment.  free_list_lock is now needed.
8817         (_int_new_arena): Use free_list_lock around detach_arena call.
8818         Acquire arena lock after list_lock.  Add comment, including FIXME
8819         about incorrect synchronization.
8820         (get_free_list): Switch to free_list_lock.
8821         (reused_arena): Acquire free_list_lock around detach_arena call
8822         and attached threads counter update.  Add two FIXMEs about
8823         incorrect synchronization.
8824         (arena_thread_freeres): Switch to free_list_lock.
8825         * malloc/malloc.c (struct malloc_state): Update comments to
8826         mention free_list_lock.
8828 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8830         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8831         Remove functions.
8832         (sloww, sloww1): Accept argument to offset quadrant.
8833         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8834         quadrant.
8835         (__sin, __cos): Consolidate common code into new functions.
8836         (reduce_sincos_1, do_sincos_1): New functions.
8837         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8839         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8840         code to new functions.
8841         (reduce_sincos_2, do_sincos_2): New functions.
8842         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8844         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8845         common code for sincos.
8846         (__cos) [!IN_SINCOS]: Likewise.
8847         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8848         New function.
8849         (__sincos): Use it.
8851 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8853         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8854         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8855         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8857 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8859         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8862         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8863         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8864         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8865         index_Prefer_No_VZEROUPPER): New feature.
8866         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8867         Prefer_No_VZEROUPPER for Knights Landing.
8869 015-12-18  Torvald Riegel  <triegel@redhat.com>
8871         * math/atest-exp2.c (mp_exp_m1): Remove.
8873 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8875         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8876         syscalls.
8877         (__SYSCALL0): New macro.
8878         (__SYSCALL1): Likewise.
8879         (__SYSCALL2): Likewise.
8880         (__SYSCALL3): Likewise.
8881         (__SYSCALL4): Likewise.
8882         (__SYSCALL5): Likewise.
8883         (__SYSCALL6): Likewise.
8884         (__SYSCALL_CONCAT_X): Likewise.
8885         (__SYSCALL_CONCAT): Likewise.
8886         (__SYSCALL_DIST): Likewise.
8887         (__SYSCALL_CALL): Likewise.
8889 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8891         [BZ #19363]
8892         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8894 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8896         [BZ #19375]
8897         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8898         negative subnormals.
8900 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8903         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8904         (INTERNAL_SYSCALL_NCS): Use it.
8905         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8907 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8909         [BZ #19243]
8910         * malloc/arena.c (get_free_list): Remove assert and adjust
8911         reference count handling.  Add comment about reused_arena
8912         interaction.
8913         (reused_arena): Add comments abount get_free_list interaction.
8914         * malloc/tst-malloc-thread-exit.c: New file.
8915         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8916         (tst-malloc-thread-exit): Link against libpthread.
8918 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8920         [BZ #19367]
8921         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8922         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8923         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8924         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8925         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8927 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8929         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8930         Silvermont optimizations for Knights Landing.
8932 2015-12-15  Andreas Schwab  <schwab@suse.de>
8934         [BZ #17197]
8935         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8936         immediately after emitting SI.
8937         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8938         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8939         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8940         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8941         * iconvdata/bug-iconv10.c: New file.
8942         * iconvdata/Makefile (tests): Add bug-iconv10.
8943         ($(objpfx)bug-iconv10.out): New rule.
8945 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8947         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8948         aliasing violation.
8950 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8952         [BZ #18472]
8953         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8954         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8955         conditionals for them.
8956         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8957         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8959         sys/kdaemon.h.
8960         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8961         compat-only syscall, obsoleted in glibc 2.23.
8962         (create_module): Likewise.
8963         (get_kernel_syms): Likewise.
8964         (query_module): Likewise.
8965         (uselib): Likewise.
8966         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8968 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8970         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8971         <linux/version.h>.
8972         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8973         conditional code.
8974         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8975         and ioshift_name initialization.
8977 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8979         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8980         Fix indentation.
8982 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8984         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8986 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8988         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8990 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8991             Jakub Wilk  <jwilk@debian.org>
8993         [BZ #19347]
8994         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8995         to change the group of the device to the tty group.
8997 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8999         Split large string section; add truncation advice
9000         * manual/examples/strncat.c: Remove.
9001         This example was misleading, as the code would have undefined
9002         behavior if "hello" was longer than SIZE.  Anyway, the manual
9003         shouldn't encourage strncpy+strncat for this sort of thing.
9004         * manual/string.texi (Copying Strings and Arrays): Split into
9005         three sections Copying Strings and Arrays, Concatenating Strings,
9006         and Truncating Strings, as this section was way too long.  All
9007         cross-referenced changed.  Add advice about string-truncation
9008         functions.  Remove misleading strncat example.
9010 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9012         * manual/nss.texi (NSS Modules Interface): Document
9013         NSS_STATUS_NOTFOUND and SUCCESS.
9015 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9017         [BZ 18568]
9018         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9019         201505L, for Unicode 8.
9021 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9023         * locale/C-translit.h: Regenerate.
9025 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9027         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9028         and U+0153.
9030 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9032         [BZ #19351]
9033         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9034         expanding log(1+z), compare z rather than its square with epsilon
9035         to determine when to avoid evaluating the expansion.
9037         [BZ #19350]
9038         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9039         Increase overflow threshold.
9041         [BZ #19349]
9042         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9043         when small.
9045         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9046         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9047         New macro.
9048         [__LINUX_KERNEL_VERSION >= 0x040300]
9049         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9050         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9051         Likewise.
9052         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9053         Likewise.
9054         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9055         Likewise.
9056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9057         Likewise.
9058         [__LINUX_KERNEL_VERSION >= 0x040300]
9059         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9060         [__LINUX_KERNEL_VERSION >= 0x040300]
9061         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9062         [__LINUX_KERNEL_VERSION >= 0x040300]
9063         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9064         [__LINUX_KERNEL_VERSION >= 0x040300]
9065         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9066         [__LINUX_KERNEL_VERSION >= 0x040300]
9067         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9068         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9069         Likewise.
9070         [__LINUX_KERNEL_VERSION >= 0x040300]
9071         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9072         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9073         Likewise.
9074         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9075         Likewise.
9076         [__LINUX_KERNEL_VERSION >= 0x040300]
9077         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9078         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9079         Likewise.
9080         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9081         Likewise.
9082         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9083         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9084         Likewise.
9085         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9086         Likewise.
9087         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9088         Likewise.
9089         [__LINUX_KERNEL_VERSION >= 0x040300]
9090         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9091         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9092         Likewise.
9093         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9094         Likewise.
9095         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9096         Likewise.
9097         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9098         Likewise.
9099         [__LINUX_KERNEL_VERSION >= 0x040300]
9100         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9101         [__LINUX_KERNEL_VERSION >= 0x040300]
9102         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9103         [__LINUX_KERNEL_VERSION >= 0x040300]
9104         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9105         [__LINUX_KERNEL_VERSION >= 0x040300]
9106         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9107         [__LINUX_KERNEL_VERSION >= 0x040300]
9108         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9109         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9110         Likewise.
9111         [__LINUX_KERNEL_VERSION >= 0x040300]
9112         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9114         Likewise.
9115         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9116         Likewise.
9117         [__LINUX_KERNEL_VERSION >= 0x040300]
9118         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9119         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9120         Likewise.
9121         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9122         Likewise.
9123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9124         (__ASSUME_SOCKET_SYSCALL): Likewise.
9125         (__ASSUME_BIND_SYSCALL): Likewise.
9126         (__ASSUME_CONNECT_SYSCALL): Likewise.
9127         (__ASSUME_LISTEN_SYSCALL): Likewise.
9128         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9129         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9130         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9131         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9132         (__ASSUME_SEND_SYSCALL): Likewise.
9133         (__ASSUME_SENDTO_SYSCALL): Likewise.
9134         (__ASSUME_RECV_SYSCALL): Likewise.
9135         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9136         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9137         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9138         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9139         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9140         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9141         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9142         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9143         Likewise.
9144         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9145         Likewise.
9146         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9147         Likewise.
9148         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9149         Likewise.
9150         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9151         Likewise.
9152         [__LINUX_KERNEL_VERSION >= 0x020625]
9153         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9154         [__LINUX_KERNEL_VERSION >= 0x020625]
9155         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9156         [__LINUX_KERNEL_VERSION >= 0x020625]
9157         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9158         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9159         Likewise.
9160         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9161         Likewise.
9162         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9163         Likewise.
9164         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9165         Likewise.
9166         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9167         Likewise.
9168         [__LINUX_KERNEL_VERSION >= 0x020625]
9169         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9170         [__LINUX_KERNEL_VERSION >= 0x020625]
9171         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9172         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9173         Likewise.
9174         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9175         Likewise.
9177 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9179         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9180         record the current if the current ABI and CPU support the FP64
9181         extension.
9182         (has-modd-spreg): Define to record the current if the current ABI and
9183         CPU support 32-bit floating point values in odd FPU registers.
9184         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9185         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9186         $(has-modd-spreg) equals yes.
9187         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9188         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9189         $(has-modd-spreg) equal yes.
9191 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9193         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9194         basename.
9196 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9198         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9199         (bench-string): ... here.
9200         (bench): Add bench-string.
9201         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9202         to *-benchset to reflect what they are.
9203         (benchset): Adjust.
9205         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9206         cos-inputs.
9208 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9210         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9211         __attribute__ ((__simd__)) for vector math function declarations.
9213 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9215         Fix typo in strncat, wcsncat manual entries
9216         * manual/string.texi (Copying and Concatenation): Fix typos in
9217         sample implementations of strncat and wcsncat, by having them use
9218         the old value of the destination length, not the new one.
9220 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9222         [BZ #16961]
9223         [BZ #16962]
9224         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9225         string on the stack for strtod.
9226         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9227         a string on the stack for strtof.
9228         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9229         constructing a string on the stack for strtold.
9230         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9231         __strtold_nan to GLIBC_PRIVATE.
9232         * math/test-nan-overflow.c: New file.
9233         * math/test-nan-payload.c: Likewise.
9234         * math/Makefile (tests): Add test-nan-overflow and
9235         test-nan-payload.
9237 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9239         Consistency about byte vs character in string.texi
9240         * manual/string.texi (String and Array Utilities):
9241         Distinguish more carefully among bytes, multibyte characters,
9242         and wide characters.  Use "byte" when talking about C 'char',
9243         to distinguish it more clearly from multibyte characters.
9244         Say "wide character" or "multibyte character" instead of
9245         "character", when a wide or multibyte character is intended.
9246         Similarly for "multibyte string" versus "string".
9247         Define these terms more carefully.
9249 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9251         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9252         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9253         Likewise.
9254         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9255         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9256         * sysdeps/sh/math_private.h: New file.
9257         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9258         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9259         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9260         long double function name.
9261         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9262         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9263         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9264         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9265         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9267         Remove __finitel, __isinfl, and __isnanl.
9268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9269         Likewise.
9270         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9272         Remove __finitel.
9273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9274         Likewise.
9275         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9277 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9279         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9280         installed libmvec_nonshared.a.
9282 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9284         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9285         (sysdep_routines): Likewise.
9286         (sysdep-rtld-routines): Likewise.
9287         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9288         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9289         * sysdeps/powerpc/Versions: Added new
9290         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9291         * sysdeps/powerpc/hwcapinfo.c: New file.
9292         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9293         and parse hwcap, hwcap2 and platform number information.
9294         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9295         to store HWCAP+HWCAP2 and platform number.
9296         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9297         for HWCAP+HWCAP2 and platform number in the TCB.
9298         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9299         the HWCAP, HWCAP2 and platform number in the TCB.
9300         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9301         (TLS_INIT_TP): Included calls to add the hwcap and
9302         at_platform values in the TCB in TP initialization.
9303         (TLS_DEFINE_INIT_TP): Likewise.
9304         (THREAD_GET_HWCAP): New macro.
9305         (THREAD_SET_HWCAP): Likewise.
9306         (THREAD_GET_AT_PLATFORM): Likewise.
9307         (THREAD_SET_AT_PLATFORM): Likewise.
9308         * sysdeps/powerpc/powerpc32/dl-machine.h:
9309         (dl_platform_init): New function that calls
9310         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9311         powerpc32.
9312         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9313         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9314         this functionality, static linking case.
9315         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9316         linking case.
9317         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9318         __parse_hwcap_and_convert_at_platform for the static linking case.
9319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9320         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9321         ABI list for GLIBC 2.23.
9322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9323         Likewise.
9324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9325         Likewise.
9327 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9329         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9330         * configure: Regenerate.
9331         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9332         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9334 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9336         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9337         * iconvdata/ibm933.c: Likewise.
9338         * iconvdata/ibm935.c: Likewise.
9339         * iconvdata/ibm937.c: Likewise.
9340         * iconvdata/ibm939.c: Likewise.
9342 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9344         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9345         pthread_join.
9346         * nptl/tst-cancel21.c (tf): Likewise.
9348 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9350         [BZ #19313]
9351         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9352         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9353         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9354         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9355         Likewise.
9356         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9357         Likewise.
9358         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9359         Likewise.
9360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9361         Likewise.
9362         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9363         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9364         unsigned long int with __CPU_MASK_TYPE.
9366 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9368         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9370 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9372         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9373         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9374         t512.x.
9375         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9377 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9379         [BZ #19214]
9380         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9381         argument to return extended model.  Update family and model
9382         with extended family and model when family == 0x0f.
9383         (init_cpu_features): Updated.
9385 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9387         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9388         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9390         * sysdeps/mach/hurd/mmap64.c: New file.
9392 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9394         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9395         rights for its main user thread in NEWTASK.
9397 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9399         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9400         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9402 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9404         [BZ #14259]
9405         * Makeconfig: Rename localedir to complocaledir.
9406         Rename inst_localedir to inst_complocaledir.
9407         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9408         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9409         * configure.ac: Use libc_cv_complocaledir.
9410         * configure: Regenerate.
9411         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9412         -DCOMPLOCALEDIR.
9413         * locale/findlocale.c: Use COMPLOCALEDIR.
9414         * locale/loadarchive.c: Likewise.
9415         * locale/programs/locale.c: Likewise.
9416         * locale/programs/localedef.c: Likewise.
9417         * locale/programs/locarchive.c: Likewise.
9418         * localedata/Makefile: Use inst_complocaledir.
9419         * sysdeps/gnu/configure: Regenerate.
9420         * sysdeps/hppa/configure: Regenerate.
9421         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9422         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9424         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9425         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9426         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9427         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9429 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9431         [BZ #19058]
9432         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9433         AS_NEEDED.
9434         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9435         workaround.
9436         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9437         libmvec-static-only-routines): Added new file.
9438         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9440 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9442         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9443         of interrupted RPC instead of restoring it.
9445         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9446         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9447         libc_hidden_def.
9448         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9449         into initialized data instead of common. Define rtld_hidden_data_def.
9450         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9451         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9452         libc_hidden_def.
9453         (if_freenameindex): Add libc_hidden_weak.
9454         (if_nameindex): Add libc_hidden_weak.
9455         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9456         __open64.
9457         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9458         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9459         * sysdeps/mach/nanosleep.c: Include <time.h>
9460         (__nanosleep): Rename to __libc_nanosleep.
9461         (__nanosleep): Add weak_alias.
9462         (nanosleep): Update alias.
9464 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9466         * stdlib/strtod_nan.c: New file.
9467         * stdlib/strtod_nan_double.h: Likewise.
9468         * stdlib/strtod_nan_float.h: Likewise.
9469         * stdlib/strtod_nan_main.c: Likewise.
9470         * stdlib/strtod_nan_narrow.h: Likewise.
9471         * stdlib/strtod_nan_wide.h: Likewise.
9472         * stdlib/strtof_nan.c: Likewise.
9473         * stdlib/strtold_nan.c: Likewise.
9474         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9475         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9476         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9477         * wcsmbs/wcstod_nan.c: Likewise.
9478         * wcsmbs/wcstof_nan.c: Likewise.
9479         * wcsmbs/wcstold_nan.c: Likewise.
9480         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9481         strtold_nan.
9482         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9483         wcstof_nan.
9484         * include/stdlib.h (__strtof_nan): Declare and use
9485         libc_hidden_proto.
9486         (__strtod_nan): Likewise.
9487         (__strtold_nan): Likewise.
9488         (__wcstof_nan): Likewise.
9489         (__wcstod_nan): Likewise.
9490         (__wcstold_nan): Likewise.
9491         * include/wchar.h (____wcstoull_l_internal): Declare.
9492         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9493         (____strtoull_l_internal): Remove declaration.
9494         (STRTOF_NAN): Define macro.
9495         (SET_MANTISSA): Remove macro.
9496         (STRTOULL): Likewise.
9497         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9498         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9499         (STRTOF_NAN): Define macro.
9500         (SET_MANTISSA): Remove macro.
9501         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9502         (SET_MANTISSA): Remove macro.
9503         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9504         macro.
9505         (SET_MANTISSA): Remove macro.
9506         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9507         macro.
9508         (SET_MANTISSA): Remove macro.
9509         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9510         (SET_MANTISSA): Remove macro.
9511         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9512         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9513         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9515         [BZ #19266]
9516         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9517         upper case and lower case letters inside NAN(), not using TOLOWER.
9518         * stdlib/tst-strtod-nan-locale-main.c: New file.
9519         * stdlib/tst-strtod-nan-locale.c: Likewise.
9520         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9521         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9522         Depend on $(gen-locales).
9523         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9524         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9525         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9526         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9527         Depend on $(gen-locales).
9528         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9530 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9532         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9534         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9536         __finitel, __isinfl, and __isnanl.
9537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9538         Likewise.
9539         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9541         __finitel.
9542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9543         Likewise.
9544         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9546 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9548         * malloc/memusage.c (me): Remove redundant getenv call.
9550 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9552         [BZ #19143]
9553         [BZ #19164]
9554         * nptl/check-cpuset.h: Remove.
9555         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9556         Remove CPU set size check.
9557         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9558         Likewise.
9559         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9560         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9561         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9562         (__pthread_setaffinity_new): Remove CPU set size check.
9563         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9564         (__kernel_cpumask_size): Remove.
9565         (__sched_setaffinity_new): Remove CPU set size check.
9566         * manual/threads.texi (Default Thread Attributes): Remove stale
9567         reference to check_cpuset_attr, determine_cpumask_size in comment.
9568         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9569         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9570         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9571         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9572         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9573         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9574         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9575         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9576         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9577         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9578         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9579         skeleton test file.
9580         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9581         tst-affinity-pid.
9583 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9585         * scripts/update-abilist.sh: New file.
9586         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9587         * Makerules (update-all-abi-%, update-all-abi)
9588         (subdir_update-all-abi): New targets.
9589         * elf/Makefile (update-all-abi): New target.
9591 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9593         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9594         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9595         (__libc_lock_define_initialized): Use it.
9596         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9597         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9598         * malloc/malloc.c (main_arena): Likewise.
9599         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9600         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9602 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9604         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9605         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9606         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9607         (PTRACE_O_MASK): Update value.
9608         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9609         New value in enum __ptrace_setoptions.
9610         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9611         (PTRACE_O_MASK): Update value.
9612         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9613         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9614         (PTRACE_O_MASK): Update value.
9615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9616         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9617         (PTRACE_O_MASK): Update value.
9618         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9619         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9620         (PTRACE_O_MASK): Update value.
9621         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9622         New value in enum __ptrace_setoptions.
9623         (PTRACE_O_MASK): Update value.
9624         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9625         New value in enum __ptrace_setoptions.
9626         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9627         (PTRACE_O_MASK): Update value.
9629         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9630         New macro.
9631         (PACKET_AUXDATA): Likewise.
9632         (PACKET_ORIGDEV): Likewise.
9633         (PACKET_VERSION): Likewise.
9634         (PACKET_HDRLEN): Likewise.
9635         (PACKET_RESERVE): Likewise.
9636         (PACKET_TX_RING): Likewise.
9637         (PACKET_LOSS): Likewise.
9638         (PACKET_VNET_HDR): Likewise.
9639         (PACKET_TX_TIMESTAMP): Likewise.
9640         (PACKET_TIMESTAMP): Likewise.
9641         (PACKET_FANOUT): Likewise.
9642         (PACKET_TX_HAS_OFF): Likewise.
9643         (PACKET_QDISC_BYPASS): Likewise.
9644         (PACKET_ROLLOVER_STATS): Likewise.
9645         (PACKET_FANOUT_DATA): Likewise.
9646         (PACKET_MR_UNICAST): Likewise.
9648         [BZ #19242]
9649         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9650         (TOUPPER): Likewise.
9651         * stdlib/tst-strtol-locale-main.c: New file.
9652         * stdlib/tst-strtol-locale.c: Likewise.
9653         * stdlib/Makefile (tests): Add tst-strtol-locale.
9654         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9655         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9656         Depend on $(gen-locales).
9657         * wcsmbs/tst-wcstol-locale.c: New file.
9658         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9659         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9660         tr_TR.ISO-8859-9.
9661         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9662         Depend on $(gen-locales).
9664 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9666         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9667         __glibc_likely instead of __builtin_expect.  After falling back to
9668         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9669         system interface to register the code pages as occupied.
9671 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9673         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9674         [!ARM_MATH_PRIVATE_H].
9675         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9676         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9677         [!HPPA_MATH_PRIVATE_H].
9678         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9679         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9680         to [!I386_MATH_PRIVATE_H].
9681         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9682         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9683         Change guard to [!M68K_MATH_PRIVATE_H].
9684         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9685         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9686         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9687         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9688         macro.
9689         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9690         [!MIPS_MATH_PRIVATE_H].
9691         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9692         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9693         [!NIO2_MATH_PRIVATE_H].
9694         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9695         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9696         [!TILE_MATH_PRIVATE_H].
9697         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9699         [BZ #15421]
9700         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9701         initialize with 0 and define as weak alias of __signgam.
9702         * include/math.h [!_ISOMAC] (__signgam): Declare.
9703         * math/Makefile (libm-calls): Add w_lgamma_compat.
9704         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9705         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9706         test-signgam-ullong-init.
9707         (tests-static): Add test-signgam-uchar-static,
9708         test-signgam-uchar-init-static, test-signgam-uint-static,
9709         test-signgam-uint-init-static, test-signgam-ullong-static and
9710         test-signgam-ullong-init-static.
9711         (CFLAGS-test-signgam-uchar.c): New variable.
9712         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9713         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9714         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9715         (CFLAGS-test-signgam-uint.c): Likewise.
9716         (CFLAGS-test-signgam-uint-init.c): Likewise.
9717         (CFLAGS-test-signgam-uint-static.c): Likewise.
9718         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9719         (CFLAGS-test-signgam-ullong.c): Likewise.
9720         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9721         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9722         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9723         * math/Versions (libm): Add GLIBC_2.23.
9724         * math/lgamma-compat.h: New file.
9725         * math/test-signgam-main.c: Likewise.
9726         * math/test-signgam-uchar-init-static.c: Likewise.
9727         * math/test-signgam-uchar-init.c: Likewise.
9728         * math/test-signgam-uchar-static.c: Likewise.
9729         * math/test-signgam-uchar.c: Likewise.
9730         * math/test-signgam-uint-init-static.c: Likewise.
9731         * math/test-signgam-uint-init.c: Likewise.
9732         * math/test-signgam-uint-static.c: Likewise.
9733         * math/test-signgam-uint.c: Likewise.
9734         * math/test-signgam-ullong-init-static.c: Likewise.
9735         * math/test-signgam-ullong-init.c: Likewise.
9736         * math/test-signgam-ullong-static.c: Likewise.
9737         * math/test-signgam-ullong.c: Likewise.
9738         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9739         wrapper of w_lgamma_main.c.
9740         * math/w_lgamma_compat.c: New file.
9741         * math/w_lgamma_compatf.c: Likewise.
9742         * math/w_lgamma_compatl.c: Likewise.
9743         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9744         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9745         defining compatibility symbols.
9746         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9747         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9748         wrapper of w_lgammaf_main.c.
9749         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9750         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9751         defining compatibility symbols.
9752         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9753         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9754         wrapper of w_lgammal_main.c.
9755         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9756         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9757         defining compatibility symbols.
9758         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9759         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9760         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9761         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9762         <lgamma-compat.h>.
9763         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9764         (__ieee754_gamma): Define as alias.
9765         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9766         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9767         <lgamma-compat.h>.
9768         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9769         (__ieee754_gammaf): Define as alias.
9770         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9771         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9772         <lgamma-compat.h>.
9773         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9774         (__ieee754_gammal): Define as alias.
9775         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9776         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9777         <math/w_lgamma_compat.c>.
9778         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9779         Define as alias of __lgamma_compat and use in defining lgammal.
9780         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9781         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9782         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9783         (USE_AS_COMPAT): New macro.
9784         (LGAMMA_OLD_VER): Undefine and redefine.
9785         (lgammal): Do not define here.
9786         (gammal): Only define here if [GAMMA_ALIAS].
9787         * conform/linknamespace.pl (@whitelist): Remove signgam.
9788         * sysdeps/nacl/libm.abilist: Update.
9789         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9790         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9792         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9796         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9802         Likewise.
9803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9804         Likewise.
9805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9806         Likewise.
9807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9808         Likewise.
9809         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9810         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9811         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9815         Likewise.
9816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9817         Likewise.
9818         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9819         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9820         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9822 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9824         [BZ #16364]
9825         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9826         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9828 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9830         * sysdeps/s390/fpu/bits/mathinline.h:
9831         Use __asm__ [__volatile__] instead of asm [volatile].
9832         * sysdeps/s390/abort-instr.h: Likewise.
9833         * sysdeps/s390/atomic-machine.h: Likewise.
9834         * sysdeps/s390/bits/string.h: Likewise.
9835         * sysdeps/s390/dl-tls.h: Likewise.
9836         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9837         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9838         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9839         * sysdeps/s390/fpu/fesetround.c: Likewise.
9840         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9841         * sysdeps/s390/fpu/s_fma.c: Likewise.
9842         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9843         * sysdeps/s390/memusage.h: Likewise.
9844         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9845         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9846         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9847         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9848         * sysdeps/s390/nptl/tls.h: Likewise.
9849         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9850         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9851         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9852         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9853         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9854         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9855         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9856         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9857         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9858         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9859         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9860         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9861         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9862         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9863         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9864         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9865         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9866         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9867         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9869         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9870         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9871         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9873 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9874             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9876         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9877         Add lwarx hint, and use macro for acquire instruction.
9878         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9879         Likewise.
9880         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9881         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9882         update to use new atomic macros.
9884 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9886         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9887         (__lll_trylock_elision): Fix setting of adapt_count.
9888         * sysdeps/unix/sysv/linux/powerpc/htm.h
9889         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9890         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9891         (_ABORT_SYSCALL): Renumber, and clarify definition.
9892         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9894 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9896         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9897         after system headers to prevent MIN/MAX redefinition.  Define
9898         HAVE_ALLOCA to preserve builtin alloca usage.
9900 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9902         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9903         static and don't set or restore rounding.
9904         (__cos)[IN_SINCOS]: Likewise.
9905         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9906         (__sincos): Set and restore rounding mode.  Remove check for infinite
9907         or NaN input.
9909         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9911         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9912         as used.
9914 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9916         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9918 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9920         * config.make.in (have-glob-dat-reloc): New.
9921         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9922         target supports GLOB_DAT relocaton. AC_SUBST.
9923         * configure: Regenerated.
9924         * elf/Makefile (tests): Add tst-prelink.
9925         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9926         (tst-prelink-ENV): New.
9927         ($(objpfx)tst-prelink-conflict.out): Likewise.
9928         ($(objpfx)tst-prelink-cmp.out): Likewise.
9929         * sysdeps/x86/tst-prelink.c: Moved to ...
9930         * elf/tst-prelink.c: Here.
9931         * sysdeps/x86/tst-prelink.exp: Moved to ...
9932         * elf/tst-prelink.exp: Here.
9933         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9934         (tst-prelink-ENV): Removed.
9935         ($(objpfx)tst-prelink-conflict.out): Likewise.
9936         ($(objpfx)tst-prelink-cmp.out): Likewise.
9937         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9939 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9941         [BZ #14551]
9942         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9943         (__mpn_construct_long_double): If high part overflows to infinity,
9944         set errno and recompute overflowed result of the correct sign.
9945         * sysdeps/ieee754/ldbl-128ibm/Makefile
9946         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9947         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9948         $(libm).
9949         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9951 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9953         [BZ #15479]
9954         [BZ #19238]
9955         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9956         floating-point state after first operation on input.  Restore full
9957         state rather than just rounding mode.
9958         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9959         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9960         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9962         [BZ #19235]
9963         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9964         add 0.5 to integer arguments.
9965         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9966         Likewise.
9967         (.LC2): New object.
9969 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9971         * scripts/pylintrc (reports): Set to no.
9973 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9975         * elf/dl-load.c (open_verify): Take new argument FD.
9976         Skip __open call if passed FD is not -1.
9977         (_dl_map_object, open_path): Update callers.
9978         * elf/dl-sysdep-open.h: New file.
9979         * elf/dl-load.c: Include it.
9980         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9981         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9982         * sysdeps/nacl/dl-sysdep-open.h: New file.
9983         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9984         from libc to rtld.
9986 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9988         [BZ #19228]
9989         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9990         and restore full floating-point state.
9991         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9992         Likewise.
9993         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9994         Likewise.
9995         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9996         Likewise.
9997         * math/test-nearbyint-except-2.c: New file.
9998         * math/Makefile (tests): Add test-nearbyint-except-2.
10000 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10002         [BZ #19178]
10003         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10004         (tst-prelink-ENV): New.
10005         ($(objpfx)tst-prelink-conflict.out): Likewise.
10006         ($(objpfx)tst-prelink-cmp.out): Likewise.
10007         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10008         * sysdeps/x86/tst-prelink.c: New file.
10009         * sysdeps/x86/tst-prelink.exp: Likewise.
10011 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10013         * math/auto-libm-test-in: Add another test of pow.
10014         * math/auto-libm-test-out: Regenerated.
10015         * math/libm-test.inc (pow_test_data): Add another test.
10017 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10019         [BZ #19219]
10020         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10021         weak_alias to nearbyintl.
10023 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10025         * sysdeps/aarch64/bits/string.h: New file.
10026         (_STRING_ARCH_unaligned): Define.
10028 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10030         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10031         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10032         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10033         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10036 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10038         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10039         for original name of the DSO.  Add it to the name list of the DSO
10040         if it is actually given.
10041         (_dl_map_object): Keep track of whether an audit module rewrote
10042         the file name.  If yes, pass the original name to
10043         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10044         debugging is enabled, log the change of the file name.
10045         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10046         _dl_map_object_from_fd.
10047         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10048         * elf/tst-audit11.c: New file
10049         * elf/tst-auditmod11.c: New file.
10050         * elf/tst-audit11mod1.c: New file.
10051         * elf/tst-audit11mod2.c: New file.
10052         * elf/tst-audit11mod2.map: New file.
10053         * elf/tst-audit12.c: New file
10054         * elf/tst-auditmod12.c: New file.
10055         * elf/tst-audit12mod1.c: New file.
10056         * elf/tst-audit12mod2.c: New file.
10057         * elf/tst-audit12mod2.map: New file.
10058         * elf/tst-audit12mod3.c: New file.
10060 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10062         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10063         Don't create weak aliases,
10064         because versioned symbols are created later.
10065         * sysdeps/s390/s390-32/setjmp.S
10066         (setjmp, _setjmp): Remove weak and rename to an unique name
10067         in SHARED case due to existing versioned symbols.
10068         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10069         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10070         (getcontext): Create weak alias only in non SHARED case.
10071         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10073 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10075         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10076         (__ASSUME_*_SYSCALL) Define new macros.
10077         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10078         Remove socketcall syscalls.
10079         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10080         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10081         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10082         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10083         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10084         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10086 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10088         [BZ #12926]
10089         Terminate process on invalid netlink response.
10090         * sysdeps/unix/sysv/linux/netlinkaccess.h
10091         (__netlink_assert_response): Declare.
10092         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10093         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10094         (sysdep_routines): Add netlink_assert_response.
10095         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10096         __netlink_assert_response.
10097         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10098         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10099         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10100         __netlink_assert_response.
10102 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10104         [BZ #19178]
10105         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10106         (RTYPE_CLASS_PLT): Likewise.
10107         (RTYPE_CLASS_COPY): Likewise.
10108         (RTYPE_CLASS_TLS): Likewise.
10109         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10110         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10111         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10112         DL_DEBUG_PRELINK.
10114 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10116         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10117         calls with argument -0.5.
10118         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10120         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10121         (libc_cv_z_nodlopen): Likewise.
10122         (libc_cv_z_initfirst): Likewise.
10123         * configure: Regenerated.
10125 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10127         Simplify abilist format to be line-based.
10128         * scripts/abilist.awk: Collect descriptors in the descs variable.
10129         (emit): Write descs variable and sort it
10130         externally, with sort.
10131         * sysdeps/**/*.abilist: Convert to new format.
10133 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10135         [BZ #11460]
10136         * io/Makefile (routines): Add fts64.
10137         (tests): Add tst-fts and tst-fts-lfs.
10138         (CFLAGS-fts64.c): New.
10139         * io/Versions (GLIBC_2.23): New.
10140         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10141         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10142         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10143         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10144         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10145         (FTSENT64): Likewise.
10146         (fts64_children): Likewise.
10147         (fts64_close): Likewise.
10148         (fts64_open): Likewise.
10149         (fts64_read): Likewise.
10150         (fts64_set): Likewise.
10151         * io/fts64.c: New file.
10152         * io/tst-fts.c: New test.
10153         * io/tst-fts-lfs.c: Likewise.
10154         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10155         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10156         fts64_set.
10157         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10158         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10159         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10160         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10161         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10162         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10163         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10164         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10165         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10166         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10167         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10168         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10169         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10171         Likewise.
10172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10173         Likewise.
10174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10176         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10177         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10178         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10179         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10180         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10183         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10184         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10185         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10186         * sysdeps/wordsize-64/fts.c: New file.
10187         * sysdeps/wordsize-64/fts64.c: Likewise.
10188         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10189         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10190         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10191         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10193 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10195         * math/libm-test.inc (NON_FINITE): New macro.
10196         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10197         * math/gen-libm-test.pl (show_exceptions): Add argument
10198         $non_finite.
10199         (parse_args): Update call to show_exceptions.
10200         * math/test-math-finite.h: New file.
10201         * math/test-math-no-finite.h: Likewise.
10202         * math/test-double-finite.c: Likewise.
10203         * math/test-float-finite.c: Likewise.
10204         * math/test-ldouble-finite.c: Likewise.
10205         * math/test-double.c: Include "test-math-no-finite.h".
10206         * math/test-float.c: Include "test-math-no-finite.h".
10207         * math/test-ldouble.c: Include "test-math-no-finite.h".
10208         * math/test-math-inline.h (TEST_FINITE): New macro.
10209         * math/test-math-vector.h (TEST_FINITE): Likewise.
10210         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10211         (libm-tests): Add test-float-finite and test-double-finite.
10212         ($(objpfx)test-float-finite.o): New dependency on
10213         $(objpfx)libm-test.stmp.
10214         ($(objpfx)test-double-finite.o): Likewise.
10215         ($(objpfx)test-ldouble-finite.o): Likewise.
10216         (libm-test-no-inline-cflags): New variable.
10217         (libm-test-finite-cflags): Likewise.
10218         (CFLAGS-test-float-finite.c): Likewise.
10219         (CFLAGS-test-double-finite.c): Likewise.
10220         (CFLAGS-test-ldouble-finite.c): Likewise.
10221         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10222         (CFLAGS-test-double.c): Likewise.
10223         (CFLAGS-test-ldouble.c): Likewise.
10225 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10227         * io/fcntl.c (__fcntl): Add ... to prototype.
10228         * misc/ioctl.c (__ioctl): Likewise.
10229         * misc/syscall.c (syscall): Likewise.
10231 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10233         * scripts/list-fixed-bugs.py: New file.
10235         [BZ #19213]
10236         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10237         returned for argument 1.
10238         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10239         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10240         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10241         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10242         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10243         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10245         [BZ #19211]
10246         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10247         __USE_XOPEN], not if [!__USE_ISOC99].
10248         (lgammaf): Likewise.
10249         (lgammal): Likewise.
10250         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10251         (gammaf): Likewise.
10252         (gammal): Likewise.
10253         * math/test-signgam-finite-c11.c: New file.
10254         * math/test-signgam-finite-c99.c: Likewise.
10255         * math/test-signgam-finite.c: Likewise.
10256         * math/Makefile (tests): Add test-signgam-finite,
10257         test-signgam-finite-c99 and test-signgam-finite-c11.
10258         (CFLAGS-test-signgam-finite.c): New variable.
10259         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10260         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10262         [BZ #19212]
10263         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10264         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10265         500].
10266         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10267         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10268         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10269         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10270         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10271         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10272         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10273         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10274         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10275         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10277         [BZ #19209]
10278         * math/bits/math-finite.h (ldexp): Remove declaration.
10279         (ldexpf): Likewise.
10280         (ldexpl): Likewise.
10282         [BZ #19205]
10283         * math/bits/math-finite.h (acosf): Condition declaration on
10284         [__USE_ISOC99].
10285         (acosl): Likewise.
10286         (acoshf): Likewise.
10287         (acoshl): Likewise.
10288         (asinf): Likewise.
10289         (asinl): Likewise.
10290         (atan2f): Likewise.
10291         (atan2l): Likewise.
10292         (atanhf): Likewise.
10293         (atanhl): Likewise.
10294         (coshf): Likewise.
10295         (coshl): Likewise.
10296         (expf): Likewise.
10297         (expl): Likewise.
10298         (fmodf): Likewise.
10299         (fmodl): Likewise.
10300         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10301         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10302         (j0l): Likewise.
10303         (y0f): Likewise.
10304         (y0l): Likewise.
10305         (j1f): Likewise.
10306         (j1l): Likewise.
10307         (y1f): Likewise.
10308         (y1l): Likewise.
10309         (jnf): Likewise.
10310         (jnl): Likewise.
10311         (ynf): Likewise.
10312         (ynl): Likewise.
10313         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10314         (lgammal_r): Likewise.
10315         (__lgamma_r_finite): New declaration.
10316         (__lgammaf_r_finite): Likewise.
10317         (__lgammal_r_finite): Likewise.
10318         (lgamma): Use __lgamma_r_finite.
10319         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10320         __lgammaf_r_finite.
10321         (lgammal): Condition definition on [__USE_ISOC99].  Use
10322         __lgammal_r_finite.
10323         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10324         __lgamma_r_finite.
10325         (gammaf): Condition definition on [__USE_ISOC99].  Use
10326         __lgammaf_r_finite.
10327         (gammal): Condition definition on [__USE_ISOC99].  Use
10328         __lgammal_r_finite.
10329         (logf): Condition declaration on [__USE_ISOC99].
10330         (logl): Likewise.
10331         (log10f): Likewise.
10332         (log10l): Likewise.
10333         (ldexpf): Likewise.
10334         (ldexpl): Likewise.
10335         (powf): Likewise.
10336         (powl): Likewise.
10337         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10338         __USE_ISOC99].
10339         (remainderf): Condition declaration on [__USE_ISOC99].
10340         (remainderl): Likewise.
10341         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10342         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10343         (scalbl): Likewise.
10344         (sinhf): Condition declaration on [__USE_ISOC99].
10345         (sinhl): Likewise.
10346         (sqrtf): Likewise.
10347         (sqrtl): Likewise.
10349 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10351         * sysdeps/arm/atomic-machine.h
10352         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10353         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10354         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10355         Remove conditional code.
10356         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10357         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10358         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10359         Change conditional to [__ASSEMBLER__].
10360         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10361         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10362         [!__ASSEMBLER__].
10363         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10364         code.
10365         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10366         conditional macro definitions.
10367         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10368         (__arch_compare_and_exchange_val_16_acq): Likewise.
10369         (__arch_compare_and_exchange_val_32_acq): Likewise.
10370         (atomic_exchange_and_add): Likewise.
10371         (atomic_add): Likewise.
10372         (atomic_add_negative): Likewise.
10373         (atomic_add_zero): Likewise.
10374         (atomic_bit_set): Likewise.
10375         (atomic_bit_test_set): Likewise.
10376         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10377         code unconditional.
10378         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10380         * math/test-math-errno.h: New file.
10381         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10382         empty.
10383         (TEST_ERRNO): New macro.
10384         (TEST_EXCEPTIONS): Likewise.
10385         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10386         (TEST_EXCEPTIONS): Likewise.
10387         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10388         * math/test-double.c: Include "test-math-errno.h".
10389         * math/test-float.c: Likewise.
10390         * math/test-ldouble.c: Likewise.
10391         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10392         code unconditional.
10393         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10394         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10395         unconditional.
10396         (test_errno): Only run code if TEST_ERRNO.
10397         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10399 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10401         * nptl/tst-once5.cc: Remove attribution.
10403 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10405         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10406         sqrt, tan, tanh, y0, y1 and yn.
10407         * math/auto-libm-test-out: Regenerated.
10408         * math/libm-test.inc (scalb_test_data): Add more tests.
10409         (scalbn_test_data): Likewise.
10410         (scalbln_test_data): Likewise.
10411         (signbit_test_data): Likewise.
10412         (sin_test_data): Likewise.
10413         (sincos_test_data): Likewise.
10414         (sinh_test_data): Likewise.
10415         (sqrt_test_data): Likewise.
10416         (tan_test_data): Likewise.
10417         (tanh_test_data): Likewise.
10418         (tgamma_test_data): Likewise.
10419         (y0_test_data): Likewise.
10420         (y1_test_data): Likewise.
10421         (yn_test_data): Likewise.
10422         (significand_test_data): Likewise.
10423         * sysdeps/i386/fpu/libm-test-ulps: Update.
10425 2015-11-03  David Kastrup  <dak@gnu.org>
10427         [BZ #18604]
10428         * assert/assert.h (assert): Don't macro-expand failed assertion
10429         expression in error message.
10430         * malloc/malloc.c (assert): Likewise.
10432 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10434         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10435         test.
10436         * configure: Regenerated.
10438 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10440         * math/libm-test.inc (modf_test_data): Add more tests.
10441         (nearbyint_test_data): Likewise.
10442         (nextafter_test_data): Likewise.
10443         (nexttoward_test_data): Likewise.
10444         (pow_test_data): Likewise.
10445         (remainder_test_data): Likewise.
10446         (remquo_test_data): Likewise.
10447         (rint_test_data): Likewise.
10449         [BZ #19201]
10450         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10451         Check for zero remainder in case of large exponents and ensure
10452         correct sign of result in that case.
10453         * math/libm-test.inc (remainder_test_data): Add more tests.
10455         [BZ #6799]
10456         * math/s_nextafter.c: Include <errno.h>.
10457         (__nextafter): Set errno on overflow and underflow.
10458         * math/s_nexttowardf.c: Include <errno.h>.
10459         (__nexttowardf): Set errno on overflow and underflow.
10460         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10461         (__nextafterl): Set errno on overflow and underflow.
10462         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10463         (__nexttoward): Set errno on overflow and underflow.
10464         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10465         (__nexttowardf): Set errno on overflow and underflow.
10466         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10467         (__nextafterf): Set errno on overflow and underflow.
10468         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10469         (__nextafterl): Set errno on overflow and underflow.
10470         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10471         (__nexttoward): Set errno on overflow and underflow.
10472         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10473         (__nexttowardf): Set errno on overflow and underflow.
10474         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10475         (__nextafterl): Set errno on overflow and underflow.
10476         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10477         (__nexttoward): Set errno on overflow and underflow.
10478         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10479         (__nexttowardf): Set errno on overflow and underflow.
10480         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10481         (__nexttoward): Set errno on overflow and underflow.
10482         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10483         (__nexttowardf): Set errno on overflow and underflow.
10484         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10485         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10486         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10487         (__nextafterl): Set errno on overflow and underflow.
10488         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10489         setting to be missing on overflow.  Add more tests.
10490         (nexttoward_test_data): Likewise.
10492         * configure.ac (libc_cv_initfini_array): Remove configure test.
10493         * configure: Regenerated.
10495 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10497         [BZ #19189]
10498         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10499         non-finite argument handle arguments with negative sign.
10501         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10502         result from infinite argument.
10503         (j1_test_data): Likewise.
10504         (jn_test_data): Likewise.
10505         (y0_test_data): Likewise.
10506         (y1_test_data): Likewise.
10507         (yn_test_data): Likewise.
10509         [BZ #16171]
10510         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10511         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10512         * math/w_remainderf.c (dremf): Define as weak alias of
10513         __remainderf.
10514         * math/w_remainderl.c (dreml): Define as weak alias of
10515         __remainderl.
10516         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10517         __remainder.
10518         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10519         __remainderf.
10520         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10521         __remainderl.
10522         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10523         weak alias of remainderl.
10524         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10525         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10526         alias of __remainder.
10527         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10528         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10529         strong alias of __remainderl.
10530         (dreml): Use long_double_symbol.
10531         * math/Makefile (libm-calls): Remove w_drem.
10532         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10533         (CFLAGS-nldbl-drem.c): Remove variable.
10534         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10535         * math/w_drem.c: Remove file.
10536         * math/w_dremf.c: Likewise.
10537         * math/w_dreml.c: Likewise.
10538         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10539         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10540         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10542         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10543         * sysdeps/i386/configure: Regenerated.
10544         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10545         * sysdeps/x86_64/configure: Regenerated.
10547         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10548         test.
10549         (libc_cv_visibility_attribute): Likewise.
10550         (libc_cv_protected_data): Test unconditionally.
10551         (libc_cv_broken_visibility_attribute): Remove configure test.
10552         (libc_cv_have_sdata_section): Test unconditionally.
10553         * configure: Regenerated.
10555         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10556         * include/scratch_buffer.h: Include <stddef.h> instead of
10557         <libc-internal.h>.
10558         (struct scratch_buffer): Use max_align_t instead of
10559         libc_max_align_t.
10561 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10563         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10564         instead of extend_alloca.  Change control flow to avoid a goto.
10565         Remove assert which is trivially always true.
10567 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10569         [BZ #16068]
10570         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10571         (FE_ALL_EXCEPT_X86): New macro.
10572         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10573         FE_ALL_EXCEPT.  Ensure precision control is included in
10574         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10575         handle "denormal operand exception" and clear FZ and DAZ bits.
10576         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10577         (FE_ALL_EXCEPT_X86): New macro.
10578         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10579         FE_ALL_EXCEPT.  Ensure precision control is included in
10580         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10581         handle "denormal operand exception" and clear FZ and DAZ bits.
10582         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10583         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10584         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10585         test-fenv-x87 and test-fenv-sse-2.
10586         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10588         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10589         * math/test-double.h (BUILD_COMPLEX): New macro.
10590         * math/test-float.h (BUILD_COMPLEX): Likewise.
10591         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10593         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10594         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10595         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10597         instead of DBL_DENORM_MIN in comment.
10598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10599         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10600         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10601         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10603         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10605 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10607         [BZ# 19048]
10608         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10609         attached_threads member.
10610         (main_arena): Initialize attached_threads.
10611         * malloc/arena.c (list_lock): Update comment.
10612         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10613         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10614         (deattach_arena): New function.
10615         (_int_new_arena): Initialize arena reference count and deattach
10616         replaced arena.
10617         (get_free_list, reused_arena): Update reference count and deattach
10618         replaced arena.
10619         (arena_thread_freeres): Update arena reference count and only put
10620         unreferenced arenas on the free list.
10622 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10624         [BZ #19181]
10625         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10626         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10627         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10628         * math/test-fenv-clear-main.c: New file.
10629         * math/test-fenv-clear.c: Likewise.
10630         * math/Makefile (tests): Add test-fenv-clear.
10631         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10632         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10633         test-fenv-clear-sse.
10634         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10636         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10637         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10638         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10640 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10642         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10643         static libc.
10645 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10647         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10648         test.
10649         * sysdeps/i386/configure: Regenerated.
10650         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10651         test.
10652         * sysdeps/x86_64/configure: Regenerated.
10653         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10654         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10655         memset-avx2 unconditionally instead of conditionally on
10656         [$(config-cflags-avx2) = yes].
10657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10658         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10659         unconditional.
10660         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10661         * sysdeps/x86_64/multiarch/memset_chk.S
10662         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10663         to [IS_IN (libc) && SHARED].
10665 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10667         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10668         configure test.
10669         * sysdeps/arm/configure: Regenerated.
10670         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10671         Define variable if not already defined.
10673         [BZ #17404]
10674         * sysdeps/mips/atomic-machine.h
10675         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10676         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10677         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10679         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10680         unconditional.
10681         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10682         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10683         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10684         unconditional.
10685         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10686         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10687         unconditional.
10688         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10689         * stdlib/setenv.c
10690         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10691         code unconditional.
10692         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10693         Remove conditional code.
10694         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10695         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10696         unconditional.
10697         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10698         code.
10699         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10700         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10701         unconditional.
10702         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10703         code.
10704         * sysdeps/ieee754/ldbl-128/k_tanl.c
10705         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10706         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10707         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10708         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10709         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10710         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10711         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10712         unconditional.
10713         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10714         code.
10715         * sysdeps/ieee754/ldbl-96/k_tanl.c
10716         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10717         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10719         * nptl/tst-initializers1-c11.c: New file.
10720         * nptl/tst-initializers1-gnu11.c: Likewise.
10721         * nptl/Makefile (tests): Add these new tests.
10722         (CFLAGS-tst-initializers1-c11.c): New variable.
10723         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10725         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10726         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10727         instead of -std=gnu99.
10728         * configure.ac (systemtap): Test with -std=gnu11 instead of
10729         -std=gnu99.
10730         * configure: Regenerated.
10731         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10732         in compilation command in comment.
10734         * sysdeps/nptl/configure.ac: Remove file.
10735         * sysdeps/nptl/configure: Remove generated file.
10736         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10737         * configure: Regenerated.
10738         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10739         * config.make.in (have-forced-unwind): Remove variable.
10740         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10741         unconditional.
10742         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10743         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10744         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10745         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10746         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10747         unconditional.
10749 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10751         [BZ #19174]
10752         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10753         .skip_lock_out_of_tbegin_retries.
10754         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10755         (__lll_lock_elision): Likewise, and respect a value of
10756         try_tbegin <= 0.
10758 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10760         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10761         statement.
10763 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10765         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10766         variable.
10767         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10768         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10770         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10771         of -std=c1x -D_ISOC11_SOURCE.
10773         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10774         * configure: Regenerated.
10775         * manual/install.texi (Tools for Compilation): Document
10776         requirement for GCC 4.7 or later.
10777         * INSTALL: Regenerated.
10779 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10781         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10782         on CNT to a conditional jump to 'puntdata'.
10784 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10786         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10787         (libc_cv_gcc_tls_model_attr): Likewise.
10788         * configure: Regenerated.
10790         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10791         * configure: Regenerated.
10792         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10794 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10796         * configure.ac (old_glibc_headers): Remove configure test.
10797         * configure: Regenerated.
10798         * config.make.in (old-glibc-headers): Remove variable.
10799         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10800         (install): Remove dependency on remove-old-headers.
10801         (headers2_0): Remove variable.
10802         (remove-old-headers): Remove rule.
10804         * configure.ac (libc_cv_dot_text): Remove configure test.
10805         (libc_cv_asm_set_directive): Use .text instead of
10806         ${libc_cv_dot_text} in configure test.
10807         * configure: Regenerated.
10809 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10811         [BZ #19168]
10812         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10814 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10816         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10817         not support static linking.
10818         * configure: Regenerate.
10820 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10822         * math/libm-test.inc (check_float_internal): Do not special-case
10823         errors up to 0.5 ulp.
10825         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10826         log2.
10827         * math/auto-libm-test-out: Regenerated.
10828         * math/libm-test.inc (MAX_EXP): New macro.
10829         (ilogb_test_data): Add more tests.
10830         (isfinite_test_data): Likewise.
10831         (isgreater_test_data): Likewise.
10832         (isgreaterequal_test_data): Likewise.
10833         (isinf_test_data): Likewise.
10834         (isless_test_data): Likewise.
10835         (islessequal_test_data): Likewise.
10836         (islessgreater_test_data): Likewise.
10837         (isnan_test_data): Likewise.
10838         (isnormal_test_data): Likewise.
10839         (issignaling_test_data): Likewise.
10840         (isunordered_test_data): Likewise.
10841         (j0_test_data): Likewise.
10842         (j1_test_data): Likewise.
10843         (jn_test_data): Likewise.
10844         (lgamma_test_data): Likewise.
10845         (log_test_data): Likewise.
10846         (log10_test_data): Likewise.
10847         (log1p_test_data): Likewise.
10848         (log2_test_data): Likewise.
10849         (logb_test_data): Likewise.
10850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10852         [BZ #18611]
10853         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10854         avoid excess range and precision on underflow.
10855         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10856         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10857         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10858         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10859         underflow.
10860         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10862         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10863         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10864         * math/auto-libm-test-in: Do not allow missing errno setting for
10865         tests of j1 and jn.
10866         * math/auto-libm-test-out: Regenerated.
10868 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10870         [BZ #15491]
10871         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10872         floating-point environment instead of clearing all exceptions.
10873         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10874         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10875         merging in "invalid" exceptions from frndint.
10876         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10877         * math/test-nearbyint-except.c: New file.
10878         * math/Makefile (tests): Add test-nearbyint-except.
10880 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10882         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10884         * sysdeps/tile/libm-test-ulps: Regenerated.
10886 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10889         (__NR_sync_file_range2): Assume it is always defined.
10890         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10891         (__NR_sync_file_range): Assume it is always defined.
10893 2015-10-22  Andreas Schwab  <schwab@suse.de>
10895         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10896         INTERNAL_SYSCALL_ERRNO.
10897         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10898         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10899         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10900         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10901         Likewise.
10902         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10904 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10906         * io/tst-fcntl.c (fd): New static variable.
10907         (do_prepare): Open temporary file here....
10908         (do_test): ...not here.
10910         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10912 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10914         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10915         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10916         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10917         Moved before "#ifdef __ASSEMBLER__".
10919 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10921         [BZ #19156]
10922         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10923         arguments very close to 0.
10925 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10927         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10928         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10930 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10932         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10933         New.  Defined for GCC 5 and above when not compiling for
10934         profiling.
10935         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10937         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10938         Renamed to ...
10939         (CFLAGS-epoll_pwait.o): This.
10940         (CFLAGS-mmap.c): Renamed to ...
10941         (CFLAGS-mmap.o): This.
10942         (CFLAGS-mmap64.c): Renamed to ...
10943         (CFLAGS-mmap64.o): This.
10944         (CFLAGS-epoll_pwait.os): New.
10945         (CFLAGS-mmap.os): Likewise.
10946         (CFLAGS-mmap64.os): Likewise.
10947         (CFLAGS-semtimedop.os): Likewise.
10948         (CFLAGS-semtimedop.c): Renamed to ...
10949         (CFLAGS-semtimedop.o): This.
10951 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10953         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10954         warning message.
10956 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10958         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10959         * Makefile ($(objpfx)c++-types-check.out): Filter out
10960         $(+gccwarn-c) instead of -Wstrict-prototypes.
10962         * io/fts.c (fts_open): Convert to prototype-style function
10963         definition.
10964         * malloc/mcheck.c (mcheck): Likewise.
10965         (mcheck_pedantic): Likewise.
10966         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10967         internal_function.
10968         (re_search_internal): Likewise.
10969         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10970         prototype-style function definition.
10971         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10972         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10973         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10974         (xdr_utmpptr): Likewise.
10975         (xdr_utmparr): Likewise.
10976         (xdr_utmpidle): Likewise.
10977         (xdr_utmpidleptr): Likewise.
10978         (xdr_utmpidlearr): Likewise.
10980         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10981         log, log10 and log2.
10982         * math/auto-libm-test-out: Regenerated.
10983         * math/libm-test.inc (fmod_test_data): Add more tests.
10984         (fpclassify_test_data): Likewise.
10985         (frexp_test_data): Likewise.
10986         (hypot_test_data): Likewise.
10987         (ilogb_test_data): Likewise.
10989 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10991         * debug/fortify_fail.c (__fortify_fail): Convert to
10992         prototype-style function definition.  Use internal_function.
10993         * libio/genops.c (save_for_backup): Convert to prototype-style
10994         function definition.
10995         * libio/wgenops.c (save_for_wbackup): Likewise.
10996         * login/grantpt.c (grantpt): Likewise.
10997         * login/ptsname.c (ptsname): Likewise.
10998         (__ptsname_r): Likewise.
10999         * login/unlockpt.c (unlockpt): Likewise.
11000         * mach/msgserver.c (__mach_msg_server): Likewise.
11001         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11002         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11003         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11004         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11005         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11006         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11007         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11008         Likewise.
11009         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11010         internal_function.
11011         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11012         prototype-style function definition.
11013         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11014         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11015         (__pthread_create_2_0): Likewise.
11016         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11017         * nptl/register-atfork.c (__register_atfork): Likewise.
11018         * posix/glob.c (glob): Likewise.
11019         * posix/regcomp.c (re_comp): Likewise.
11020         * posix/regexec.c (re_exec): Likewise.
11021         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11022         [!__STDC__]: Remove conditional code.
11023         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11024         [!__STDC__]: Remove conditional code.
11025         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11026         [!__STDC__]: Remove conditional code.
11027         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11028         [!__STDC__]: Remove conditional code.
11029         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11030         [!__STDC__]: Remove conditional code.
11031         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11032         [!__STDC__]: Remove conditional code.
11033         * stdlib/mul.c [__STDC__]: Make code unconditional.
11034         [!__STDC__]: Remove conditional code.
11035         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11036         [!__STDC__]: Remove conditional code.
11037         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11038         [!__STDC__]: Remove conditional code.
11039         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11040         function definition.
11041         (STRTOF): Likewise.
11042         * stdlib/strtod_l.c (__STRTOF): Likewise.
11043         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11044         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11045         (__strtol_l): Likewise.
11046         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11047         [!__STDC__]: Remove conditional code.
11048         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11049         definition.
11050         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11051         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11052         type.
11053         (__strcasecmp): Convert to prototype-style function definition.
11054         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11055         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11056         type.
11057         (__strncasecmp): Convert to prototype-style function definition.
11058         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11059         * sunrpc/xdr.c (xdr_union): Likewise.
11060         * sunrpc/xdr_array.c (xdr_array): Likewise.
11061         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11062         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11063         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11064         Likewise.
11065         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11066         Likewise.
11067         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11068         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11069         Likewise.
11070         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11071         (LOCALE_PARAM_PROTO): Likewise.
11072         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11073         argument type.
11074         (ut_argument_spec): Remove macro.
11075         (ut_argument_spec_iso): Rename to ut_argument_spec.
11076         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11077         prototype-style function definition.
11078         (memcpy_uppcase): Likewise.
11079         (__strftime_internal): Likewise.
11080         (my_strftime): Likewise.
11081         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11082         (LOCALE_PARAM_DECL): Likewise.
11083         [_LIBC] (LOCALE_PARAM): Include argument type.
11084         (__strptime_internal): Convert to prototype-style function
11085         definition.
11086         (strptime): Likewise.
11087         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11088         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11089         type.
11090         (__wcscasecmp): Convert to prototype-style function definition.
11091         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11092         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11093         type.
11094         (__wcsncasecmp): Convert to prototype-style function definition.
11096         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11097         function definition.
11098         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11099         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11100         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11101         * elf/dl-minimal.c (_itoa): Likewise.
11102         * hurd/hurdmalloc.c (malloc): Likewise.
11103         (free): Likewise.
11104         (realloc): Likewise.
11105         * inet/inet6_option.c (inet6_option_space): Likewise.
11106         (inet6_option_init): Likewise.
11107         (inet6_option_append): Likewise.
11108         (inet6_option_alloc): Likewise.
11109         (inet6_option_next): Likewise.
11110         (inet6_option_find): Likewise.
11111         * io/ftw.c (FTW_NAME): Likewise.
11112         (NFTW_NAME): Likewise.
11113         (NFTW_NEW_NAME): Likewise.
11114         (NFTW_OLD_NAME): Likewise.
11115         * libio/iofwide.c (_IO_fwide): Likewise.
11116         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11117         (_IO_str_init_static): Likewise.
11118         (_IO_str_init_readonly): Likewise.
11119         (_IO_str_overflow): Likewise.
11120         (_IO_str_underflow): Likewise.
11121         (_IO_str_count): Likewise.
11122         (_IO_str_seekoff): Likewise.
11123         (_IO_str_pbackfail): Likewise.
11124         (_IO_str_finish): Likewise.
11125         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11126         (_IO_wstr_overflow): Likewise.
11127         (_IO_wstr_underflow): Likewise.
11128         (_IO_wstr_count): Likewise.
11129         (_IO_wstr_seekoff): Likewise.
11130         (_IO_wstr_pbackfail): Likewise.
11131         (_IO_wstr_finish): Likewise.
11132         * locale/programs/localedef.c (normalize_codeset): Likewise.
11133         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11134         (add_locales_to_archive): Likewise.
11135         (delete_locales_from_archive): Likewise.
11136         * malloc/malloc.c (__libc_mallinfo): Likewise.
11137         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11138         * misc/tsearch.c (__tfind): Likewise.
11139         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11140         * nptl/pthread_attr_getdetachstate.c
11141         (__pthread_attr_getdetachstate): Likewise.
11142         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11143         Likewise.
11144         * nptl/pthread_attr_getinheritsched.c
11145         (__pthread_attr_getinheritsched): Likewise.
11146         * nptl/pthread_attr_getschedparam.c
11147         (__pthread_attr_getschedparam): Likewise.
11148         * nptl/pthread_attr_getschedpolicy.c
11149         (__pthread_attr_getschedpolicy): Likewise.
11150         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11151         Likewise.
11152         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11153         Likewise.
11154         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11155         Likewise.
11156         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11157         Likewise.
11158         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11159         (__pthread_attr_init_2_0): Likewise.
11160         * nptl/pthread_attr_setdetachstate.c
11161         (__pthread_attr_setdetachstate): Likewise.
11162         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11163         Likewise.
11164         * nptl/pthread_attr_setinheritsched.c
11165         (__pthread_attr_setinheritsched): Likewise.
11166         * nptl/pthread_attr_setschedparam.c
11167         (__pthread_attr_setschedparam): Likewise.
11168         * nptl/pthread_attr_setschedpolicy.c
11169         (__pthread_attr_setschedpolicy): Likewise.
11170         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11171         Likewise.
11172         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11173         Likewise.
11174         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11175         Likewise.
11176         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11177         Likewise.
11178         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11179         Likewise.
11180         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11181         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11182         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11183         use internal_function.
11184         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11185         prototype-style function definition.
11186         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11187         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11188         internal_function.
11189         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11190         Convert to prototype-style function definition.
11191         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11192         Likewise.
11193         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11194         Likewise.
11195         (__pthread_mutex_unlock): Likewise.
11196         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11197         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11198         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11199         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11200         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11201         * nss/makedb.c (process_input): Likewise.
11202         * posix/fnmatch.c (__strchrnul): Likewise.
11203         (__wcschrnul): Likewise.
11204         (fnmatch): Likewise.
11205         * posix/fnmatch_loop.c (FCT): Likewise.
11206         * posix/glob.c (globfree): Likewise.
11207         (__glob_pattern_type): Likewise.
11208         (__glob_pattern_p): Likewise.
11209         * posix/regcomp.c (re_compile_pattern): Likewise.
11210         (re_set_syntax): Likewise.
11211         (re_compile_fastmap): Likewise.
11212         (regcomp): Likewise.
11213         (regerror): Likewise.
11214         (regfree): Likewise.
11215         * posix/regexec.c (regexec): Likewise.
11216         (re_match): Likewise.
11217         (re_search): Likewise.
11218         (re_match_2): Likewise.
11219         (re_search_2): Likewise.
11220         (re_search_stub): Likewise.  Use internal_function
11221         (re_copy_regs): Likewise.
11222         (re_set_registers): Convert to prototype-style function
11223         definition.
11224         (prune_impossible_nodes): Likewise.  Use internal_function.
11225         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11226         prototype-style function definition.
11227         (inet_net_pton_ipv4): Likewise.
11228         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11229         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11230         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11231         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11232         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11233         Make variadic.
11234         * time/strptime_l.c (localtime_r): Convert to prototype-style
11235         function definition.
11236         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11237         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11238         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11239         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11241         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11242         definition.
11243         (_ufc_doit_r): Likewise.
11244         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11245         (_ufc_output_conversion_r): Likewise.
11246         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11247         * inet/rcmd.c (rcmd_af): Likewise.
11248         (rcmd): Likewise.
11249         (ruserok_af): Likewise.
11250         (ruserok): Likewise.
11251         (ruserok2_sa): Likewise.
11252         (ruserok_sa): Likewise.
11253         (iruserok_af): Likewise.
11254         (iruserok): Likewise.
11255         (__ivaliduser): Likewise.
11256         (__validuser2_sa): Likewise.
11257         * inet/rexec.c (rexec_af): Likewise.
11258         (rexec): Likewise.
11259         * inet/ruserpass.c (ruserpass): Likewise.
11260         * locale/programs/xmalloc.c (xcalloc): Likewise.
11261         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11262         * math/w_drem.c (__drem): Likewise.
11263         * math/w_dremf.c (__dremf): Likewise.
11264         * math/w_dreml.c (__dreml): Likewise.
11265         * misc/daemon.c (daemon): Likewise.
11266         * resolv/res_debug.c (p_fqnname): Likewise.
11267         * stdlib/div.c (div): Likewise.
11268         * string/memcmp.c (memcmp_bytes): Likewise.
11269         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11270         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11272         * crypt/cert.c (main): Convert to prototype-style function
11273         definition.
11274         * io/pipe.c (__pipe): Likewise.
11275         * io/pipe2.c (__pipe2): Likewise.
11276         * misc/futimesat.c (futimesat): Likewise.
11277         * misc/utimes.c (__utimes): Likewise.
11278         * posix/execve.c (__execve): Likewise.
11279         * posix/execvp.c (execvp): Likewise.
11280         * posix/execvpe.c (__execvpe): Likewise.
11281         * posix/fexecve.c (fexecve): Likewise.
11282         * socket/socketpair.c (socketpair): Likewise.
11283         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11284         * stdlib/erand48.c (erand48): Likewise.
11285         * stdlib/erand48_r.c (__erand48_r): Likewise.
11286         * stdlib/jrand48.c (jrand48): Likewise.
11287         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11288         * stdlib/lcong48.c (lcong48): Likewise.
11289         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11290         * stdlib/nrand48.c (nrand48): Likewise.
11291         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11292         * stdlib/seed48.c (seed48): Likewise.
11293         * stdlib/seed48_r.c (__seed48_r): Likewise.
11294         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11295         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11296         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11298 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11300         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11301         * configure: Regenerated.
11302         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11303         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11304         unconditional.
11305         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11306         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11307         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11308         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11309         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11310         unconditional.
11311         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11313         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11314         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11316         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11317         function definition.
11318         * crypt/crypt_util.c (__encrypt_r): Likewise.
11319         * libio/genops.c (_IO_no_init): Likewise.
11320         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11321         (_IO_old_fopencookie): Likewise.
11322         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11323         * libio/iogetline.c (_IO_getline): Likewise.
11324         (_IO_getline_info): Likewise.
11325         * libio/iogetwline.c (_IO_getwline): Likewise.
11326         (_IO_getwline_info): Likewise.
11327         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11328         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11329         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11330         (find_entry): Likewise.
11331         (iterate_table): Likewise.
11332         (lookup): Likewise.
11333         * login/forkpty.c (forkpty): Likewise.
11334         * misc/hsearch_r.c (__hsearch_r): Likewise.
11335         * misc/select.c (__select): Likewise.
11336         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11337         Likewise.
11338         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11339         Likewise.
11340         * nptl/old_pthread_cond_timedwait.c
11341         (__pthread_cond_timedwait_2_0): Likewise.
11342         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11343         * nptl/pthread_barrierattr_getpshared.c
11344         (pthread_barrierattr_getpshared): Likewise.
11345         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11346         Likewise.
11347         * nptl/pthread_mutex_setprioceiling.c
11348         (pthread_mutex_setprioceiling): Likewise.
11349         * nptl/pthread_mutexattr_getprioceiling.c
11350         (pthread_mutexattr_getprioceiling): Likewise.
11351         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11352         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11353         Likewise.
11354         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11355         Likewise.
11356         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11357         Likewise.
11358         * socket/recvfrom.c (__recvfrom): Likewise.
11359         * socket/sendto.c (__sendto): Likewise.
11360         * socket/setsockopt.c (__setsockopt): Likewise.
11361         * stdio-common/_itoa.c (_itoa): Likewise.
11362         * stdio-common/_itowa.c (_itowa): Likewise.
11363         * stdio-common/reg-printf.c (__register_printf_specifier):
11364         Likewise.
11365         (__register_printf_function): Likewise.
11366         * stdio-common/tempname.c (__path_search): Likewise.
11367         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11368         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11369         * stdlib/random_r.c (__initstate_r): Likewise.
11370         * stdlib/setenv.c (__add_to_environ): Likewise.
11371         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11372         * streams/getpmsg.c (getpmsg): Likewise.
11373         * streams/putmsg.c (putmsg): Likewise.
11374         * streams/putpmsg.c (putpmsg): Likewise.
11375         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11376         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11377         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11378         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11379         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11380         * sunrpc/svc_udp.c (cache_get): Likewise.
11381         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11382         * sysdeps/mach/hurd/getcwd.c
11383         (__canonicalize_directory_name_internal): Likewise.
11384         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11385         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11386         * sysdeps/mach/hurd/select.c (__select): Likewise.
11387         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11388         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11389         * sysdeps/sparc/nptl/pthread_barrier_init.c
11390         (__pthread_barrier_init): Likewise.
11391         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11392         (__pthread_cond_timedwait): Likewise.
11393         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11394         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11395         Likewise.
11396         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11397         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11398         Likewise.
11399         * sysvipc/semtimedop.c (semtimedop): Likewise.
11400         * time/setitimer.c (__setitimer): Likewise.
11401         * time/strftime_l.c (emacs_strftime): Likewise.
11403 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11405         * config.make.in (have-ssp): Delete.
11406         (stack-protector): New variable.
11407         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11408         cache test for -fstack-protector-strong.  Export stack_protector to
11409         the best ssp flag.
11410         * configure: Regenerated.
11411         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11412         * nscd/Makefile (CFLAGS-nscd): Likewise.
11413         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11415 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11417         [BZ #19122]
11418         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11419         attribute_hidden.
11421 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11423         [BZ #18743]
11424         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11425         code to...
11426         (ELIDE_LOCK): ...here.
11427         (__get_new_count): New function with part of the code from
11428         __elide_lock that updates the value of adapt_count after a
11429         transaction abort.
11430         (__elided_trylock): Moved this code to...
11431         (ELIDE_TRYLOCK): ...here.
11433 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11435         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11436         * configure: Regenerate.
11437         * INSTALL: Regenerate.
11438         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11439         and tweak grammar.
11441 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11443         * login/programs/pt_chown.c: Include signal.h
11444         (main): Clear any signal mask from the parent process.
11446 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11448         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11449         * configure: Regenerated.
11450         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11451         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11452         $(gnu89-inline-CFLAGS).
11454         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11455         test.
11456         (libc_cv_asm_weakext_directive): Likewise.
11457         * configure: Regenerated.
11458         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11459         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11460         * include/libc-symbols.h
11461         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11462         #error.
11463         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11464         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11466         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11467         prototype-style function definition.
11468         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11469         * sysdeps/i386/ffs.c (__ffs): Likewise.
11470         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11471         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11472         Likewise.
11473         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11474         Likewise.
11475         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11476         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11477         Likewise.
11478         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11479         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11480         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11481         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11482         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11483         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11484         * sysdeps/mach/hurd/access.c (__access): Likewise.
11485         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11486         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11487         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11488         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11489         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11490         (cthread_getspecific): Likewise.
11491         (cthread_setspecific): Likewise.
11492         (__libc_getspecific): Likewise.
11493         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11494         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11495         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11496         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11497         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11498         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11499         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11500         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11501         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11502         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11503         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11504         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11505         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11506         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11507         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11508         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11509         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11510         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11511         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11512         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11513         * sysdeps/mach/hurd/link.c (__link): Likewise.
11514         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11515         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11516         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11517         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11518         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11519         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11520         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11521         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11522         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11523         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11524         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11525         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11526         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11527         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11528         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11529         * sysdeps/mach/hurd/send.c (__send): Likewise.
11530         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11531         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11532         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11533         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11534         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11535         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11536         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11537         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11538         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11539         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11540         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11541         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11542         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11543         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11544         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11545         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11546         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11547         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11548         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11549         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11550         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11551         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11552         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11553         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11554         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11555         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11556         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11557         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11558         * sysdeps/posix/alarm.c (alarm): Likewise.
11559         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11560         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11561         * sysdeps/posix/dup.c (__dup): Likewise.
11562         * sysdeps/posix/dup2.c (__dup2): Likewise.
11563         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11564         (main): Likewise.
11565         * sysdeps/posix/flock.c (__flock): Likewise.
11566         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11567         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11568         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11569         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11570         * sysdeps/posix/isatty.c (__isatty): Likewise.
11571         * sysdeps/posix/killpg.c (killpg): Likewise.
11572         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11573         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11574         * sysdeps/posix/raise.c (raise): Likewise.
11575         * sysdeps/posix/remove.c (remove): Likewise.
11576         * sysdeps/posix/rename.c (rename): Likewise.
11577         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11578         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11579         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11580         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11581         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11582         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11583         * sysdeps/posix/sigset.c (sigset): Likewise.
11584         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11585         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11586         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11587         * sysdeps/posix/time.c (time): Likewise.
11588         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11589         (ttyname): Likewise.
11590         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11591         * sysdeps/posix/utime.c (utime): Likewise.
11592         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11593         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11594         Likewise.
11595         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11596         (pthread_spin_trylock): Likewise.
11597         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11598         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11599         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11600         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11601         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11602         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11603         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11604         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11605         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11606         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11607         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11608         * sysdeps/s390/ffs.c (__ffs): Likewise.
11609         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11610         Likewise.
11611         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11612         Likewise.
11613         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11614         Likewise.
11615         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11616         (pthread_barrier_destroy): Likewise.
11617         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11618         (__pthread_barrier_wait): Likewise.
11619         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11620         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11621         (__pthread_barrier_wait): Likewise.
11622         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11623         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11624         (memcmp_not_common_alignment): Likewise.
11625         (MEMCMP): Likewise.
11626         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11627         (_wordcopy_fwd_dest_aligned): Likewise.
11628         (_wordcopy_bwd_aligned): Likewise.
11629         (_wordcopy_bwd_dest_aligned): Likewise.
11630         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11631         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11632         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11633         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11634         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11635         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11636         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11637         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11638         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11639         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11640         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11641         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11642         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11643         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11644         * sysdeps/unix/stime.c (stime): Likewise.
11645         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11646         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11647         Likewise.  Use internal_function.
11648         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11649         Convert to prototype-style function definition.
11650         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11651         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11652         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11653         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11654         Likewise.  Use internal_function.
11655         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11656         prototype-style function definition
11657         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11658         Likewise.
11659         (__getlogin_r): Likewise.
11660         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11661         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11662         (__pthread_cond_broadcast): Likewise.
11663         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11664         (__pthread_cond_destroy): Likewise.
11665         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11666         (__pthread_cond_init): Likewise.
11667         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11668         (__pthread_cond_signal): Likewise.
11669         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11670         (__pthread_cond_wait): Likewise.
11671         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11672         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11673         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11674         Likewise.
11675         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11676         Likewise.
11677         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11678         Likewise.
11679         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11680         Likewise.
11681         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11683         (__ftruncate64): Likewise.
11684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11685         (truncate64): Likewise.
11686         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11687         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11688         (pthread_getcpuclockid): Likewise.
11689         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11690         Likewise.
11691         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11692         Likewise.
11693         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11694         Likewise.
11695         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11696         Likewise.
11697         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11698         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11699         (__libc_sigaction): Likewise.
11700         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11701         Likewise.
11702         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11703         (__sigprocmask): Likewise.
11704         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11705         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11706         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11707         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11708         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11709         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11710         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11711         Likewise.
11712         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11713         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11714         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11715         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11716         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11717         Likewise.
11718         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11719         (__sigprocmask): Likewise.
11720         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11721         (cfgetispeed): Likewise.
11722         (cfsetospeed): Likewise.
11723         (cfsetispeed): Likewise.
11724         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11725         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11726         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11727         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11728         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11729         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11730         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11731         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11732         Likewise.
11733         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11734         Likewise.
11735         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11736         Likewise.
11737         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11738         Likewise.
11739         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11741 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11743         sunrpc: Rewrite with explicit TLS access using __thread.
11744         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11745         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11746         directly.
11747         (__rpc_thread_variables): Access thread_rpc_vars directly.
11748         Eliminate redundant assignment of the tvp variable.
11750 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11752         malloc: Rewrite with explicit TLS access using __thread.
11753         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11754         (tsd_setspecific, tsd_getspecific): Remove.
11755         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11756         (tsd_setspecific, tsd_getspecific): Likewise.
11757         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11758         (tsd_setspecific, tsd_getspecific): Likewise.
11759         * malloc/arena.c (thread_arena): New TLS variable.
11760         (arena_key): Remove variable.
11761         (arena_get): Use thread_arena.
11762         (arena_lookup): Remove macro.
11763         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11764         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11765         (_int_new_arena, get_free_list, reused_arena)
11766         (arena_thread_freeres): Use thread_arena.
11767         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11768         tsd_getspecific, tsd_setspecific from safety annotations.
11769         (Allocating Cleared Space): Remove arena_lookup from safety
11770         annotations.
11772 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11774         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11775         struct scratch_buffer instead of extend_alloca.
11777 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11779         * sysdeps/unix/sysv/linux/kernel-features.h
11780         (__ASSUME_SOCK_CLOEXEC): Remove.
11781         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11782         (__have_paccept): Remove unused macro.
11783         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11784         * misc/syslog.c (openlog_internal): Remove fallback code for
11785         !__ASSUME_SOCK_CLOEXEC.
11786         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11787         missing SOCK_CLOEXEC.
11788         * nscd/connections.c (have_sock_cloexec): Remove definition.
11789         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11790         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11791         !__ASSUME_SOCK_CLOEXEC.
11792         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11793         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11794         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11795         definition.
11796         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11797         code for !__ASSUME_SOCK_CLOEXEC.
11799 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11801         [BZ #18982]
11802         * manual/stdio.texi (Variable Arguments Output): Add portability
11803         note, explaining that vfprintf clobbers the va_list pointer.
11805 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11807         * math/libm-test.inc (fabs_test_data): Add more tests.
11808         (fdim_test_data): Likewise.
11809         (fma_test_data): Likewise.
11810         (fmax_test_data): Likewise.
11811         (fmin_test_data): Likewise.
11812         (fmod_test_data): Likewise.
11814 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11816         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11817         data.
11819 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11821         * math/libm-test.inc (ceil_test_data): Add more tests and more
11822         expectations for "inexact".
11823         (floor_test_data): Add more tests.
11824         (round_test_data): Likewise.
11825         (trunc_test_data): Likewise.
11827         * crypt/cert.c (good_bye): Convert to prototype-style function
11828         definition.
11829         (get8): Likewise.
11830         (put8): Likewise.
11831         * crypt/crypt-entry.c (crypt): Likewise.
11832         (__fcrypt): Likewise.
11833         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11834         (_ufc_set_bits): Likewise.
11835         (_ufc_clearmem): Likewise.
11836         (__init_des_r): Likewise.
11837         (shuffle_sb): Likewise.
11838         (shuffle_sb): Likewise.
11839         (_ufc_setup_salt_r): Likewise.
11840         (_ufc_mk_keytab_r): Likewise.
11841         (_ufc_dofinalperm_r): Likewise.
11842         (encrypt): Likewise.
11843         (__setkey_r): Likewise.
11844         (setkey): Likewise.
11845         * crypt/md5.c (md5_init_ctx): Likewise.
11846         (md5_read_ctx): Likewise.
11847         (md5_finish_ctx): Likewise.
11848         (md5_stream): Likewise.
11849         (md5_buffer): Likewise.
11850         (md5_process_bytes): Likewise.
11851         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11852         (__sha256_finish_ctx): Likewise.
11853         (__sha256_process_bytes): Likewise.
11854         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11855         (__sha512_finish_ctx): Likewise.
11856         (__sha512_process_bytes): Likewise.
11857         * ctype/isctype.c (__isctype): Likewise.
11858         * debug/backtrace.c (__backtrace): Likewise.
11859         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11860         * debug/fgets_chk.c (__fgets_chk): Likewise.
11861         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11862         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11863         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11864         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11865         * debug/memset_chk.c (__memset_chk): Likewise.
11866         * debug/strcat_chk.c (__strcat_chk): Likewise.
11867         * debug/strncat_chk.c (__strncat_chk): Likewise.
11868         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11869         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11870         * dirent/dirfd.c (dirfd): Likewise.
11871         * dirent/getdents.c (__getdirentries): Likewise.
11872         * dirent/getdents64.c (getdirentries64): Likewise.
11873         * dirent/rewinddir.c (__rewinddir): Likewise.
11874         * dirent/seekdir.c (seekdir): Likewise.
11875         * dirent/telldir.c (telldir): Likewise.
11876         * elf/sln.c (makesymlinks): Likewise.
11877         (makesymlink): Likewise.
11878         * gmon/gmon.c (__moncontrol): Likewise.
11879         (__monstartup): Likewise.
11880         (write_hist): Likewise.
11881         (write_call_graph): Likewise.
11882         (write_bb_counts): Likewise.
11883         * grp/setgroups.c (setgroups): Likewise.
11884         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11885         * inet/inet_net.c (inet_network): Likewise.
11886         * inet/inet_netof.c (inet_netof): Likewise.
11887         * inet/rcmd.c (rresvport_af): Likewise.
11888         (rresvport): Likewise.
11889         * io/access.c (__access): Likewise.
11890         * io/chdir.c (__chdir): Likewise.
11891         * io/chmod.c (__chmod): Likewise.
11892         * io/chown.c (__chown): Likewise.
11893         * io/close.c (__close): Likewise.
11894         * io/creat.c (creat): Likewise.
11895         * io/creat64.c (creat64): Likewise.
11896         * io/dup.c (__dup): Likewise.
11897         * io/dup2.c (__dup2): Likewise.
11898         * io/dup3.c (__dup3): Likewise.
11899         * io/euidaccess.c (__euidaccess): Likewise.
11900         * io/faccessat.c (faccessat): Likewise.
11901         * io/fchmod.c (__fchmod): Likewise.
11902         * io/fchmodat.c (fchmodat): Likewise.
11903         * io/fchown.c (__fchown): Likewise.
11904         * io/fchownat.c (fchownat): Likewise.
11905         * io/fcntl.c (__fcntl): Likewise.
11906         * io/flock.c (__flock): Likewise.
11907         * io/fts.c (fts_load): Likewise.
11908         (fts_close): Likewise.
11909         (fts_read): Likewise.
11910         (fts_set): Likewise.
11911         (fts_children): Likewise.
11912         (fts_build): Likewise.
11913         (fts_stat): Likewise.
11914         (fts_sort): Likewise.
11915         (fts_alloc): Likewise.
11916         (fts_lfree): Likewise.
11917         (fts_palloc): Likewise.
11918         (fts_padjust): Likewise.
11919         (fts_maxarglen): Likewise.
11920         (fts_safe_changedir): Likewise.
11921         * io/getwd.c (getwd): Likewise.
11922         * io/isatty.c (__isatty): Likewise.
11923         * io/lchown.c (__lchown): Likewise.
11924         * io/link.c (__link): Likewise.
11925         * io/linkat.c (linkat): Likewise.
11926         * io/lseek.c (__libc_lseek): Likewise.
11927         * io/mkdir.c (__mkdir): Likewise.
11928         * io/mkdirat.c (mkdirat): Likewise.
11929         * io/mkfifo.c (mkfifo): Likewise.
11930         * io/mkfifoat.c (mkfifoat): Likewise.
11931         * io/open.c (__libc_open): Likewise.
11932         * io/open64.c (__libc_open64): Likewise.
11933         * io/readlink.c (__readlink): Likewise.
11934         * io/readlinkat.c (readlinkat): Likewise.
11935         * io/rmdir.c (__rmdir): Likewise.
11936         * io/symlink.c (__symlink): Likewise.
11937         * io/symlinkat.c (symlinkat): Likewise.
11938         * io/ttyname.c (ttyname): Likewise.
11939         * io/ttyname_r.c (__ttyname_r): Likewise.
11940         * io/umask.c (__umask): Likewise.
11941         * io/unlink.c (__unlink): Likewise.
11942         * io/unlinkat.c (unlinkat): Likewise.
11943         * io/utime.c (utime): Likewise.
11944         * libio/clearerr.c (clearerr): Likewise.
11945         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11946         * libio/feof.c (_IO_feof): Likewise.
11947         * libio/feof_u.c (feof_unlocked): Likewise.
11948         * libio/ferror.c (_IO_ferror): Likewise.
11949         * libio/ferror_u.c (ferror_unlocked): Likewise.
11950         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11951         * libio/fileno.c (__fileno): Likewise.
11952         * libio/fputc.c (fputc): Likewise.
11953         * libio/fputc_u.c (fputc_unlocked): Likewise.
11954         * libio/fputwc.c (fputwc): Likewise.
11955         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11956         * libio/freopen.c (freopen): Likewise.
11957         * libio/freopen64.c (freopen64): Likewise.
11958         * libio/fseek.c (fseek): Likewise.
11959         * libio/fseeko.c (fseeko): Likewise.
11960         * libio/fseeko64.c (fseeko64): Likewise.
11961         * libio/ftello.c (__ftello): Likewise.
11962         * libio/ftello64.c (ftello64): Likewise.
11963         * libio/fwide.c (fwide): Likewise.
11964         * libio/genops.c (_IO_un_link): Likewise.
11965         (_IO_link_in): Likewise.
11966         (_IO_least_marker): Likewise.
11967         (_IO_switch_to_main_get_area): Likewise.
11968         (_IO_switch_to_backup_area): Likewise.
11969         (_IO_switch_to_get_mode): Likewise.
11970         (_IO_free_backup_area): Likewise.
11971         (_IO_switch_to_put_mode): Likewise.
11972         (__overflow): Likewise.
11973         (__underflow): Likewise.
11974         (__uflow): Likewise.
11975         (_IO_setb): Likewise.
11976         (_IO_doallocbuf): Likewise.
11977         (_IO_default_underflow): Likewise.
11978         (_IO_default_uflow): Likewise.
11979         (_IO_default_xsputn): Likewise.
11980         (_IO_sgetn): Likewise.
11981         (_IO_default_xsgetn): Likewise.
11982         (_IO_sync): Likewise.
11983         (_IO_default_setbuf): Likewise.
11984         (_IO_default_seekpos): Likewise.
11985         (_IO_default_doallocate): Likewise.
11986         (_IO_init): Likewise.
11987         (_IO_old_init): Likewise.
11988         (_IO_default_sync): Likewise.
11989         (_IO_default_finish): Likewise.
11990         (_IO_default_seekoff): Likewise.
11991         (_IO_sputbackc): Likewise.
11992         (_IO_sungetc): Likewise.
11993         (_IO_set_column): Likewise.
11994         (_IO_set_column): Likewise.
11995         (_IO_adjust_column): Likewise.
11996         (_IO_get_column): Likewise.
11997         (_IO_init_marker): Likewise.
11998         (_IO_remove_marker): Likewise.
11999         (_IO_marker_difference): Likewise.
12000         (_IO_marker_delta): Likewise.
12001         (_IO_seekmark): Likewise.
12002         (_IO_unsave_markers): Likewise.
12003         (_IO_nobackup_pbackfail): Likewise.
12004         (_IO_default_pbackfail): Likewise.
12005         (_IO_default_seek): Likewise.
12006         (_IO_default_stat): Likewise.
12007         (_IO_default_read): Likewise.
12008         (_IO_default_write): Likewise.
12009         (_IO_default_showmanyc): Likewise.
12010         (_IO_default_imbue): Likewise.
12011         (_IO_iter_next): Likewise.
12012         (_IO_iter_file): Likewise.
12013         * libio/getc.c (_IO_getc): Likewise.
12014         * libio/getwc.c (_IO_getwc): Likewise.
12015         * libio/iofclose.c (_IO_new_fclose): Likewise.
12016         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12017         * libio/iofflush.c (_IO_fflush): Likewise.
12018         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12019         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12020         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12021         * libio/iofgets.c (_IO_fgets): Likewise.
12022         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12023         * libio/iofgetws.c (fgetws): Likewise.
12024         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12025         * libio/iofopen64.c (_IO_fopen64): Likewise.
12026         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12027         (_IO_cookie_write): Likewise.
12028         (_IO_cookie_seek): Likewise.
12029         (_IO_cookie_close): Likewise.
12030         (_IO_cookie_seekoff): Likewise.
12031         (_IO_old_cookie_seek): Likewise.
12032         * libio/iofputs.c (_IO_fputs): Likewise.
12033         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12034         * libio/iofputws.c (fputws): Likewise.
12035         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12036         * libio/iofread.c (_IO_fread): Likewise.
12037         * libio/iofread_u.c (__fread_unlocked): Likewise.
12038         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12039         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12040         * libio/ioftell.c (_IO_ftell): Likewise.
12041         * libio/iofwrite.c (_IO_fwrite): Likewise.
12042         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12043         * libio/iogets.c (_IO_gets): Likewise.
12044         * libio/iopadn.c (_IO_padn): Likewise.
12045         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12046         (_IO_new_popen): Likewise.
12047         (_IO_new_proc_close): Likewise.
12048         * libio/ioputs.c (_IO_puts): Likewise.
12049         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12050         (_IO_seekoff): Likewise.
12051         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12052         (_IO_seekpos): Likewise.
12053         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12054         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12055         * libio/ioungetc.c (_IO_ungetc): Likewise.
12056         * libio/ioungetwc.c (ungetwc): Likewise.
12057         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12058         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12059         * libio/iowpadn.c (_IO_wpadn): Likewise.
12060         * libio/libc_fatal.c (__libc_fatal): Likewise.
12061         * libio/memstream.c (__open_memstream): Likewise.
12062         (_IO_mem_sync): Likewise.
12063         (_IO_mem_finish): Likewise.
12064         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12065         (_IO_old_file_close_it): Likewise.
12066         (_IO_old_file_finish): Likewise.
12067         (_IO_old_file_fopen): Likewise.
12068         (_IO_old_file_attach): Likewise.
12069         (_IO_old_file_setbuf): Likewise.
12070         (_IO_old_do_write): Likewise.
12071         (old_do_write): Likewise.
12072         (_IO_old_file_underflow): Likewise.
12073         (_IO_old_file_overflow): Likewise.
12074         (_IO_old_file_sync): Likewise.
12075         (_IO_old_file_seekoff): Likewise.
12076         (_IO_old_file_write): Likewise.
12077         (_IO_old_file_xsputn): Likewise.
12078         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12079         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12080         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12081         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12082         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12083         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12084         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12085         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12086         (_IO_old_popen): Likewise.
12087         (_IO_old_proc_close): Likewise.
12088         * libio/oldpclose.c (__old_pclose): Likewise.
12089         * libio/pclose.c (__new_pclose): Likewise.
12090         * libio/peekc.c (_IO_peekc_locked): Likewise.
12091         * libio/putc.c (_IO_putc): Likewise.
12092         * libio/putc_u.c (putc_unlocked): Likewise.
12093         * libio/putchar.c (putchar): Likewise.
12094         * libio/putchar_u.c (putchar_unlocked): Likewise.
12095         * libio/putwc.c (putwc): Likewise.
12096         * libio/putwc_u.c (putwc_unlocked): Likewise.
12097         * libio/putwchar.c (putwchar): Likewise.
12098         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12099         * libio/rewind.c (rewind): Likewise.
12100         * libio/setbuf.c (setbuf): Likewise.
12101         * libio/setlinebuf.c (setlinebuf): Likewise.
12102         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12103         * libio/vscanf.c (_IO_vscanf): Likewise.
12104         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12105         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12106         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12107         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12108         (_IO_switch_to_main_wget_area): Likewise.
12109         (_IO_switch_to_wbackup_area): Likewise.
12110         (_IO_wsetb): Likewise.
12111         (_IO_wdefault_pbackfail): Likewise.
12112         (_IO_wdefault_finish): Likewise.
12113         (_IO_wdefault_uflow): Likewise.
12114         (__woverflow): Likewise.
12115         (__wuflow): Likewise.
12116         (__wunderflow): Likewise.
12117         (_IO_wdefault_xsputn): Likewise.
12118         (_IO_wdefault_xsgetn): Likewise.
12119         (_IO_wdoallocbuf): Likewise.
12120         (_IO_wdefault_doallocate): Likewise.
12121         (_IO_switch_to_wget_mode): Likewise.
12122         (_IO_free_wbackup_area): Likewise.
12123         (_IO_switch_to_wput_mode): Likewise.
12124         (_IO_sputbackwc): Likewise.
12125         (_IO_sungetwc): Likewise.
12126         (_IO_adjust_wcolumn): Likewise.
12127         (_IO_init_wmarker): Likewise.
12128         (_IO_wmarker_delta): Likewise.
12129         (_IO_seekwmark): Likewise.
12130         (_IO_unsave_wmarkers): Likewise.
12131         * libio/wmemstream.c (open_wmemstream): Likewise.
12132         (_IO_wmem_sync): Likewise.
12133         (_IO_wmem_finish): Likewise.
12134         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12135         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12136         * locale/programs/simple-hash.c (init_hash): Likewise.
12137         (delete_hash): Likewise.
12138         (insert_entry): Likewise.
12139         (set_entry): Likewise.
12140         (next_prime): Likewise.
12141         (is_prime): Likewise.
12142         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12143         (xmalloc): Likewise.
12144         (xrealloc): Likewise.
12145         * locale/programs/xstrdup.c (xstrdup): Likewise.
12146         * localedata/collate-test.c (xstrcoll): Likewise.
12147         * localedata/xfrm-test.c (xstrcmp): Likewise.
12148         * login/getlogin_r.c (__getlogin_r): Likewise.
12149         * login/getpt.c (__posix_openpt): Likewise.
12150         * login/login_tty.c (login_tty): Likewise.
12151         * login/setlogin.c (setlogin): Likewise.
12152         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12153         (mach_msg_destroy_port): Likewise.
12154         (mach_msg_destroy_memory): Likewise.
12155         * malloc/mcheck.c (flood): Likewise.
12156         * misc/acct.c (acct): Likewise.
12157         * misc/brk.c (__brk): Likewise.
12158         * misc/chflags.c (chflags): Likewise.
12159         * misc/chroot.c (chroot): Likewise.
12160         * misc/fchflags.c (fchflags): Likewise.
12161         * misc/fstab.c (getfsspec): Likewise.
12162         (getfsfile): Likewise.
12163         * misc/fsync.c (fsync): Likewise.
12164         * misc/ftruncate.c (__ftruncate): Likewise.
12165         * misc/ftruncate64.c (__ftruncate64): Likewise.
12166         * misc/getdomain.c (getdomainname): Likewise.
12167         (getdomainname): Likewise.
12168         * misc/gethostname.c (__gethostname): Likewise.
12169         * misc/getpass.c (getpass): Likewise.
12170         * misc/getttyent.c (skip): Likewise.
12171         (value): Likewise.
12172         * misc/gtty.c (gtty): Likewise.
12173         * misc/hsearch.c (hsearch): Likewise.
12174         (hcreate): Likewise.
12175         * misc/hsearch_r.c (__hcreate_r): Likewise.
12176         (__hdestroy_r): Likewise.
12177         * misc/ioctl.c (__ioctl): Likewise.
12178         * misc/mkdtemp.c (mkdtemp): Likewise.
12179         * misc/mkostemp.c (mkostemp): Likewise.
12180         * misc/mkostemp64.c (mkostemp64): Likewise.
12181         * misc/mkostemps.c (mkostemps): Likewise.
12182         * misc/mkostemps64.c (mkostemps64): Likewise.
12183         * misc/mkstemp.c (mkstemp): Likewise.
12184         * misc/mkstemp64.c (mkstemp64): Likewise.
12185         * misc/mkstemps.c (mkstemps): Likewise.
12186         * misc/mkstemps64.c (mkstemps64): Likewise.
12187         * misc/mktemp.c (__mktemp): Likewise.
12188         * misc/preadv.c (preadv): Likewise.
12189         * misc/preadv64.c (preadv64): Likewise.
12190         * misc/pwritev.c (pwritev): Likewise.
12191         * misc/pwritev64.c (pwritev64): Likewise.
12192         * misc/readv.c (__readv): Likewise.
12193         * misc/revoke.c (revoke): Likewise.
12194         * misc/setdomain.c (setdomainname): Likewise.
12195         * misc/setegid.c (setegid): Likewise.
12196         * misc/seteuid.c (seteuid): Likewise.
12197         * misc/sethostid.c (sethostid): Likewise.
12198         * misc/sethostname.c (sethostname): Likewise.
12199         * misc/setregid.c (__setregid): Likewise.
12200         * misc/setreuid.c (__setreuid): Likewise.
12201         * misc/sstk.c (sstk): Likewise.
12202         * misc/stty.c (stty): Likewise.
12203         * misc/syscall.c (syscall): Likewise.
12204         * misc/syslog.c (setlogmask): Likewise.
12205         * misc/truncate.c (__truncate): Likewise.
12206         * misc/truncate64.c (truncate64): Likewise.
12207         * misc/ualarm.c (ualarm): Likewise.
12208         * misc/usleep.c (usleep): Likewise.
12209         * misc/ustat.c (ustat): Likewise.
12210         * misc/writev.c (__writev): Likewise.
12211         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12212         * nptl/old_pthread_cond_broadcast.c
12213         (__pthread_cond_broadcast_2_0): Likewise.
12214         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12215         Likewise.
12216         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12217         Likewise.
12218         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12219         Likewise.
12220         * nptl/pt-raise.c (raise): Likewise.
12221         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12222         Likewise.
12223         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12224         * nptl/pthread_barrierattr_destroy.c
12225         (pthread_barrierattr_destroy): Likewise.
12226         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12227         Likewise.
12228         * nptl/pthread_barrierattr_setpshared.c
12229         (pthread_barrierattr_setpshared): Likewise.
12230         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12231         Likewise.
12232         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12233         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12234         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12235         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12236         Likewise.
12237         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12238         Likewise.
12239         * nptl/pthread_condattr_getpshared.c
12240         (pthread_condattr_getpshared): Likewise.
12241         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12242         Likewise.
12243         * nptl/pthread_condattr_setpshared.c
12244         (pthread_condattr_setpshared): Likewise.
12245         * nptl/pthread_detach.c (pthread_detach): Likewise.
12246         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12247         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12248         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12249         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12250         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12251         Likewise.
12252         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12253         Likewise.
12254         * nptl/pthread_mutex_getprioceiling.c
12255         (pthread_mutex_getprioceiling): Likewise.
12256         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12257         Likewise.
12258         * nptl/pthread_mutexattr_getprotocol.c
12259         (pthread_mutexattr_getprotocol): Likewise.
12260         * nptl/pthread_mutexattr_getpshared.c
12261         (pthread_mutexattr_getpshared): Likewise.
12262         * nptl/pthread_mutexattr_getrobust.c
12263         (pthread_mutexattr_getrobust): Likewise.
12264         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12265         Likewise.
12266         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12267         Likewise.
12268         * nptl/pthread_mutexattr_setprioceiling.c
12269         (pthread_mutexattr_setprioceiling): Likewise.
12270         * nptl/pthread_mutexattr_setprotocol.c
12271         (pthread_mutexattr_setprotocol): Likewise.
12272         * nptl/pthread_mutexattr_setpshared.c
12273         (pthread_mutexattr_setpshared): Likewise.
12274         * nptl/pthread_mutexattr_setrobust.c
12275         (pthread_mutexattr_setrobust): Likewise.
12276         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12277         Likewise.
12278         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12279         Likewise.
12280         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12281         Likewise.
12282         * nptl/pthread_rwlockattr_getkind_np.c
12283         (pthread_rwlockattr_getkind_np): Likewise.
12284         * nptl/pthread_rwlockattr_getpshared.c
12285         (pthread_rwlockattr_getpshared): Likewise.
12286         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12287         Likewise.
12288         * nptl/pthread_rwlockattr_setkind_np.c
12289         (pthread_rwlockattr_setkind_np): Likewise.
12290         * nptl/pthread_rwlockattr_setpshared.c
12291         (pthread_rwlockattr_setpshared): Likewise.
12292         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12293         Likewise.
12294         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12295         Likewise.
12296         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12297         Likewise.
12298         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12299         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12300         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12301         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12302         * nptl/sem_close.c (sem_close): Likewise.
12303         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12304         * nptl/sem_init.c (__old_sem_init): Likewise.
12305         * nptl/sigaction.c (__sigaction): Likewise.
12306         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12307         * posix/_exit.c (_exit): Likewise.
12308         * posix/alarm.c (alarm): Likewise.
12309         * posix/confstr.c (confstr): Likewise.
12310         * posix/fpathconf.c (__fpathconf): Likewise.
12311         * posix/getgroups.c (__getgroups): Likewise.
12312         * posix/getpgid.c (__getpgid): Likewise.
12313         * posix/group_member.c (__group_member): Likewise.
12314         * posix/pathconf.c (__pathconf): Likewise.
12315         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12316         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12317         * posix/setgid.c (__setgid): Likewise.
12318         * posix/setpgid.c (__setpgid): Likewise.
12319         * posix/setuid.c (__setuid): Likewise.
12320         * posix/sleep.c (__sleep): Likewise.
12321         * posix/sysconf.c (__sysconf): Likewise.
12322         * posix/times.c (__times): Likewise.
12323         * posix/uname.c (__uname): Likewise.
12324         * posix/waitid.c (__waitid): Likewise.
12325         * pwd/getpw.c (__getpw): Likewise.
12326         * resolv/base64.c (b64_pton): Likewise.
12327         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12328         * resolv/gethnamaddr.c (Dprintf): Likewise.
12329         (gethostbyname): Likewise.
12330         (gethostbyname2): Likewise.
12331         (gethostbyaddr): Likewise.
12332         (_sethtent): Likewise.
12333         (_gethtbyname): Likewise.
12334         (_gethtbyname2): Likewise.
12335         (_gethtbyaddr): Likewise.
12336         (map_v4v6_address): Likewise.
12337         (map_v4v6_hostent): Likewise.
12338         (addrsort): Likewise.
12339         (ht_sethostent): Likewise.
12340         (ht_gethostbyname): Likewise.
12341         (ht_gethostbyaddr): Likewise.
12342         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12343         (inet_net_ntop_ipv4): Likewise.
12344         * resolv/inet_neta.c (inet_neta): Likewise.
12345         * resolv/inet_ntop.c (inet_ntop): Likewise.
12346         (inet_ntop4): Likewise.
12347         (inet_ntop6): Likewise.
12348         * resolv/inet_pton.c (__inet_pton): Likewise.
12349         (inet_pton4): Likewise.
12350         (inet_pton6): Likewise.
12351         * resolv/res_debug.c (loc_aton): Likewise.
12352         (loc_ntoa): Likewise.
12353         * resource/getpriority.c (__getpriority): Likewise.
12354         * resource/getrusage.c (__getrusage): Likewise.
12355         * resource/nice.c (nice): Likewise.
12356         * resource/setpriority.c (__setpriority): Likewise.
12357         * resource/setrlimit64.c (setrlimit64): Likewise.
12358         * resource/vlimit.c (vlimit): Likewise.
12359         * resource/vtimes.c (vtimes): Likewise.
12360         * rt/aio_error.c (aio_error): Likewise.
12361         * rt/aio_return.c (aio_return): Likewise.
12362         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12363         * signal/kill.c (__kill): Likewise.
12364         * signal/killpg.c (killpg): Likewise.
12365         * signal/raise.c (raise): Likewise.
12366         * signal/sigaction.c (__sigaction): Likewise.
12367         * signal/sigaddset.c (sigaddset): Likewise.
12368         * signal/sigaltstack.c (sigaltstack): Likewise.
12369         * signal/sigandset.c (sigandset): Likewise.
12370         * signal/sigblock.c (__sigblock): Likewise.
12371         * signal/sigdelset.c (sigdelset): Likewise.
12372         * signal/sigempty.c (sigemptyset): Likewise.
12373         * signal/sigfillset.c (sigfillset): Likewise.
12374         * signal/sighold.c (sighold): Likewise.
12375         * signal/sigignore.c (sigignore): Likewise.
12376         * signal/sigintr.c (siginterrupt): Likewise.
12377         * signal/sigisempty.c (sigisemptyset): Likewise.
12378         * signal/sigismem.c (sigismember): Likewise.
12379         * signal/signal.c (signal): Likewise.
12380         * signal/sigorset.c (sigorset): Likewise.
12381         * signal/sigpause.c (__sigpause): Likewise.
12382         * signal/sigpending.c (sigpending): Likewise.
12383         * signal/sigprocmask.c (__sigprocmask): Likewise.
12384         * signal/sigrelse.c (sigrelse): Likewise.
12385         * signal/sigreturn.c (__sigreturn): Likewise.
12386         * signal/sigset.c (sigset): Likewise.
12387         * signal/sigsetmask.c (__sigsetmask): Likewise.
12388         * signal/sigstack.c (sigstack): Likewise.
12389         * signal/sigsuspend.c (__sigsuspend): Likewise.
12390         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12391         * signal/sysv_signal.c (__sysv_signal): Likewise.
12392         * socket/accept.c (accept): Likewise.
12393         * socket/accept4.c (__libc_accept4): Likewise.
12394         * socket/bind.c (__bind): Likewise.
12395         * socket/connect.c (__connect): Likewise.
12396         * socket/getpeername.c (getpeername): Likewise.
12397         * socket/getsockname.c (__getsockname): Likewise.
12398         * socket/getsockopt.c (getsockopt): Likewise.
12399         * socket/listen.c (__listen): Likewise.
12400         * socket/recv.c (__recv): Likewise.
12401         * socket/recvmsg.c (__recvmsg): Likewise.
12402         * socket/send.c (__send): Likewise.
12403         * socket/sendmsg.c (__sendmsg): Likewise.
12404         * socket/shutdown.c (shutdown): Likewise.
12405         * socket/sockatmark.c (sockatmark): Likewise.
12406         * socket/socket.c (__socket): Likewise.
12407         * stdio-common/ctermid.c (ctermid): Likewise.
12408         * stdio-common/cuserid.c (cuserid): Likewise.
12409         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12410         * stdio-common/remove.c (remove): Likewise.
12411         * stdio-common/rename.c (rename): Likewise.
12412         * stdio-common/renameat.c (renameat): Likewise.
12413         * stdio-common/tempname.c (__gen_tempname): Likewise.
12414         * stdio-common/xbug.c (InitBuffer): Likewise.
12415         (AppendToBuffer): Likewise.
12416         (ReadFile): Likewise.
12417         * stdlib/a64l.c (a64l): Likewise.
12418         * stdlib/drand48_r.c (drand48_r): Likewise.
12419         * stdlib/getcontext.c (getcontext): Likewise.
12420         * stdlib/getenv.c (getenv): Likewise.
12421         * stdlib/l64a.c (l64a): Likewise.
12422         * stdlib/llabs.c (llabs): Likewise.
12423         * stdlib/lldiv.c (lldiv): Likewise.
12424         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12425         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12426         * stdlib/putenv.c (putenv): Likewise.
12427         * stdlib/random.c (__srandom): Likewise.
12428         (__initstate): Likewise.
12429         (__setstate): Likewise.
12430         * stdlib/random_r.c (__srandom_r): Likewise.
12431         (__setstate_r): Likewise.
12432         (__random_r): Likewise.
12433         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12434         * stdlib/setcontext.c (setcontext): Likewise.
12435         * stdlib/setenv.c (setenv): Likewise.
12436         (unsetenv): Likewise.
12437         * stdlib/srand48.c (srand48): Likewise.
12438         * stdlib/srand48_r.c (__srand48_r): Likewise.
12439         * stdlib/swapcontext.c (swapcontext): Likewise.
12440         * stdlib/system.c (__libc_system): Likewise.
12441         * stdlib/tst-strtod.c (expand): Likewise.
12442         * stdlib/tst-strtol.c (expand): Likewise.
12443         * stdlib/tst-strtoll.c (expand): Likewise.
12444         * streams/fattach.c (fattach): Likewise.
12445         * streams/fdetach.c (fdetach): Likewise.
12446         * streams/getmsg.c (getmsg): Likewise.
12447         * streams/isastream.c (isastream): Likewise.
12448         * string/ffs.c (__ffs): Likewise.
12449         * string/ffsll.c (ffsll): Likewise.
12450         * string/memcmp.c (memcmp_common_alignment): Likewise.
12451         (memcmp_not_common_alignment): Likewise.
12452         (MEMCMP): Likewise.
12453         * string/memcpy.c (memcpy): Likewise.
12454         * string/memmove.c (MEMMOVE): Likewise.
12455         * string/memset.c (memset): Likewise.
12456         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12457         * string/strchrnul.c (STRCHRNUL): Likewise.
12458         * string/strerror.c (strerror): Likewise.
12459         * string/strndup.c (__strndup): Likewise.
12460         * string/strverscmp.c (__strverscmp): Likewise.
12461         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12462         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12463         (clnttcp_freeres): Likewise.
12464         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12465         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12466         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12467         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12468         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12469         (xdr_callhdr): Likewise.
12470         * sunrpc/rpcinfo.c (udpping): Likewise.
12471         (tcpping): Likewise.
12472         (pstatus): Likewise.
12473         (pmapdump): Likewise.
12474         (brdcst): Likewise.
12475         (deletereg): Likewise.
12476         (getprognum): Likewise.
12477         (getvers): Likewise.
12478         (get_inet_address): Likewise.
12479         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12480         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12481         (svcudp_stat): Likewise.
12482         (svcudp_recv): Likewise.
12483         (svcudp_reply): Likewise.
12484         (svcudp_getargs): Likewise.
12485         (svcudp_freeargs): Likewise.
12486         (svcudp_destroy): Likewise.
12487         * sunrpc/xdr.c (xdr_bytes): Likewise.
12488         (xdr_netobj): Likewise.
12489         (xdr_string): Likewise.
12490         (xdr_wrapstring): Likewise.
12491         * sunrpc/xdr_float.c (xdr_float): Likewise.
12492         (xdr_double): Likewise.
12493         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12494         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12495         * sysvipc/ftok.c (ftok): Likewise.
12496         * sysvipc/msgctl.c (msgctl): Likewise.
12497         * sysvipc/msgget.c (msgget): Likewise.
12498         * sysvipc/msgrcv.c (msgrcv): Likewise.
12499         * sysvipc/msgsnd.c (msgsnd): Likewise.
12500         * sysvipc/semget.c (semget): Likewise.
12501         * sysvipc/semop.c (semop): Likewise.
12502         * sysvipc/shmat.c (shmat): Likewise.
12503         * sysvipc/shmctl.c (shmctl): Likewise.
12504         * sysvipc/shmdt.c (shmdt): Likewise.
12505         * sysvipc/shmget.c (shmget): Likewise.
12506         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12507         * termios/speed.c (cfgetospeed): Likewise.
12508         (cfgetispeed): Likewise.
12509         (cfsetospeed): Likewise.
12510         (cfsetispeed): Likewise.
12511         * termios/tcflow.c (tcflow): Likewise.
12512         * termios/tcflush.c (tcflush): Likewise.
12513         * termios/tcgetattr.c (__tcgetattr): Likewise.
12514         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12515         * termios/tcgetsid.c (tcgetsid): Likewise.
12516         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12517         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12518         * time/adjtime.c (__adjtime): Likewise.
12519         * time/dysize.c (dysize): Likewise.
12520         * time/ftime.c (ftime): Likewise.
12521         * time/getitimer.c (__getitimer): Likewise.
12522         * time/gettimeofday.c (__gettimeofday): Likewise.
12523         * time/gmtime.c (__gmtime_r): Likewise.
12524         (gmtime): Likewise.
12525         * time/localtime.c (__localtime_r): Likewise.
12526         (localtime): Likewise.
12527         * time/offtime.c (__offtime): Likewise.
12528         * time/settimeofday.c (__settimeofday): Likewise.
12529         * time/stime.c (stime): Likewise.
12530         * time/strftime_l.c (tm_diff): Likewise.
12531         (iso_week_days): Likewise.
12532         * time/strptime.c (strptime): Likewise.
12533         * time/time.c (time): Likewise.
12534         * time/timespec_get.c (timespec_get): Likewise.
12535         * time/tzset.c (tzset_internal): Likewise.
12536         (compute_change): Likewise.
12537         (__tz_compute): Likewise.
12538         * wcsmbs/btowc.c (__btowc): Likewise.
12539         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12540         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12541         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12542         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12543         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12544         * wcsmbs/wcscat.c (__wcscat): Likewise.
12545         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12546         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12547         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12548         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12549         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12550         * wcsmbs/wcslen.c (__wcslen): Likewise.
12551         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12552         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12553         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12554         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12555         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12556         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12557         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12558         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12559         * wcsmbs/wcstok.c (wcstok): Likewise.
12560         * wcsmbs/wctob.c (wctob): Likewise.
12561         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12562         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12563         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12564         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12565         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12566         * wcsmbs/wmemset.c (__wmemset): Likewise.
12567         * wctype/wcfuncs.c (__towlower): Likewise.
12568         (__towupper): Likewise.
12570         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12571         (lll_unlock_elision): Add adapt_count parameter.
12573 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12575         * sysdeps/nptl/configure.ac: Do not give errors based on the
12576         results of top-level configure tests.
12577         * sysdeps/nptl/configure: Regenerated.
12579         * configure.ac (libc_cv_Bgroup): Remove configure test.
12580         * configure: Regenerated.
12581         * config.make.in (have-Bgroup): Remove variable.
12583         * configure.ac (sizeof_long_double): Remove configure test.
12584         * configure: Regenerated.
12585         * config.make.in (sizeof-long-double): Remove variable.
12587         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12588         * configure: Regenerated.
12589         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12590         variable.
12591         (exceptions): Likewise.
12592         * sysdeps/arm/configure: Regenerated.
12593         * config.make.in (exceptions): Remove variable.
12594         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12595         $(exceptions).
12596         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12597         (CFLAGS-vdprintf_chk.c): Likewise.
12598         (CFLAGS-printf_chk.c): Likewise.
12599         (CFLAGS-fprintf_chk.c): Likewise.
12600         (CFLAGS-vprintf_chk.c): Likewise.
12601         (CFLAGS-vfprintf_chk.c): Likewise.
12602         (CFLAGS-gets_chk.c): Likewise.
12603         (CFLAGS-fgets_chk.c): Likewise.
12604         (CFLAGS-fgets_u_chk.c): Likewise.
12605         (CFLAGS-fread_chk.c): Likewise.
12606         (CFLAGS-fread_u_chk.c): Likewise.
12607         (CFLAGS-wprintf_chk.c): Likewise.
12608         (CFLAGS-fwprintf_chk.c): Likewise.
12609         (CFLAGS-vwprintf_chk.c): Likewise.
12610         (CFLAGS-vfwprintf_chk.c): Likewise.
12611         (CFLAGS-fgetws_chk.c): Likewise.
12612         (CFLAGS-fgetws_u_chk.c): Likewise.
12613         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12614         (CFLAGS-fputc.c): Likewise.
12615         (CFLAGS-fputwc.c): Likewise.
12616         (CFLAGS-freopen64.c): Likewise.
12617         (CFLAGS-freopen.c): Likewise.
12618         (CFLAGS-fseek.c): Likewise.
12619         (CFLAGS-fseeko64.c): Likewise.
12620         (CFLAGS-fseeko.c): Likewise.
12621         (CFLAGS-ftello64.c): Likewise.
12622         (CFLAGS-ftello.c): Likewise.
12623         (CFLAGS-fwide.c): Likewise.
12624         (CFLAGS-genops.c): Likewise.
12625         (CFLAGS-getc.c): Likewise.
12626         (CFLAGS-getchar.c): Likewise.
12627         (CFLAGS-getwc.c): Likewise.
12628         (CFLAGS-getwchar.c): Likewise.
12629         (CFLAGS-iofclose.c): Likewise.
12630         (CFLAGS-iofflush.c): Likewise.
12631         (CFLAGS-iofgetpos64.c): Likewise.
12632         (CFLAGS-iofgetpos.c): Likewise.
12633         (CFLAGS-iofgets.c): Likewise.
12634         (CFLAGS-iofgetws.c): Likewise.
12635         (CFLAGS-iofputs.c): Likewise.
12636         (CFLAGS-iofputws.c): Likewise.
12637         (CFLAGS-iofread.c): Likewise.
12638         (CFLAGS-iofsetpos64.c): Likewise.
12639         (CFLAGS-iofsetpos.c): Likewise.
12640         (CFLAGS-ioftell.c): Likewise.
12641         (CFLAGS-iofwrite.c): Likewise.
12642         (CFLAGS-iogetdelim.c): Likewise.
12643         (CFLAGS-iogetline.c): Likewise.
12644         (CFLAGS-iogets.c): Likewise.
12645         (CFLAGS-iogetwline.c): Likewise.
12646         (CFLAGS-ioputs.c): Likewise.
12647         (CFLAGS-ioseekoff.c): Likewise.
12648         (CFLAGS-ioseekpos.c): Likewise.
12649         (CFLAGS-iosetbuffer.c): Likewise.
12650         (CFLAGS-iosetvbuf.c): Likewise.
12651         (CFLAGS-ioungetc.c): Likewise.
12652         (CFLAGS-ioungetwc.c): Likewise.
12653         (CFLAGS-oldfileops.c): Likewise.
12654         (CFLAGS-oldiofclose.c): Likewise.
12655         (CFLAGS-oldiofgetpos64.c): Likewise.
12656         (CFLAGS-oldiofgetpos.c): Likewise.
12657         (CFLAGS-oldiofsetpos64.c): Likewise.
12658         (CFLAGS-oldiofsetpos.c): Likewise.
12659         (CFLAGS-peekc.c): Likewise.
12660         (CFLAGS-putc.c): Likewise.
12661         (CFLAGS-putchar.c): Likewise.
12662         (CFLAGS-putwc.c): Likewise.
12663         (CFLAGS-putwchar.c): Likewise.
12664         (CFLAGS-rewind.c): Likewise.
12665         (CFLAGS-wfileops.c): Likewise.
12666         (CFLAGS-wgenops.c): Likewise.
12667         (CFLAGS-oldiofopen.c): Likewise.
12668         (CFLAGS-iofopen.c): Likewise.
12669         (CFLAGS-iofopen64.c): Likewise.
12670         (CFLAGS-oldtmpfile.c): Likewise.
12671         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12672         (CFLAGS-fprintf.c): Likewise.
12673         (CFLAGS-printf.c): Likewise.
12674         (CFLAGS-vfwprintf.c): Likewise.
12675         (CFLAGS-vfscanf.c): Likewise.
12676         (CFLAGS-vfwscanf.c): Likewise.
12677         (CFLAGS-fscanf.c): Likewise.
12678         (CFLAGS-scanf.c): Likewise.
12679         (CFLAGS-isoc99_vfscanf.c): Likewise.
12680         (CFLAGS-isoc99_vscanf.c): Likewise.
12681         (CFLAGS-isoc99_fscanf.c): Likewise.
12682         (CFLAGS-isoc99_scanf.c): Likewise.
12683         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12684         (CFLAGS-isoc99_fwscanf.c): Likewise.
12685         (CFLAGS-isoc99_vwscanf.c): Likewise.
12686         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12688         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12689         after mkstemp64.
12690         * login/tst-utmp.c (do_prepare): Likewise.
12691         * rt/tst-aio.c (do_prepare): Likewise.
12692         * rt/tst-aio64.c (do_prepare): Likewise.
12694 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12696         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12697         (__lll_lock_elision): Remove adapt_count decrement...
12698         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12699         (__lll_trylock_elision): Likewise.
12700         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12701         (__lll_unlock_elision): ... to here. And utilize
12702         new adapt_count parameter.
12703         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12704         (__lll_unlock_elision): Update to include adapt_count
12705         parameter.
12706         (lll_unlock_elision): Pass pointer to adapt_count
12707         variable.
12709 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12711         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12712         Add elision adapt_count parameter to list of arguments.
12713         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12714         (lll_unlock_elision): Update with new parameter list
12715         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12716         (lll_unlock_elision): Likewise.
12717         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12718         (lll_unlock_elision): Likewise.
12720 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12722         [BZ #19122]
12723         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12724         attribute_hidden.
12726         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12727         attribute_hidden.
12728         [IS_IN (rtld)] (__strdup): Likewise.
12729         [IS_IN (rtld)] (__strerror_r): Likewise.
12730         [IS_IN (rtld)] (__strsep_g): Likewise.
12731         [IS_IN (rtld)] (memchr): Likewise.
12732         [IS_IN (rtld)] (memcmp): Likewise.
12733         [IS_IN (rtld)] (memcpy): Likewise.
12734         [IS_IN (rtld)] (memmove): Likewise.
12735         [IS_IN (rtld)] (memset): Likewise.
12736         [IS_IN (rtld)] (rawmemchr): Likewise.
12737         [IS_IN (rtld)] (stpcpy): Likewise.
12738         [IS_IN (rtld)] (strchr): Likewise.
12739         [IS_IN (rtld)] (strcmp): Likewise.
12740         [IS_IN (rtld)] (strlen): Likewise.
12741         [IS_IN (rtld)] (strnlen): Likewise.
12742         [IS_IN (rtld)] (strsep): Likewise.
12744         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12745         attribute_hidden.
12746         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12748         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12749         attribute_hidden.
12750         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12752         * include/setjmp.h (__longjmp): Add attribute_hidden.
12753         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12755         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12756         Add attribute_hidden.
12758         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12759         [IS_IN (rtld)] (__open): Likewise.
12760         [IS_IN (rtld)] (__fcntl): Likewise.
12762         * include/dirent.h (__opendirat): Add attribute_hidden.
12763         (__getdents): Likewise.
12764         (__getdents64): Likewise.
12765         (__alloc_dir): Likewise.
12766         [IS_IN (rtld)] (__closedir): Likewise.
12767         [IS_IN (rtld)] (__fdopendir): Likewise.
12768         [IS_IN (rtld)] (__readdir): Likewise.
12769         [IS_IN (rtld)] (__readdir64): Likewise.
12770         [IS_IN (rtld)] (__rewinddir): Likewise.
12772         * include/dlfcn.h (_dl_catch_error): Moved to ...
12773         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12774         attribute_hidden.
12776         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12777         (_itoa_word): Likewise.
12779         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12780         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12781         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12782         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12783         (_dl_higher_prime_number): Likewise.
12784         (_dl_debug_printf_c): Likewise.
12785         (_dl_signal_cerror): Likewise.
12786         (_dl_receive_error): Likewise.
12787         (_dl_reloc_bad_type): Likewise.
12788         (_dl_resolve_conflicts): Likewise.
12789         (_dl_check_all_versions): Likewise.
12790         (_dl_check_map_versions): Likewise.
12791         (_dl_sort_fini): Likewise.
12792         (_dl_debug_initialize): Likewise.
12793         (_dl_init_paths): Likewise.
12794         (_dl_show_auxv): Likewise.
12795         (_dl_next_ld_env_entry): Likewise.
12796         (_dl_important_hwcaps): Likewise.
12797         (_dl_load_cache_lookup): Likewise.
12798         (_dl_update_slotinfo): Likewise.
12799         (_dl_show_scope): Likewise.
12801         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12802         attribute_hidden.
12803         (_wordcopy_fwd_dest_aligned): Likewise.
12804         (_wordcopy_bwd_aligned): Likewise.
12805         (_wordcopy_bwd_dest_aligned): Likewise.
12807         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12808         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12809         Likewise.
12810         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12811         Likewise.
12812         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12814 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12816         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12817         GCC 5 requirement.
12819 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12821         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12822         test.
12823         * sysdeps/i386/configure: Regenerated.
12824         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12825         code unconditional.
12827         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12828         test.
12829         (libc_cv_asm_popsection_directive): Likewise.
12830         * configure: Regenerated.
12831         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12832         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12833         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12834         (__make_section_unallocated): Make definition unconditional.
12835         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12836         Remove conditional definition.
12837         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12838         (__make_section_unallocated): Likewise.
12840         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12841         * configure: Regenerated.
12842         * config.make.in (static-libgcc): Remove variable.
12843         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12844         $(static-libgcc).
12845         (build-module-helper): Likewise.
12847         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12848         * configure: Regenerated.
12850 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12852         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12853         (struct char_buffer): New type.
12854         (char_buffer_start, char_buffer_size, char_buffer_error)
12855         (char_buffer_rewind, char_buffer_add): New functions.
12856         (ADDW): Remove macro, replaced by the char_buffer_add function.
12857         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12858         of extend_alloca.  Make control flow more explicit.
12860 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12862         [BZ #19137]
12863         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12864         Add -fomit-frame-pointer.
12865         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12867 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12869         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12870         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12871         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12872         only if !__GNUC_PREREQ (5,0).
12873         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12874         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12875         (INTERNAL_SYSCALL_NCS): Likewise.
12876         (LOADREGS_0): New macro for GCC 5.
12877         (ASMARGS_0): Likewise.
12878         (LOADREGS_1): Likewise.
12879         (ASMARGS_1): Likewise.
12880         (LOADREGS_2): Likewise.
12881         (ASMARGS_2): Likewise.
12882         (LOADREGS_3): Likewise.
12883         (ASMARGS_3): Likewise.
12884         (LOADREGS_4): Likewise.
12885         (ASMARGS_4): Likewise.
12886         (LOADREGS_5): Likewise.
12887         (ASMARGS_5): Likewise.
12888         (LOADREGS_6): Likewise.
12889         (ASMARGS_6): Likewise.
12891 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12893         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12894         -fomit-frame-pointer.
12895         (CFLAGS-mmap64.c): Likewise.
12896         (CFLAGS-semtimedop.c): Likewise.
12897         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12898         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12899         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12900         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12902 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12904         [BZ #18928]
12905         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12906         _dl_pointer_guard member.
12907         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12908         initializer.
12909         (security_init): Always set up pointer guard.
12910         (process_envvars): Do not process LD_POINTER_GUARD.
12912 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12914         [BZ #19134]
12915         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12916         (.LC2): Likewise.
12917         (.LC3): Likewise.
12918         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12920 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12922         [BZ #19129]
12923         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12924         r0 and r1.
12926 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12928         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12930 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12932         * include/stap-probe.h: Fix macro definition formatting.
12934 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12936         [BZ #19074]
12937         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12938         load and store num_ifs.
12940 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12942         [BZ #18822]
12943         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12944         (__sched_getaffinity_new): Add libc_hidden_proto and
12945         libc_hidden_def.
12947 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12949         [BZ #19007]
12950         * scripts/localplt.awk: Also allow GOT references.
12951         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12952         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12953         with "+ REL R_386_GLOB_DAT".
12954         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12955         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12957 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12959         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12960         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12961         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12962         Likewise.
12963         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12964         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12965         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12966         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12967         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12968         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12969         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12970         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12971         Likewise.
12972         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12974 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12976         [BZ #19125]
12977         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12978         <math_private.h> and <stdint.h>.
12979         (__llround): Avoid conversions to and from long long int, and
12980         subtractions, where those might raise spurious exceptions.
12981         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12982         <math_private.h> and <stdint.h>.
12983         (__llroundf): Avoid conversions to and from long long int, and
12984         subtractions, where those might raise spurious exceptions.
12986 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12988         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12989         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12990         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12991         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12992         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12993         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12994         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12995         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12996         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12997         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12998         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12999         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13000         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13001         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13002         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13003         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13004         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13005         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13006         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13007         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13008         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13009         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13010         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13011         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13012         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13013         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13014         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13015         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13016         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13017         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13018         (__xstat64_conv): Likewise.
13019         (__xstat32_conv): Likewise.
13021 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13023         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13024         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13025         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13026         <sysdeps/unix/sysv/linux/sysdep.h>.
13027         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13028         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13029         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13030         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13031         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13032         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13033         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13034         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13035         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13038         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13040         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13041         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13042         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13043         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13044         (sysdep-dl-routines): Add sysdep.
13045         [$(subdir) == nptl] (libpthread-routines): Likewise.
13046         [$(subdir) == rt] (librt-routines): Likewise.
13047         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13048         PIC when branching to SYSCALL_ERROR_LABEL.
13049         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13050         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13051         <sysdeps/unix/sysv/linux/sysdep.h>.
13052         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13053         (SYSCALL_ERROR_ERRNO): Removed.
13054         (SYSCALL_ERROR_HANDLER): Changed to empty.
13055         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13056         (__syscall_error): New prototype.
13057         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13058         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13060 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13062         [BZ #19124]
13063         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13064         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13065         _dl_runtime_resolve_avx.
13066         (_dl_runtime_profile_avx512): Make it a hidden alias of
13067         _dl_runtime_profile_avx.
13069 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13071         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13072         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13073         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13074         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13076         [BZ #16422]
13077         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13078         New configure test.
13079         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13080         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13081         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13082         <math_private.h> and <stdint.h>.
13083         (__llrint): Avoid conversions to long long int where those might
13084         raise spurious exceptions.
13085         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13086         <math_private.h> and <stdint.h>.
13087         (__llrintf): Avoid conversions to long long int where those might
13088         raise spurious exceptions.
13090 2015-10-12  Andreas Schwab  <schwab@suse.de>
13092         [BZ #18969]
13093         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13094         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13095         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13096         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13097         $(gen-locales).
13098         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13099         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13100         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13101         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13102         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13103         $(gen-locales).
13104         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13105         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13106         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13107         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13108         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13109         ($(objpfx)tst-ftell-active-handler.out)
13110         ($(objpfx)tst-ftell-append.out)
13111         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13112         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13113         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13114         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13115         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13116         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13117         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13118         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13119         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13120         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13121         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13122         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13123         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13124         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13125         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13126         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13127         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13128         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13129         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13130         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13131         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13132         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13133         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13134         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13135         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13136         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13137         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13138         $(gen-locales).
13139         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13140         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13141         $(gen-locales).
13142         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13143         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13144         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13145         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13146         $(gen-locales).
13147         * libio/tst_wprintf2.c (main): Use explicit locale.
13148         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13150 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13152         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13153         __msg_sig_post.
13154         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13156 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13158         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13159         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13161         * sysdeps/arm/libm-test-ulps: Regenerated.
13163         [BZ #15470]
13164         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13166         [BZ #16399]
13167         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13168         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13169         and <fix-fp-int-convert-overflow.h>.
13170         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13171         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13172         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13173         and <fix-fp-int-convert-overflow.h>.
13174         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13175         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13176         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13177         <fix-fp-int-convert-overflow.h>.
13178         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13179         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13180         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13181         <fix-fp-int-convert-overflow.h>.
13182         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13183         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13184         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13185         and <fix-fp-int-convert-overflow.h>.
13186         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13187         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13188         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13189         <limits.h> and <fix-fp-int-convert-overflow.h>.
13190         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13191         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13192         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13193         and <fix-fp-int-convert-overflow.h>.
13194         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13195         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13196         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13197         and <fix-fp-int-convert-overflow.h>.
13198         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13199         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13200         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13202 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13204         [BZ #18589]
13205         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13206         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13207         $(gen-locales).
13209 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13210             Phil Blundell <pb@pbcl.net>
13212         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13213         * nptl/tst-cancel26.c: New file.
13214         * nptl/tst-cancel27.c: Likewise.
13216 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13218         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13219         __ILP32__ isn't defined.
13220         (lrint): Likewise.
13221         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13222         (lrintf): Likewise.
13223         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13224         (lrintl): Likewise.
13225         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13226         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13227         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13229 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13231         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13232         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13234         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13235         file.
13236         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13237         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13239 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13241         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13242         configure test.
13243         * sysdeps/i386/configure: Regenerated.
13244         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13245         configure test.
13246         * sysdeps/x86_64/configure: Regenerated.
13247         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13248         Make code unconditional.
13250         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13251         test.
13252         * sysdeps/i386/configure: Regenerated.
13253         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13254         test.
13255         * sysdeps/x86_64/configure: Regenerated.
13256         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13257         Make code unconditional.
13258         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13259         Likewise.
13260         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13261         Likewise.
13262         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13263         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13264         code unconditional.
13265         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13266         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13267         code unconditional.
13268         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13269         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13270         code unconditional.
13271         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13272         code unconditional.
13273         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13274         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13275         code unconditional.
13276         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13277         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13278         code unconditional.
13279         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13280         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13281         code unconditional.
13282         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13283         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13284         code unconditional.
13285         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13286         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13288         [BZ #19095]
13289         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13290         mantissa to long int before shifting left.
13292 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13294         [BZ #19094]
13295         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13296         <limits.h>.
13297         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13298         when result overflows but exception would not result from cast.
13299         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13300         <limits.h>.
13301         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13302         when result overflows but exception would not result from cast.
13303         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13304         <limits.h>.
13305         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13306         when result overflows but exception would not result from cast.
13307         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13308         <limits.h>.
13309         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13310         when result overflows but exception would not result from cast.
13311         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13312         <limits.h>.
13313         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13314         when result overflows but exception would not result from cast.
13315         * math/libm-test.inc (lrint_test_data): Add more tests.
13316         (llrint_test_data): Likewise.
13318 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13320         [BZ #18872]
13321         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13322         Move out from under [$(run-built-tests) = yes] conditional.
13323         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13324         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13326 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13328         [BZ #18589]
13329         * string/Makefile (tests): Add bug-strcoll2.
13330         (LOCALES): Add cs_CZ.UTF-8.
13331         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13333         [BZ #18589]
13334         * string/bug-strcoll2.c: New file.
13335         * locale/categories.def: Revert commit
13336         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13337         * locale/langinfo.h: Likewise.
13338         * locale/localeinfo.h: Likewise.
13339         * locale/C-collate.c: Likewise.
13340         * locale/programs/ld-collate.c (collate_output): Likewise.
13341         * string/strcoll_l.c (STRDIFF): Likewise.
13342         (STRCOLL): Likewise.
13343         * wcsmbs/wcscoll_l.c: Likewise.
13345 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13347         * math/libm-test.inc (lround_test_data): Do not expect the absence
13348         of "inexact" for some tests with non-integer arguments.
13349         (llround_test_data): Likewise.
13351         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13352         test.
13353         (libc_cv_cc_sse2avx): Likewise.
13354         * sysdeps/i386/configure: Regenerated.
13355         * sysdeps/i386/i686/multiarch/Makefile
13356         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13357         [$(subdir) = math].
13358         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13359         code unconditional.
13360         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13361         Likewise.
13362         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13363         Likewise.
13364         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13365         Likewise.
13366         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13367         test.
13368         (libc_cv_cc_sse2avx): Likewise.
13369         * sysdeps/x86_64/configure: Regenerated.
13370         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13371         unconditional.
13372         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13373         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13374         unconditional.
13375         (_dl_runtime_profile)
13376         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13377         conditional code.
13378         * sysdeps/x86_64/fpu/multiarch/Makefile
13379         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13380         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13381         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13382         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13383         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13384         * sysdeps/x86_64/fpu/multiarch/e_log.c
13385         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13386         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13387         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13388         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13389         Likewise.
13390         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13391         Likewise.
13392         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13393         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13394         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13395         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13396         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13397         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13398         (HAVE_SSE2AVX_SUPPORT): Likewise.
13400 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13402         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13403         instead of #pragma optimize.
13405 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13407         [BZ #17195]
13408         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13409         as is similarly done in systrim and _int_free already.
13411 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13413         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13415 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13417         [BZ #19088]
13418         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13419         <limits.h>.
13420         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13421         overflows but exception would not result from cast.
13422         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13423         and <limits.h>.
13424         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13425         overflows but exception would not result from cast.
13426         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13427         <limits.h>.
13428         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13429         overflows but exception would not result from cast.
13430         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13431         <limits.h>.
13432         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13433         overflows but exception would not result from cast.
13434         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13435         <limits.h>.
13436         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13437         overflows but exception would not result from cast.
13438         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13439         <limits.h>.
13440         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13441         overflows but exception would not result from cast.
13442         * math/libm-test.inc (lround_test_data): Add more tests.
13443         (llround_test_data): Likewise.
13445 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13447         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13448         (CFLAGS-ialloc.c): Ditto.
13449         (CFLAGS-scheck.c): Ditto.
13451 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13453         [BZ #19086]
13454         * manual/filesys.texi (Storage Allocation): Fix argument order for
13455         posix_fallocate64.
13457 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13459         [BZ #19085]
13460         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13461         exponent below 48 inside case for non-overflowing exponent.
13462         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13464 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13466         * iconvdata/cp737.h (from_idx): Add const.
13467         * iconvdata/cp775.h (from_idx): Likewise.
13469 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13471         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13472         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13473         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13475         [BZ #19079]
13476         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13477         file, conditioned on [!_LP64].
13478         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13479         [!_LP64] (__lround): Do not define as function or alias.
13480         [!_LP64] (lround): Likewise.
13481         [!_LP64] (__lroundl): Likewise.
13482         [!_LP64] (lroundl): Likewise.
13483         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13484         macro.
13485         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13486         Likewise.
13488 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13490         * math/libm-test.inc (lrint_test_data): Add more tests.
13491         (llrint_test_data): Likewise.
13492         (lround_test_data): Likewise.
13493         (llround_test_data): Likewise.
13495         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13496         (llrint_test_data): Add tests used for lrint.
13498         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13499         test.
13500         * sysdeps/i386/configure: Regenerated.
13501         * sysdeps/i386/i686/multiarch/Makefile
13502         [$(config-cflags-sse4) = yes]: Make code unconditional.
13503         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13504         Likewise.
13505         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13506         Likewise.
13507         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13508         test.
13509         * sysdeps/x86_64/configure: Regenerated.
13510         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13511         Make code unconditional.
13512         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13513         Likewise.
13514         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13515         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13517         * scripts/rpm2dynsym.sh: Remove file.
13519 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13521         * configure.ac (libc_cv_cxx_thread_local): Define.
13522         * configure: Regenerate.
13523         * config.make.in (have-cxx-thread_local): Define.
13524         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13525         (LDLIBS-tst-thread_local1): Define.
13526         (tests): Add tst-thread_local1.
13527         [have-cxx-thread_local != yes] (tests-unsupported): Add
13528         tst-thread_local1.
13529         * nptl/tst-thread_local1.cc: New file.
13531 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13533         [BZ #19078]
13534         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13535         (u_thres): Likewise.
13536         (__expl): Determine whether to call __kernel_standard_l based on
13537         value of result, not argument.
13539         * math/libm-test.inc (scalb_test_data): Add more expectations for
13540         the "inexact" exception.
13542         [BZ #19077]
13543         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13544         0.0L for argument 1.0L.
13546         [BZ #19076]
13547         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13548         constant 0.0L when computing infinite result.
13550 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13552         [BZ #10432]
13553         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13554         malloc_usable_size.
13556 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13558         [BZ #19018]
13559         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13560         Mangle function pointer before storing it.
13561         (__call_tls_dtors): Demangle function pointer before calling it.
13563 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13565         [BZ #19012]
13566         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13567         Clean up on failure.
13569 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13571         [BZ #19071]
13572         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13573         long int variable to store possibly incremented high part of
13574         mantissa.
13575         * math/libm-test.inc (lround_test_data): Add tests used for
13576         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13577         for tests requiring 64-bit long.  Do not condition tests on
13578         [TEST_FLOAT] unnecessarily.
13579         (llround_test_data): Add tests used for lround.  Add another
13580         expectation for the "inexact" exception.  Do not condition tests
13581         on [TEST_FLOAT] unnecessarily.
13583         [BZ #887]
13584         [BZ #19049]
13585         [BZ #19050]
13586         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13587         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13588         <fix-int-fp-convert-zero.h>.
13589         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13590         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13591         <fix-int-fp-convert-zero.h>.
13592         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13593         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13594         <fix-int-fp-convert-zero.h>.
13595         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13596         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13597         <fix-int-fp-convert-zero.h>.
13598         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13599         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13600         <fix-int-fp-convert-zero.h>.
13601         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13602         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13603         <fix-int-fp-convert-zero.h>.
13604         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13605         * sysdeps/ieee754/flt-32/s_erff.c: Include
13606         <fix-int-fp-convert-zero.h>.
13607         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13608         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13609         <fix-int-fp-convert-zero.h>.
13610         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13611         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13612         <fix-int-fp-convert-zero.h>.
13613         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13615         <fix-int-fp-convert-zero.h>.
13616         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13617         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13618         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13619         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13620         file.
13621         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13623 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13625         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13627 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13629         [BZ #19059]
13630         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13631         overflowing computation.
13632         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13633         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13634         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13635         Likewise.
13636         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13637         Likewise.
13638         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13639         Likewise.
13640         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13641         Likewise.
13642         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13643         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13644         Likewise.
13645         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13646         Likewise.
13647         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13649         * nss/rewrite_field.c (__nss_rewrite_field): Use
13650         internal_function.
13651         * nss/valid_field.c (__nss_valid_field): Likewise.
13652         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13654 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13656         [BZ #18724]
13657         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13658         (__nss_invalid_field_characters, __nss_valid_field)
13659         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13660         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13661         tst-field.c: New file.
13662         * nss/Makefile (routines): Add valid_field, rewrite_field.
13663         (tests-static): Define unconditionally.
13664         (tests): Include tests-static.
13665         [build-static-nss] (tests-static): Use append.
13666         [build-static-nss] (tests): Remove modification.
13667         * nss/getent.c (print_group): Call putgrent.  Report error.
13668         (print_gshadow): Call putsgent.  Report error.
13669         (print_passwd): Call putpwent.  Report error.
13670         (print_shadow): Call putspent.  Report error.
13671         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13672         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13673         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13674         name, password, directory, shell fields for valid syntax.  Rewrite
13675         GECOS field to match syntax.
13676         * pwd/Makefile (tests): Add tst-putpwent.
13677         * pwd/tst-putpwent.c: New file.
13678         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13679         Check grName, grpasswd, gr_mem fields for valid syntax.
13680         Change loop variable i to size_t.
13681         * grp/Makefile (tests): Add tst-putgrent.
13682         * grp/tst-putgrent.c: New file.
13683         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13684         valid syntax.
13685         * shadow/Makefile (tests): Add tst-putspent.
13686         * shadow/tst-putspent.c: New file.
13687         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13688         sg_mem fields for valid syntax.
13689         * gshadow/Makefile (tests): Add tst-putsgent.
13690         * gshadow/tst-putsgent.c: New file.
13692 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13694         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13695         assembly instructions.
13697 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13699         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13700         prefix from operands.
13702 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13704         [BZ #16347]
13705         [BZ #19046]
13706         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13707         <libc-internal.h>.
13708         (MAXLGM): Do not use diagnostic control macros.
13709         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13710         threshold for ldbl-128ibm.
13711         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13712         instead of multiplying by log then subtracting.
13713         * math/auto-libm-test-in: Add more tests of lgamma.
13714         * math/auto-libm-test-out: Regenerated.
13716         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13717         (TYPE_HEX_DIG): Likewise.
13718         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13719         precisions when printing floating-point numbers.
13720         (check_float_internal): Likewise.
13722 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #16620]
13725         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13726         of log (10) rounded downward to 48 bits.
13727         (log10_low): Use corresponding low part of log (10).
13729         [BZ #19032]
13730         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13731         compute result as (x - x) / (x - x) not as 0 / 0.
13732         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13733         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13735         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13736         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13737         and expm1.
13738         * math/auto-libm-test-out: Regenerated.
13739         * math/libm-test.inc (acos_test_data): Add more tests.
13740         (asin_test_data): Likewise.
13741         (asinh_test_data): Likewise.
13742         (atan_test_data): Likewise.
13743         (atanh_test_data): Likewise.
13744         (atan2_test_data): Likewise.
13745         (cbrt_test_data): Likewise.
13746         (ceil_test_data): Likewise.
13747         (copysign_test_data): Likewise.
13748         (cos_test_data): Likewise.
13749         (cosh_test_data): Likewise.
13750         (erf_test_data): Likewise.
13751         (erfc_test_data): Likewise.
13752         (exp_test_data): Likewise.
13753         (exp10_test_data): Likewise.
13754         (exp2_test_data): Likewise.
13755         (expm1_test_data): Likewise.
13756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13758 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13760         [BZ #19006]
13761         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13762         to ...
13763         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13764         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13765         to ...
13766         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13767         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13768         to ...
13769         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13770         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13771         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13772         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13773         to ...
13774         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13775         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13776         Moved to ...
13777         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13778         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13779         Moved to ...
13780         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13781         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13782         to ...
13783         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13784         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13785         Moved to ...
13786         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13787         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13788         to ...
13789         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13790         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13791         Removed.
13792         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13793         Likewise.
13794         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13795         Likewise.
13796         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13797         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13798         Likewise.
13799         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13800         Likewise.
13801         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13802         Likewise.
13803         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13804         Likewise.
13805         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13806         Likewise.
13807         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13808         Likewise.
13809         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13810         Likewise.
13811         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13812         Likewise.
13813         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13814         Likewise.
13815         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13816         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13817         Likewise.
13818         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13819         Likewise.
13820         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13821         Likewise.
13822         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13823         Likewise.
13824         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13825         Likewise.
13826         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13827         Replace ../i486/pthread_cond_timedwait.S with
13828         ../pthread_cond_timedwait.S.
13830 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13832         * math/libm-test.inc (acos_test_data): Refine expectations for
13833         errno and "inexact" exceptions.
13834         (acosh_test_data): Likewise.
13835         (asin_test_data): Likewise.
13836         (asinh_test_data): Likewise.
13837         (atan_test_data): Likewise.
13838         (atanh_test_data): Likewise.
13839         (atan2_test_data): Likewise.
13840         (cbrt_test_data): Likewise.
13841         (ceil_test_data): Likewise.
13842         (copysign_test_data): Likewise.
13843         (cosh_test_data): Likewise.
13844         (erf_test_data): Likewise.
13845         (erfc_test_data): Likewise.
13846         (exp_test_data): Likewise.
13847         (exp10_test_data): Likewise.
13848         (exp2_test_data): Likewise.
13849         (expm1_test_data): Likewise.
13850         (fabs_test_data): Likewise.
13851         (floor_test_data): Likewise.
13852         (fma_test_data): Likewise.
13853         (fmax_test_data): Likewise.
13854         (fmin_test_data): Likewise.
13855         (fmod_test_data): Likewise.
13856         (fpclassify_test_data): Likewise.
13857         (frexp_test_data): Likewise.
13858         (hypot_test_data): Likewise.
13859         (ilogb_test_data): Likewise.
13860         (isgreater_test_data): Likewise.
13861         (isgreaterequal_test_data): Likewise.
13862         (isinf_test_data): Likewise.
13863         (isless_test_data): Likewise.
13864         (islessequal_test_data): Likewise.
13865         (islessgreater_test_data): Likewise.
13866         (isnan_test_data): Likewise.
13867         (isnormal_test_data): Likewise.
13868         (issignaling_test_data): Likewise.
13869         (isunordered_test_data): Likewise.
13870         (j0_test_data): Likewise.
13871         (j1_test_data): Likewise.
13872         (jn_test_data): Likewise.
13873         (lgamma_test_data): Likewise.
13874         (lrint_test_data): Likewise.
13875         (llrint_test_data): Likewise.
13876         (log_test_data): Likewise.
13877         (log10_test_data): Likewise.
13878         (log1p_test_data): Likewise.
13879         (log2_test_data): Likewise.
13880         (logb_test_data): Likewise.
13881         (lround_test_data): Likewise.
13882         (llround_test_data): Likewise.
13883         (modf_test_data): Likewise.
13884         (nearbyint_test_data): Likewise.
13885         (nextafter_test_data): Likewise.
13886         (nexttoward_test_data): Likewise.
13887         (pow_test_data): Likewise.
13888         (remainder_test_data): Likewise.
13889         (remquo_test_data): Likewise.
13890         (rint_test_data): Likewise.
13891         (round_test_data): Likewise.
13892         (signbit_test_data): Likewise.
13893         (sinh_test_data): Likewise.
13894         (sqrt_test_data): Likewise.
13895         (tanh_test_data): Likewise.
13896         (tgamma_test_data): Likewise.
13897         (trunc_test_data): Likewise.
13898         (y0_test_data): Likewise.
13899         (y1_test_data): Likewise.
13900         (yn_test_data): Likewise.
13901         (significand_test_data): Likewise.
13903 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13905         * manual/filesys.texi (Storage Allocation): Document that
13906         posix_fallocate emulation fails when fd is open with O_WRONLY.
13908 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13910         [BZ #19016]
13911         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13912         allow more cases with X^2 + Y^2 >= 0.5.
13913         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13914         normal element in sum instead of special-casing based on values of
13915         arguments.
13916         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13917         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13918         -1 as normal element in sum instead of special-casing based on
13919         values of arguments.
13920         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13921         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13922         (__x2y2m1): Update comment.
13923         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13924         as normal element in sum instead of special-casing based on values
13925         of arguments.
13926         * math/s_clog.c (__clog): Handle more cases using log1p without
13927         hypot.
13928         * math/s_clog10.c (__clog10): Likewise.
13929         * math/s_clog10f.c (__clog10f): Likewise.
13930         * math/s_clog10l.c (__clog10l): Likewise.
13931         * math/s_clogf.c (__clogf): Likewise.
13932         * math/s_clogl.c (__clogl): Likewise.
13933         * math/auto-libm-test-in: Add more tests of clog and clog10.
13934         * math/auto-libm-test-out: Regenerated.
13935         * sysdeps/i386/fpu/libm-test-ulps: Update.
13936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13938 2015-09-28  Martin Sebor  <msebor@redhat.com>
13940         [BZ #18969]
13941         * string/Makefile (LOCALES): Define.
13942         (gen-locales.mk): Include.
13943         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13944         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13945         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13946         on setlocale failure.
13948 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13950         [BZ #18985]
13951         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13952         (__strftime_internal): Likewise.
13953         * time/tst-strftime.c (do_bz18985): New test.
13954         (do_test): Call it.
13956 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13958         [BZ #18956]
13959         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13960         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13961         extracting high part.
13962         * math/auto-libm-test-in: Add another test of pow.
13963         * math/auto-libm-test-out: Regenerated.
13964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13966 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13968         [BZ #18825]
13969         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13970         New macro.
13971         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13972         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13973         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13974         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13975         DBL_NARROW_EVAL, reloading the PIC register as needed.
13976         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13977         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13978         FLT_NARROW_EVAL.  Use separate return path for case when first
13979         argument is NaN.
13980         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13981         DEFINE_LDBL_MIN.
13982         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13983         PIC register.
13984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13985         math_check_force_underflow_nonneg.
13986         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13987         underflow for subnormal result.
13988         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13989         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13990         math_check_force_underflow_nonneg.
13991         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13992         math_check_force_underflow.
13993         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13994         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13995         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13996         DEFINE_LDBL_MIN.
13997         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13998         * math/auto-libm-test-in: Add more tests of pow.
13999         * math/auto-libm-test-out: Regenerated.
14001 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14003         * nss/bug17079.c (init_test_items): Add diagnostic for
14004         inconsistent entries.
14005         (test_buffer_size): Skip inconsistent entries.
14007 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14009         [BZ #13304]
14010         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14011         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14012         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14014         [BZ #13304]
14015         * sysdeps/microblaze/s_fma.c: New file.
14016         * sysdeps/microblaze/s_fmaf.c: Likewise.
14017         * sysdeps/microblaze/sfp-machine.h: Likewise.
14019 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14021         [BZ #17250]
14022         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14023         member.
14025 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14027         [BZ #18803]
14028         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14029         (MO): New macro.
14030         (__ieee754_hypot) [PIC]: Load PIC register.
14031         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14032         DBL_NARROW_EVAL.
14033         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14034         math_check_force_underflow_nonneg in case where result might be
14035         tiny.
14036         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14037         Likewise.
14038         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14039         Likewise.
14040         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14041         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14042         * math/auto-libm-test-in: Add more tests of hypot.
14043         * math/auto-libm-test-out: Regenerated.
14045 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14047         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14049 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14051         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14052         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14053         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14054         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14055         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14056         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14057         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14059         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14060         LOAD_PIC_REG.
14062         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14063         (FLT_CHECK_FORCE_UFLOW): Likewise.
14064         (DBL_CHECK_FORCE_UFLOW): Likewise.
14065         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14066         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14067         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14068         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14069         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14070         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14071         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14072         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14073         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14074         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14075         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14076         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14077         (flt_min): Replace with use of DEFINE_FLT_MIN.
14078         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14079         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14080         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14081         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14082         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14083         (flt_min): Replace with use of DEFINE_FLT_MIN.
14084         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14085         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14086         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14087         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14088         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14089         (flt_min): Replace with use of DEFINE_FLT_MIN.
14090         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14091         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14092         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14093         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14094         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14095         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14096         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14097         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14098         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14099         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14100         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14101         (flt_min): Replace with use of DEFINE_FLT_MIN.
14102         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14103         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14104         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14105         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14106         main computation.
14107         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14108         (flt_min): Replace with use of DEFINE_FLT_MIN.
14109         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14110         main computation.
14111         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14112         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14113         (MO): New macro.
14114         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14115         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14116         (flt_min): Replace with use of DEFINE_FLT_MIN.
14117         (MO): New macro.
14118         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14119         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14120         (__log1pl): Use MO.
14122         [BZ #19003]
14123         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14124         $(config-cflags-nofma).
14126 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14128         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14130 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14132         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14133         (TWO127): Likewise.
14135         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14136         (min_of_type): Likewise.
14137         (math_check_force_underflow): Likewise.
14138         (math_check_force_underflow_nonneg): Likewise.
14139         (math_check_force_underflow_complex): Likewise.
14140         * math/e_exp2l.c (__ieee754_exp2l): Use
14141         math_check_force_underflow_nonneg.
14142         * math/k_casinh.c (__kernel_casinh): Likewise.
14143         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14144         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14145         * math/s_catan.c (__catan): Use
14146         math_check_force_underflow_complex.
14147         * math/s_catanf.c (__catanf): Likewise.
14148         * math/s_catanh.c (__catanh): Likewise.
14149         * math/s_catanhf.c (__catanhf): Likewise.
14150         * math/s_catanhl.c (__catanhl): Likewise.
14151         * math/s_catanl.c (__catanl): Likewise.
14152         * math/s_ccosh.c (__ccosh): Likewise.
14153         * math/s_ccoshf.c (__ccoshf): Likewise.
14154         * math/s_ccoshl.c (__ccoshl): Likewise.
14155         * math/s_cexp.c (__cexp): Likewise.
14156         * math/s_cexpf.c (__cexpf): Likewise.
14157         * math/s_cexpl.c (__cexpl): Likewise.
14158         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14159         * math/s_clog10.c (__clog10): Likewise.
14160         * math/s_clog10f.c (__clog10f): Likewise.
14161         * math/s_clog10l.c (__clog10l): Likewise.
14162         * math/s_clogf.c (__clogf): Likewise.
14163         * math/s_clogl.c (__clogl): Likewise.
14164         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14165         * math/s_csinf.c (__csinf): Likewise.
14166         * math/s_csinh.c (__csinh): Likewise.
14167         * math/s_csinhf.c (__csinhf): Likewise.
14168         * math/s_csinhl.c (__csinhl): Likewise.
14169         * math/s_csinl.c (__csinl): Likewise.
14170         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14171         * math/s_csqrtf.c (__csqrtf): Likewise.
14172         * math/s_csqrtl.c (__csqrtl): Likewise.
14173         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14174         * math/s_ctanf.c (__ctanf): Likewise.
14175         * math/s_ctanh.c (__ctanh): Likewise.
14176         * math/s_ctanhf.c (__ctanhf): Likewise.
14177         * math/s_ctanhl.c (__ctanhl): Likewise.
14178         * math/s_ctanl.c (__ctanl): Likewise.
14179         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14180         instead of volatile.
14181         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14182         math_check_force_underflow.
14183         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14184         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14185         volatile when forcing underflow.
14186         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14187         math_check_force_underflow_nonneg.
14188         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14189         Likewise.
14190         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14191         math_check_force_underflow.
14192         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14193         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14194         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14195         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14196         math_check_force_underflow_nonneg.
14197         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14198         math_check_force_underflow.
14199         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14201         instead of volatile.
14202         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14203         math_check_force_underflow.
14204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14205         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14206         math_check_force_underflow_nonneg.
14207         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14208         math_check_force_underflow.
14209         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14210         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14211         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14212         math_check_force_underflow_nonneg.
14213         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14214         Likewise.
14215         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14216         math_check_force_underflow.
14217         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14218         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14219         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14220         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14221         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14222         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14223         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14224         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14225         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14226         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14227         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14228         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14229         Likewise.
14230         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14231         math_check_force_underflow_nonneg.
14232         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14233         Likewise.
14234         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14235         math_check_force_underflow.
14236         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14237         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14238         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14239         Likewise.
14240         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14241         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14242         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14243         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14244         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14245         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14247         instead of volatile.
14248         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14249         math_check_force_underflow.
14250         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14251         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14252         math_check_force_underflow.
14253         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14254         Likewise.
14255         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14256         Use math_check_force_underflow_nonneg.
14257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14258         math_check_force_underflow.
14259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14260         Likewise.
14261         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14262         Likewise.
14263         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14264         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14265         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14266         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14268         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14269         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14270         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14271         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14272         math_check_force_underflow_nonneg.
14273         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14274         math_check_force_underflow.
14275         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14276         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14277         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14278         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14279         math_check_force_underflow_nonneg.
14280         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14281         math_check_force_underflow.
14282         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14284         instead of volatile.
14285         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14286         math_check_force_underflow.
14288         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14289         * stdlib/strtod_l.c: Include <math_private.h>.
14290         (overflow_value): Use math_narrow_eval.
14291         (underflow_value): Likewise.
14292         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14293         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14294         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14295         (__ieee754_gamma_r): Likewise.
14296         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14297         Likewise.
14298         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14299         Likewise.
14300         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14301         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14302         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14303         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14304         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14305         (__ieee754_gammaf_r): Likewise.
14306         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14307         Likewise.
14308         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14309         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14310         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14311         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14312         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14313         volatile.
14314         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14315         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14316         math_narrow_eval.
14317         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14318         Likewise.
14319         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14320         Likewise.
14321         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14322         Likewise.
14323         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14324         volatile.
14325         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14326         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14327         math_narrow_eval.
14328         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14329         Likewise.
14330         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14331         Likewise.
14333 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14335         * nptl/Versions: Remove ignored symbols.
14337 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14339         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14340         * nss/Makefile (tests): Update.
14342 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14344         * nss/bug18287.c: New file.
14345         * nss/Makefile (tests): Add bug18287.
14347 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14349         * mach/Versions (__mach_host_self_): Add symbol.
14351 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14353         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14354         vm_page_size.
14356 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14358         Really fix sysdeps/i386/fpu/s_scalbn.S build
14360         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14361         (libc: GLIBC_2_22): Remove unused version set.
14363 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14365         * config.make.in (enable-timezone-tools): New variable.
14366         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14367         (enable_timezone_tools): Export to generated files.
14368         * configure: Regenerate.
14369         * INSTALL: Regenerate.
14370         * manual/install.texi (--disable-timezone-tools): Document new flag.
14371         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14372         ifeq ($(enable-timezone-tools),yes) check.
14374 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14376         * timezone/Makefile: Revert previous change.
14378         [BZ #18980]
14379         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14380         (DEFINE_DBL_MIN): Likewise.
14381         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14382         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14383         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14384         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14385         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14386         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14387         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14388         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14389         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14390         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14391         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14392         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14393         (flt_min): Replace with use of DEFINE_FLT_MIN.
14394         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14395         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14396         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14397         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14398         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14399         (flt_min): Replace with use of DEFINE_FLT_MIN.
14400         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14401         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14402         (flt_min): Replace with use of DEFINE_FLT_MIN.
14403         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14404         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14405         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14406         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14407         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14408         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14409         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14410         (__ieee754_pow): Use DBL_NARROW_EVAL.
14411         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14412         (__ieee754_powf): Use FLT_NARROW_EVAL.
14413         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14414         (__ieee754_expf_sse2): Convert double-precision result to single
14415         precision.
14416         * sysdeps/i386/fpu/libm-test-ulps: Update.
14418 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14420         * timezone/Makefile: Ignore unused variable errors due to private.h
14421         (time_t_min) and (time_t_max).
14422         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14423         Likewise.
14425 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14427         [BZ #18981]
14428         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14429         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14430         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14431         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14432         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14433         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14434         (__scalbn): Use DBL_NARROW_EVAL.
14435         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14436         (__scalbnf): Use FLT_NARROW_EVAL.
14438 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14440         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14441         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14442         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14443         * stdio-common/printf_fp.c (___printf_fp):
14444         Use signbit to get the sign. Use isinf macro to allow inlining.
14445         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14446         * stdio-common/printf_size.c (__printf_size): Likewise.
14448 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14450         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14452 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14454         [BZ #18980]
14455         * sysdeps/generic/math_private.h: Include <float.h>.
14456         (math_narrow_eval): New macro.
14457         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14458         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14459         math_narrow_eval on overflowing return value.
14460         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14461         Likewise.
14462         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14463         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14464         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14465         Likewise.
14466         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14468 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14470         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14471         * math/Makefile: Remove isinf_ns.c.
14472         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14473         * math/multc3.c (__multc3): Likewise.
14474         * math/s_casin.c (__casin): Likewise.
14475         * math/s_casinf.c (__casinf): Likewise.
14476         * math/s_casinl.c (__casinl): Likewise.
14477         * math/s_cproj.c (__cproj): Likewise.
14478         * math/s_cprojf.c (__cprojf): Likewise.
14479         * math/s_cprojl.c (__cprofl): Likewise.
14480         * math/s_ctan.c (__ctan): Likewise.
14481         * math/s_ctanf.c (__ctanf): Likewise.
14482         * math/s_ctanh.c (__ctanh): Likewise.
14483         * math/s_ctanhf.c (__ctanhf): Likewise.
14484         * math/s_ctanhl.c (__ctanhl): Likewise.
14485         * math/s_ctanl.c (__ctanl): Likewise.
14486         * math/w_fmod.c (__fmod): Likewise.
14487         * math/w_fmodf.c (__fmodf): Likewise.
14488         * math/w_fmodl.c (_fmodl): Likewise.
14489         * math/w_remainder.c (__remainder): Likewise.
14490         * math/w_remainderf.c (__remainderf): Likewise.
14491         * math/w_remainderl.c (__remainderl): Likewise.
14492         * math/w_scalb.c (__scalb): Likewise.
14493         * math/w_scalbf.c (__scalbf): Likewise.
14494         * math/w_scalbl.c (__scalbl): Likewise.
14495         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14496         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14497         with isinf.
14498         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14500         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14501         __isinf_nsf with isinf.
14502         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14503         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14504         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14505         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14506         with isinf.
14507         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14508         __isinf_nsl with isinf.
14509         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14510         with isinf.
14511         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14512         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14513         __isinf_nsl with isinf.
14514         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14515         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14516         with isinf.
14518 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14520         * resolv/base64.c (rcsid): Remove unused static.
14521         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14522         static.  (tqpi1): Likewise.
14523         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14524         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14525         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14526         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14527         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14528         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14529         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14530         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14531         Likewise.
14533 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14535         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14536         <nptl/pthreadP.h>.
14537         (_longjmp_unwind): Use __libc_ptf_call.
14538         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14540 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14542         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14543         * sysdeps/arm/__longjmp.S: Likewise.
14545 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14547         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14548         Use __builtin_signbit.
14549         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14550         Use __builtin_signbitf.
14551         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14552         Use __builtin_signbitl.
14553         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14554         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14556 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14558         [BZ #15367]
14559         [BZ #17441]
14561         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14562         * math/math.h (fpclassify): Use __builtin_fpclassify when
14563         available.  (signbit): Use __builtin_signbit(f/l).
14564         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14565         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14566         (isinf): Use __builtin_isinf_sign.
14568 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14570         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14571         * benchtests/bench-math-inlines.c: New benchmark.
14572         * benchtests/bench-util.h: New file.
14573         * benchtests/bench-util.c: New file.
14574         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14576 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14578         * elf/tst-dlmopen1.c: Define TEST_SO.
14579         (do_test): Use TEST_SO.
14581         * elf/dl-load.c: Include libc-internal.h.
14582         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14584 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14586         [BZ #17887]
14587         * time/strptime_l.c (__strptime_internal): Make %z accept
14588         [+-]HH:MM time zones.
14590 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14592         [BZ #17886]
14593         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14594         valid time zone.
14596 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14598         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14599         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14601         (__ASSUME_FDATASYNC): Delete.
14603 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14605         * conform/linknamespace.pl: Require weak undefined symbols to be
14606         in the standard namespace.
14607         (%strong_syms): Rename to %seen_syms.
14608         (%strong_seen): Rename to %seen_where.
14610 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14612         [BZ #18970]
14613         * misc/error.c (error): Replace pthread_setcancelstate with
14614         __pthread_setcancelstate.
14615         (error_at_line): Likewise.
14616         * posix/wordexp.c (parse_comm): Likewise.
14617         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14618         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14619         (__pthread_setcancelstate): This.
14620         (pthread_setcancelstate): Add an alias.
14621         * nptl/nptl-init.c (pthread_functions): Replace
14622         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14623         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14624         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14625         hidden_proto.
14626         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14627         it with hidden_def.
14628         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14629         (pthread_setcancelstate): Renamed to ...
14630         (__pthread_setcancelstate): This.
14631         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14632         __libc_ptf_call with __pthread_setcancelstate.
14634 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14635             Andreas Schwab  <schwab@suse.de>
14637         [BZ #17118]
14638         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14639         result when imaginary part of argument is infinite using sine and
14640         cosine.
14641         * math/s_ctanf.c (__ctanf): Likewise.
14642         * math/s_ctanl.c (__ctanl): Likewise.
14643         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14644         of result when real part of argument is infinite using sine and
14645         cosine.
14646         * math/s_ctanhf.c (__ctanhf): Likewise.
14647         * math/s_ctanhl.c (__ctanhl): Likewise.
14648         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14649         (ctanh_test_data): Add more tests of ctanh.
14651 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14653         [BZ #15384]
14654         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14655         bit-mask as in subtraction.
14656         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14657         Likewise.
14658         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14659         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14660         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14662         [BZ #18951]
14663         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14664         underflow exception for small results.
14665         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14666         Likewise.
14667         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14668         Likewise.
14669         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14670         Likewise.
14671         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14672         Likewise.
14673         * math/auto-libm-test-in: Add more tests of tgamma.
14674         * math/auto-libm-test-out: Regenerated.
14676 2015-09-17  Andreas Schwab  <schwab@suse.de>
14678         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14680 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14682         [BZ #18977]
14683         * math/bits/mathcalls.h
14684         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14685         not declare.
14686         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14687         Likewise.
14688         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14689         Likewise.
14690         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14691         Likewise.
14692         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14693         Likewise.
14694         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14695         Likewise.
14696         * conform/data/math.h-data
14697         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14698         function.
14699         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14700         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14701         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14702         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14703         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14704         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14705         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14706         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14707         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14708         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14709         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14711         [BZ #6803]
14712         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14713         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14714         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14715         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14716         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14717         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14718         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14719         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14720         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14721         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14722         Likewise.
14723         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14724         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14725         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14726         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14727         long_double_symbol calls.
14728         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14729         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14730         strong alias of __ldexpl.
14731         (scalbnl): Define using long_double_symbol.
14732         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14733         Remove alias.
14734         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14735         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14736         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14737         (scalbln_test_data): Add more errno expectations.
14739 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14741         Cache the host port like we cache the task port.  This way we do not
14742         need to call the kernel just to get the port.  Furthermore, we no
14743         longer increase the reference count on every invocation of
14744         `mach_host_self'.
14746         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14747         Protect declarations against the macro expansion.
14748         * mach/mach_init.c (__mach_host_self_): New variable.
14749         (mach_init): Initialize `__mach_host_self_'.
14750         * mach/mach_init.h (__mach_host_self_): New declaration.
14751         (__mach_host_self, mach_host_self): New macros.
14752         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14753         Release reference.
14755 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14757         [BZ #4404]
14758         * po/de.po: Update from Translation Project.
14760         [BZ #16415]
14761         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14762         (__expm1l): Remove code to handle positive infinity and overflow.
14763         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14764         variable.
14765         (__expm1l): Remove code to handle positive infinity and overflow.
14767 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14768             Paul Pluzhnikov  <ppluzhnikov@google.com>
14770         [BZ #18872]
14771         * stdio-common/Makefile (tst-printf-bz18872): New test.
14772         (tst-printf-bz18872-mem.out): Likewise.
14773         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14774         * stdio-common/vfprintf.c: Fix memory leaks.
14776 2015-09-16  Andreas Schwab  <schwab@suse.de>
14778         [BZ #17244]
14779         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14780         Remove extra va_start/va_end calls.
14782         [BZ #17243]
14783         * posix/execl.c (execl): Add missing va_end.
14784         * posix/execle.c (execle): Likewise.
14785         * posix/execlp.c (execlp): Likewise.
14787 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14789         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14790         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14792 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14794         [BZ #18967]
14795         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14796         undefine around includes of <bits/mathcalls.h>.
14797         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14798         not declare function.
14799         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14800         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14801         (scalb): Likewise.
14802         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14803         not define macro.
14804         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14805         variable.
14806         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14807         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14808         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14810         [BZ #18857]
14811         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14812         return non-finite argument without doing ordered comparisons on
14813         it.
14815         [BZ #16296]
14816         * math/fenv.h (fegetround): Use __attribute_pure__.
14817         * include/fenv.h (__fegetround): Likewise.
14819         [BZ #18595]
14820         * math/s_ctan.c (__ctan): Force underflow exception for results
14821         whose real or imaginary part has small absolute value.
14822         * math/s_ctanf.c (__ctanf): Likewise.
14823         * math/s_ctanh.c (__ctanh): Likewise.
14824         * math/s_ctanhf.c (__ctanhf): Likewise.
14825         * math/s_ctanhl.c (__ctanhl): Likewise.
14826         * math/s_ctanl.c (__ctanl): Likewise.
14827         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14828         and ctanh.  Add more tests of ctan and ctanh.
14830         [BZ #15918]
14831         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14832         handling of cases where one argument is an infinity.
14834         [BZ #18875]
14835         [BZ #18966]
14836         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14837         (MO): New macro.
14838         (__ieee754_exp10): For small results, force underflow exception
14839         and remove excess range and precision from return value.
14840         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14841         (MO): New macro.
14842         (__ieee754_exp10f): For small results, force underflow exception
14843         and remove excess range and precision from return value.
14844         * math/auto-libm-test-in: Add more tests of exp10.
14845         * math/auto-libm-test-out: Regenerated.
14847 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14849         [BZ #18875]
14850         [BZ #18961]
14851         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14852         (MO): New macro.
14853         (__ieee754_exp): For small results, force underflow exception and
14854         remove excess range and precision from return value.
14855         (__exp_finite): Likewise.
14856         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14857         (MO): New macro.
14858         (__ieee754_expf): For small results, force underflow exception and
14859         remove excess range and precision from return value.
14860         (__expf_finite): Likewise.
14861         * math/auto-libm-test-in: Add more tests of exp.
14862         * math/auto-libm-test-out: Regenerated.
14864         [BZ #16521]
14865         [BZ #18875]
14866         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14867         small results.
14868         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14869         (MO): New macro.
14870         (__ieee754_exp2): For small results, force underflow exception and
14871         remove excess range and precision from return value.
14872         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14873         (MO): New macro.
14874         (__ieee754_exp2f): For small results, force underflow exception
14875         and remove excess range and precision from return value.
14876         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14877         (MO): New macro.
14878         (__ieee754_exp2l): Force underflow exception for small results.
14879         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14880         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14881         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14882         (MO): New macro.
14883         (__ieee754_exp2l): Force underflow exception for small results.
14884         * math/auto-libm-test-in: Add more tests or exp2.
14885         * math/auto-libm-test-out: Regenerated.
14887 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14889         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14891         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14892         /dev/null.
14894 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14896         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14897         io fs process)): Drop spurious backslash.
14899 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14901         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14902         Use sysinfo system call instead of parsing /proc/meminfo.
14903         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14904         Likewise.
14906 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14908         [BZ #16985]
14909         * programs/localedef.c (main): Display argv[remaining] when
14910         output_path is NULL.
14912 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14914         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14915         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14916         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14917         tanh.
14918         * math/auto-libm-test-out: Regenerated.
14919         * sysdeps/i386/fpu/libm-test-ulps: Update.
14920         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14921         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14924 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14926         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14927         Use 'override' keyword to freeze the value here, preventing
14928         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14930 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14932         [BZ #14912]
14933         * sysdeps/aarch64/bits/atomic.h: Move to ...
14934         * sysdeps/aarch64/atomic-machine.h: ...here.
14935         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14936         _AARCH64_ATOMIC_MACHINE_H.
14937         * sysdeps/alpha/bits/atomic.h: Move to ...
14938         * sysdeps/alpha/atomic-machine.h: ...here.
14939         * sysdeps/arm/bits/atomic.h: Move to ...
14940         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14941         * bits/atomic.h: Move to ...
14942         * sysdeps/generic/atomic-machine.h: ...here.
14943         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14944         * sysdeps/i386/bits/atomic.h: Move to ...
14945         * sysdeps/i386/atomic-machine.h: ...here.
14946         * sysdeps/ia64/bits/atomic.h: Move to ...
14947         * sysdeps/ia64/atomic-machine.h: ...here.
14948         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14949         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14950         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14951         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14952         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14953         * sysdeps/microblaze/bits/atomic.h: Move to ...
14954         * sysdeps/microblaze/atomic-machine.h: ...here.
14955         * sysdeps/mips/bits/atomic.h: Move to ...
14956         * sysdeps/mips/atomic-machine.h: ...here.
14957         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14958         * sysdeps/powerpc/bits/atomic.h: Move to ...
14959         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14960         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14961         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14962         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14963         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14964         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14965         <atomic-machine.h> instead of <bits/atomic.h>.
14966         * sysdeps/s390/bits/atomic.h: Move to ...
14967         * sysdeps/s390/atomic-machine.h: ...here.
14968         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14969         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14970         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14971         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14972         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14973         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14974         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14975         * sysdeps/tile/bits/atomic.h: Move to ...
14976         * sysdeps/tile/atomic-machine.h: ...here.
14977         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14978         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14979         <sysdeps/tile/atomic-machine.h> instead of
14980         <sysdeps/tile/bits/atomic.h>.
14981         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14982         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14983         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14984         <sysdeps/tile/atomic-machine.h> instead of
14985         <sysdeps/tile/bits/atomic.h>.
14986         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14987         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14988         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14989         <sysdeps/arm/atomic-machine.h> instead of
14990         <sysdeps/arm/bits/atomic.h>.
14991         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14992         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14993         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14994         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14995         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14996         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14997         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14998         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14999         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15000         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15001         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15002         * sysdeps/x86_64/bits/atomic.h: Move to ...
15003         * sysdeps/x86_64/atomic-machine.h: ...here.
15004         * include/atomic.h: Include <atomic-machine.h> instead of
15005         <bits/atomic.h>.
15007         * sysdeps/mips/mips32/libm-test-ulps: Update.
15008         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15010         [BZ #18952]
15011         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15012         not convert non-integer negative arguments to int to determine the
15013         value of signgam.
15014         * math/auto-libm-test-in: Add more tests of lgamma.
15015         * math/auto-libm-test-out: Regenerated.
15017         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15018         cosh, csqrt, erfc, expm1 and lgamma.
15019         * math/auto-libm-test-out: Regenerated.
15020         * sysdeps/i386/fpu/libm-test-ulps: Update.
15021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15023 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15025         [BZ #2542]
15026         [BZ #2543]
15027         [BZ #2558]
15028         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15029         __lgamma_neg for arguments from -28.0 to -2.0.
15030         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15031         __lgamma_negf for arguments from -15.0 to -2.0.
15032         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15033         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15034         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15035         Call __lgamma_negl for arguments from -33.0 to -2.0.
15036         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15037         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15038         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15039         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15040         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15041         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15042         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15043         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15044         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15045         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15046         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15047         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15048         (__lgamma_neg): Likewise.
15049         (__lgamma_negl): Likewise.
15050         (__lgamma_product): Likewise.
15051         (__lgamma_productl): Likewise.
15052         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15053         * math/auto-libm-test-in: Add more tests of lgamma.
15054         * math/auto-libm-test-out: Regenerated.
15055         * sysdeps/i386/fpu/libm-test-ulps: Update.
15056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15058 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15060         [BZ #18675]
15061         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15063 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15065         [BZ #14912]
15066         * bits/libc-lock.h: Move to ...
15067         * sysdeps/generic/libc-lock.h: ...here.
15068         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15069         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15070         * sysdeps/mach/hurd/libc-lock.h: ...here.
15071         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15072         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15073         * sysdeps/mach/bits/libc-lock.h: Move to ...
15074         * sysdeps/mach/libc-lock.h: ...here.
15075         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15076         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15077         * sysdeps/nptl/libc-lock.h: ...here.
15078         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15079         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15080         * sysdeps/nptl/libc-lockP.h: ...here.
15081         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15082         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15083         <bits/libc-lock.h>.
15084         * dirent/scandir-tail.c: Likewise.
15085         * dlfcn/dlerror.c: Likewise.
15086         * elf/dl-close.c: Likewise.
15087         * elf/dl-iteratephdr.c: Likewise.
15088         * elf/dl-lookup.c: Likewise.
15089         * elf/dl-open.c: Likewise.
15090         * elf/dl-support.c: Likewise.
15091         * elf/dl-writev.h: Likewise.
15092         * elf/rtld.c: Likewise.
15093         * grp/fgetgrent.c: Likewise.
15094         * gshadow/fgetsgent.c: Likewise.
15095         * gshadow/sgetsgent.c: Likewise.
15096         * iconv/gconv_conf.c: Likewise.
15097         * iconv/gconv_db.c: Likewise.
15098         * iconv/gconv_dl.c: Likewise.
15099         * iconv/gconv_int.h: Likewise.
15100         * iconv/gconv_trans.c: Likewise.
15101         * include/link.h: Likewise.
15102         * inet/getnameinfo.c: Likewise.
15103         * inet/getnetgrent.c: Likewise.
15104         * inet/getnetgrent_r.c: Likewise.
15105         * intl/bindtextdom.c: Likewise.
15106         * intl/dcigettext.c: Likewise.
15107         * intl/finddomain.c: Likewise.
15108         * intl/gettextP.h: Likewise.
15109         * intl/loadmsgcat.c: Likewise.
15110         * intl/localealias.c: Likewise.
15111         * intl/textdomain.c: Likewise.
15112         * libidn/idn-stub.c: Likewise.
15113         * libio/libioP.h: Likewise.
15114         * locale/duplocale.c: Likewise.
15115         * locale/freelocale.c: Likewise.
15116         * locale/newlocale.c: Likewise.
15117         * locale/setlocale.c: Likewise.
15118         * login/getutent_r.c: Likewise.
15119         * login/getutid_r.c: Likewise.
15120         * login/getutline_r.c: Likewise.
15121         * login/utmp-private.h: Likewise.
15122         * login/utmpname.c: Likewise.
15123         * malloc/mtrace.c: Likewise.
15124         * misc/efgcvt.c: Likewise.
15125         * misc/error.c: Likewise.
15126         * misc/fstab.c: Likewise.
15127         * misc/getpass.c: Likewise.
15128         * misc/mntent.c: Likewise.
15129         * misc/syslog.c: Likewise.
15130         * nis/nis_call.c: Likewise.
15131         * nis/nis_callback.c: Likewise.
15132         * nis/nss-default.c: Likewise.
15133         * nis/nss_compat/compat-grp.c: Likewise.
15134         * nis/nss_compat/compat-initgroups.c: Likewise.
15135         * nis/nss_compat/compat-pwd.c: Likewise.
15136         * nis/nss_compat/compat-spwd.c: Likewise.
15137         * nis/nss_nis/nis-alias.c: Likewise.
15138         * nis/nss_nis/nis-ethers.c: Likewise.
15139         * nis/nss_nis/nis-grp.c: Likewise.
15140         * nis/nss_nis/nis-hosts.c: Likewise.
15141         * nis/nss_nis/nis-network.c: Likewise.
15142         * nis/nss_nis/nis-proto.c: Likewise.
15143         * nis/nss_nis/nis-pwd.c: Likewise.
15144         * nis/nss_nis/nis-rpc.c: Likewise.
15145         * nis/nss_nis/nis-service.c: Likewise.
15146         * nis/nss_nis/nis-spwd.c: Likewise.
15147         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15148         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15149         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15150         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15151         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15152         * nis/nss_nisplus/nisplus-network.c: Likewise.
15153         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15154         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15155         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15156         * nis/nss_nisplus/nisplus-service.c: Likewise.
15157         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15158         * nis/ypclnt.c: Likewise.
15159         * nptl/libc_pthread_init.c: Likewise.
15160         * nss/getXXbyYY.c: Likewise.
15161         * nss/getXXent.c: Likewise.
15162         * nss/getXXent_r.c: Likewise.
15163         * nss/nss_db/db-XXX.c: Likewise.
15164         * nss/nss_db/db-netgrp.c: Likewise.
15165         * nss/nss_db/nss_db.h: Likewise.
15166         * nss/nss_files/files-XXX.c: Likewise.
15167         * nss/nss_files/files-alias.c: Likewise.
15168         * nss/nsswitch.c: Likewise.
15169         * posix/regex_internal.h: Likewise.
15170         * posix/wordexp.c: Likewise.
15171         * pwd/fgetpwent.c: Likewise.
15172         * resolv/res_hconf.c: Likewise.
15173         * resolv/res_libc.c: Likewise.
15174         * shadow/fgetspent.c: Likewise.
15175         * shadow/lckpwdf.c: Likewise.
15176         * shadow/sgetspent.c: Likewise.
15177         * socket/opensock.c: Likewise.
15178         * stdio-common/reg-modifier.c: Likewise.
15179         * stdio-common/reg-printf.c: Likewise.
15180         * stdio-common/reg-type.c: Likewise.
15181         * stdio-common/vfprintf.c: Likewise.
15182         * stdio-common/vfscanf.c: Likewise.
15183         * stdlib/abort.c: Likewise.
15184         * stdlib/cxa_atexit.c: Likewise.
15185         * stdlib/fmtmsg.c: Likewise.
15186         * stdlib/random.c: Likewise.
15187         * stdlib/setenv.c: Likewise.
15188         * string/strsignal.c: Likewise.
15189         * sunrpc/auth_none.c: Likewise.
15190         * sunrpc/bindrsvprt.c: Likewise.
15191         * sunrpc/create_xid.c: Likewise.
15192         * sunrpc/key_call.c: Likewise.
15193         * sunrpc/rpc_thread.c: Likewise.
15194         * sysdeps/arm/backtrace.c: Likewise.
15195         * sysdeps/generic/ldsodefs.h: Likewise.
15196         * sysdeps/generic/stdio-lock.h: Likewise.
15197         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15198         * sysdeps/i386/backtrace.c: Likewise.
15199         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15200         * sysdeps/m68k/backtrace.c: Likewise.
15201         * sysdeps/mach/hurd/cthreads.c: Likewise.
15202         * sysdeps/mach/hurd/dirstream.h: Likewise.
15203         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15204         * sysdeps/nptl/malloc-machine.h: Likewise.
15205         * sysdeps/nptl/stdio-lock.h: Likewise.
15206         * sysdeps/posix/dirstream.h: Likewise.
15207         * sysdeps/posix/getaddrinfo.c: Likewise.
15208         * sysdeps/posix/system.c: Likewise.
15209         * sysdeps/pthread/aio_suspend.c: Likewise.
15210         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15211         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15212         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15213         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15214         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15215         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15216         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15217         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15218         * sysdeps/unix/sysv/linux/system.c: Likewise.
15219         * sysdeps/x86_64/backtrace.c: Likewise.
15220         * time/alt_digit.c: Likewise.
15221         * time/era.c: Likewise.
15222         * time/tzset.c: Likewise.
15223         * wcsmbs/wcsmbsload.c: Likewise.
15224         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15225         instead of <bits/libc-lock.h> in comment.
15227 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15229         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15230         Only use .set mips2 if the current ISA is below mips2.
15231         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15232         Likewise.
15233         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15234         mips32r2 if the current ISA is below mips32r2.
15235         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15236         (TLS_IE): Updated to use the TLD_RDHWR macro.
15237         (TLS_LE): Likewise.
15238         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15239         __ASSEMBLER__ condition.
15241 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15243         Fix parallel build of before-compile targets.
15245         * sysdeps/mach/Makefile ($(patsubst
15246         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15247         mach-before-compile target.
15248         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15249         io fs process)): Move rule to dedicated hurd-before-compile target.
15251 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15253         Fix rules generating headers in hurd/ and mach/ when initial make call
15254         has subdir= explicitly set.
15256         * sysdeps/mach/Makefile ($(patsubst
15257         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15258         calling $(MAKE).
15259         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15260         io fs process)): Force subdir to hurd when calling $(MAKE).
15261         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15262         subdir to mach when calling $(MAKE).
15264 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15266         Check sysheaders when looking for Mach and Hurd headers
15268         * sysdeps/mach/configure.ac: Add sysheaders check.
15269         * sysdeps/mach/configure: Regenerate.
15270         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15271         * sysdeps/mach/hurd/configure: Regenerate.
15273 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15275         [BZ #18921]
15276         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15277         Fix inverted sense of test of 'o_directory_works' value.
15278         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15279         Bernhard Voelker <mail@bernhard-voelker.de>.
15281 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15283         [BZ #14912]
15284         * bits/linkmap.h: Move to ...
15285         * sysdeps/generic/linkmap.h: ...here.
15286         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15287         * sysdeps/aarch64/linkmap.h: ...here.
15288         * sysdeps/arm/bits/linkmap.h: Move to ...
15289         * sysdeps/arm/linkmap.h: ...here.
15290         * sysdeps/hppa/bits/linkmap.h: Move to ...
15291         * sysdeps/hppa/linkmap.h: ...here.
15292         * sysdeps/ia64/bits/linkmap.h: Move to ...
15293         * sysdeps/ia64/linkmap.h: ...here.
15294         * sysdeps/mips/bits/linkmap.h: Move to ...
15295         * sysdeps/mips/linkmap.h: ...here.
15296         * sysdeps/s390/bits/linkmap.h: Move to ...
15297         * sysdeps/s390/linkmap.h: ...here.
15298         * sysdeps/sh/bits/linkmap.h: Move to ...
15299         * sysdeps/sh/linkmap.h: ...here.
15300         * sysdeps/x86/bits/linkmap.h: Move to ...
15301         * sysdeps/x86/linkmap.h: ...here.
15302         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15304 2015-09-04  Andreas Schwab  <schwab@suse.de>
15306         [BZ #18635]
15307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15308         (__makecontext): Terminate FDE before return label.
15309         (__novec_makecontext): Likewise.
15311 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15313         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15314         first member of struct sv in syscall macro.
15316 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15318         [BZ #14912]
15319         * bits/stdio-lock.h: Move to ...
15320         * sysdeps/generic/stdio-lock.h: ...here.
15321         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15322         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15323         * sysdeps/nptl/stdio-lock.h: ...here.
15324         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15325         * include/libio.h: Include <stdio-lock.h> instead of
15326         <bits/stdio-lock.h>.
15327         * sysdeps/nptl/fork.c: Likewise.
15328         * sysdeps/pthread/flockfile.c: Likewise.
15329         * sysdeps/pthread/ftrylockfile.c: Likewise.
15330         * sysdeps/pthread/funlockfile.c: Likewise.
15332         [BZ #14912]
15333         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15334         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15335         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15336         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15337         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15338         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15339         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15341 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15343         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15344         (test-xfail-tst-protected1b): New variable.
15346 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15348         [BZ #14912]
15349         * bits/libc-tsd.h: Move to ...
15350         * sysdeps/generic/libc-tsd.h: ...here.
15351         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15352         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15353         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15354         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15355         * include/ctype.h: Include <libc-tsd.h> instead of
15356         <bits/libc-tsd.h>.
15357         * include/rpc/rpc.h: Likewise.
15358         * locale/localeinfo.h: Likewise.
15359         * sunrpc/rpc_thread.c: Likewise.
15360         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15361         * sysdeps/nptl/malloc-machine.h: Likewise.
15363         * Makefile (headers): Remove bits/libc-lock.h.
15364         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15366         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15367         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15368         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15369         <bits/stdio-lock.h>.
15370         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15371         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15373 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15375         [BZ #18757]
15376         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15377         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15378         BZ #18757.
15380 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15382         * malloc/mtrace.pl: Filter out NULL entries.
15384 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15386         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15387         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15388         macro.
15390         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15391         (TCP_CC_INFO): Likewise.
15392         (TCP_SAVE_SYN): Likewise.
15393         (TCP_SAVED_SYN): Likewise.
15395 2015-08-31  Brett Neumeier <brett@neumeier.us>
15397         [BZ #18870]
15398         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15400 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15402         [BZ #18873]
15403         Fix broken overflow check in posix_fallocate
15404         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15405         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15406         Fix parenthesization typo.
15408 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15410         [BZ #18887]
15411         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15412         tst-mntent-blank-passno.
15413         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15414         * misc/tst-mntent-blank-corrupt.c: New test.
15415         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15416         * misc/tst-mntent.c (do_test): ... here.
15418 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15420         [BZ #4404]
15421         * po/de.po: Fix SIGALRM typo.
15423 2015-08-28  James Perkins  <james@loowit.net>
15425         * time/tst-strptime2.c (tests): Replace short list of test
15426         strings for strptime %z specifier with code which exhaustively
15427         tests every combination of sign and 0 to 5 digits. Tests for
15428         rejection of invalid strings.
15430 2015-08-28  James Perkins  <james@loowit.net>
15432         [BZ #16141]
15433         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15434         calculation, removing incorrect decimal time rounding, so that
15435         all minute values result in a valid seconds value.
15436         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15437         offset range limits to UTC-99:59 through UTC+99:59 to parse
15438         current and historical use cases.
15439         * time/tst-strptime2.c (tests): Modify and add tests for the
15440         strptime %z input field descriptor, specifically conversion of
15441         minutes to seconds and validating an offset range of -9959 to
15442         +9959.
15444 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15445             Dmitry V. Levin  <ldv@altlinux.org>
15447         [BZ #18877]
15448         * posix/Makefile (tests): Add tst-mmap-offset.
15449         * posix/tst-mmap.c: New file.
15450         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15451         offset calculation for negative values.
15453 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15455         * sysdeps/i386/init-arch.h: New file.
15456         * sysdeps/i386/i586/init-arch.h: Likewise.
15457         * sysdeps/i386/i686/init-arch.h: Likewise.
15458         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15459         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15460         * sysdeps/x86/cpu-features.h (bit_I586): New.
15461         (bit_I686): Likewise.
15462         (bit_CX8): Likewise.
15463         (bit_CMOV): Likewise.
15464         (index_CX8): Likewise.
15465         (index_CMOV): Likewise.
15466         (index_I586): Likewise.
15467         (index_I686): Likewise.
15468         (reg_CX8): Likewise.
15469         (reg_CMOV): Likewise.
15470         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15471         available at compile-time.
15472         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15473         available at compile-time.
15474         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15475         (USE_I686): Likewise.
15477 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15479         * sysdeps/i386/bcopy.S: New file.
15480         * sysdeps/i386/bzero.S: Likewise.
15481         * sysdeps/i386/memcpy.S: Likewise.
15482         * sysdeps/i386/memmove.S: Likewise.
15483         * sysdeps/i386/mempcpy.S: Likewise.
15484         * sysdeps/i386/memset.S: Likewise.
15485         * sysdeps/i386/bzero.c: Removed.
15486         * sysdeps/i386/memset.c: Likewise.
15487         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15488         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15489         * sysdeps/i386/i586/memset_chk.S: Likewise.
15490         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15491         * sysdeps/i386/memcpy_chk.S: Here.
15492         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15493         * sysdeps/i386/memmove_chk.S: Here.
15494         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15495         * sysdeps/i386/mempcpy_chk.S: Likewise.
15496         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15497         * sysdeps/i386/memset_chk.S: Likewise.
15499 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15501         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15502         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15503         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15504         * soft-fp/fmadf4.c: Ditto.
15505         * soft-fp/fmatf4.c: Ditto.
15507 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15509         * sysdeps/i386/i586/Implies: Removed.
15510         * sysdeps/i386/i686/Implies: Likewise.
15512 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15514         * sysdeps/i386/i486/strlen.S: Moved to ...
15515         * sysdeps/i386/strlen.S: Here.
15517 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15519         * sysdeps/i386/i486/strcat.S: Moved to ...
15520         * sysdeps/i386/strcat.S: Here.
15522 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15524         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15525         * sysdeps/i386/pthread_spin_trylock.S: Here.
15526         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15527         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15529 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15531         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15532         * sysdeps/i386/string-inlines.c: Here.
15534 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15536         * sysdeps/i386/i486/htonl.S: Moved ...
15537         * sysdeps/i386/htonl.S: here.
15539 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15541         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15542         * sysdeps/i386/bits/atomic.h: Here.
15544 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15546         * sysdeps/i386/i486/Versions: Removed.
15548 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15550         [BZ #2898]
15551         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15552         Based on patch by Aurelien Jarno.
15554 2015-08-26  Stan Shebs  <stanshebs@google.com>
15556         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15557         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15559 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15561         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15562         * sysdeps/powerpc/dl-procinfo.c:
15563         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15564         feature so it shows when LD_SHOW_AUXV=1.
15566 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15568         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15569         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15570         definition.  ISA 2.07B no longer requires full sync.
15572 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15574         [BZ #18863]
15575         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15576         (si_call_addr): Define.
15577         (si_syscall): Define.
15578         (si_arch): Define.
15580 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15582         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15583         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15584         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15585         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15586         (__memset_zero_constant_len_parameter): New.
15587         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15588         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15589         (__memset_zero_constant_len_parameter): Don't define if
15590         __memset_chk or USE_AS_BZERO are defined.
15592         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15593         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15594         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15596         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15597         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15598         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15599         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15600         comments.
15601         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15602         -mno-mmx for $(all-rtld-routines).
15603         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15604         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15605         i386.
15607 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15609         * sysdeps/generic/unwind.h
15610         (_Unwind_Word): Use __mode__(__unwind_word__)
15611         instead of __mode__(__word__).
15612         (_Unwind_Sword): Likewise.
15614         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15615         (MAX_NEEDED_INPUT): New define.
15616         (MAX_NEEDED_OUTPUT): New define.
15618         * NEWS: New item for IBM z13 string optimizations.
15620         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15621         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15622         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15623         * sysdeps/s390/multiarch/Makefile
15624         (sysdep_routines): Add memrchr functions.
15625         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15626         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15628         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15629         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15630         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15631         * sysdeps/s390/multiarch/Makefile
15632         (sysdep_routines): Add wmemcmp functions.
15633         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15634         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15635         * benchtests/bench-wmemcmp.c: New File.
15636         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15638         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15639         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15640         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15641         * sysdeps/s390/multiarch/Makefile
15642         (sysdep_routines): Add wmemset functions.
15643         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15644         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15645         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15646         * string/test-memset.c: Add wmemset support.
15647         * wcsmbs/test-wmemset.c: New File.
15648         * wcsmbs/Makefile (strop-tests): Add wmemset.
15649         * benchtests/bench-memset.c: Add wmemset support.
15650         * benchtests/bench-wmemset.c: New File.
15651         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15653         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15654         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15655         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15656         * sysdeps/s390/multiarch/Makefile
15657         (sysdep_routines): Add memccpy functions.
15658         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15659         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15660         * string/memccpy.c: Use MEMCCPY if defined.
15662         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15663         * sysdeps/s390/multiarch/memchr.c: Likewise.
15664         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15665         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15666         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15667         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15668         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15669         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15670         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15671         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15672         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15673         and rawmemchr functions.
15674         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15675         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15676         and wmemchr.
15677         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15678         * string/test-memchr.c: Add wmemchr support.
15679         * wcsmbs/test-wmemchr.c: New File.
15680         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15681         * benchtests/bench-memchr.c: Add wmemchr support.
15682         * benchtests/bench-wmemchr.c: New File.
15683         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15685         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15686         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15687         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15688         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15689         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15690         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15691         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15692         wcscspn functions.
15693         * sysdeps/s390/multiarch/ifunc-impl-list.c
15694         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15695         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15696         * string/test-strcspn.c: Add wcscspn support.
15697         * wcsmbs/test-wcscspn.c: New File.
15698         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15699         * benchtests/bench-strcspn.c: Add wcscspn support.
15700         * benchtests/bench-wcscspn.c: New File.
15701         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15703         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15704         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15705         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15706         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15707         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15708         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15709         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15710         wcspbrk functions.
15711         * sysdeps/s390/multiarch/ifunc-impl-list.c
15712         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15713         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15714         * string/test-strpbrk.c: Add wcspbrk support.
15715         * wcsmbs/test-wcspbrk.c: New File.
15716         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15717         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15718         * benchtests/bench-wcspbrk.c: New File.
15719         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15721         * sysdeps/s390/multiarch/strspn-c.c: New File.
15722         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15723         * sysdeps/s390/multiarch/strspn.c: Likewise.
15724         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15725         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15726         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15727         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15728         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15729         wcsspn functions.
15730         * sysdeps/s390/multiarch/ifunc-impl-list.c
15731         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15732         * string/test-strspn.c: Add wcsspn support.
15733         * wcsmbs/test-wcsspn.c: New File.
15734         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15735         * benchtests/bench-strspn.c: Add wcsspn support.
15736         * benchtests/bench-wcsspn.c: New File.
15737         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15739         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15740         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15741         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15742         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15743         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15744         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15745         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15746         wcsrchr functions.
15747         * sysdeps/s390/multiarch/ifunc-impl-list.c
15748         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15749         * benchtests/bench-wcsrchr.c: New File.
15750         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15752         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15753         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15754         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15755         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15756         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15757         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15758         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15759         wcschrnul functions.
15760         * sysdeps/s390/multiarch/ifunc-impl-list.c
15761         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15762         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15763         * string/test-strchr.c: Add wcschrnul support.
15764         * wcsmbs/test-wcschrnul.c: New File.
15765         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15766         * benchtests/bench-strchr.c: Add wcschrnul support.
15767         * benchtests/bench-wcschrnul.c: New File.
15768         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15770         * sysdeps/s390/multiarch/strchr-c.c: New File.
15771         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15772         * sysdeps/s390/multiarch/strchr.c: Likewise.
15773         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15774         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15775         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15776         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15777         wcschr functions.
15778         * sysdeps/s390/multiarch/ifunc-impl-list.c
15779         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15780         * string/strchr.c (STRCHR): Define and use macro.
15781         * benchtests/bench-wcschr.c: New File.
15782         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15784         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15785         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15786         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15787         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15788         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15789         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15790         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15791         wcsncmp functions.
15792         * sysdeps/s390/multiarch/ifunc-impl-list.c
15793         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15794         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15795         * benchtests/bench-strncmp.c: Add wcsncmp support.
15796         * benchtests/bench-wcsncmp.c: New File.
15797         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15799         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15800         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15801         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15802         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15803         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15804         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15805         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15806         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15807         wcscmp functions.
15808         * sysdeps/s390/multiarch/ifunc-impl-list.c
15809         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15810         * string/strcmp.c (STRCMP): Define and use macro.
15811         * benchtests/bench-wcscmp.c: New File.
15812         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15813         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15814         instead of _HAVE_STRING_ARCH_memchr.
15816         * sysdeps/s390/multiarch/strncat-c.c: New File.
15817         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15818         * sysdeps/s390/multiarch/strncat.c: Likewise.
15819         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15820         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15821         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15822         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15823         wcsncat functions.
15824         * sysdeps/s390/multiarch/ifunc-impl-list.c
15825         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15826         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15827         * string/test-strncat.c: Add wcsncat support.
15828         * wcsmbs/test-wcsncat.c: New File.
15829         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15830         * benchtests/bench-strncat.c: Add wcsncat support.
15831         * benchtests/bench-wcsncat.c: New File.
15832         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15834         * sysdeps/s390/multiarch/strcat-c.c: New File.
15835         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15836         * sysdeps/s390/multiarch/strcat.c: Likewise.
15837         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15838         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15839         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15840         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15841         wcscat functions.
15842         * sysdeps/s390/multiarch/ifunc-impl-list.c
15843         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15844         * string/strcat.c (STRCAT): Define and use macro.
15845         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15846         * string/test-strcat.c: Add wcscat support.
15847         * wcsmbs/test-wcscat.c: New File.
15848         * wcsmbs/Makefile (strop-tests): Add wcscat.
15849         * benchtests/bench-strcat.c: Add wcscat support.
15850         * benchtests/bench-wcscat.c: New File.
15851         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15853         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15854         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15855         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15856         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15857         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15858         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15859         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15860         wcpncpy functions.
15861         * sysdeps/s390/multiarch/ifunc-impl-list.c
15862         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15863         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15864         * string/test-stpncpy.c: Add wcpncpy support.
15865         * wcsmbs/test-wcpncpy.c: New File.
15866         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15867         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15868         * benchtests/bench-wcpncpy.c: New File.
15869         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15871         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15872         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15873         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15874         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15875         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15876         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15877         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15878         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15879         wcsncpy functions.
15880         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15881         * sysdeps/s390/multiarch/ifunc-impl-list.c
15882         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15883         * string/test-strncpy.c: Add wcsncpy support.
15884         * wcsmbs/test-wcsncpy.c: New File.
15885         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15886         * benchtests/bench-strncpy.c: Add wcsncpy support.
15887         * benchtests/bench-wcsncpy.c: New File.
15888         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15890         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15891         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15892         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15893         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15894         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15895         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15896         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15897         wcpcpy functions.
15898         * string/stpcpy.c: Use STPCPY if defined.
15899         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15900         * sysdeps/s390/multiarch/ifunc-impl-list.c
15901         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15902         * string/test-stpcpy.c: Add wcpcpy support.
15903         * wcsmbs/test-wcpcpy.c: New File.
15904         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15905         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15906         * benchtests/bench-wcpcpy.c: New File.
15907         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15909         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15910         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15911         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15912         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15913         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15914         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15915         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15916         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15917         wcscpy functions.
15918         * sysdeps/s390/multiarch/ifunc-impl-list.c
15919         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15920         * benchtests/bench-wcscpy.c: New File.
15921         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15923         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15924         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15925         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15926         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15927         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15928         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15929         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15930         wcsnlen functions.
15931         * sysdeps/s390/multiarch/ifunc-impl-list.c
15932         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15933         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15934         * string/test-strnlen.c: Add wcsnlen support.
15935         * wcsmbs/test-wcsnlen.c: New File.
15936         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15937         * benchtests/bench-strnlen.c: Add wcsnlen support.
15938         * benchtests/bench-wcsnlen.c: New File.
15939         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15941         * sysdeps/s390/multiarch/Makefile: New File.
15942         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15943         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15944         * sysdeps/s390/multiarch/strlen.c: Likewise.
15945         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15946         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15947         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15948         * string/strlen.c (STRLEN): Define and use macro.
15949         * sysdeps/s390/multiarch/ifunc-impl-list.c
15950         (IFUNC_VX_IMPL): New macro function.
15951         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15952         * benchtests/Makefile (wcsmbs-bench): New variable.
15953         (string-bench-all): Added wcsmbs-bench.
15954         * benchtests/bench-wcslen.c: New File.
15956         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15957         s390_vx_libc_ifunc2): New macro function.
15959         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15960         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15961         assembler support.
15962         * sysdeps/s390/configure: Regenerated.
15964         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15965         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15967         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15968         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15969         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15971         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15972         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15973         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15974         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15975         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15976         (memcmp, bcmp): Use __memcmp_default as alias source.
15977         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15978         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15979         Rename to __memcmp_default.
15980         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15981         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15982         (memcpy): Use __memcpy_default as alias source.
15983         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15984         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15985         Rename to __memcpy_default.
15986         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15987         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15988         (memset): Use __memset_default as alias source.
15989         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15990         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15991         Rename to __memset_default.
15992         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15993         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15994         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15995         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15996         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15997         (memcmp, bcmp): Use __memcmp_default as alias source.
15998         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15999         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16000         Rename to __memcmp_default.
16001         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16002         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16003         (memcpy): Use __memcpy_default as alias source.
16004         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16005         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16006         Rename to __memcpy_default.
16007         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16008         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16009         (memset): Use __memset_default as alias source.
16010         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16011         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16012         Rename to __memset_default.
16013         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16014         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16016         [BZ #18610]
16017         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16018         __ieee_instruction_pointer to __unused.
16019         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16020         __ieee_instruction_pointer.
16021         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16022         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16023         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16024         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16025         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16026         Mark dxc-field as reserved.
16028 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16030         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16031         if the weak reference is not null.
16033 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16035         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16037         [BZ #11214]
16038         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16040 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16042         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16043         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16044         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16045         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16046         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16047         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16048         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16049         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16050         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16051         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16052         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16053         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16054         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16055         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16056         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16057         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16058         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16059         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16061 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16063         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16064         register other than r0 for tabort, it has special meaning.
16065         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16066         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16067         transaction before starting syscall.
16069 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16071         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16073 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16075         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16077         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16078         * sysdeps/x86_64/rtld-memset.S: Likewise.
16079         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16080         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16081         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16082         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16084         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16086 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16088         * debug/strcpy_chk.c: Improve performance.
16089         * debug/stpcpy_chk.c: Likewise.
16090         * sysdeps/x86_64/strcpy_chk.S: Remove.
16091         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16093         [BZ #18240]
16094         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16096 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16098         [BZ #15128]
16099         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16100         ifuncmain8.
16101         (modules-names): Add ifuncmod8.
16102         ($(objpfx)ifuncmain8): New rule.
16103         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16104         <cpuid.h>.
16105         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16106         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16107         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16108         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16109         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16110         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16111         * sysdeps/x86_64/ifuncmain8.c: New file.
16112         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16113         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16114         Removed.
16115         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16116         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16117         Change rtld_savespace_sse to __glibc_unused2.
16118         (RTLD_CHECK_FOREIGN_CALL): Removed.
16119         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16120         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16121         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16123 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16125         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16127 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16129         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16130         Unconditionally set __fpcr to avoid uninialized warning.
16131         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16133 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16135         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16136         is corrupt.
16138         * malloc/arena.c (arena_get2): Drop unused argument.
16139         (arena_lock): Adjust.
16140         (arena_get_retry): Likewise.
16142 2015-08-24  Andreas Schwab  <schwab@suse.de>
16144         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16145         Don't define.
16146         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16147         (__ASSUME_IPC64): Don't undef.
16148         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16149         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16150         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16151         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16152         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16153         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16154         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16155         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16156         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16157         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16158         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16159         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16160         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16161         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16162         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16163         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16164         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16165         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16166         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16167         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16168         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16170 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16172         * manual/Makefile (install): Only build manual when perl is available.
16174 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16176         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16177         '#undef memcpy' by '#undef memchr'.
16179 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16181         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16182         memchr not point to the internal __GI_memchr implementation.
16184 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16186         * timezone/Makefile (CFLAGS-zdump.c): Remove
16187         -Wno-strict-prototypes.
16188         (CFLAGS-zic.c): Likewise.
16189         (CFLAGS-ialloc.c): Likewise.
16190         (CFLAGS-scheck.c): Likewise.
16192         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16193         -Wno-error=undef.
16195 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16197         * i386/i686/multiarch/strcasestr-c.c: Removed.
16198         * x86_64/multiarch/strcasestr.c: Likewise.
16199         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16200         Remove strcasestr.
16202 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16204         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16206         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16207         variables for high and low parts before possibly modifying them.
16209 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16211         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16212         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16213         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16214         of "multiarch/init-arch.h".
16215         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16216         * sysdeps/x86/init-arch.h: This.
16218 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16220         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16221         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16223 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16225         [BZ #17787]
16226         * manual/macros.texi: Add twoexp macro.
16227         * manual/filesys.texi: Fix exponents.
16228         * manual/llio.texi: Likewise.
16229         * manual/stdio.texi: Likewise.
16231 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16233         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16234         incorrect use.
16236 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16238         [BZ #18370]
16239         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16240         whose real or imaginary part has small absolute value.
16241         * math/s_csqrtf.c (__csqrtf): Likewise.
16242         * math/s_csqrtl.c (__csqrtl): Likewise.
16243         * math/auto-libm-test-in: Add more tests of csqrt.
16244         * math/auto-libm-test-out: Regenerated.
16245         * sysdeps/i386/fpu/libm-test-ulps: Update.
16247 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16249         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16250         __ppc_set_ppr_very_low): New functions.
16251         * manual/platform.texi: Add documentation about
16252         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16254 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16256         * string/stpncpy.c (stpncpy): Improve performance using
16257         __strnlen/memcpy/memset.
16259 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16261         [BZ #18796]
16262         * scripts/test-installation.pl: Don't add -lmvec to build options if
16263         libmvec wasn't built.
16265 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16267         [BZ #14341]
16268         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16269         case when there is a gap between DT_REL and DT_JMPREL sections.
16270         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16271         (LDFLAGS-tst-split-dynreloc): New.
16272         (tst-split-dynreloc-ENV): Likewise.
16273         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16274         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16276 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16278         [BZ #18822]
16279         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16280         attribute_hidden.
16281         (__xstat64_conv): Likewise.
16282         (__xstat32_conv): Likewise.
16284 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16286         [BZ #18822]
16287         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16288         Don't load %ebx when calling __setcontext.  Call __setcontext
16289         with HIDDEN_JUMPTARGET.
16290         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16291         libc_hidden_def.
16293 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16295         * sysdeps/i386/i686/Makefile
16296         [$(subdir) == string] (sysdep_routines): Moved to ...
16297         * sysdeps/i386/Makefile: Here.
16298         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16299         * sysdeps/i386/cacheinfo.c: Here.
16300         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16301         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16302         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16303         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16305 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16307         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16308         __i586__ is defined.
16309         (HAS_I686): Defined to 1 if __i686__ is defined.
16311 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16313         * elf/Makefile [$(have-z-execstack) = yes]
16314         (CPPFLAGS-tst-execstack.c): New variable.
16316         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16317         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16318         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16319         UTMPX || _HAVE_UT_TV].
16320         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16321         UTMPX || _HAVE_UT_TV - 0].
16323 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16325         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16326         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16327         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16329 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16331         * sysdeps/powerpc/dl-procinfo.c:
16332         (_dl_powerpc_cap_flags): Added missing strings for some
16333         hwcap features.
16334         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16336 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16338         Port the 0x7efe...feff pattern to GCC 6.
16339         See Steve Ellcey's bug report in:
16340         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16341         * string/memrchr.c (MEMRCHR):
16342         * string/rawmemchr.c (RAWMEMCHR):
16343         * string/strchr.c (strchr):
16344         * string/strchrnul.c (STRCHRNUL):
16345         Rewrite code to avoid issues with signed shift overflow.
16347 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16349         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16350         whether cpuid is available only if HAS_CPUID is 0.
16351         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16352         (HAS_I586): Likewise.
16353         (HAS_I686): Likewise.
16355 2015-08-18  Zack Weinberg  <zackw@panix.com>
16357         * misc/Versions (libc): Add GLIBC_2.23.
16359 2015-08-18  Alan Modra  <amodra@gmail.com>
16361         [BZ #18421]
16362         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16363         .Lp__global.
16364         (_start): Load %dp via .Lp__global.
16365         [!SHARED]: Use .section .rodata.
16367 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16369         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16370         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16372 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16374         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16375         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16377 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16379         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16380         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16382 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16384         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16385         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16387 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16389         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16390         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16392 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16394         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16395         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16397 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16399         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16401 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16403         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16404         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16405         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16406         (__ASSUME_LWS_CAS): Delete.
16408 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16410         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16411         * sysdeps/hppa/configure: Regenerated.
16412         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16413         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16414         * sysdeps/hppa/nptl/tls.h: Likewise.
16416 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16418         [BZ #18823]
16419         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16420         for scaling up small arguments.
16421         * math/s_csqrtf.c (__csqrtf): Likewise.
16422         * math/s_csqrtl.c (__csqrtl): Likewise.
16423         * math/auto-libm-test-in: Add more tests of csqrt.
16424         * math/auto-libm-test-out: Regenerated.
16426 2015-08-17  Andreas Schwab  <schwab@suse.de>
16428         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16429         version set GLIBC_2.19.
16431 2015-08-16  Zack Weinberg  <zackw@panix.com>
16433         [BZ #18681]
16434         * misc/regexp.h: This interface is no longer supported.
16435         Remove all contents, leaving only an #error directive.
16436         * misc/regexp.c (loc1, loc2, locs, step, advance):
16437         Demote to compatibility symbols.
16439 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16441         [BZ #18084]
16442         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16443         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16444         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16445         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16446         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16447         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16448         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16449         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16450         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16452 2015-08-15  Zack Weinberg  <zackw@panix.com>
16454         [BZ #18795]
16455         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16456         buffer length is known to be too large, not if it's known to be
16457         small enough.
16458         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16459         overflow at runtime, involving a length parameter, twice: once
16460         with a compile-time constant length parameter, once without.
16462 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16464         [BZ #18824]
16465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16466         scaling x * y up instead of down.
16467         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16468         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16469         * math/auto-libm-test-in: Add more tests of fma.
16470         * math/auto-libm-test-out: Regenerated.
16472 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16476 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16478         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16479         unnecessary movq.
16480         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16481         Likewise.
16483 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16485         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16486         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16487         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16488         and tgamma.
16489         * math/auto-libm-test-out: Regenerated.
16490         * sysdeps/i386/fpu/libm-test-ulps: Update.
16491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16493         [BZ #16520]
16494         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16495         (__tanh): Force underflow exception for arguments with small
16496         absolute value.
16497         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16498         (__tanhf): Force underflow exception for arguments with small
16499         absolute value.
16500         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16501         (__tanhl): Force underflow exception for arguments with small
16502         absolute value.
16503         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16504         (__tanhl): Force underflow exception for arguments with small
16505         absolute value.
16506         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16507         (__tanhl): Force underflow exception for arguments with small
16508         absolute value.
16509         * math/auto-libm-test-in: Add more tests of tanh.
16510         * math/auto-libm-test-out: Regenerated.
16511         * sysdeps/i386/fpu/libm-test-ulps: Update.
16513 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16515         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16516         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16518 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16520         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16521         <cpuid.h>.
16523 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16525         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16526         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16528 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16530         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16531         Remove $(objpfx)init-arch.o.
16532         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16533         init-arch.
16534         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16535         (INIT_ARCH_EXT): Defined as empty.
16536         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16537         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16538         __init_cpu_features call.  Replace HAS_XXX with
16539         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16540         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16541         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16542         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16543         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16544         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16545         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16546         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16547         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16548         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16549         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16550         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16551         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16552         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16554         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16558         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16559         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16562         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16564         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16567         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16568         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16569         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16570         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16571         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16572         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16573         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16574         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16576 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16578         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16579         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16580         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16581         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16582         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16583         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16584         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16585         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16586         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16587         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16588         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16589         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16590         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16591         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16592         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16593         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16594         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16595         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16596         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16597         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16598         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16599         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16600         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16601         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16602         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16603         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16604         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16605         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16606         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16607         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16608         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16609         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16610         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16611         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16612         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16613         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16614         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16615         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16616         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16617         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16618         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16619         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16620         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16622 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16624         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16625         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16626         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16627         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16628         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16629         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16630         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16631         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16632         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16633         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16634         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16635         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16636         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16637         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16638         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16639         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16640         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16641         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16642         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16643         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16645         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16646         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16647         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16648         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16649         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16650         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16651         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16652         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16653         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16654         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16655         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16656         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16657         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16658         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16659         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16660         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16661         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16662         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16663         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16664         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16665         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16666         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16668 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16670         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16671         (dl_platform_init): Call init_cpu_features.
16672         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16673         * sysdeps/i386/i686/cacheinfo.c
16674         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16675         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16676         * sysdeps/i386/i686/multiarch/Versions: Removed.
16677         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16678         Removed.
16679         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16680         * sysdeps/unix/sysv/linux/x86/Makefile
16681         (libpthread-sysdep_routines): Remove init-arch.
16682         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16683         <sysdeps/x86_64/dl-procinfo.c> instead of
16684         sysdeps/generic/dl-procinfo.c>.
16685         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16686         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16687         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16688         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16689         [$(subdir) == elf] (tests-static): Add
16690         tst-get-cpu-features-static.
16691         * sysdeps/x86/Versions: New file.
16692         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16693         * sysdeps/x86/cpu-features.c: Likewise.
16694         * sysdeps/x86/cpu-features.h: Likewise.
16695         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16696         * sysdeps/x86/libc-start.c: Likewise.
16697         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16698         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16699         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16700         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16701         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16702         Assume USE_MULTIARCH is defined and don't check it.
16703         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16704         (is_amd): Likewise.
16705         (max_cpuid): Likewise.
16706         (intel_check_word): Likewise.
16707         (__cache_sysconf): Don't call __init_cpu_features.
16708         (__x86_preferred_memory_instruction): Removed.
16709         (init_cacheinfo): Don't call __init_cpu_features. Replace
16710         __cpu_features with GLRO(dl_x86_cpu_features).
16711         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16712         (dl_platform_init): Call init_cpu_features.
16713         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16714         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16715         * sysdeps/x86_64/multiarch/Versions: Removed.
16716         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16717         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16718         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16719         Removed.
16720         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16722 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16724         [BZ #18820]
16725         * libio/Makefile (test-fmemopen-mem): New test.
16726         * libio/test-fmemopen.c (do_bz18820): New test.
16727         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16728         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16730 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16732         [BZ #16734]
16733         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16734         (FREE_BUF): Delete.
16735         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16736         * libio/genops.c (_IO_setb): Use malloc and free directly.
16737         (_IO_default_doallocate, _IO_default_finish): Likewise.
16738         ( _IO_unbuffer_all): Likewise.
16739         ( libc_freeres_fn): Likewise.
16740         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16741         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16742         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16743         (_IO_wdefault_doallocate): Likewise.
16745 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16747         [BZ #18086]
16748         * sysdeps/posix/nice.c (nice): Restore old errno.
16749         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16751 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16753         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16755 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16757         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16758         __bcopy and add a weak_alias to bcopy.
16759         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16760         for static build.
16762         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16763         cleanup macro usage.
16764         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16765         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16766         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16767         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16768         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16769         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16770         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16771         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16772         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16773         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16774         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16775         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16776         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16777         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16778         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16779         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16780         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16781         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16782         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16784         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16785         libc_hidden_def.
16786         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16788         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16789         (sysdep_routines): Add strstr-ppc64.
16790         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16792 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16794         [BZ #18778]
16795         * elf/Makefile (tests): Add Add tst-nodelete2.
16796         (modules-names): Add tst-nodelete2mod.
16797         (tst-nodelete2mod.so-no-z-defs): New.
16798         ($(objpfx)tst-nodelete2): Likewise.
16799         ($(objpfx)tst-nodelete2.out): Likewise.
16800         (LDFLAGS-tst-nodelete2): Likewise.
16801         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16802         out of loop through all loaded libraries.
16803         * elf/tst-nodelete2.c: New file.
16804         * elf/tst-nodelete2mod.c: Likewise.
16805         * elf/tst-znodelete-zlib.cc: Delete.
16807 2015-08-11  Andreas Schwab  <schwab@suse.de>
16809         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16810         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16811         (__openat64_nocancel): Likewise.
16813 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16815         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16816         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16817         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16818         * math/auto-libm-test-out: Regenerated.
16819         * sysdeps/i386/fpu/libm-test-ulps: Update.
16820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16822 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16824         [BZ #18790]
16825         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16826         threshold for returning +/- 1.
16827         * math/auto-libm-test-in: Add more tests of tanh.
16828         * math/auto-libm-test-out: Regenerated.
16829         * sysdeps/i386/fpu/libm-test-ulps: Update.
16831 2015-08-10  Andreas Schwab  <schwab@suse.de>
16833         [BZ #18781]
16834         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16835         MORE_OFLAGS to oflag.
16836         * io/test-lfs.c (do_test): Test openat64.
16838 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16840         [BZ #18789]
16841         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16842         smaller threshold for returning the argument.
16843         * math/auto-libm-test-in: Add more tests of sinh.
16844         * math/auto-libm-test-out: Regenerated.
16845         * sysdeps/i386/fpu/libm-test-ulps: Update.
16847 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16849         [BZ #18674]
16850         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16851         break.
16853 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16855         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16856         (generated): Don't add $(addprefix z.,$(tzfiles)).
16858 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16860         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16861         * scripts/sysd-rules.awk: Likewise.
16863 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16865         * iconvdata/tst-tables.sh: Change echo -n to printf.
16866         * nss/db-Makefile: Likewise.
16867         * posix/tst-getconf.sh: Likewise.
16868         * stdio-common/tst-unbputc.sh: Likewise.
16870 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16872         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16873         MADV_*_PAGES defines behind this feature check.
16875 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16877         [BZ #18480]
16878         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16879         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16880         Define.
16881         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16882         LOAD_REGS_5, LOAD_REGS_6): Update.
16883         (INTERNAL_SYSCALL): Update using new LOAD defines.
16884         (INTERNAL_SYSCALL_NCS): Likewise.
16885         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16887 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16889         [BZ #16734]
16890         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16892 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16894         [BZ #17905]
16895         * catgets/Makefile (tst-catgets-mem): New test.
16896         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16897         * catgets/open_catalog.c (__open_catalog): Likewise.
16898         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16900 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16902         [BZ #18787]
16903         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16904         clobber registers.
16905         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16906         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16907         Cast return to __typeof (oldval).
16909 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16911         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16912         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16913         and delete sys/syscall.h include.
16915 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16917         [BZ #16517]
16918         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16919         (tan): Force underflow exception for arguments with small absolute
16920         value.
16921         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16922         (__kernel_tanf): Force underflow exception for arguments with
16923         small absolute value.
16924         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16925         (__kernel_tanl): Force underflow exception for arguments with
16926         small absolute value.
16927         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16928         (__kernel_tanl): Force underflow exception for arguments with
16929         small absolute value.
16930         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16931         (__kernel_tanl): Force underflow exception for arguments with
16932         small absolute value.
16933         * math/auto-libm-test-in: Add more tests of tan.
16934         * math/auto-libm-test-out: Regenerated.
16936 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16938         Fix sysdeps/i386/fpu/s_scalbn.S build
16940         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16942 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16944         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16946 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16948         Fix gcrt0.o compilation
16950         When static-start-installed-name is different from
16951         start-installed-name, we must not use the shared objects.
16953         * csu/Makefile
16954         (extra-objs): Add gmon-start.o when building shared library and
16955         $(static-start-installed-name) is different from
16956         $(start-installed-name).
16957         $(objpfx)g$(static-start-installed-name): When building shared
16958         library and $(static-start-installed-name) is different from
16959         $(static-start-installed-name), revert to non-shared rule,
16960         i.e. using $(objpfx)% and gmon-start.o.
16962 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16964         [BZ #16519]
16965         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16966         (__ieee754_sinh): Force underflow exception for arguments with
16967         small absolute value.
16968         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16969         (__ieee754_sinhf): Force underflow exception for arguments with
16970         small absolute value.
16971         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16972         (__ieee754_sinhl): Force underflow exception for arguments with
16973         small absolute value.
16974         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16975         (__ieee754_sinhl): Force underflow exception for arguments with
16976         small absolute value.
16977         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16978         (__ieee754_sinhl): Force underflow exception for arguments with
16979         small absolute value.
16980         * math/auto-libm-test-in: Add more tests of sinh.
16981         * math/auto-libm-test-out: Regenerated.
16982         * sysdeps/i386/fpu/libm-test-ulps: Update.
16984 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16986         * libio/oldfileops.c: Include unistd.h.
16988 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16990         * stdlib/isomac.c: Include ctype.h.
16992 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16994         * dirent/tst-seekdir.c (main): Converted to ...
16995         (do_test): ... this.
16996         (TEST_FUNCTION): New macro.
16997         Include test-skeleton.c.
16998         * elf/tst-dlmodcount.c (main): Converted to ...
16999         (do_test): ... this.
17000         (TEST_FUNCTION): New macro.
17001         Include test-skeleton.c.
17002         * elf/tst-order-main.c (main): Converted to ...
17003         (do_test): ... this.
17004         (TEST_FUNCTION): New macro.
17005         Include test-skeleton.c.
17006         * elf/tst-pie2.c (main): Converted to ...
17007         (do_test): ... this.
17008         (TEST_FUNCTION): New macro.
17009         Include test-skeleton.c.
17010         * inet/tst-ether_aton.c (main): Converted to ...
17011         (do_test): ... this.
17012         (TEST_FUNCTION): New macro.
17013         Include test-skeleton.c.
17014         * misc/tst-mntent.c (main): Converted to ...
17015         (do_test): ... this.
17016         (TEST_FUNCTION): New macro.
17017         Include test-skeleton.c.
17018         * misc/tst-tsearch.c (main): Converted to ...
17019         (do_test): ... this.
17020         (TEST_FUNCTION): New macro.
17021         Include test-skeleton.c.
17022         * posix/tst-regexloc.c (main): Converted to ...
17023         (do_test): ... this.
17024         (TEST_FUNCTION): New macro.
17025         Include test-skeleton.c.
17026         * resolv/tst-aton.c (main): Converted to ...
17027         (do_test): ... this.
17028         (TEST_FUNCTION): New macro.
17029         Include test-skeleton.c.
17030         * stdio-common/test-fwrite.c (main): Converted to ...
17031         (do_test): ... this.
17032         (TEST_FUNCTION): New macro.
17033         Include test-skeleton.c.
17034         * stdio-common/tst-ferror.c (main): Converted to ...
17035         (do_test): ... this.
17036         (TEST_FUNCTION): New macro.
17037         Include test-skeleton.c.
17038         * stdio-common/tst-printf.c (main): Converted to ...
17039         (do_test): ... this.
17040         (TEST_FUNCTION): New macro.
17041         Include test-skeleton.c.
17042         * stdio-common/tst-printfsz.c (main): Converted to ...
17043         (do_test): ... this.
17044         (TEST_FUNCTION): New macro.
17045         Include test-skeleton.c.
17046         * stdlib/tst-strtod.c (main): Converted to ...
17047         (do_test): ... this.
17048         (TEST_FUNCTION): New macro.
17049         Include test-skeleton.c.
17050         * string/tst-strlen.c (main): Converted to ...
17051         (do_test): ... this.
17052         (TEST_FUNCTION): New macro.
17053         Include test-skeleton.c.
17054         * string/tst-svc.c (main): Converted to ...
17055         (do_test): ... this.
17056         (TEST_FUNCTION): New macro.
17057         Include test-skeleton.c.
17058         * time/tst-strptime.c (main): Converted to ...
17059         (do_test): ... this.
17060         (TEST_FUNCTION): New macro.
17061         Include test-skeleton.c.
17062         * timezone/tst-timezone.c (main): Converted to ...
17063         (do_test): ... this.
17064         (TEST_FUNCTION): New macro.
17065         Include test-skeleton.c.
17067 2015-08-05  Zack Weinberg  <zackw@panix.com>
17069         * misc/regexp.h: Update comments.
17071 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17073         [BZ #18635]
17074         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17075         before return label.
17077 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17079         [BZ #18661]
17080         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17081         when calling __errno_location.
17082         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17083         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17085 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17087         [BZ #18661]
17088         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17089         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17090         __gettimeofday.
17092 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17094         [BZ #18661]
17095         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17096         (__start_context): Don't use pop to restore %rdi so that stack
17097         is aligned to 16 bytes when calling __setcontext.
17099 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17101         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17102         only for libc.
17103         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17105 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17107         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17108         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17109         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17111 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17113         * string/memccpy.c (memccpy):
17114         Improve performance by using memchr/memcpy/__mempcpy.
17116 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17118         * string/strncpy.c (strncpy):
17119         Improve performance by using __strnlen/memcpy.
17121 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17123         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17124         Optimize to avoid an unnecessary FPCR read.
17126 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17128         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17129         Optimize to reduce FPCR/FPSR accesses.
17131 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17133         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17134         dead->data[category] != NULL.
17136 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17138         [BZ #18647]
17139         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17140         and |x| close to 1, use absolute value of x when computing log.
17141         * math/auto-libm-test-in: Add more tests of pow.
17142         * math/auto-libm-test-out: Regenerated.
17144 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17146         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17147         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17148         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17150 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17152         [BZ #18525]
17153         * locales/km_KH: Remove timezone definition.
17154         * locales/lo_LA: Likewise.
17155         * locales/my_MM: Likewise.
17156         * locales/nan_TW@latin: Likewise.
17157         * locales/th_TH: Likewise.
17158         * locales/uk_UA: Likewise.
17160 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17162         [BZ #18265]
17163         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17164         (wcsncat): Likewise.
17165         (wcscmp): Likewise.
17166         (wcsncmp): Likewise.
17168 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17170         * test-skeleton.c (usage): New function.
17171         (main): Call usage when opt is '?'.
17173 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17175         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17176         before first use.
17178 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17180         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17181         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17182         in there too.
17184 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17186         * version.h (RELEASE): Set to "development".
17187         (VERSION): Set to "2.22.90"
17189         * version.h (RELEASE): Set to "stable".
17190         (VERSION): Set to "2.22"
17191         * include/features.h (__GLIBC_MINOR__): Set to 22.
17193 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17195         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17196         Restructure macro to avoid "value computed is not used" warning.
17197         (atomic_compare_and_exchange_val_acq): Likewise.
17199 2015-08-04  Andreas Schwab  <schwab@suse.de>
17201         [BZ #18635]
17202         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17203         ret.
17204         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17206 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17208         * po/pl.po: Updated translation.
17209         * po/uk.po: Likewise.
17210         * po/fi.po: Likewise.
17211         * po/ko.po: Likewise.
17212         * po/ru.po: Likewise.
17213         * po/vi.po: Likewise.
17215 2015-07-31  Zack Weinberg  <zackw@panix.com>
17217         [BZ #18681]
17218         * regexp.h: Add unconditional #warning stating that this header
17219         will be removed soon.  Revise banner comment to match.
17220         (compile): Consistently use ERROR instead of RETURN to report
17221         errors (partial fix for bz#18681).
17222         * regexp.c: Don't include regexp.h. Remove some unnecessary
17223         declarations.
17225 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17227         * po/libc.pot: Regenerated.
17229 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17231         [BZ #18740]
17232         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17233         float-vlen4-arch-ext-cflags): Removed.
17234         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17235         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17237 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17239         [BZ #14113]
17240         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17241         aligned to __aligned__.
17242         (pthread_cond_t, pthread_rwlock_t): Likewise.
17244 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17246         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17248 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17250         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17251         (struct sigaction): Change sa_flags from a long to an int, and add
17252         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17254 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17256         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17257         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17258         sysdeps/generic/sysdep.h include.
17259         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17260         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17261         sysdeps/hppa/sysdep.h.
17262         (ENTRY, PSEUDO): Undefine before defining.
17264 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17266         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17267         from scratch to use INTERNAL_SYSCALL.
17269 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17271         [BZ #18078]
17272         * scripts/check-localplt.awk: Support alternate relocations.
17273         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17274         sections.
17275         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17276         malloc entries with + REL R_386_GLOB_DAT.
17277         * sysdeps/x86_64/localplt.data: New file.
17279 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17281         [BZ #18731]
17282         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17283         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17284         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17286 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17288         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17290 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17292         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17293         directly in terms of __sync_fetch_and_add and delete (int) cast.
17295 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17297         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17298         the -D_ASM_IA64_CURRENT_H flag.
17300 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17302         [BZ #18641]
17303         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17305 2015-07-27  Andreas Schwab  <schwab@suse.de>
17307         * conform/conformtest.pl (checknamespace): Filter out string
17308         literals while tokenizing.
17310 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17312         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17313         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17314         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17316 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17318         * nptl/tst-join7mod.c: Add #include <string.h>.
17320 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17322         * sysdeps/nios2/libm-test-ulps: Update.
17324 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17326         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17327         Fix order of arguments to the rt_sigprocmask syscall.
17328         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17329         Likewise.
17331 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17333         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17335 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17337         [BZ #18457]
17338         * nptl/Makefile (tests): New test case tst-join7.
17339         (modules-names): New test case module tst-join7mod.
17340         * nptl/tst-join7.c: New file.
17341         * nptl/tst-join7mod.c: New file.
17342         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17343         all translation units in libc.so, libpthread.so and rtld.
17345 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17349 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17351         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17352         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17353         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17354         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17356         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17358         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17360         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17361         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17362         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17363         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17364         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17366         implementation.
17368 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17370         [BZ #17711]
17371         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17372         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17373         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17374         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17375         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17376         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17378 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17380         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17381         instead of just saying load lock in the comments.
17383 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17385         * sysdeps/unix/Subdirs: Moved ...
17386         * sysdeps/posix/Subdirs: ... here.
17387         * login/pty.h (struct termios, struct winsize): Add forward decls.
17388         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17389         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17390         * sysdeps/arm/nacl/libc.abilist: Updated.
17391         * sysdeps/nacl/libutil.abilist: New file.
17393         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17394         (SIGWINCH): New macro.
17396         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17397         * sysdeps/arm/nacl/libc.abilist: Add it.
17399 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17401         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17403 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17405         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17406         Swap __glibc_reserved0 and sa_flags order.
17408 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17410         [BZ #18657]
17411         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17412         are pending TLS destructor calls.
17413         * include/link.h (struct link_map): Add concurrency note for
17414         L_TLS_DTOR_COUNT.
17415         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17416         Don't touch the link map flag.  Atomically increment
17417         l_tls_dtor_count.
17418         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17419         Avoid taking the load lock and don't touch the link map flag.
17420         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17421         * stdlib/Makefile (tests): Use it.
17422         * stdlib/tst-tls-atexit.c (do_test): dlopen
17423         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17424         to allow tst-tls-atexit-nodelete test case to use it.
17426 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17428         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17429         to bits/types.h.
17430         (msgqnum_t): New typedef.
17431         (msglen_t): Likewise.
17432         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17433         and msg_qbytes type to msglen_t.
17435 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17437         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17438         pad0 to __glibc_reserved0.
17439         (struct stat64): Likewise.
17441 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17443         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17444         Change sa_flags from a long to an int and add __glibc_reserved0 before
17445         it for padding.
17447 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17449         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17450         anonymous by deleting "siginfo" name.
17452 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17454         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17455         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17456         rather than __nacl_irt_filename.
17457         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17459         * NEWS: New item for arm-nacl port.
17460         * sysdeps/arm/nacl/libc.abilist: New file.
17461         * sysdeps/nacl/ld.abilist: New file.
17462         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17463         * sysdeps/nacl/libanl.abilist: New file.
17464         * sysdeps/nacl/libcrypt.abilist: New file.
17465         * sysdeps/nacl/libdl.abilist: New file.
17466         * sysdeps/nacl/libm.abilist: New file.
17467         * sysdeps/nacl/libpthread.abilist: New file.
17468         * sysdeps/nacl/libresolv.abilist: New file.
17469         * sysdeps/nacl/librt.abilist: New file.
17471 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17473         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17474         __startcontext to initialize the new context.
17475         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17476         up CFI directive to forbid further backtracing.
17478 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17480         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17481         reference.
17482         * charmaps/ANSI_X3.4-1968: Likewise.
17483         * charmaps/BS_4730: Likewise.
17484         * charmaps/BS_VIEWDATA: Likewise.
17485         * charmaps/CP1250: Likewise.
17486         * charmaps/CP1251: Likewise.
17487         * charmaps/CP1252: Likewise.
17488         * charmaps/CP1253: Likewise.
17489         * charmaps/CP1254: Likewise.
17490         * charmaps/CP1255: Likewise.
17491         * charmaps/CP1256: Likewise.
17492         * charmaps/CSN_369103: Likewise.
17493         * charmaps/EBCDIC-DK-NO: Likewise.
17494         * charmaps/GB_1988-80: Likewise.
17495         * charmaps/GREEK-CCITT: Likewise.
17496         * charmaps/GREEK7: Likewise.
17497         * charmaps/INIS-8: Likewise.
17498         * charmaps/ISIRI-3342: Likewise.
17499         * charmaps/ISO_2033-1983: Likewise.
17500         * charmaps/ISO_5427-EXT: Likewise.
17501         * locales/POSIX: Likewise.
17502         * locales/ar_SA: Likewise.
17503         * locales/be_BY: Likewise.
17504         * locales/be_BY@latin: Likewise.
17505         * locales/ca_ES: Likewise.
17506         * locales/cs_CZ: Likewise.
17507         * locales/da_DK: Likewise.
17508         * locales/de_BE: Likewise.
17509         * locales/de_CH: Likewise.
17510         * locales/de_LU: Likewise.
17511         * locales/en_AU: Likewise.
17512         * locales/en_BW: Likewise.
17513         * locales/en_CA: Likewise.
17514         * locales/en_DK: Likewise.
17515         * locales/en_GB: Likewise.
17516         * locales/en_IE: Likewise.
17517         * locales/en_NZ: Likewise.
17518         * locales/en_ZA: Likewise.
17519         * locales/en_ZW: Likewise.
17520         * locales/es_AR: Likewise.
17521         * locales/es_BO: Likewise.
17522         * locales/es_CL: Likewise.
17523         * locales/es_CO: Likewise.
17524         * locales/es_DO: Likewise.
17525         * locales/es_EC: Likewise.
17526         * locales/es_ES: Likewise.
17527         * locales/es_HN: Likewise.
17528         * locales/es_MX: Likewise.
17529         * locales/es_PA: Likewise.
17530         * locales/es_PE: Likewise.
17531         * locales/es_PY: Likewise.
17532         * locales/es_SV: Likewise.
17533         * locales/es_US: Likewise.
17534         * locales/es_UY: Likewise.
17535         * locales/es_VE: Likewise.
17536         * locales/et_EE: Likewise.
17537         * locales/fa_IR: Likewise.
17538         * locales/fo_FO: Likewise.
17539         * locales/fr_CA: Likewise.
17540         * locales/fr_CH: Likewise.
17541         * locales/gv_GB: Likewise.
17542         * locales/he_IL: Likewise.
17543         * locales/hr_HR: Likewise.
17544         * locales/id_ID: Likewise.
17545         * locales/is_IS: Likewise.
17546         * locales/it_CH: Likewise.
17547         * locales/iw_IL: Likewise.
17548         * locales/kl_GL: Likewise.
17549         * locales/ko_KR: Likewise.
17550         * locales/kw_GB: Likewise.
17551         * locales/lg_UG: Likewise.
17552         * locales/lt_LT: Likewise.
17553         * locales/lv_LV: Likewise.
17554         * locales/mi_NZ: Likewise.
17555         * locales/nhn_MX: Likewise.
17556         * locales/nl_BE: Likewise.
17557         * locales/pl_PL: Likewise.
17558         * locales/sk_SK: Likewise.
17559         * locales/sl_SI: Likewise.
17560         * locales/sv_FI: Likewise.
17561         * locales/tl_PH: Likewise.
17562         * locales/tr_TR: Likewise.
17563         * locales/vi_VN: Likewise.
17565 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17567         [BZ #17475]
17568         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17569         of tu_IN and bh_IN.
17571 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17573         [BZ #18694]
17574         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17575         bits/wordsize.h.
17576         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17578 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17580         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17581         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17582         (spawn_thread): New function.
17583         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17584         (do_test): ... here.  Use IS_LOADED to test for its
17585         availability.
17587 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17589         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17591 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17593         [BZ #18696]
17594         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17595         si_addr_bnd.
17596         (si_lower): New.
17597         (si_upper): Likewise.
17599 2015-07-16  David S. Miller  <davem@davemloft.net>
17601         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17603 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17605         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17606         buffer.
17607         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17608         fail output information.
17610 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17613         and strstr-ppc64..
17614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17615         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17616         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17617         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17618         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17620 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17622         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17623         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17624         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17625         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17627 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17629         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17630         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17631         rtld_hidden_proto.
17632         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17634 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17636         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17637         the test can fail.
17639         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17641         [BZ #18676]
17642         * elf/tst-nodelete-opened.c: New test case.
17643         * elf/tst-nodelete-opened-lib.c: New test case module.
17644         * elf/Makefile (tests, modules-names): Use them.
17645         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17646         early.
17648 2015-07-15  David S. Miller  <davem@davemloft.net>
17650         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17651         futex-intenal.h
17652         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17653         * sysdeps/sparc/sparc64/Makefile: Likewise.
17654         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17655         Remove space from macro define.
17656         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17658 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17660         [BZ #17475]
17661         * locale/iso-639.def: Update Bhili and Tulu language codes as
17662         per iso639-3.
17664 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17666         * elf/tst-leaks1.c (main): Converted to ...
17667         (do_test): ... this.
17668         (TEST_FUNCTION): New macro.
17669         Include test-skeleton.c.
17670         * localedata/tst-langinfo.c (main): Converted to ...
17671         (do_test): ... this.
17672         (TEST_FUNCTION): New macro.
17673         Include test-skeleton.c.
17674         * math/test-fpucw.c (main): Converted to ...
17675         (do_test): ... this.
17676         (TEST_FUNCTION): New macro.
17677         Include test-skeleton.c.
17678         * math/test-tgmath.c (main): Converted to ...
17679         (do_test): ... this.
17680         (TEST_FUNCTION): New macro.
17681         Include test-skeleton.c.
17682         * math/test-tgmath2.c (main): Converted to ...
17683         (do_test): ... this.
17684         (TEST_FUNCTION): New macro.
17685         Include test-skeleton.c.
17686         * setjmp/tst-setjmp.c (main): Converted to ...
17687         (do_test): ... this.
17688         (TEST_FUNCTION): New macro.
17689         Include test-skeleton.c.
17690         * stdio-common/tst-sscanf.c (main): Converted to ...
17691         (do_test): ... this.
17692         (TEST_FUNCTION): New macro.
17693         Include test-skeleton.c.
17694         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17695         (do_test): ... this.
17696         (TEST_FUNCTION): New macro.
17697         Include test-skeleton.c.
17699         * elf/tst-audit9.c (main): Converted to ...
17700         (do_test): ... this.
17701         (TEST_FUNCTION): New macro.
17702         Include test-skeleton.c.
17704 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17706         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17708 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17710         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17711         New variable.
17713 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17715         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17717 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17719         * sysdeps/generic/dl-fileid.h: New file.
17720         * sysdeps/posix/dl-fileid.h: New file.
17721         * sysdeps/nacl/dl-fileid.h: New file.
17722         * include/link.h: Include <dl-fileid.h>.
17723         (struct link_map): Replace l_dev and l_ino with l_file_id.
17724         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17725         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17726         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17728 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17730         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17732 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17734         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17735         Add iff $CXX is set.
17736         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17737         Likewise.
17738         (tst-nodelete-zmodiff): Likewise.
17739         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17741 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17743         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17745 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17747         * sysdeps/aarch64/fpu/math_private.h
17748         (define math_opt_barrier): Add AArch64 version.
17749         (math_force_eval): Likewise.
17751 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17753         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17755 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17757         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17758         %ld with %jd and cast to intmax_t.
17759         (do_test_length_zero): Likewise.
17761 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17763         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17765 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17767         * sysdeps/tile/libm-test-ulps: Regenerated.
17769         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17770         Comment out the whole function, not just its body.
17772 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17774         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17775         locks.
17777         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17779 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17781         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17782         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17784 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17786         * sysdeps/nptl/futex-internal.h: New file.
17787         * sysdeps/nacl/futex-internal.h: New file.
17788         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17789         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17790         error checking.
17791         (setxid_unmark_thread): Likewise.
17792         (__nptl_setxid): Likewise.
17793         (__wait_lookup_done): Likewise.
17794         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17795         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17796         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17797         * nptl/pthread_once.c (clear_once_control): Likewise.
17798         (__pthread_once_slow): Likewise.
17799         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17800         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17801         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17802         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17803         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17804         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17805         Likewise.
17806         (__pthread_rwlock_rdlock): Likewise.
17807         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17808         Likewise.
17809         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17810         Likewise.
17811         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17812         Likewise.
17813         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17814         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17815         Likewise.
17816         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17817         __ASSUME_PRIVATE_FUTEX check.
17818         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17819         Check that shared futexes are supported.
17820         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17821         wrappers with error checking.
17822         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17823         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17824         * nptl/pthread_barrierattr_setpshared.c
17825         (pthread_barrierattr_setpshared): Check that shared futexes are
17826         supported.
17827         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17828         Likewise.
17829         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17830         Likewise.
17831         * nptl/sem_init.c (futex_private_if_supported): Remove.
17832         (__new_sem_init): Adapt and check that shared futexes are supported.
17833         * nptl/sem_open.c (sem_open): Likewise.
17834         * nptl/sem_post.c (futex_wake): Remove.
17835         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17836         (do_futex_wait): Use futex wrappers with error checking.
17837         * nptl/sem_wait.c: Include lowlevellock.h.
17838         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17839         Use futex_supports_pshared.
17840         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17841         Use futex wrappers with error checking.
17842         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17843         Likewise.
17844         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17845         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17846         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17847         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17848         (futex_wake): Likewise.
17849         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17850         (do_futex_wait): Use futex wrappers with error checking.
17851         (__new_sem_wait_slow): Update EINTR handling.
17852         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17854 2015-07-09  Martin Sebor  <msebor@redhat.com>
17856         [BZ #18435]
17857         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17858         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17859         * nptl/Makefile (test-xfail-tst-once5): Define.
17861 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17863         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17864         * elf/dl-minimal.c: For readability, reorder some definitions and
17865         introduce more page breaks.  Include <stdio.h>.
17866         (__libc_fatal): New function.
17868         * include/unistd.h: Add rtld_hidden_proto for _exit.
17869         * posix/_exit.c: Add rtld_hidden_def.
17870         * sysdeps/mach/hurd/_exit.c: Likewise.
17871         * sysdeps/nacl/_exit.c: Likewise.
17872         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17873         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17875 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17877         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17878         bndmov encoding with zero displacement.
17880 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17881             H.J. Lu  <hongjiu.lu@intel.com>
17883         [BZ #18134]
17884         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17885         * sysdeps/i386/configure: Regenerated.
17886         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17887         (_dl_runtime_profile): Save and restore Intel MPX return bound
17888         registers when calling _dl_call_pltexit.  Add
17889         PRESERVE_BND_REGS_PREFIX before return.
17890         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17891         (LRV_BND1_OFFSET): Likewise.
17892         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17893         lrv_bnd1.
17894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17895         typo in bndmov encoding.
17896         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17897         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17898         branch instructions to preserve bounds.
17900 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17903         [GLIBC_2.22]: Add fmemopen.
17905 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17907         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17908         returns an error, also try to use host port from __mach_host_self for
17909         the __vm_wire call.
17910         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17912 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17914         [BZ #18400]
17915         [BZ #18648]
17916         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17917         Fix pr_uid and pr_gid members.
17918         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17919         definition to elf_greg_t.
17921 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17923         [BZ #18383]
17924         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17925         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17926         * sysdeps/arm/configure: Regenerated.
17927         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17928         (test-xfail-tst-tlsalign-static): Variable removed.
17930         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17931         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17932         rather than explicit 'ln -s'.
17934         * resolv/rpc/netdb.h: New file.
17935         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17937 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17939         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17940         length buffers.
17941         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17942         test-skeleton.c.
17944         [BZ #6544]
17945         [BZ #11216]
17946         [BZ #12836]
17947         [BZ #13151]
17948         [BZ #13152]
17949         [BZ #14292]
17950         * include/stdio.h (fmemopen): Remove hidden prototype.
17951         (__fmemopen): Add new hidden prototype.
17952         * libio/Makefile: Add oldfmemopen object.
17953         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17954         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17955         compliance.
17956         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17957         symbol compatibility.
17958         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17959         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17960         fmemopen.
17961         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17962         on append and read mode.
17963         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17964         fmemopen.
17965         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17966         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17967         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17968         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17969         Likewise.
17970         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17971         [GLIBC_2.22]: Likewise.
17972         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17973         Likewise.
17974         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17975         Likewise.
17976         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17977         [GLIBC_2.22]: Likewise.
17978         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17979         [GLIBC_2.22]: Likewise.
17980         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17981         [GLIBC_2.22]: Likewise.
17982         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17983         [GLIBC_2.22]: Likewise.
17984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17985         [GLIBC_2.22]: Likewise.
17986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17987         [GLIBC_2.22]: Likewise.
17988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17989         [GLIBC_2.22]: Likewise.
17990         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17991         Likewise.
17992         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17993         Likewise.
17994         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17995         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17996         [GLIBC_2.22]: Likewise.
17997         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17998         [GLIBC_2.22]: Likewise.
17999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18000         [GLIBC_2.22]: Likewise.
18001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18002         [GLIBC_2.22]: Likewise.
18003         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18004         Likewise.
18005         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18006         Likewise.
18007         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18008         Likewise.
18009         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18010         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18012 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18014         [BZ #18643]
18015         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18016         IPV6_PATHMTU, and IPV6_DONTFRAG.
18018 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18020         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18021         and _IO_UNBUFFERED.
18022         * libio/oldfileops.c: Likewise.
18023         * libio/wfileops.c: Likewise.
18025 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18027         * nscd/selinux.c: Delete selinux/flask.h include.
18029 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18031         [BZ #18641]
18032         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18033         (putpwent): Likewise.
18034         (getpwnam): Likewise.
18035         (getpwent_r): Likewise.
18036         (getpwuid_r): Likewise.
18037         (getpwnam_r): Likewise.
18038         (fgetpwent_r): Likewise.
18040 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18042         [BZ #18557]
18043         * inet/rcmd.c (__validuser2_sa): Check user first to
18044         short-circuit host check.
18046 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18047             Mikhail Ilin  <m.ilin@samsung.com>
18049         [BZ #17833]
18050         * elf/Makefile (tests): Add tst-nodelete.
18051         (modules-names): Add tst-nodelete-uniquemod.
18052         (tst-nodelete-uniquemod.so-no-z-defs): New.
18053         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18054         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18055         ($(objpfx)tst-nodelete): Likewise.
18056         ($(objpfx)tst-nodelete.out): Likewise.
18057         (LDFLAGS-tst-nodelete): Likewise.
18058         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18059         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18060         implement forced object deletion.
18061         (_dl_close): Pass false to _dl_close_worker.
18062         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18063         * elf/tst-nodelete.cc: New file.
18064         * elf/tst-nodeletelib.cc: Likewise.
18065         * elf/tst-znodeletelib.cc: Likewise.
18066         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18068 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18070         [BZ #18508]
18071         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18072         Depend on $(libdl).
18073         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18074         is not called infinitely times.
18075         (backtrace_helper): New function.
18076         (trace_arg): New struct.
18077         (st1): Enlarge stack size.
18078         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18079         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18080         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18081         Likewise.
18083 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18085         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18087 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18089         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18090         Include sys/types.h instead of bits/types.h.
18091         Remove inclusion of bits/wordsize.h.
18093 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18095         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18096         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18097         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18098         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18099         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18100         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18102 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18104         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18105         link-defines.sym.
18106         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18107         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18108         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18109         and LR_SIZE.
18110         * sysdeps/i386/link-defines.sym: New file.
18112 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18114         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18115         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18116         ($(objpfx)tst-audit3): New rule.
18117         ($(objpfx)tst-audit3.out): Likewise.
18118         * sysdeps/i386/tst-audit3.c: New file.
18119         * sysdeps/i386/tst-audit3.h: Likewise.
18120         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18121         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18123 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18125         [BZ #18633]
18126         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18127         pointer in C code.
18128         (__strcat_c): Likewise.
18129         (__strcat_g): Likewise.
18131 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18133         [BZ #18592]
18134         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18136 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18138         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18139         New function.  (__ieee754_sqrtf): New function.
18140         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18141         New function.
18142         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18143         New function.
18145 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18147         * sysdeps/ieee754/support.c: Remove unused file.
18149 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18151         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18152         registers instead of d ones so the layout is kernel abi compatible.
18153         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18154         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18155         Likewise.
18157 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18159         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18161 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18163         [BZ #18619]
18164         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18165         and return argument in case of subnormal argument.
18167 2015-07-01  Martin Sebor  <msebor@redhat.com>
18169         [BZ #18435]
18170         * nptl/Makefile: Add tst-once5.cc.
18171         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18172         Remove macro redefinitions.
18173         * nptl/tst-once5.cc: New test.
18175 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18177         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18179         * sysdeps/arm/libm-test-ulps: Regenerated.
18181         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18182         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18184 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18186         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18187         lll_lock_wait_private and lll_futex_wake probes.
18189         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18190         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18191         Likewise.
18192         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18193         atomic_spin_nop.
18194         * sysdeps/x86_64/bits/atomic.h: Likewise.
18195         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18196         to atomic_spin_nop and move ...
18197         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18198         ... here and ...
18199         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18200         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18201         atomic_spin_nop instead of BUSY_WAIT_NOP.
18202         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18203         Likewise.
18204         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18205         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18206         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18207         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18208         instead of atomic_delay.
18210 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18212         [BZ #18613]
18213         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18214         X_ADJ not X when adjusting exponent.
18215         (__ieee754_gamma_r): Do intermediate computations in
18216         round-to-nearest then adjust overflowing and underflowing results
18217         as needed.
18218         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18219         of X_ADJ not X when adjusting exponent.
18220         (__ieee754_gammaf_r): Do intermediate computations in
18221         round-to-nearest then adjust overflowing and underflowing results
18222         as needed.
18223         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18224         log of X_ADJ not X when adjusting exponent.
18225         (__ieee754_gammal_r): Do intermediate computations in
18226         round-to-nearest then adjust overflowing and underflowing results
18227         as needed.  Use 1.0L not 1.0f as numerator of division.
18228         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18229         log of X_ADJ not X when adjusting exponent.
18230         (__ieee754_gammal_r): Do intermediate computations in
18231         round-to-nearest then adjust overflowing and underflowing results
18232         as needed.  Use 1.0L not 1.0f as numerator of division.
18233         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18234         of X_ADJ not X when adjusting exponent.
18235         (__ieee754_gammal_r): Do intermediate computations in
18236         round-to-nearest then adjust overflowing and underflowing results
18237         as needed.  Use 1.0L not 1.0f as numerator of division.
18238         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18239         to auto-libm-test-in.
18240         (tgamma_test): Use ALL_RM_TEST.
18241         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18242         tests of tgamma with spurious-overflow.
18243         * math/auto-libm-test-out: Regenerated.
18244         * math/gen-libm-have-vector-test.sh: Do not check for START.
18245         * sysdeps/i386/fpu/libm-test-ulps: Update.
18246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18248         [BZ #18612]
18249         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18250         arguments, just return 0.5 times the argument, with underflow
18251         forced as needed.
18252         * math/auto-libm-test-in: Add more tests of j1.
18253         * math/auto-libm-test-out: Regenerated.
18255         [BZ #16559]
18256         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18257         (__ieee754_j1): Force underflow exception for small results.
18258         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18259         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18260         (__ieee754_j1f): Force underflow exception for small results.
18261         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18262         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18263         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18264         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18265         (__ieee754_j1l): Force underflow exception for small results.
18266         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18267         * math/auto-libm-test-in: Add more tests of j1 and jn.
18268         * math/auto-libm-test-out: Regenerated.
18270         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18271         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18272         (PF_MPLS): Likewise.
18273         (AF_IB): Likewise.
18274         (AF_MPLS): Likewise.
18275         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18276         value and macro.
18277         (MS_RMT_MASK): Include MS_LAZYTIME.
18279 2015-06-26  Mel Gorman  <mgorman@suse.de>
18281         [BZ #18502]
18282         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18283         already minimal.
18285 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18287         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18288         (DT_MIPS_NUM): Update.
18289         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18290         DT_MIPS_RLD_MAP_REL.
18292 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18294         [BZ #16559]
18295         [BZ #18602]
18296         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18297         round-to-nearest internally then recompute results that
18298         underflowed to zero in the original rounding mode.
18299         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18300         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18302         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18303         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18304         * sysdeps/i386/fpu/libm-test-ulps: Update.
18305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18307 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18309         * NEWS: Fixed description of link with vector math library.
18311 2015-06-25  Andreas Schwab  <schwab@suse.de>
18313         [BZ #18549]
18314         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18315         * libio/test-fmemopen.c (do_test): Add test for it.
18317 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18319         [BZ #17841]
18320         * Makeconfig (no-pie-ldflag): New.
18321         (+link): Set to $(+link-pie) if default to PIE.
18322         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18323         * config.make.in (build-pie-default): New.
18324         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18325         is default.  AC_SUBST.
18326         * configure: Regenerated.
18327         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18329 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18331         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18332         to 'unsigned int'.
18334         * resolv/gai_misc.h (struct waitlist): Change type of field
18335         counterp to 'volatile unsigned int *'.
18336         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18337         FUTEXADDR and OLDVAL.
18338         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18339         Give local variable TOTAL type 'volatile unsigned int'.
18340         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18341         * resolv/gai_suspend.c (gai_suspend):
18342         Give local variable CNTR type 'unsigned int'.
18344         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18345         counterp to 'volatile unsigned int *'.
18346         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18347         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18348         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18349         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18350         Give local variable TOTAL type 'volatile unsigned int'.
18351         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18353 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18355         [BZ #18383]
18356         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18357         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18358         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18359         comment for i386/x86-64.
18360         (test-xfail-tst-tlsalign-extern-static): Removed.
18362 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18364         * math/test-double.h: New file.
18365         * math/test-float.h: Likewise.
18366         * math/test-ldouble.h: Likewise.
18367         * math/test-math-inline.h: Likewise.
18368         * math/test-math-no-inline.h: Likewise.
18369         * math/test-math-scalar.h: Likewise.
18370         * math/test-math-vector.h: Likewise.
18371         * math/test-vec-loop.h: Remove file.  Contents moved into
18372         test-math-vector.h.
18373         * math/libm-test.inc (MATHCONST): Do not document macro.
18374         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18375         and test-math-scalar.h.
18376         (FUNC): Remove macro.
18377         (FUNC_TEST): Likewise.
18378         (FLOAT): Likewise.
18379         (MATHCONST): Likewise.
18380         (PRINTF_EXPR): Likewise.
18381         (PRINTF_XEXPR): Likewise.
18382         (PRINTF_NEXPR): Likewise.
18383         (TEST_DOUBLE): Likewise.
18384         (TEST_MATHVEC): Likewise.
18385         (__NO_MATH_INLINES): Likewise.
18386         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18387         and test-math-scalar.h.
18388         (FUNC): Remove macro.
18389         (FUNC_TEST): Likewise.
18390         (FLOAT): Likewise.
18391         (MATHCONST): Likewise.
18392         (PRINTF_EXPR): Likewise.
18393         (PRINTF_XEXPR): Likewise.
18394         (PRINTF_NEXPR): Likewise.
18395         (TEST_FLOAT): Likewise.
18396         (TEST_MATHVEC): Likewise.
18397         (__NO_MATH_INLINES): Likewise.
18398         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18399         and test-math-scalar.h.
18400         (FUNC): Remove macro.
18401         (FUNC_TEST): Likewise.
18402         (FLOAT): Likewise.
18403         (MATHCONST): Likewise.
18404         (PRINTF_EXPR): Likewise.
18405         (PRINTF_XEXPR): Likewise.
18406         (PRINTF_NEXPR): Likewise.
18407         (TEST_DOUBLE): Likewise.
18408         (TEST_MATHVEC): Likewise.
18409         (TEST_INLINE): Likewise.
18410         (__NO_MATH_INLINES): Likewise.
18411         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18412         test-math-scalar.h.
18413         (FUNC): Remove macro.
18414         (FUNC_TEST): Likewise.
18415         (FLOAT): Likewise.
18416         (MATHCONST): Likewise.
18417         (PRINTF_EXPR): Likewise.
18418         (PRINTF_XEXPR): Likewise.
18419         (PRINTF_NEXPR): Likewise.
18420         (TEST_FLOAT): Likewise.
18421         (TEST_MATHVEC): Likewise.
18422         (TEST_INLINE): Likewise.
18423         (__NO_MATH_INLINES): Likewise.
18424         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18425         and test-math-scalar.h.
18426         (FUNC): Remove macro.
18427         (FUNC_TEST): Likewise.
18428         (FLOAT): Likewise.
18429         (MATHCONST): Likewise.
18430         (PRINTF_EXPR): Likewise.
18431         (PRINTF_XEXPR): Likewise.
18432         (PRINTF_NEXPR): Likewise.
18433         (TEST_LDOUBLE): Likewise.
18434         (TEST_MATHVEC): Likewise.
18435         (TEST_INLINE): Likewise.
18436         (__NO_MATH_INLINES): Likewise.
18437         * math/test-ldouble.c: Include test-ldouble.h,
18438         test-math-no-inline.h and test-math-scalar.h.
18439         (FUNC): Remove macro.
18440         (FUNC_TEST): Likewise.
18441         (FLOAT): Likewise.
18442         (MATHCONST): Likewise.
18443         (PRINTF_EXPR): Likewise.
18444         (PRINTF_XEXPR): Likewise.
18445         (PRINTF_NEXPR): Likewise.
18446         (TEST_LDOUBLE): Likewise.
18447         (TEST_MATHVEC): Likewise.
18448         (__NO_MATH_INLINES): Likewise.
18449         * math/test-double-vlen2.h: Include test-double.h,
18450         test-math-no-inline.h and test-math-vector.h.
18451         (FLOAT): Remove macro.
18452         (FUNC): Likewise.
18453         (MATHCONST): Likewise.
18454         (PRINTF_EXPR): Likewise.
18455         (PRINTF_XEXPR): Likewise.
18456         (PRINTF_NEXPR): Likewise.
18457         (TEST_DOUBLE): Likewise.
18458         (TEST_MATHVEC): Likewise.
18459         (__NO_MATH_INLINES): Likewise.
18460         (CNCT): Likewise.
18461         (CONCAT): Likewise.
18462         (WRAPPER_NAME): Likewise.
18463         (WRAPPER_DECL): Likewise.
18464         (WRAPPER_DECL_ff): Likewise.
18465         (WRAPPER_DECL_fFF): Likewise.
18466         (VECTOR_WRAPPER): Likewise.
18467         (VECTOR_WRAPPER_ff): Likewise.
18468         (VECTOR_WRAPPER_fFF): Likewise.
18469         (VEC_LEN): New macro.
18470         * math/test-double-vlen4.h: Include test-double.h,
18471         test-math-no-inline.h and test-math-vector.h.
18472         (FLOAT): Remove macro.
18473         (FUNC): Likewise.
18474         (MATHCONST): Likewise.
18475         (PRINTF_EXPR): Likewise.
18476         (PRINTF_XEXPR): Likewise.
18477         (PRINTF_NEXPR): Likewise.
18478         (TEST_DOUBLE): Likewise.
18479         (TEST_MATHVEC): Likewise.
18480         (__NO_MATH_INLINES): Likewise.
18481         (CNCT): Likewise.
18482         (CONCAT): Likewise.
18483         (WRAPPER_NAME): Likewise.
18484         (WRAPPER_DECL): Likewise.
18485         (WRAPPER_DECL_ff): Likewise.
18486         (WRAPPER_DECL_fFF): Likewise.
18487         (VECTOR_WRAPPER): Likewise.
18488         (VECTOR_WRAPPER_ff): Likewise.
18489         (VECTOR_WRAPPER_fFF): Likewise.
18490         (VEC_LEN): New macro.
18491         * math/test-double-vlen8.h: Include test-double.h,
18492         test-math-no-inline.h and test-math-vector.h.
18493         (FLOAT): Remove macro.
18494         (FUNC): Likewise.
18495         (MATHCONST): Likewise.
18496         (PRINTF_EXPR): Likewise.
18497         (PRINTF_XEXPR): Likewise.
18498         (PRINTF_NEXPR): Likewise.
18499         (TEST_DOUBLE): Likewise.
18500         (TEST_MATHVEC): Likewise.
18501         (__NO_MATH_INLINES): Likewise.
18502         (CNCT): Likewise.
18503         (CONCAT): Likewise.
18504         (WRAPPER_NAME): Likewise.
18505         (WRAPPER_DECL): Likewise.
18506         (WRAPPER_DECL_ff): Likewise.
18507         (WRAPPER_DECL_fFF): Likewise.
18508         (VECTOR_WRAPPER): Likewise.
18509         (VECTOR_WRAPPER_ff): Likewise.
18510         (VECTOR_WRAPPER_fFF): Likewise.
18511         (VEC_LEN): New macro.
18512         * math/test-float-vlen4.h: Include test-float.h,
18513         test-math-no-inline.h and test-math-vector.h.
18514         (FLOAT): Remove macro.
18515         (FUNC): Likewise.
18516         (MATHCONST): Likewise.
18517         (PRINTF_EXPR): Likewise.
18518         (PRINTF_XEXPR): Likewise.
18519         (PRINTF_NEXPR): Likewise.
18520         (TEST_FLOAT): Likewise.
18521         (TEST_MATHVEC): Likewise.
18522         (__NO_MATH_INLINES): Likewise.
18523         (CNCT): Likewise.
18524         (CONCAT): Likewise.
18525         (WRAPPER_NAME): Likewise.
18526         (WRAPPER_DECL): Likewise.
18527         (WRAPPER_DECL_ff): Likewise.
18528         (WRAPPER_DECL_fFF): Likewise.
18529         (VECTOR_WRAPPER): Likewise.
18530         (VECTOR_WRAPPER_ff): Likewise.
18531         (VECTOR_WRAPPER_fFF): Likewise.
18532         (VEC_LEN): New macro.
18533         * math/test-float-vlen8.h: Include test-float.h,
18534         test-math-no-inline.h and test-math-vector.h.
18535         (FLOAT): Remove macro.
18536         (FUNC): Likewise.
18537         (MATHCONST): Likewise.
18538         (PRINTF_EXPR): Likewise.
18539         (PRINTF_XEXPR): Likewise.
18540         (PRINTF_NEXPR): Likewise.
18541         (TEST_FLOAT): Likewise.
18542         (TEST_MATHVEC): Likewise.
18543         (__NO_MATH_INLINES): Likewise.
18544         (CNCT): Likewise.
18545         (CONCAT): Likewise.
18546         (WRAPPER_NAME): Likewise.
18547         (WRAPPER_DECL): Likewise.
18548         (WRAPPER_DECL_ff): Likewise.
18549         (WRAPPER_DECL_fFF): Likewise.
18550         (VECTOR_WRAPPER): Likewise.
18551         (VECTOR_WRAPPER_ff): Likewise.
18552         (VECTOR_WRAPPER_fFF): Likewise.
18553         (VEC_LEN): New macro.
18554         * math/test-float-vlen16.h: Include test-float.h,
18555         test-math-no-inline.h and test-math-vector.h.
18556         (FLOAT): Remove macro.
18557         (FUNC): Likewise.
18558         (MATHCONST): Likewise.
18559         (PRINTF_EXPR): Likewise.
18560         (PRINTF_XEXPR): Likewise.
18561         (PRINTF_NEXPR): Likewise.
18562         (TEST_FLOAT): Likewise.
18563         (TEST_MATHVEC): Likewise.
18564         (__NO_MATH_INLINES): Likewise.
18565         (CNCT): Likewise.
18566         (CONCAT): Likewise.
18567         (WRAPPER_NAME): Likewise.
18568         (WRAPPER_DECL): Likewise.
18569         (WRAPPER_DECL_ff): Likewise.
18570         (WRAPPER_DECL_fFF): Likewise.
18571         (VECTOR_WRAPPER): Likewise.
18572         (VECTOR_WRAPPER_ff): Likewise.
18573         (VECTOR_WRAPPER_fFF): Likewise.
18574         (VEC_LEN): New macro.
18575         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18576         test-vec-loop.h.
18577         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18578         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18579         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18580         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18581         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18582         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18583         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18585 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18587         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18588         (__getlogin_r): ... this.
18590 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18592         [BZ #18594]
18593         * math/s_ccosh.c (__ccosh): Compare with least normal value
18594         instead of comparing class with FP_SUBNORMAL.
18595         * math/s_ccoshf.c (__ccoshf): Likewise.
18596         * math/s_ccoshl.c (__ccoshl): Likewise.
18597         * math/s_cexp.c (__cexp): Likewise.
18598         * math/s_cexpf.c (__cexpf): Likewise.
18599         * math/s_cexpl.c (__cexpl): Likewise.
18600         * math/s_csin.c (__csin): Likewise.
18601         * math/s_csinf.c (__csinf): Likewise.
18602         * math/s_csinh.c (__csinh): Likewise.
18603         * math/s_csinhf.c (__csinhf): Likewise.
18604         * math/s_csinhl.c (__csinhl): Likewise.
18605         * math/s_csinl.c (__csinl): Likewise.
18606         * math/s_ctan.c (__ctan): Likewise.
18607         * math/s_ctanf.c (__ctanf): Likewise.
18608         * math/s_ctanh.c (__ctanh): Likewise.
18609         * math/s_ctanhf.c (__ctanhf): Likewise.
18610         * math/s_ctanhl.c (__ctanhl): Likewise.
18611         * math/s_ctanl.c (__ctanl): Likewise.
18612         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18613         csin, csinh, ctan and ctanh.
18614         * math/auto-libm-test-out: Regenerated.
18615         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18616         * sysdeps/i386/fpu/libm-test-ulps: Update.
18617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18619 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18621         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18622         return value is wrong, print the expected value too.
18624 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18626         [BZ #18585]
18627         * elf/readlib.c (is_gdb_python_file): New.
18628         (process_file): Don't issue errors on filenames with -gdb.py
18629         suffix.
18631 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18633         * math/auto-libm-test-in: Add more tests of csin and csinh.
18634         * math/auto-libm-test-out: Regenerated.
18635         * math/libm-test.inc (csin_test_data): Remove tests moved to
18636         auto-libm-test-in.
18637         (csinh_test_data): Likewise.
18639         [BZ #18593]
18640         * math/s_csin.c (__csin): Negate before rather than after possibly
18641         overflowing multiplication.
18642         * math/s_csinf.c (__csinf): Likewise.
18643         * math/s_csinh.c (__csinh): Likewise.
18644         * math/s_csinhf.c (__csinhf): Likewise.
18645         * math/s_csinhl.c (__csinhl): Likewise.
18646         * math/s_csinl.c (__csinl): Likewise.
18647         * math/auto-libm-test-in: Add some tests of csin and csinh.
18648         * math/auto-libm-test-out: Regenerated.
18649         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18650         (csinh_test_data): Likewise.
18651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18653         [BZ #18586]
18654         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18655         underflow exception for small results.
18657 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18659         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18660         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18661         variable and included header.
18662         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18663         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18664         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18666         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18667         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18668         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18669         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18670         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18671         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18672         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18673         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18674         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18675         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18676         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18677         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18679 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18681         [BZ #16526]
18682         [BZ #16538]
18683         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18684         (__sin): Force underflow exception for arguments with small
18685         absolute value.
18686         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18687         (__kernel_sinf): Force underflow exception for arguments with
18688         small absolute value.
18689         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18690         (__kernel_sincosl): Force underflow exception for arguments with
18691         small absolute value.
18692         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18693         (__kernel_sinl): Force underflow exception for arguments with
18694         small absolute value.
18695         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18696         (__kernel_sincosl): Force underflow exception for arguments with
18697         small absolute value.
18698         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18699         (__kernel_sinl): Force underflow exception for arguments with
18700         small absolute value.
18701         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18702         (__kernel_sinl): Force underflow exception for arguments with
18703         small absolute value.
18704         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18705         (__kernel_sinf): Force underflow exception for arguments with
18706         small absolute value.
18707         * math/auto-libm-test-in: Add more tests of sin and sincos.
18708         * math/auto-libm-test-out: Regenerated.
18710         [BZ #18245]
18711         [BZ #18583]
18712         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18713         (__kernel_standard_l): Use feholdexcept and fesetenv around
18714         conversion to double instead of special-casing overflow and
18715         underflow.
18716         * math/libm-test.inc (fmod_test_data): Add more tests.
18717         (remainder_test_data): Likewise.
18718         (sqrt_test_data): Likewise.
18720 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18722         [BZ #17403]
18723         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18724         atomic_read_barrier, atomic_write_barrier): Define.
18725         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18726         atomic_read_barrier, atomic_write_barrier): Define.
18728 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18730         * math/Makefile [$(PERL) != no]
18731         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18732         dependency on libm-test.stmp below the inclusion of Rules.
18734 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18737         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18738         and included header.
18739         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18740         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18741         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18742         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18743         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18744         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18745         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18746         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18747         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18748         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18749         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18750         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18751         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18752         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18753         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18754         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18755         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18756         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18757         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18759 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18761         [BZ #18371]
18762         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18763         intermediate but not final result might underflow.
18764         * math/s_csqrtf.c (__csqrtf): Likewise.
18765         * math/s_csqrtl.c (__csqrtl): Likewise.
18766         * math/auto-libm-test-in: Add more tests of csqrt.
18767         * math/auto-libm-test-out: Regenerated.
18768         * sysdeps/i386/fpu/libm-test-ulps: Update.
18770         [BZ #18219]
18771         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18772         threshold on absolute value of exponent for which scaling is used.
18773         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18774         * math/auto-libm-test-in: Add more tests of exp2.
18775         * math/auto-libm-test-out: Regenerated.
18777 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18779         [BZ #17977]
18780         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18781         when initializing interface list, based on the bug analysis
18782         and the patch proposed by Eric Newton.
18783         * resolv/tst-res_hconf_reorder.c: New test.
18784         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18785         tst-res_hconf_reorder.
18786         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18787         and $(shared-thread-library).
18788         (tst-res_hconf_reorder-ENV): New variable.
18790         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18791         in comment.
18793 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18795         [BZ #16353]
18796         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18797         (__expm1): Force underflow exception for arguments with small
18798         absolute value.
18799         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18800         (__expm1f): Force underflow exception for arguments with small
18801         absolute value.
18802         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18803         (__expm1): Force underflow exception for arguments with small
18804         absolute value.
18805         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18806         (__expm1f): Force underflow exception for arguments with small
18807         absolute value.
18808         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18809         Check for small arguments before calling __expm1.
18810         * math/auto-libm-test-in: Do not mark underflow exceptions as
18811         possibly missing for bug 16353.
18812         * math/auto-libm-test-out: Regenerated.
18814 2015-06-22  Andreas Schwab  <schwab@suse.de>
18816         [BZ #18513]
18817         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18818         PTR queries.
18820 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18822         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18824         * string/strcoll_l.c: Remove unused struct element idxnow.
18826 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18828         [BZ #18569]
18829         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18830         underflow and return argument in case of subnormal argument.
18831         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18832         Likewise.
18833         * math/auto-libm-test-in: Add more tests of expm1.
18834         * math/auto-libm-test-out: Regenerated.
18836         [BZ #16361]
18837         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18838         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18839         tiny results.
18840         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18841         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18842         tiny results.
18843         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18844         mark underflow exceptions as possibly missing for bug 16361.
18845         * math/auto-libm-test-out: Regenerated.
18847 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18849         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18850         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18851         Remove variable.
18852         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18853         (test-xfail-XOPEN2K8/utmpx.h/conform).
18855         * conform/conformtest.pl ($xerrors): New variable.
18856         (note_error): New function.
18857         (compiletest): New argument $xfail.  Use not_error.
18858         (runtest): Likewise.
18859         (top level): Handle xfail- lines.  Update calls to compiletest and
18860         runtest.  Handle xfail- and optional- in headers listed with
18861         allow-header.
18862         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18863         (O_EXEC): Likewise.
18864         (O_SEARCH): Likewise.
18865         * conform/data/stropts.h-data (ioctl): Likewise.
18866         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18867         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18868         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18869         (msghdr.msg_controllen): Likewise.
18870         (cmsghdr.cmsg_len): Likewise.
18871         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18872         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18873         variable.
18874         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18875         (test-xfail-XPG4/stropts.h/conform): Likewise.
18876         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18877         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18878         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18879         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18880         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18881         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18882         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18883         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18884         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18885         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18886         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18887         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18888         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18889         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18890         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18891         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18892         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18893         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18894         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18896 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18898         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18899         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18900         definitions for proper unfolding of __MATHDECL_VEC.
18902 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18904         * benchtests/bench-strcoll.c:
18905         Include string.h.
18906         (main): Remove unused variable res.
18908 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18910         * timezone/Makefile (%/UTC %/Universal):
18911         Generate test-result files for UTC and Universal.
18913 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18915         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18917 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18919         [BZ #16350]
18920         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18921         for arguments with small absolute value.
18922         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18923         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18924         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18925         (__asinh): Force underflow exception for arguments with small
18926         absolute value.
18927         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18928         (__asinhf): Force underflow exception for arguments with small
18929         absolute value.
18930         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18931         (__asinhl): Force underflow exception for arguments with small
18932         absolute value.
18933         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18934         (__asinhl): Force underflow exception for arguments with small
18935         absolute value.
18936         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18937         (__asinhl): Force underflow exception for arguments with small
18938         absolute value.
18939         * math/auto-libm-test-in: Do not mark underflow exceptions as
18940         possibly missing for bug 16350.
18941         * math/auto-libm-test-out: Regenerated.
18943         * include/bits/ipc.h: Remove file.
18944         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18945         variable.
18946         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18947         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18948         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18949         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18950         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18951         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18952         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18953         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18954         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18956         * math/auto-libm-test-in: Remove spurious underflow allowance for
18957         tests of cexp.
18958         * math/auto-libm-test-out: Regenerated.
18960         [BZ #18558]
18961         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18962         unconditional definition.
18963         (MCAST_BLOCK_SOURCE): Likewise.
18964         (MCAST_UNBLOCK_SOURCE): Likewise.
18965         (MCAST_LEAVE_GROUP): Likewise.
18966         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18967         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18968         (MCAST_MSFILTER): Likewise.
18969         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18970         Remove variable.
18971         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18972         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18973         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18974         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18975         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18977 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18979         * NEWS: Mention addition of x86_64 vector sincosf.
18980         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18981         * math/test-float-vlen4.h: Likewise.
18982         * math/test-float-vlen8.h: Likewise.
18983         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18984         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18985         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18986         * sysdeps/x86_64/fpu/Versions: New versions added.
18987         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18988         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18989         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18990         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18991         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18992         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18993         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18994         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18995         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18996         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18997         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18998         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18999         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19000         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19001         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19002         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19003         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19004         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19005         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19006         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19007         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19008         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19009         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19010         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19012         * NEWS: Mention addition of x86_64 vector sincos.
19013         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19014         * math/math.h (__MATHDECL_VEC): New macro.
19015         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19016         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19017         declaration under condition.
19018         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19019         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19020         TEST_VEC_LOOP change.
19021         * math/test-double-vlen4.h: Likewise.
19022         * math/test-double-vlen8.h: Likewise.
19023         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19024         * math/test-float-vlen4.h: Likewise.
19025         * math/test-float-vlen8.h: Likewise.
19026         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19027         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19028         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19029         * sysdeps/x86_64/fpu/Versions: New versions added.
19030         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19031         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19032         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19033         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19034         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19035         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19036         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19037         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19038         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19039         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19040         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19041         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19042         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19043         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19044         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19045         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19046         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19047         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19048         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19049         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19050         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19051         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19052         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19053         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19055         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19056         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19057         redirections for powf.
19058         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19059         * sysdeps/x86_64/fpu/Versions: New versions added.
19060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19061         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19062         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19063         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19064         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19065         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19066         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19067         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19068         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19069         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19070         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19071         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19072         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19073         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19074         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19075         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19076         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19077         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19078         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19079         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19080         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19081         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19082         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19083         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19084         * math/test-float-vlen16.h: Fixed 2 argument macro.
19085         * math/test-float-vlen4.h: Likewise.
19086         * math/test-float-vlen8.h: Likewise.
19087         * NEWS: Mention addition of x86_64 vector powf.
19089 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19091         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19092         and redefine.
19093         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19094         and redefine.
19095         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19096         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19097         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19099         [BZ #18553]
19100         * resource/getpriority.c (getpriority): Rename to __getpriority
19101         and define as weak alias of __getpriority.
19102         * resource/setpriority.c (setpriority): Rename to __setpriority
19103         and define as weak alias of __setpriority.
19104         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19105         __getpriority and define as weak alias of __getpriority.
19106         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19107         __setpriority and define as weak alias of __setpriority.
19108         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19109         strong name.
19110         (setpriority): Use __setpriority as strong name.
19111         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19112         __getpriority and define as weak alias of __getpriority.
19113         * include/sys/resource.h (__getpriority): Declare.  Use
19114         libc_hidden_proto.
19115         (__setpriority): Likewise.
19116         (getpriority): Don't use libc_hidden_proto.
19117         (setpriority): Likewise.
19118         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19119         getpriority.  Call __setpriority instead of setpriority.
19120         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19121         Remove variable.
19123         [BZ #18547]
19124         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19125         as weak alias of __getttynam.  Use prototype function definition.
19126         Call __setttyent, __getttyent and __endttyent instead of
19127         setttyent, getttyent and endttyent.
19128         (getttyent): Rename to __getttyent and define as weak alias of
19129         __getttyent.  Call __setttyent instead of setttyent.  Call
19130         __fgets_unlocked instead of fgets_unlocked.
19131         (setttyent): Rename to __setttyent and define as weak alias of
19132         __setttyent.
19133         (endttyent): Rename to __endttyent and define as weak alias of
19134         __endttyent.
19135         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19136         (__setttyent): Likewise.
19137         (__endttyent): Likewise.
19138         (getttyent): Don't use libc_hidden_proto.
19139         (setttyent): Likewise.
19140         (endttyent): Likewise.
19141         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19142         __endttyent instead of setttyent, getttyent and endttyent.
19143         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19144         Remove variable.
19146         [BZ #18546]
19147         * socket/recv.c (__recv): Use libc_hidden_def.
19148         * socket/socket.c (__socket): Likewise.
19149         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19150         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19151         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19152         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19153         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19154         libc_hidden_def.
19155         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19156         libc_hidden_weak.
19157         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19158         Use libc_hidden_proto.
19159         (__recv): Likewise.
19160         * socket/Versions (libc): Export __recv and __socket at version
19161         GLIBC_PRIVATE.
19162         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19163         instead of recv.
19164         (init_mq_netlink): Call __socket instead of socket.
19165         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19166         Remove variable.
19168         [BZ #18545]
19169         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19170         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19171         hidden_weak.
19172         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19173         define as alias of __mq_timedsend.  Use hidden_weak.
19174         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19175         __mq_timedsend as strong name.
19176         (mq_timedreceive): Use __mq_timedreceive as strong name.
19177         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19178         (__mq_timedreceive): Likewise.
19179         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19180         __mq_timedreceive instead of mq_timedreceive.
19181         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19182         instead of mq_timedsend.
19183         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19184         Remove variable.
19186         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19187         hidden_def and hidden_weak instead of libc_hidden_def and
19188         libc_hidden_weak.
19189         (top level): Refer to hidden_def in comment.
19190         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19191         macro.  Use it instead of libc_hidden_def.
19192         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19193         specify __GI_* name explicitly.
19194         (mq_timedreceive): Likewise.
19195         (mq_setattr): Likewise.
19197         [BZ #18544]
19198         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19199         __pthread_barrier_init and define as weak alias of
19200         __pthread_barrier_init.
19201         * sysdeps/sparc/nptl/pthread_barrier_init.c
19202         (pthread_barrier_init): Likewise.
19203         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19204         __pthread_barrier_wait and define as weak alias of
19205         __pthread_barrier_wait.
19206         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19207         (pthread_barrier_wait): Likewise.
19208         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19209         (pthread_barrier_wait): Likewise.
19210         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19211         (pthread_barrier_wait): Likewise.
19212         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19213         (pthread_barrier_wait): Likewise.
19214         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19215         __pthread_barrier_wait at version GLIBC_PRIVATE.
19216         * include/pthread.h (__pthread_barrier_init): Declare.
19217         (__pthread_barrier_wait): Likewise.
19218         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19219         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19220         (helper_thread): Likewise.
19221         (init_mq_netlink): Call __pthread_barrier_init instead of
19222         pthread_barrier_init.
19224         [BZ #18542]
19225         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19226         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19227         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19228         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19229         vswscanf.
19230         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19231         Remove variable.
19233         [BZ #18540]
19234         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19235         strong alias of _IO_fflush.  Use libc_hidden_def.
19236         * libio/iofflush_u.c (fflush_unlocked): Rename to
19237         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19238         Use libc_hidden_weak.
19239         * include/stdio.h (__fflush_unlocked): Declare.  Use
19240         libc_hidden_proto.
19241         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19242         fflush_unlocked.
19243         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19244         Remove variable.
19246         [BZ #18539]
19247         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19248         define as weak alias of __addseverity.
19249         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19250         Remove variable.
19251         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19252         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19253         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19255         [BZ #18536]
19256         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19257         (__tfind): Likewise.
19258         (__tdelete): Likewise.
19259         (__twalk): Likewise.
19260         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19261         __twalk to GLIBC_PRIVATE.
19262         * include/search.h (__tsearch): Use libc_hidden_proto.
19263         (__tfind): Likewise.
19264         (__tdelete): Likewise.
19265         (__twalk): Likewise.
19266         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19267         Call __tdelete instead of tdelete.
19268         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19269         tfind.  Call __tsearch instead of tsearch.
19270         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19271         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19272         Remove variable.
19273         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19275         [BZ #18534]
19276         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19277         (dprintf): Define as a weak alias of __dprintf, not a strong
19278         alias.
19279         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19280         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19281         dprintf.
19282         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19283         Remove variable.
19284         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19285         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19287         [BZ #18533]
19288         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19289         not a strong alias.
19290         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19291         Remove variable.
19293         [BZ #18532]
19294         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19295         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19296         (in6addr_loopback): Rename to __in6addr_loopback and define as
19297         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19298         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19299         libc_hidden_proto.
19300         (__in6addr_any): Likewise.
19301         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19302         in6addr_any.
19303         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19304         variable.
19305         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19307 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19309         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19310         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19311         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19312         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19313         redirections for pow.
19314         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19315         * sysdeps/x86_64/fpu/Versions: New versions added.
19316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19317         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19318         build of SSE, AVX2 and AVX512 IFUNC versions.
19319         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19320         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19321         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19322         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19323         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19324         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19325         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19326         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19327         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19328         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19329         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19330         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19331         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19332         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19333         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19334         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19335         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19336         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19337         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19338         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19339         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19340         * NEWS: Mention addition of x86_64 vector pow.
19342         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19343         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19344         redirections for expf.
19345         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19346         * sysdeps/x86_64/fpu/Versions: New versions added.
19347         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19348         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19349         build of SSE, AVX2 and AVX512 IFUNC versions.
19350         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19351         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19352         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19354         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19355         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19356         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19357         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19358         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19359         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19360         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19361         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19362         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19363         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19364         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19365         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19366         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19367         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19368         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19369         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19370         * NEWS: Mention addition of x86_64 vector expf.
19372         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19373         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19374         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19375         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19376         redirections for exp.
19377         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19378         * sysdeps/x86_64/fpu/Versions: New versions added.
19379         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19380         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19381         build of SSE, AVX2 and AVX512 IFUNC versions.
19382         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19383         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19384         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19385         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19386         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19387         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19388         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19389         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19390         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19391         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19392         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19393         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19394         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19395         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19396         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19397         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19398         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19399         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19400         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19401         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19402         * NEWS: Mention addition of x86_64 vector exp.
19404         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19405         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19406         redirections for logf.
19407         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19408         * sysdeps/x86_64/fpu/Versions: New versions added.
19409         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19410         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19411         build of SSE, AVX2 and AVX512 IFUNC versions.
19412         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19413         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19415         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19416         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19417         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19418         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19419         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19420         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19421         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19422         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19423         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19424         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19425         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19426         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19427         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19428         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19429         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19430         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19431         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19432         * NEWS: Mention addition of x86_64 vector logf.
19434         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19435         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19436         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19437         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19438         redirections for log.
19439         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19440         * sysdeps/x86_64/fpu/Versions: New versions added.
19441         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19442         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19443         build of SSE, AVX2 and AVX512 IFUNC versions.
19444         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19445         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19446         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19447         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19448         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19449         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19450         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19451         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19452         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19453         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19454         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19455         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19456         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19457         test.
19458         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19459         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19460         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19461         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19462         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19463         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19464         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19465         * NEWS: Mention addition of x86_64 vector log.
19467 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19469         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19470         cfi_adjust_cfa_offset argument.
19471         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19472         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19474         [BZ #18034]
19475         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19476         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19477         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19478         ordering using ldar.
19479         (_dl_tlsdesc_dynamic): Likewise.
19480         (_dl_tlsdesc_return_lazy): Likewise.
19481         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19482         relaxed atomics instead of volatile and synchronize with release store.
19483         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19484         volatile.
19485         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19487 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19489         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19490         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19491         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19492         * sysdeps/x86_64/fpu/Versions: New versions added.
19493         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19494         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19495         build of SSE, AVX2 and AVX512 IFUNC versions.
19496         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19497         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19498         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19499         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19500         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19501         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19502         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19503         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19504         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19505         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19506         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19507         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19508         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19509         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19510         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19511         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19512         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19513         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19514         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19515         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19516         * NEWS: Mention addition of x86_64 vector sinf.
19518 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19520         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19521         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19522         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19523         Remove variable.
19524         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19525         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19527 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19529         [BZ #18530]
19530         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19531         strong alias of _IO_fputs.  Use libc_hidden_def.
19532         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19533         and define as weak alias of __fputs_unlocked.  Use
19534         libc_hidden_weak.
19535         * include/stdio.h (__fputs_unlocked): Declare.  Use
19536         libc_hidden_proto.
19537         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19538         fputs_unlocked.
19540         [BZ #18529]
19541         * resolv/netdb.h [__USE_POSIX]: Change condition to
19542         [__USE_XOPEN2K].
19543         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19544         not expect.
19545         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19546         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19547         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19548         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19549         [XPG4 || UNIX98] (AI_ALL): Likewise.
19550         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19551         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19552         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19553         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19554         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19555         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19556         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19557         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19558         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19559         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19560         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19561         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19562         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19563         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19564         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19565         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19566         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19567         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19568         [XPG4 || UNIX98] (gai_strerror): Likewise.
19569         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19570         [XPG4 || UNIX98] (getnameinfo): Likewise.
19572         [BZ #18528]
19573         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19574         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19575         __USE_XOPEN2K8].
19576         (getgrent): Likewise.
19577         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19578         expect.
19579         [XPG3 || POSIX2008] (endgrent): Likewise.
19580         [XPG3] (setgrent): Likewise.
19581         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19582         variable.
19583         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19585         [BZ #18527]
19586         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19587         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19588         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19589         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19590         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19591         * include/unistd.h (__getlogin_r): Declare.  Use
19592         libc_hidden_proto.
19593         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19594         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19595         variable.
19596         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19597         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19598         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19600 2015-06-12  Martin Sebor  <msebor@redhat.com>
19602         [BZ #18512]
19603         * Makerules (check-install-supported): New target.
19604         (install): Add check-install-supported as a dependency.
19605         * manual/install.texi (Installing the C Library): Document
19606         that overriding prefix and exec_prefix is not supported.
19607         Mention DESTDIR.
19608         * INSTALL: Regenerate from the above.
19610 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19612         [BZ #18519]
19613         * posix/Versions (libc): Export __libc_pread at version
19614         GLIBC_PRIVATE.
19615         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19616         instead of pread.
19617         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19618         variable.
19620         [BZ #18522]
19621         * misc/efgcvt_r.c
19622         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19623         (cvt_symbol): Use weak_alias instead of strong_alias.
19624         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19625         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19626         Remove variable.
19627         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19628         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19630         [BZ #18520]
19631         * inet/herrno.c (h_errno): Rename to __h_errno.
19632         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19633         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19634         to __h_errno instead of h_errno.
19635         * nptl/herrno.c (h_errno): Rename to __h_errno.
19636         (__h_errno_location): Refer to __h_errno not h_errno.
19637         * resolv/Versions (h_errno): Rename to __h_errno.
19638         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19639         Remove variable.
19640         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19642 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19644         * configure.ac: More strict check for AVX512 assembler support.
19645         * configure: Regenerated.
19647         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19648         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19650         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19651         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19652         * sysdeps/x86_64/fpu/Versions: New versions added.
19653         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19654         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19655         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19656         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19657         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19658         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19661         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19662         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19663         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19664         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19665         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19666         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19667         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19668         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19669         test.
19670         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19671         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19673         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19674         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19675         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19676         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19677         * NEWS: Mention addition of x86_64 vector sin.
19679 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19681         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19682         comment.
19684 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19686         [BZ #18479]
19687         * nptl/pt-interp.c: New file.
19688         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19689         Add pt-interp.
19690         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19691         $(common-objpfx)runtime-linker.h.
19693 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19695         * Makeconfig (+interp): Remove unused variable.
19696         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19697         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19698         $(elf-objpfx)runtime-linker.h.
19699         ($(elf-objpfx)runtime-linker.h): Rename to
19700         $(common-objpfx)runtime-linker.h and move ...
19701         * Makerules [$(build-shared) = yes]: ... here.
19702         * elf/interp.c: Include <runtime-linker.h> instead of
19703         <elf/runtime-linker.h>.
19705 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19707         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19708         (__gettimeofday_syscall): Remove vsyscall fallback.
19709         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19710         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19711         Add syscall fallback function.
19712         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19713         if vDSO is not present.
19714         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19715         fallback function.
19716         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19717         present.
19718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19719         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19721 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19723         [BZ #18497]
19724         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19725         of wcscmp.
19726         (wcscmp): Define as weak alias of WCSCMP.
19727         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19728         wcscoll.
19729         (USE_HIDDEN_DEF): Define.
19730         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19731         __wcscoll.  Don't use libc_hidden_weak.
19732         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19733         wcscmp.
19734         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19735         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19736         __GI_wcscmp.
19737         (weak_alias): Undefine and redefine.
19738         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19739         __wcscmp and define as weak alias of __wcscmp.
19740         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19741         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19742         (__wcscoll): Likewise.
19743         (wcscmp): Don't use libc_hidden_proto.
19744         (wcscoll): Likewise.
19745         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19746         wcscoll.
19747         * posix/regexec.c (check_node_accept_bytes): Likewise.
19748         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19749         variable.
19750         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19751         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19753         [BZ #18507]
19754         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19755         __fstatvfs and define as weak alias of __fstatvfs.  Use
19756         libc_hidden_weak.
19757         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19758         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19759         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19760         Define as alias of __fstatvfs, not fstatvfs.
19761         (fstatvfs64): Likewise.
19762         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19763         Define as alias of __statvfs, not statvfs.
19764         (statvfs64): Likewise.
19765         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19766         Remove variable.
19768 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19771         (HAVE_GETCPU_VSYSCALL): Define.
19772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19773         (HAVE_GETCPU_VSYSCALL): Likewise.
19774         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19775         * sysdeps/unix/sysv/linux/sched_getcpu.c
19776         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19777         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19778         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19779         prototype.
19780         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19781         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19782         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19783         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19784         Define.
19785         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19786         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19787         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19788         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19790 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19792         * sysdeps/x86_64/fpu/Makefile: New file.
19793         * sysdeps/x86_64/fpu/Versions: New file.
19794         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19795         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19796         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19797         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19798         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19799         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19800         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19801         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19802         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19803         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19804         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19805         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19806         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19807         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19808         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19809         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19810         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19811         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19812         * sysdeps/x86_64/configure: Regenerated.
19813         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19814         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19815         * manual/install.texi (Configuring and compiling): Document
19816         --disable-mathvec.
19817         * INSTALL: Regenerated.
19818         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19820         * math/Makefile: Added rules for vector tests.
19821         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19822         declaration under condition.
19823         * math/test-double-vlen2.h: New file.
19824         * math/test-double-vlen4.h: New file.
19825         * math/test-double-vlen8.h: New file.
19826         * math/test-vec-loop.h: Added initialization macro.
19827         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19828         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19829         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19830         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19831         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19832         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19833         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19834         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19835         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19836         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19837         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19840         * sysdeps/x86_64/fpu/Versions: New versions added.
19841         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19843         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19844         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19845         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19846         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19847         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19848         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19849         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19850         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19851         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19852         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19853         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19854         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19855         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19856         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19857         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19858         * NEWS: Mention addition of x86_64 vector cosf.
19860         * math/Makefile: Added CFLAGS for new tests.
19861         * math/test-float-vlen16.h: New file.
19862         * math/test-float-vlen4.h: New file.
19863         * math/test-float-vlen8.h: New file.
19864         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19865         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19867         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19868         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19869         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19870         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19872         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19873         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19874         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19876 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19878         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19879         * locale/programs/ld-ctype.c: Likewise.
19881 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19883         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19884         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19885         bit_ZMM16_31_state): New macro.
19886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19887         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19889 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19891         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19893 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19895         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19897 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19899         [BZ #18498]
19900         * libio/memstream.c (open_memstream): Rename to __open_memstream
19901         and define as weak alias of __open_memstream.
19902         * include/stdio.h (__open_memstream): Declare.  Use
19903         libc_hidden_proto.
19904         (open_memstream): Don't use libc_hidden_proto.
19905         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19906         open_memstream.
19907         * posix/getopt.c (_getopt_internal_r): Likewise.
19908         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19909         variable.
19910         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19911         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19912         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19914         [BZ #18496]
19915         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19916         instead of wcrtomb.
19918         [BZ #18483]
19919         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19920         [__USE_XOPEN2K8].  Remove redundant #endif.
19921         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19922         Remove redundant #if.
19923         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19924         Remove variable.
19925         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19926         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19928         [BZ #18495]
19929         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19930         (__iswlower): Likewise.
19931         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19932         (__iswlower): Likewise.
19933         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19934         instead of towlower.
19935         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19936         instead of iswlower.  Call __towupper instead of towupper.
19937         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19938         instead of iswalnum.
19940 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19942         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19943         errors to stderr.
19945 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19947         [BZ #15661]
19948         [BZ #17322]
19949         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19950         Check for overflow properly.  Check for O_APPEND.  Ignore large
19951         file system block sizes.  Add comments about problems.
19952         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19953         * manual/filesys.texi (Storage Allocation): New node.
19955 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19957         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19958         cancellable syscalls.
19959         (SYS_ify): Add guard to no redefine it.
19960         (INLINE_SYSCALL): Likewise.
19961         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19962         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19963         SYSCALL_CANCEL instead.
19964         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19965         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19966         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19967         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19968         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19969         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19970         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19971         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19972         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19973         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19974         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19975         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19976         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19977         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19978         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19980         Likewise.
19981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19982         (__libc_pread64): Likewise.
19983         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19984         (__libc_preadv): Likewise.
19985         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19986         (__libc_readv64): Likewise.
19987         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19988         (__libc_pwrite): Likewise.
19989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19990         (__libc_pwrite64): Likewise.
19991         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19992         (__libc_pwritev): Likewise.
19993         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19994         (__libc_pwritev64): Likewise.
19995         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19996         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19997         (sync_file_range): Likewise.
19998         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19999         Likewise.
20000         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20001         Likewise.
20002         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20003         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20004         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20005         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20006         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20007         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20008         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20009         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20011         Likewise.
20012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20013         (__libc_read64): Likewise.
20014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20015         Likewise.
20016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20017         Likewise.
20018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20019         Likewise.
20020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20021         Likewise.
20022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20023         (__libc_pread64): Likewise.
20024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20025         Likewise.
20026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20027         (__libc_pwrite64): Likewise.
20028         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20029         (sync_file_range): Likewise.
20030         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20031         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20032         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20033         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20034         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20035         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20036         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20037         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20038         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20039         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20040         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20041         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20042         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20043         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20044         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20045         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20046         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20047         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20048         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20049         Likewise.
20050         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20051         Likewise.
20052         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20053         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20054         Likewise.
20055         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20056         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20057         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20058         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20059         Likewise.
20060         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20061         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20062         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20063         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20064         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20066 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20068         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20069         Include dl-vdso.
20070         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20071         Use VDSO routines for gettimeofday, clock_gettime if
20072         available.
20073         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20074         Declare VDSO symbols.
20075         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20076         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20077         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20078         * sysdeps/unix/sysv/linux/arm/Versions: Add
20079         __vdso_clock_gettime.
20081 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20083         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20084         be an inline implementation regardless of library is built within.
20085         (open_not_cancel_2): Likewise.
20086         (__read_nocancel): Likewise.
20087         (__write_nocancel): Likewise.
20088         (openat_not_cancel): Likewise.
20089         (openat_not_cancel_3): Likewise.
20090         (openat64_not_cancel): Likewise.
20091         (openat64_not_cancel_3): Likewise.
20092         (__close_nocancel): Likewise.
20093         (pause_not_cancel): Likewise.
20094         (nanosleep_not_cancel): Likewise.
20095         (sigsuspend_not_cancel): Likewise.
20097 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20099         [BZ #14958]
20100         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20101         wake-up.
20102         (__pthread_rwlock_rdlock_slow): Likewise.
20103         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20104         Likewise.
20105         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20106         Likewise.
20107         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20108         * nptl/tst-rwlock16.c: New file.
20109         * nptl/Makefile (tests): Add new test.
20111 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20113         [BZ #18324]
20114         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20115         missing wake-up of readers.
20116         * nptl/tst-rwlock15.c: New file.
20117         * nptl/Makefile (tests): Add new test.
20119 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20121         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20122         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20123         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20124         and __nacl_supply_interface_rtld.
20125         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20126         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20127         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20128         Add __nacl_supply_interface_rtld.
20129         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20131 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20133         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20134         isfinite.
20135         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20136         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20138 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20140         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20141         __signbit* with standard C99 macros.
20142         * math/e_exp10l.c: Likewise.
20143         * math/e_exp2l.c: Likewise.
20144         * math/e_scalb.c: Likewise.
20145         * math/e_scalbf.c: Likewise.
20146         * math/e_scalbl.c: Likewise.
20147         * math/s_ldexp.c: Likewise.
20148         * math/s_ldexpf.c: Likewise.
20149         * math/s_ldexpl.c: Likewise.
20150         * math/w_atan2.c: Likewise.
20151         * math/w_atan2f.c: Likewise.
20152         * math/w_atan2l.c: Likewise.
20153         * math/w_cosh.c: Likewise.
20154         * math/w_coshf.c: Likewise.
20155         * math/w_coshl.c: Likewise.
20156         * math/w_exp10.c: Likewise.
20157         * math/w_exp10f.c: Likewise.
20158         * math/w_exp10l.c: Likewise.
20159         * math/w_exp2.c: Likewise.
20160         * math/w_exp2f.c: Likewise.
20161         * math/w_exp2l.c: Likewise.
20162         * math/w_fmod.c: Likewise.
20163         * math/w_fmodf.c: Likewise.
20164         * math/w_fmodl.c: Likewise.
20165         * math/w_hypot.c: Likewise.
20166         * math/w_hypotf.c: Likewise.
20167         * math/w_hypotl.c: Likewise.
20168         * math/w_jnl.c: Likewise.
20169         * math/w_lgamma.c: Likewise.
20170         * math/w_lgamma_r.c: Likewise.
20171         * math/w_lgammaf.c: Likewise.
20172         * math/w_lgammaf_r.c: Likewise.
20173         * math/w_lgammal.c: Likewise.
20174         * math/w_lgammal_r.c: Likewise.
20175         * math/w_pow.c: Likewise.
20176         * math/w_powf.c: Likewise.
20177         * math/w_powl.c: Likewise.
20178         * math/w_remainder.c: Likewise.
20179         * math/w_remainderf.c: Likewise.
20180         * math/w_remainderl.c: Likewise.
20181         * math/w_scalb.c: Likewise.
20182         * math/w_scalbf.c: Likewise.
20183         * math/w_scalbl.c: Likewise.
20184         * math/w_scalbln.c: Likewise.
20185         * math/w_scalblnf.c: Likewise.
20186         * math/w_scalblnl.c: Likewise.
20187         * math/w_sinh.c: Likewise.
20188         * math/w_sinhf.c: Likewise.
20189         * math/w_sinhl.c: Likewise.
20190         * math/w_tgamma.c: Likewise.
20191         * math/w_tgammaf.c: Likewise.
20192         * math/w_tgammal.c: Likewise.
20193         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20194         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20195         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20196         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20197         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20198         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20199         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20200         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20201         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20202         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20203         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20204         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20205         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20206         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20207         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20208         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20209         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20210         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20211         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20212         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20214         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20215         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20217         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20218         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20219         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20220         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20221         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20222         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20223         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20224         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20225         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20226         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20227         * stdio-common/printf_fp.c: Likewise.
20228         * stdio-common/printf_fphex.c: Likewise.
20229         * stdio-common/printf_size.c: Likewise.
20231 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20233         [BZ #18470]
20234         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20235         strnlen.
20236         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20237         Remove variable.
20238         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20239         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20240         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20241         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20242         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20243         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20244         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20245         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20246         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20247         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20249         [BZ #18468]
20250         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20251         weak alias of __wmemchr.  Use libc_hidden_weak.
20252         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20253         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20254         instead of wmemchr.
20256 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20258         [BZ #18383]
20259         * elf/tst-tlsalign-extern.c: New file.
20260         * elf/tst-tlsalign-extern-static.c: New file.
20261         * elf/tst-tlsalign-vars.c: New file.
20262         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20263         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20264         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20265         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20266         (test-xfail-tst-tlsalign-extern-static): New variable.
20268 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20270         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20271         Use variable name _sc_err instead of err.
20272         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20273         instead of ret.
20274         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20275         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20276         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20277         (INLINE_SYSCALL): Likewise.
20279         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20280         * include/string.h (__strnlen): Use libc_hidden_proto.
20281         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20282         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20283         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20284         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20285         (libc_hidden_def): Undefine and redefine.
20286         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20287         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20288         __GI_strnlen.
20289         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20290         libc_hidden_def.
20291         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20293         [BZ #18469]
20294         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20295         weak alias of __towlower.  Use libc_hidden_weak.
20296         (towupper): Rename to __towupper and define as weak alias of
20297         __towupper.  Use libc_hidden_weak.
20298         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20299         (__towupper): Likewise.
20300         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20301         __towlower instead of towlower.
20303 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20305         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20306         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20308 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20310         * sysdeps/aarch64/libm-test-ulps: Update.
20312 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20314         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20315         Define.
20316         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20318         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20319         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20320         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20321         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20322         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20324 2015-06-01  Martin Sebor  <msebor@redhat.com>
20326         [BZ #18116]
20327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20328         (__setcontext): Use extended four-operand version of mtsf whenever
20329         possible.
20330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20331         (__novec_swapcontext): Likewise.
20333 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20335         * benchtests/scripts/compare_bench.py: New file.
20336         * benchtests/scripts/import_bench.py (mean): New function.
20337         (split_list): Likewise.
20338         (do_for_all_timings): Likewise.
20339         (compress_timings): Likewise.
20341         * benchtests/scripts/import_bench.py: New file.
20342         * benchtests/scripts/validate_benchout.py: Import import_bench
20343         instead of jsonschema.
20344         (validate_bench): Remove function.
20345         (main): Use import_bench.
20347 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20349         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20350         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20352 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20356 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20358         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20359         set THREAD_SELF->tid to a magic value and futex-wake it.
20360         Pass its address to the thread_exit system call.
20361         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20362         bit is clear.
20363         * sysdeps/nacl/lowlevellock.h: New file.
20364         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20366         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20367         Add TIMEOUT to current time, don't subtract it.
20369 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20371         [BZ #2981]
20372         [BZ #18422]
20373         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20374         ($(objpfx)tst-audit2.out): Also depend on
20375         $(objpfx)tst-auditmod9b.so.
20376         * elf/tst-audit2.c: Include <dlfcn.h>.
20377         (calloc_called): New.
20378         (calloc): Allow to be called more than once.
20379         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20381 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20383         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20384         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20386 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20388         * stdlib/monetary.h: Fix comment.
20390 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20392         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20393         Avoid using variables in #defines that might cause shadowing.
20394         (INTERNAL_VSYSCALL_CALL): Likewise.
20396 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20398         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20400         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20401         * nptl/lll_timedlock_wait.c: ... to this new file.
20402         * nptl/Makefile (libpthread-routines): Add it.
20403         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20404         * nptl/lll_timedwait_tid.c: ... to this new file.
20405         * nptl/Makefile (libpthread-routines): Add it.
20406         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20407         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20408         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20409         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20410         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20411         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20412         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20413         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20414         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20415         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20417 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20419         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20420         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20421         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20422         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20423         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20425         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20427         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20428         * sysdeps/unix/sysv/linux/tile/sysdep.h
20429         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20430         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20431         using vDSO syscall macro.
20433 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20435         [BZ #17293]
20436         * uk_UA: Fix sorting order for Ukrainian locale
20438 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20440         * stdlib/monetary.h: Fix comment.
20442 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20444         [BZ #18234]
20445         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20446         st_mtim and st_ctim members.
20447         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20448         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20449         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20450         (struct stat64): Likewise.
20451         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20452         (struct stat64): Likewise.
20453         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20454         (struct stat64): Likewise.
20456 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20458         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20459         Define and include sysdep-vdso.h.
20460         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20461         Likewise.
20462         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20463         Likewise.
20464         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20465         Define with VDSO_SYMBOL and use PTR_MANGLE.
20466         (__vdso_clock_gettime): Likewise.
20467         (__vdso_clock_getres): Likewise.
20468         (_libc_vdso_platform_setup): Likewise.
20469         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20470         Likewise.
20471         (_libc_vdso_platform_setup): Likewise.
20472         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20473         Likewise.
20474         (__vdso_clock_gettime): Likewise.
20475         (__vdso_clock_getres): Likewise.
20476         (__vdso_get_tbfreq): Likewise.
20477         (__vdso_getcpu): Likewise.
20478         (__vdso_time): Likewise.
20479         (__vdso_sigtramp_rt64): Likewise.
20480         (__vdso_signtramp32): Likewise.
20481         (__vdso_sigtramp_rt32): Likewise.
20482         (_libc_vdso_platform_setup): Likewise.
20483         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20484         Likewise.
20485         (__vdso_clock_gettime): Likewise.
20486         (__vdso_clock_getres): Likewise.
20487         (_libc_vdso_platform_setup): Likewise.
20488         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20489         Likewise.
20490         (__vdso_clock_gettime): Likewise.
20491         (_libc_vdso_platform_setup): Likewise.
20492         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20493         Likewise.
20494         (__vdso_getcpu): Likewise.
20495         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20496         Use VDSO_SYMBOL macro to define.
20497         (__vdso_clock_gettime): Likewise.
20498         (__vdso_clock_getres): Likewise.
20499         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20500         Likewise.
20501         (__vdso_clock_gettime): Likewise.
20502         (__vdso_clock_getres): Likewise.
20503         (__vdso_get_tbfreq): Likewise.
20504         (__vdso_getcpu): Likewise.
20505         (__vdso_time): Likewise.
20506         (__vdso_sigtramp_rt64): Likewise.
20507         (__vdso_signtramp32): Likewise.
20508         (__vdso_sigtramp_rt32): Likewise.
20509         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20510         Likewise.
20511         (__vdso_clock_gettime): Likewise.
20512         (__vdso_clock_getres): Likewise.
20513         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20514         Likewise.
20515         (__vdso_clock_gettime): Likewise.
20516         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20517         Likewise.
20518         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20519         macro.
20520         (INTERNAL_VSYSCALL): Likewise.
20521         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20522         Remove macro.
20523         (INTERNAL_VSYSCALL): Likewise.
20524         (INTERNAL_VSYSCALL_NCS): Likewise.
20525         (INTERNAL_VSYSCALL_CALL): New macro.
20526         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20527         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20528         Likewise.
20529         (INTERNAL_VSYSCALL): Likewise.
20530         (INTERNAL_VSYSCALL_NCS): Likewise.
20531         (INTERNAL_VSYSCALL_CALL): New macro.
20532         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20534         (INLINE_VSYSCALL): Remove macro.
20535         (INTERNAL_VSYSCALL): Remove macro.
20536         (INTERNAL_VSYSCALL_NCS): Remove macro.
20537         (INTERNAL_VSYSCALL_CALL): New macro.
20538         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20539         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20540         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20541         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20542         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20544         (INLINE_VSYSCALL): Remove macro.
20545         (INTERNAL_VSYSCALL): Likewise.
20546         (INTERNAL_VSYSCALL_NCS): Likewise.
20547         (INTERNAL_VSYSCALL_CALL): New macro.
20548         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20549         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20550         PTR_DEMANGLE on vDSO pointer.
20551         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20552         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20553         macro.
20554         (INTERNAL_SYSCALL): Likewise.
20555         (INTERNAL_VSYSCALL_NCS): Remove macro.
20556         (INTERNAL_VSYSCALL_CALL): New macro.
20557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20558         Remove macro.
20559         (INTERNAL_VSYSCALL): Likewise.
20560         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20561         sysdep-vdso.h instead of libc-vdso.h.
20562         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20563         definition.
20564         (INLINE_VSYSCALL): Likewise.
20565         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20566         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20567         definition.
20568         (INLINE_VSYSCALL): Likewise.
20569         (INTERNAL_VSYSCALL): Likewise.
20570         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20571         * sysdeps/unix/sysv/linux/timespec_get.c
20572         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20573         (timespec_get): Use ANSI prototype.
20574         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20575         and definition for Linux.
20577 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20579         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20580         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20582 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20584         [BZ #2981]
20585         [BZ #18410]
20586         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20587         for missing DT_PLTRELSZ.
20589 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20591         Remove obsolete aliases that broke 'locale -a'
20592         [BZ #18412]
20593         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20594         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20595         breaking some applications that use 'locale -a' output.
20596         Change the encoding of this file from Latin-1 to ASCII to avoid
20597         other potential problems with people grepping this file.
20599 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20601         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20602         -fasynchronous-unwind-tables.
20603         (CFLAGS-sendto.c): Likewise.
20604         (CFLAGS-sendmsg.c): Likewise.
20605         (CFLAGS-connect.c): Likewise.
20606         (CFLAGS-recvmsg.c): Likewise.
20607         (CFLAGS-recvfrom.c): Likewise.
20608         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20609         (SOCKETCALL): New macro: non-cancellable socketcall.
20610         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20611         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20612         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20613         * sysdeps/unix/sysv/linux/accept.c: New file.
20614         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20615         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20616         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20617         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20618         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20619         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20620         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20621         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20622         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20623         * sysdeps/unix/sysv/linux/send.c: Likewise.
20624         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20625         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20626         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20627         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20628         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20629         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20630         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20631         prototype.
20632         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20633         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20634         instead of __internal_xxx function.
20635         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20636         prototype.
20637         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20638         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20639         instead of __internal_xxx function.
20640         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20641         prototype.
20642         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20643         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20644         instead of __internal_xxx function.
20645         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20646         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20647         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20648         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20649         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20650         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20651         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20652         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20653         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20654         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20655         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20656         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20657         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20658         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20659         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20660         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20661         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20662         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20663         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20664         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20667         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20668         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20669         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20670         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20671         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20672         * sysdeps/unix/sysv/linux/send.S: Likewise.
20673         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20674         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20675         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20676         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20677         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20678         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20679         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20680         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20681         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20682         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20683         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20684         socketcall is implemented in GLIBC.
20686 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20688         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20689         (__fma): Ignore uninitialized warnings around packing.
20690         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20691         (__fmaf): Ignore uninitialized warnings around packing.
20692         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20693         (__fmal): Ignore uninitialized warnings around packing.
20695         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20696         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20697         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20698         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20700         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20701         switch statement into default case.
20702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20704         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20705         a conditional in forcing "inexact".
20706         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20707         Likewise.
20709 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20711         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20712         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20713         for each INTERNAL_SYSCALL use.
20715 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20717         [BZ #438]
20718         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20719         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20720         variable.
20722         [BZ #18444]
20723         * string/basename.c (basename): Rename to __basename and define as
20724         weak alias of __basename.  Use libc_hidden_weak.
20725         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20726         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20727         __basename instead of basename.
20728         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20729         Remove variable.
20730         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20732 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20734         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20735         (_IO_JUMPS_FILE_plus): New.
20736         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20737         _IO_CAST_FIELD_ACCESS.
20738         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20739         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20740         * libio/freopen.c (freopen): Likewise.
20741         * libio/freopen64.c (freopen64): Likewise.
20742         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20743         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20744         * libio/iofwide.c (_IO_fwide): Likewise.
20745         * libio/memstream.c (open_memstream): Likewise.
20746         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20747         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20748         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20750 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20752         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20753         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20754         NADJ.
20755         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20756         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20757         NADJ.
20758         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20759         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20760         NADJ.
20762         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20763         (p == 4) case.
20765         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20766         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20767         Remove variable.
20768         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20769         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20770         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20772 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20774         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20775         Adjust jump table label generation macros.
20777 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20779         * stdio-common/vfprintf.c (vfprintf): Move local variables
20780         args_malloced, specs, specs_malloced, and the code after
20781         do_positional to the printf_positional function.
20782         (printf_positional): New function.
20784 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20786         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20787         function.
20788         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20789         STEP4_TABLE, process_arg): Move macro definitions
20790         out of the vfprintf function.  (Cosmetic change only.)
20792 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20794         * benchtests/Makefile (stdio-common-bench): Define.
20795         (benchset): Add stdio-common-bench.
20796         * sprintf-inputs: New file.
20797         * sprintf-source.c: New file.
20799 2015-05-21  Andreas Schwab  <schwab@suse.de>
20801         [BZ #13028]
20802         [BZ #17053]
20803         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20804         of struct __res_state.
20805         * resolv/res_send.c (__libc_res_nsend): Likewise.
20806         (get_nsaddr): New function.
20807         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20808         statp directly.
20810 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20812         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20813         -D_POSIX_C_SOURCE=199506L.
20815         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20817         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20818         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20819         Do not mention otherwise.
20820         [POSIX] (_XOPEN_VERSION): Do not expect.
20821         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20822         [POSIX] (_POSIX2_C_BIND): Likewise.
20823         [POSIX] (_POSIX2_VERSION): Likewise.
20824         [POSIX] (_XOPEN_XPG2): Likewise.
20825         [POSIX] (_XOPEN_XPG3): Likewise.
20826         [POSIX] (_XOPEN_XPG4): Likewise.
20827         [POSIX] (_XOPEN_UNIX): Likewise.
20828         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20829         [POSIX] (_POSIX_BARRIERS): Likewise.
20830         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20831         [POSIX] (_POSIX_CPUTIME): Likewise.
20832         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20833         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20834         [POSIX] (_POSIX_SHELL): Likewise.
20835         [POSIX] (_POSIX_SPAWN): Likewise.
20836         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20837         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20838         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20839         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20840         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20841         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20842         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20843         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20844         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20845         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20846         [POSIX] (_POSIX2_PBS): Likewise.
20847         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20848         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20849         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20850         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20851         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20852         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20853         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20854         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20855         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20856         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20857         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20858         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20859         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20860         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20861         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20862         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20863         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20864         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20865         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20866         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20867         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20868         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20869         [POSIX] (_SC_2_C_BIND): Likewise.
20870         [POSIX] (_SC_2_C_VERSION): Likewise.
20871         [POSIX] (_SC_2_PBS): Likewise.
20872         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20873         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20874         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20875         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20876         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20877         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20878         [POSIX] (_SC_BARRIERS): Likewise.
20879         [POSIX] (_SC_BASE): Likewise.
20880         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20881         [POSIX] (_SC_DEVICE_IO): Likewise.
20882         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20883         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20884         [POSIX] (_SC_FD_MGMT): Likewise.
20885         [POSIX] (_SC_FIFO): Likewise.
20886         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20887         [POSIX] (_SC_FILE_LOCKING): Likewise.
20888         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20889         [POSIX] (_SC_IOV_MAX): Likewise.
20890         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20891         [POSIX] (_SC_NETWORKING): Likewise.
20892         [POSIX] (_SC_PAGE_SIZE): Likewise.
20893         [POSIX] (_SC_PASS_MAX): Likewise.
20894         [POSIX] (_SC_PIPE): Likewise.
20895         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20896         [POSIX] (_SC_REGEXP): Likewise.
20897         [POSIX] (_SC_SHELL): Likewise.
20898         [POSIX] (_SC_SIGNALS): Likewise.
20899         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20900         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20901         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20902         [POSIX] (_SC_USER_GROUPS): Likewise.
20903         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20904         [POSIX] (_SC_STREAMS): Likewise.
20905         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20906         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20907         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20908         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20909         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20910         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20911         [POSIX] (_PC_FILESIZEBITS): Likewise.
20912         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20913         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20914         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20915         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20916         [POSIX] (uid_t): Likewise.
20917         [POSIX] (gid_t): Likewise.
20918         [POSIX] (off_t): Likewise.
20919         [POSIX] (pid_t): Likewise.
20920         [POSIX] (cuserid): Allow.
20921         (_SC_2_CHAR_TERM): Require constant.
20922         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20923         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20924         variable.
20926 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20928         * sysdeps/nacl/pthread-pids.h: New file.
20929         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20930         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20932         * nptl/pthread-pids.h: New file.
20933         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20934         * nptl/nptl-init.c: Include <pthread-pids.h>.
20935         (__pthread_initialize_minimal_internal):
20936         Call __pthread_initialize_pids instead of set_tid_address syscall.
20938         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20939         * sysdeps/posix/usleep.c: ... here.
20941 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20943         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20944         call_pselect6 object.
20945         [$(subdir) = io]: Remove call_sync_file_range object.
20946         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20947         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20948         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20949         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20951 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20953         * math/s_cproj.c: Add include "math_private.h".
20954         * math/s_cprojf.c: Likewise.
20955         * math/s_cprojl.c: Likewise.
20957 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20959         [BZ #18244]
20960         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20961         high mantissa bit when testing whether P is a NaN.
20962         * math/libm-test.inc (remainder_test_data): Add more tests.
20963         (remquo_test_data): Likewise.
20965         [BZ #18049]
20966         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20967         below -32, return the argument, with underflow if subnormal.
20968         * math/auto-libm-test-in: Add more tests of atanh.
20969         * math/auto-libm-test-out: Regenerated.
20971 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20973         [BZ #18434]
20974         * nptl/tst-sem15.c: New file.
20975         * nptl/Makefile (tests): Add it.
20976         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20977         s/<</>>/ to fix typo in EOVERFLOW check.
20978         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20980 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20982         * manual/strings.texi (envz_remove): Fix typo in safety
20983         annotations.
20985 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20986             Steve Ellcey  <sellcey@imgtec.com>
20988         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20989         in order to avoid strict alias warnings.
20990         (iruserok_af): Ditto for ra.
20992 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20994         [BZ #17581]
20995         * malloc/hooks.c
20996         (magicbyte): Convert to a function and avoid returning 0x01.
20997         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20998         (mem2chunk_check): Fix unsigned comparisons to zero.
20999         Hoist defs of sz and magic.
21001 2015-05-19  Richard Henderson  <rth@redhat.com>
21003         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21005         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21007 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21009         [BZ #16159]
21010         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21011         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21012         (reused_arena): Find a non-corrupt arena.
21013         (heap_trim): Pass arena to unlink.
21014         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21015         malloc_printerr.
21016         (top_check): Likewise.
21017         (free_check): Likewise.
21018         (realloc_check): Likewise.
21019         * malloc/malloc.c (malloc_printerr): Add arena argument.
21020         (unlink): Likewise.
21021         (munmap_chunk): Adjust.
21022         (ARENA_CORRUPTION_BIT): New macro.
21023         (arena_is_corrupt): Likewise.
21024         (set_arena_corrupt): Likewise.
21025         (sysmalloc): Use mmap if there are no usable arenas.
21026         (_int_malloc): Likewise.
21027         (__libc_malloc): Don't fail if arena_get returns NULL.
21028         (_mid_memalign): Likewise.
21029         (__libc_calloc): Likewise.
21030         (__libc_realloc): Adjust for additional argument to
21031         malloc_printerr.
21032         (_int_free): Likewise.
21033         (malloc_consolidate): Likewise.
21034         (_int_realloc): Likewise.
21035         (_int_memalign): Don't touch corrupt arenas.
21036         * malloc/tst-malloc-backtrace.c: New test case.
21038         * Makefile (summarize-tests): Fix return value on success.
21040         * manual/string.texi (Envz Functions): Add envz_remove.
21042 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21044         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21045         (invalid_name): New function, broken out of ...
21046         (__opendirat): ... here.  Call it.
21047         (need_isdir_precheck): New function, broken out of ...
21048         (__opendirat): ... here.  Call it.
21049         Use __fxstatat64, not __xstatat64.
21050         (opendir_oflags): New function, broken out of ...
21051         (__opendirat): ... here.  Call it.
21052         (opendir_tail): New function, broken out of ...
21053         (__opendirat): ... here.  Call it.
21054         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21055         opendir_tail, rather than punting to __opendirat.
21056         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21058 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21060         * .gitignore: Ignore generated *.pyc.
21062 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21064         * include/stdio.h: Define __need_wint_t.
21065         * test-skeleton.c: Avoid `for' loop initial declaration.
21066         * nptl/tst-initializers1.c: Use test-skeleton.c.
21068 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21070         [BZ #18418]
21071         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21073 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #16352]
21076         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21077         (__ieee754_atanh): Force underflow exception for results with
21078         small absolute value.
21079         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21080         (__ieee754_atanhf): Force underflow exception for results with
21081         small absolute value.
21082         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21083         (__ieee754_atanh): Force underflow exception for results with
21084         small absolute value.
21085         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21086         (__ieee754_atanhf): Force underflow exception for results with
21087         small absolute value.
21088         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21089         (__ieee754_atanhl): Force underflow exception for results with
21090         small absolute value.
21091         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21092         (__ieee754_atanhl): Force underflow exception for results with
21093         small absolute value.
21094         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21095         (__ieee754_atanhl): Force underflow exception for results with
21096         small absolute value.
21097         * math/auto-libm-test-in: Do not allow missing underflow
21098         exceptions from atanh.
21099         * math/auto-libm-test-out: Regenerated.
21101         [BZ #18221]
21102         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21103         2**-28 as threshold for returning x or +/- 1/x.
21104         * math/auto-libm-test-in: Add more tests of tan.
21105         * math/auto-libm-test-out: Regenerated.
21107         [BZ #18220]
21108         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21109         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21110         * math/auto-libm-test-in: Add another test of lgamma.
21111         * math/auto-libm-test-out: Regenerated.
21113 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21115         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21116         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21117         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21118         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21119         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21120         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21121         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21122         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21123         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21124         (log1): Use fabs.  (my_log2): Use fabs.
21125         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21126         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21127         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21128         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21130         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21131         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21132         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21133         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21134         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21135         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21137 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21139         [BZ #18217]
21140         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21141         as threshold for returning 1 - x.
21142         * math/auto-libm-test-in: Add more tests of erfc.
21143         * math/auto-libm-test-out: Regenerated.
21145 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21147         [BZ #18196]
21148         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21149         threshold for large arguments.
21150         * math/auto-libm-test-in: Add another test of atan.
21151         * math/auto-libm-test-out: Regenerated.
21153         [BZ #16339]
21154         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21155         (__log1p): Force underflow exception for results with small
21156         absolute value.
21157         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21158         (__log1pf): Force underflow exception for results with small
21159         absolute value.
21160         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21161         (__log1p): Force underflow exception for results with small
21162         absolute value.
21163         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21164         (__log1pf): Force underflow exception for results with small
21165         absolute value.
21166         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21167         (__log1pl): Force underflow exception for results with small
21168         absolute value.
21169         * math/auto-libm-test-in: Do not allow missing underflow
21170         exceptions from log1p.
21171         * math/auto-libm-test-out: Regenerated.
21173 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21174             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21176         [BZ #16704]
21177         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21179 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21181         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21182         (libmvec): New variable.
21183         * configure.ac: Added option for mathvec build.
21184         * configure: Regenerated.
21185         * mathvec/Depend: New file.
21186         * mathvec/Makefile: New file.
21187         * shlib-versions: Added libmvec.
21188         * math/Makefile: Added rule for libm.so installation.
21190         * bits/math-vector.h: New file.
21191         * bits/libm-simd-decl-stubs.h: New header.
21192         * math/Makefile (headers): Added new header
21193         libm-simd-decl-stubs.h.
21194         * math/math.h (__MATHCALL_VEC): New macro.
21196         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21197         for conditions in testing functions.
21198         * math/Makefile: Added call of libm-have-vector-test.sh.
21199         * math/libm-test.inc (HAVE_VECTOR): New macros.
21201         * math/libm-test.inc: START refactored.
21202         * math/test-double.c (TEST_MATHVEC): Add define.
21203         * math/test-float.c: Likewise.
21204         * math/test-idouble.c: Likewise.
21205         * math/test-ifloat.c: Likewise.
21206         * math/test-ildoubl.c: Likewise.
21207         * math/test-ldouble.c: Likewise.
21208         * sysdeps/generic/math-tests-arch.h
21209         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21210         architecture check.
21212         * math/test-double.c (FUNC_TEST): New macro.
21213         * math/test-float.c: Likewise.
21214         * math/test-idouble.c: Likewise.
21215         * math/test-ifloat.c: Likewise.
21216         * math/test-ildoubl.c: Likewise.
21217         * math/test-ldouble.c: Likewise.
21218         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21220 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21222         * sysdeps/nacl/fdopendir.c: New file.
21224         * dirent/scandir-tail.c: New file.
21225         * dirent/scandir64-tail.c: New file.
21226         * dirent/Makefile (routines): Add them.
21227         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21228         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21229         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21230         [!SCANDIR] (SCANDIR_TAIL): New macro.
21231         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21232         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21233         (SCANDIRAT): Macro removed.
21234         (SCANDIR_TAIL): New macro.
21235         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21236         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21237         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21238         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21239         (READDIR): Macro removed.
21240         (SCANDIR_TAIL): New macro.
21241         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21242         (SCANDIR_TAIL): New macro.
21244         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21245         * dirent/scandir-cancel.c: ... to this new file.
21246         * dirent/Makefile (routines): Add it.
21247         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21248         * sysdeps/unix/sysv/linux/i386/scandir64.c
21249         (SKIP_SCANDIR_CANCEL): Macro removed.
21250         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21252         * dirent/tst-scandir.c: New file.
21253         * dirent/tst-scandir64.c: New file.
21254         * dirent/Makefile (tests): Add them.
21256 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21258         [BZ #18409]
21259         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21261 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21263         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21264         list.
21266 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21268         * benchtests/bench-strcoll.c: New benchmark.
21269         * benchtests/Makefile: Generate locales and run benchmark.
21270         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21271         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21272         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21273         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21274         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21275         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21276         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21277         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21278         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21279         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21280         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21281         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21282         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21283         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21284         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21285         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21286         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21287         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21288         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21289         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21290         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21291         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21292         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21293         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21295 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21297         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21298         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21300 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21302         * posix/uname-values.h: New file.
21303         * posix/uname.c: Include that instead of <config-name.h>.
21304         * sysdeps/nacl/uname-values.h: New file.
21305         * sysdeps/arm/nacl/uname-values.h: New file.
21307 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21309         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21310         splitting into fields.
21312 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21314         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21315         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21316         * locale/localeinfo.h: Add enum collation_encoding_type.
21317         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21318         * programs/ld-collate.c (collate_output): Add encoding type info.
21319         * string/strcoll_l.c (STRDIFF): New function.
21320         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21321         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21323 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21325         [BZ #18397]
21326         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21327         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21328         <fpu_control.h> instead of <math/fpu_control.c>.
21329         * sysdeps/mips/mips32/fpu/Makefile: New file.
21331 2015-05-11  Andreas Schwab  <schwab@suse.de>
21333         [BZ #18007]
21334         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21335         nss_endgrent.
21336         (_nss_compat_endgrent): Call nss_endgrent.
21337         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21338         nss_endpwent.
21339         (_nss_compat_endpwent): Call nss_endpwent.
21340         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21341         needent, call nss_setspent only if non-zero.
21342         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21343         (internal_endspent): Don't call nss_endspent.
21344         (_nss_compat_endspent): Call nss_endspent.
21345         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21346         Remove.  All uses removed.
21347         (internal_setent): Remove parameter stayopen, add parameter
21348         stream.  Use it instead of global variable.
21349         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21350         (internal_endent, internal_getent): Add parameter stream.  Use it
21351         instead of global variable.
21352         (CONCAT(_nss_files_end,ENTNAME))
21353         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21354         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21355         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21356         uses removed.
21357         (internal_setent, internal_endent): Add parameter stream.  Use it
21358         instead of global variable.
21359         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21360         stream.
21361         (get_next_alias): Add parameter stream.
21362         (_nss_files_getaliasent_r): Pass global stream.
21363         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21364         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21365         (_nss_files_gethostbyname4_r): Pass local stream to
21366         internal_setent, internal_getent and internal_endent.  Remove
21367         locking.
21369 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21371         * tst-strfmon1.c (tests): Update expected currency symbol.
21373 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21375         * sysdeps/nacl/gethostname.c: New file.
21377 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21379         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21380         and sinh.
21381         * math/auto-libm-test-out: Regenerated.
21382         * sysdeps/i386/fpu/libm-test-ulps: Update.
21383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21385 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21387         [BZ #18125]
21388         * stdlib/tst-setcontext3.c: New file.
21389         * stdlib/tst-setcontext3.sh: New file.
21390         * stdlib/Makefile (tests): Add tst-setcontext3.
21391         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21392         to verify test program created output file.
21393         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21394         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21395         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21396         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21398 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21400         [BZ #18383]
21401         * elf/tst-tlsalign.c: New file.
21402         * elf/tst-tlsalign-static.c: New file.
21403         * elf/tst-tlsalign-lib.c: New file.
21404         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21405         (tests-static): Add tst-tlsalign-static.
21406         (modules-names): Add tst-tlsalign-lib.
21407         (test-xfail-tst-tlsalign): New variable.
21408         (test-xfail-tst-tlsalign-static): New variable.
21410         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21411         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21413 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21415         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21416         csqrt, erfc, sin and sincos.
21417         * math/auto-libm-test-out: Regenerated.
21418         * sysdeps/i386/fpu/libm-test-ulps: Update.
21419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21421 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21423         * sysdeps/aarch64/libm-test-ulps: Update.
21425 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21427         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21428         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21429         * math/auto-libm-test-out: Regenerated.
21430         * sysdeps/i386/fpu/libm-test-ulps: Update.
21431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21433 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21435         [BZ #18265]
21436         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21437         (wcsncpy): Likewise.
21439 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21441         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21442         Assume __ASSUME_FALLOCATE is always true.
21443         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21444         (__posix_fallocate64_l64): Likweise.
21445         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21446         (posix_fallocate): Likewise.
21447         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21448         (__posix_fallocate64_l64): Likewise.
21449         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21450         [!__ASSUME_FALLOCATE]: Add comment.
21452 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21454         * sysdeps/unix/sysv/linux/i386/Makefile
21455         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21456         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21457         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21458         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21459         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21460         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21461         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21463 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21465         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21466         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21467         tgamma.
21468         * math/auto-libm-test-out: Regenerated.
21469         * sysdeps/i386/fpu/libm-test-ulps: Update.
21470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21472 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21474         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
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         * math/auto-libm-test-in: Add more tests of tan.
21485         * math/auto-libm-test-out: Regenerated.
21486         * sysdeps/i386/fpu/libm-test-ulps: Update.
21487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21489         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21490         * math/auto-libm-test-out: Regenerated.
21491         * sysdeps/i386/fpu/libm-test-ulps: Update.
21492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21494         * math/auto-libm-test-in: Add another test of pow.
21495         * math/auto-libm-test-out: Regenerated.
21496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21498         * math/auto-libm-test-in: Add more tests of lgamma.
21499         * math/auto-libm-test-out: Regenerated.
21500         * sysdeps/i386/fpu/libm-test-ulps: Update.
21501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21503         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21504         log1p.
21505         * math/auto-libm-test-out: Regenerated.
21506         * sysdeps/i386/fpu/libm-test-ulps: Update.
21507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21509 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21511         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21512         Elf64_Chdr structs and ELFCOMPRESS constants.
21514 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21516         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21517         expm1.
21518         * math/auto-libm-test-out: Regenerated.
21519         * sysdeps/i386/fpu/libm-test-ulps: Update.
21520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21522         * math/auto-libm-test-in: Add more tests of erf and erfc.
21523         * math/auto-libm-test-out: Regenerated.
21524         * sysdeps/i386/fpu/libm-test-ulps: Update.
21525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21527 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21529         * config.h.in (HAVE_AARCH64_BE): Add.
21531 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21533         * math/auto-libm-test-in: Add more tests of csqrt.
21534         * math/auto-libm-test-out: Regenerated.
21535         * sysdeps/i386/fpu/libm-test-ulps: Update.
21536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21538         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21539         * math/auto-libm-test-out: Regenerated.
21540         * sysdeps/i386/fpu/libm-test-ulps: Update.
21541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21543         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21545 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21547         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21548         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21550         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21551         (euidaccess, eaccess): Define as weak aliases.
21553         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21554         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21555         but __suseconds_t is often 'long int' so some sources assume that
21556         type is being used (e.g. they use %ld to print tv_usec).
21558 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21560         [BZ #18007]
21561         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21562         (CVE-2014-8121)
21563         * nss/tst-nss-getpwent.c: New file.
21564         * nss/Makefile (tests): Add new test.
21566 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21568         [BZ #18346]
21569         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21570         exponents less than 48 as cases where high part of mantissa needs
21571         examining to determine whether argument is integral.
21572         * math/libm-test.inc (round_test_data): Add more tests.
21574 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21576         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21578 2015-04-27  David S. Miller  <davem@davemloft.net>
21580         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21581         __tls_get_addr.
21582         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21584 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21586         [BZ#18333]
21587         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21589 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21591         [BZ#18333]
21592         * time/tzset.c (parse_tzname): Return error on memory allocation
21593         failure.
21594         * test-skeleton.c (struct temp_name_list): Change type of name
21595         member to non-const.
21596         (add_temp_file): Create a copy of the file name.
21597         (delete_temp_files): Deallocate memory.
21598         (create_temp_file): Add comment.
21600 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21602         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21603         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21605 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21607         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21608         * sysdeps/arm/configure: Regenerated.
21610 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21612         [BZ #17715]
21613         * time/tzfile.c (__tzfile_read): Check for large values of
21614         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21615         * time/tzset.c (__tzstring_len): New function, based on the old
21616         __tzstring function.
21617         (__tzstring): Call __tzstring_len.
21618         (parse_tzname): New helper function extracted from
21619         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21620         the input string.
21621         (parse_offset): New helper function extracted from
21622         __tzset_parse_tz.  Replace switch with fallthrough with
21623         initialization before sscanf.
21624         (parse_rule): Likewise.
21625         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21626         new-style function definition.
21627         * timezone/Makefile (tests): Add tst-tzset.
21628         (tst-tzset.out): Dependencies on time zone files.
21629         (tst-tzset-ENV): Set TZDIR.
21630         (testdata/XT%): Copy crafted time zone files.
21631         * timezone/README: Mention crafted time zone files.
21632         * timezone/testdata/XT1, timezone/testdata/XT2,
21633         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21634         files.
21635         * timezone/tst-tzset.c: New test.
21637 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21639         * Makeconfig (+gccwarn): Remove -Winline.
21641 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21643         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21645 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21647         * NEWS: Mention sysconf() cache information support for s390.
21648         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21650 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21652         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21653         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21654         (__nearbyint): Likewise.
21655         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21656         (copysignl): Likewise.
21658 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21660         [BZ #18287]
21661         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21662         based on padding.  (CVE-2015-1781)
21664 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21666         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21667         libc-vdso.h.
21668         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21669         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21670         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21671         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21672         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21673         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21674         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21675         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21676         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21677         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21678         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21679         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21680         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21681         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21682         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21683         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21684         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21685         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21686         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21687         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21688         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21689         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21690         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21692 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21694         * stdlib/setenv.c (__add_to_environ):
21695         Dump core quickly if setenv (..., NULL, ...) is called.
21696         This time, do it the right way, and pacify GCC with a pragma.
21698 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21700         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21701         IMAP->l_prev cannot be null, and #if out the code for the contrary
21702         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21703         believe that NS (&_dl_ns[NSID]) could point outside the array.
21705         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21706         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21707         before using NSID as an index.
21709 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21711         [BZ #17825]
21712         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21713         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21714         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21716 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21718         Add preliminary port to Google Native Client on ARM.
21719         * abi-tags (.*-.*-nacl.*): New entry.
21720         * sysdeps/arm/nacl: New directory.
21721         * sysdeps/nacl: New directory.
21723 2015-04-16  David S. Miller  <davem@davemloft.net>
21725         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21726         lowlevellock-futex.h
21728 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21730         * sysdeps/tile/configure.ac: New file.
21731         * sysdeps/tile/configure: Regenerated.
21733 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21735         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21736         conditionals for weak_alias and libc_hidden_weak.
21737         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21738         libc_hidden_weak and weak_alias.
21739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21740         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21741         and weak_alias for static one.
21743 2015-04-15  David S. Miller  <davem@davemloft.net>
21745         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21747 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21749         [BZ #18206]
21750         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21751           Use signed comparision instead of substraction to avoid
21752           overflow bug.
21753         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21754           Take the sign of ret.
21755         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21756           Do not expect precise return values. Only the sign matters.
21757         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21758         * wcsmbs/test-wcsncmp.c: New File.
21759         * string/test-strncmp.c: Add wcsncmp support.
21761 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21763         [BZ #6792]
21764         * math/w_log1p.c: New file.
21765         * math/w_log1pf.c: Likewise.
21766         * math/w_log1pl.c: Likewise.
21767         * math/Makefile (libm-calls): Add w_log1p.
21768         * math/s_log1pl.c (log1pl): Remove weak_alias.
21769         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21770         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21771         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21772         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21773         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21774         [NO_LONG_DOUBLE] (log1pl): Likewise.
21775         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21776         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21777         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21778         (log1p): Remove long_double_symbol.
21779         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21780         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21781         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21782         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21783         remove weak_alias for corresponding log1p function.
21784         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21785         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21786         * sysdeps/ia64/fpu/w_log1p.c: New file.
21787         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21788         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21789         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21791 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21793         [BZ #18247]
21794         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21795         decimal exponent by 1.
21796         * stdlib/tst-strtod-round-data: Add more tests.
21797         * stdlib/tst-strtod-round.c (tests): Regenerated.
21799 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21801         * math/auto-libm-test-in: Add more tests of clog and clog10.
21802         * math/auto-libm-test-out: Regenerated.
21803         * sysdeps/i386/fpu/libm-test-ulps: Update.
21804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21806 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21808         * Makeconfig (module-cppflags): Exclude all .v.i files.
21809         (skip-module-cppflags): Variable removed.
21811         * configure.ac (libc_config_ok): Initialize before reading
21812         preconfigure scripts, not after.
21813         * configure: Regenerated.
21815         * test-skeleton.c (TIMEOUT): Move #define to top level.
21816         (main): Grok environment variable TEST_DIRECT.  If set, print
21817         test expectation details into that file and then behave as if
21818         given --direct.
21820 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21822         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21823         warning on 32-bit.
21825 2015-04-08  David S. Miller  <davem@davemloft.net>
21827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21829 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21831         * math/auto-libm-test-in: Add more tests of atanh.
21832         * math/auto-libm-test-out: Regenerated.
21833         * sysdeps/i386/fpu/libm-test-ulps: Update.
21834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836         * math/auto-libm-test-in: Add more tests of atan.
21837         * math/auto-libm-test-out: Regenerated.
21838         * sysdeps/i386/fpu/libm-test-ulps: Update.
21839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21841 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21843         * elf/pldd.c (main): Rewrite to use struct
21844         scratch_buffer instead of extend_alloca.
21845         * elf/pldd-xx.c (find_maps): Likewise.
21846         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21847         <alloca.h>.
21848         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21849         scratch_buffer instead of extend_alloca.
21850         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21851         grp/compat-initgroups.c.
21852         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21853         Rewrite to use struct scratch_buffer instead of extend_alloca.
21854         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21855         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21857 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21859         * math/auto-libm-test-in: Add more tests of cbrt.
21860         * math/auto-libm-test-out: Regenerated.
21861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21863         * math/auto-libm-test-in: Add more tests of cabs.
21864         * math/auto-libm-test-out: Regenerated.
21865         * sysdeps/i386/fpu/libm-test-ulps: Update.
21866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21868         [BZ #18210]
21869         [BZ #18211]
21870         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21871         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21872         computations.
21873         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21874         clog10.
21875         * math/auto-libm-test-out: Regenerated.
21876         * sysdeps/i386/fpu/libm-test-ulps: Update.
21877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21879         [BZ #18197]
21880         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21881         (atan): Set FE_TONEAREST mode for internal computations.
21882         * math/auto-libm-test-in: Add more tests of atan.
21883         * math/auto-libm-test-out: Regenerated.
21885 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21887         [BZ #17930]
21888         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21890 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21892         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21894 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21896         * include/scratch_buffer.h: New file.
21897         * malloc/scratch_buffer_grow.c: Likewise.
21898         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21899         * malloc/scratch_buffer_set_array_size.c: Likewise.
21900         * malloc/tst-scratch_buffer.c: Likewise.
21901         * malloc/Makefile (routines): Add scratch_buffer_grow.
21902         (tests): Add test case.
21903         * malloc/Versions (GLIBC_PRIVATE): Export
21904         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21905         __libc_scratch_buffer_set_array_size.
21907 2015-04-06  Richard Henderson  <rth@redhat.com>
21909         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21910         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21912         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21913         unsigned int before printing.
21915 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21917         [BZ #17596]
21918         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21919         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21921 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21923         * include/libc-internal.h (libc_max_align_t): Define.
21925 2015-04-02  Andreas Schwab  <schwab@suse.de>
21927         [BZ #16850]
21928         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21930 2015-04-02  Mel Gorman  <mgorman@suse.de>
21932         [BZ #17195]
21933         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21934         as well as the main arena.
21936 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21938         [BZ #18185]
21939         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21940         sharing L2 cache to 2 for Silvermont/Knights Landing.
21942 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21944         [BZ #17711]
21945         * config.make.in (have-protected-data): New.
21946         * configure.ac: Check linker support for protected data symbol.
21947         * configure: Regenerated.
21948         * elf/Makefile (modules-names): Add tst-protected1moda and
21949         tst-protected1modb if $(have-protected-data) is yes.
21950         (tests): Add tst-protected1a and tst-protected1b if
21951         $(have-protected-data) is yes.
21952         ($(objpfx)tst-protected1a): New.
21953         ($(objpfx)tst-protected1b): Likewise.
21954         (tst-protected1modb.so-no-z-defs): Likewise.
21955         * elf/tst-protected1a.c: New file.
21956         * elf/tst-protected1b.c: Likewise.
21957         * elf/tst-protected1mod.h: Likewise.
21958         * elf/tst-protected1moda.c: Likewise.
21959         * elf/tst-protected1modb.c: Likewise.
21961 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21963         [BZ #17711]
21964         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21965         indicates it is called from do_lookup_x on relocation against
21966         protected data, skip the data definion in the executable from
21967         copy reloc.
21968         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21969         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21970         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21971         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21972         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21973         otherwise to 0.
21974         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21975         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21976         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21977         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21978         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21979         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21981 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21983         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21984         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21986 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21988         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21989         THREAD_SETMEM_NC.
21990         * sysdeps/x86_64/nptl/tls.h: Ditto.
21992 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21994         * dlfcn/tststatic.c (main): Converted to ...
21995         (do_test): ... this.
21996         (TEST_FUNCTION): New macro.
21997         Include test-skeleton.c.
21999 2015-03-26  Alan Modra  <amodra@gmail.com>
22001         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22002         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22003         zero for undefined weak.
22004         (elf_machine_plt_conflict): Similarly.
22006 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22008         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22009         atanh.
22010         * math/auto-libm-test-out: Regenerated.
22011         * sysdeps/i386/fpu/libm-test-ulps: Update.
22012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22014         * math/auto-libm-test-in: Add another test of asin.
22015         * math/auto-libm-test-out: Regenerated.
22016         * sysdeps/i386/fpu/libm-test-ulps: Update.
22017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22019         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22020         Remove macro.
22021         (LLL_EBX_REG): Likewise.
22022         (LLL_ENTER_KERNEL): Likewise.
22024         * math/auto-libm-test-in: Add more tests of asin.
22025         * math/auto-libm-test-out: Regenerated.
22026         * sysdeps/i386/fpu/libm-test-ulps: Update.
22027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22029         [BZ #18138]
22030         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22031         libc_do_syscall_args): New structure.
22032         (INTERNAL_SYSCALL_MAIN_0): New macro.
22033         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22034         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22035         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22036         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22037         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22038         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22039         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22040         Replace conditional definitions by conditional definitions of ....
22041         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22042         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22043         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22044         (libpthread-sysdep_routines): Add libc-do-syscall.
22045         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22046         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22047         to __NR_futex not 240.
22049 2015-03-25  Alan Modra  <amodra@gmail.com>
22051         * NEWS: Advertise TLS optimization.
22052         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22053         (DT_PPC_NUM): Increment.
22054         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22055         (CHECK_STATIC_TLS): Use here.
22056         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22057         TLS descriptors.
22058         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22059         * sysdeps/powerpc/dl-tls.c: New file.
22060         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22061         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22062         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22063         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22068 2015-03-25  Alan Modra  <amodra@gmail.com>
22070         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22071         for overlapping .opd entries" to "support...".
22072         * sysdeps/powerpc/powerpc64/configure: Regenerate
22074 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22076         * math/auto-libm-test-in: Add more tests of acos.
22077         * math/auto-libm-test-out: Regenerated.
22078         * sysdeps/i386/fpu/libm-test-ulps: Update.
22079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22081         * math/auto-libm-test-in: Add more tests of expm1.
22082         * math/auto-libm-test-out: Regenerated.
22083         * sysdeps/i386/fpu/libm-test-ulps: Update.
22084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22086 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22088         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22089         * math/auto-libm-test-out: Regenerated.
22090         * sysdeps/i386/fpu/libm-test-ulps: Update.
22091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22093         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22096         * math/auto-libm-test-in: Add more tests of log2.
22097         * math/auto-libm-test-out: Regenerated.
22098         * sysdeps/i386/fpu/libm-test-ulps: Update.
22099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22101 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22103         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22104         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22105         _IO_IS_APPENDING bit in READ_WRITE instead.
22107 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22109         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22110         (__determine_cpumask_size): Replace extend_alloca with a
22111         variable-length array.  Do not treat res == 0 as an error.
22113 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22115         [BZ #18100]
22116         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22117         and integer overflow.
22118         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22119         (main): Add integer overflow tests.
22120         * manual/pattern.texi (Calling Wordexp): Document additional use
22121         for WRDE_SYNTAX.
22123 2015-03-23  Alan Modra  <amodra@gmail.com>
22125         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22126         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22127         and false branch of conditional.
22128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22129         Likewise.
22131 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22133         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22134         libc-modules.h
22135         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22136         unused declaration of _hurd_intr_rpc_msg_in_trap.
22137         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22138         defined instead of whether it is non-zero.
22139         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22140         input constraint instead of both input and output constraint.  Use ecx
22141         clobber instead of %ecx.
22142         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22143         mutex_unlock): Use a statement expression instead of an expression list.
22144         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22145         type to vm_size_t instead of vm_address_t.
22146         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22147         defined instead of whether it is non-zero.
22148         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22149         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22150         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22151         comparisons with mapaddr.
22152         * nscd/nscd-client.h: Include <time.h>.
22153         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22154         9th parameter to __vm_region instead of int.
22155         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22156         * scripts/check-local-headers.sh (exclude): Add device/,
22157         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22158         cthreads.h.
22160 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22162         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22163         to account for alignment padding.
22164         * sysdeps/arm/memmove.S: Likewise.
22166 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22168         * sysdeps/unix/sysv/linux/generic/README: New file.
22170 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22172         [BZ #18138]
22173         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22174         (futex_abstimed_wait)
22175         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22176         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22177         of lll_futex_timed_wait.
22179 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22181         [BZ #17542]
22182         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22184 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22186         [BZ #17090]
22187         [BZ #17620]
22188         [BZ #17621]
22189         [BZ #17628]
22190         * NEWS: Update.
22191         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22192         entries with Static TLS too.  Skip entries past the end of the
22193         allocated DTV, from Alan Modra.
22194         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22195         Static TLS DTV entry set up from...
22196         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22197         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22198         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22199         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22200         for Static TLS.
22201         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22202         that the slot we find is associated with the given map before
22203         using its generation count.
22204         * nptl_db/db_info.c: Include ldsodefs.h.
22205         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22206         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22207         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22208         (link_map::l_tls_offset): New struct field.
22209         (dtv_t::counter): Likewise.
22210         (rtld_global): New struct.
22211         (_rtld_global): New rtld variable.
22212         (dl_tls_dtv_slotinfo_list): New rtld global field.
22213         (dtv_slotinfo_list): New struct.
22214         (dtv_slotinfo): Likewise.
22215         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22216         (td_lookup): Rename to...
22217         (td_mod_lookup): ... this.  Use new mod parameter instead of
22218         LIBPTHREAD_SO.
22219         * nptl_db/td_thr_tlsbase.c: Include link.h.
22220         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22221         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22222         addresses even if the DTV is out of date or missing them.
22223         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22224         index zero-length arrays.
22225         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22226         (td_lookup): Make it a macro implemented in terms of...
22227         (td_mod_lookup): ... this declaration.
22228         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22229         (DB_MAIN_VARIABLE): Likewise.
22231 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22233         [BZ #18134]
22234         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22236 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22238         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22240 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22242         [BZ #18128]
22243         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22244         (atomic_add, atomic_increment_and_test)
22245         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22247 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22249         * stdlib/setenv.c (__add_to_environ):
22250         Dump core quickly if setenv (..., NULL, ...) is called.
22252 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22254         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22255         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22256         all the necessary asm magic in one place.
22257         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22258         using those.
22260 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22262         [BZ #14906]
22263         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22264         traced file mtime. Use consistent log message.
22265         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22266         (register_traced_file): Call install_watches. Always set mtime.
22267         (invalidate_cache): Iterate over all trace files. Call install_watches.
22268         (inotify_check_files): Don't inline. Handle watching parent
22269         directories and configuration file movement in and out.
22270         (handle_inotify_events): New function.
22271         (main_loop_poll): Call handle_inotify_events.
22272         (main_loop_epoll): Likewise.
22273         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22274         (struct traced_file): Use array of inotify fds. Add parent directory,
22275         and basename.
22276         (struct database_dyn): Remove unused file_mtime.
22277         (init_traced_file): New inline function.
22278         (define_traced_file): New macro.
22279         * nss/nss_db/db-init.c: Use define_traced_file.
22280         (_nss_db_init): Use init_traced_file.
22281         * nss/nss_files/files-init.c: Use define_traced_file.
22282         (_nss_files_init): Use init_traced_file.
22284 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22286         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22287         [_LIBC]: Do not include <stdlib.h>.
22288         [!_LIBC] (abort): Remove declaration.
22289         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22290         _FP_STATIC_ASSERT instead of conditionally calling abort.
22291         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22292         (_FP_EXTEND_CNAN): Likewise.
22293         (FP_TRUNC): Likewise.
22294         (__FP_CLZ): Likewise.
22295         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22297 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22299         * manual/string.texi (XPG basename): Fix prototype.
22301 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22303         [BZ #18080]
22304         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22305         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22306         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22307         (__setcontext): Likewise.
22308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22309         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22310         Call rt_sigprocmask syscall one time to set new signal mask
22311         and retrieve the current signal mask instead of two calls.
22312         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22313         (__swapcontext): Likewise.
22314         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22315         * stdlib/tst-setcontext2.c: New file.
22317 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22319         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22321 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22323         [BZ #18093]
22324         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22325         the wrong size.
22327 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22329         [BZ #18043]
22330         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22332 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22334         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22335         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22336         Remove define.
22337         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22338         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22339         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22340         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22341         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22342         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22343         define.
22344         * nptl_db/td_symbol_list.c (td_lookup): Remove
22345         HAVE_ASM_GLOBAL_DOT_NAME code.
22346         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22347         HAVE_ASM_GLOBAL_DOT_NAME check.
22348         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22349         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22350         (DOT_LABEL): Remove define.
22351         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22352         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22353         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22354         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22355         (__TLS_GET_ADDR): Likewise.
22356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22357         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22359 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22361         [BZ #18111]
22362         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22363         (_FPU_SETCW): Initialize cw from fpsr before storing.
22364         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22365         (fesetexceptflag): Rewrite using fpu_control.h.
22366         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22368 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22370         [BZ #18110]
22371         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22372         asms.
22373         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22375 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22377         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22378         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22379         abort.
22380         (_FP_FMA): Likewise.
22381         (_FP_DIV): Likewise.
22383 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22385         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22386         with 0 in that case.
22387         * Makefile (summarize-tests): New canned sequence, factored out of
22388         commands for targets tests and xtests.  Display summary lines that
22389         don't start with PASS: or XFAIL: rather than ones that do start with
22390         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22391         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22392         do start with ERROR: or FAIL:.
22393         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22394         (except for [$(build-shared) = yes]).
22395         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22396         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22397         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22398         * nptl/Makefile: Revert 2015-03-04 changes.
22399         [$(CXX) empty] (tests-unsupported): New variable.
22400         * debug/Makefile: Likewise.
22402         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22403         gnulib file.  Replace __attribute with __attribute__ throughout.
22405 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22407         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22409 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22411         [BZ #18104]
22412         * math/auto-libm-test-in: Add another test of pow.
22413         * math/auto-libm-test-out: Regenerated.
22415 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22417         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22418         $(config-cflags-nofma).
22420 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22422         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22423         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22424         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22425         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22426         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22427         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22428         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22429         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22430         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22431         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22432         Add comment on closing #endif.
22434 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22436         * posix/wordexp.c (CHAR_IN_SET): New macro.
22437         (parse_param): Use it.
22439 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22441         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22443 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22445         [BZ #18043]
22446         * posix/wordexp.c (parse_param): Fix buffer overflow.
22447         * posix/wordexp-test.c (test_case): Add test case.
22449 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22451         [BZ #18042]
22452         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22453         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22455 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22457         [BZ #18043]
22458         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22459         (do_bz18043): Delete.
22460         (at_page_end): New.
22461         (testit): Refactor to have words at the edge of unreadable page.
22463 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22465         [BZ #16734]
22466         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22467         Cleanup read-only streams as well.
22468         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22470 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22472         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22473         <bits/libc-lockP.h>
22475 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22477         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22478         on [__KERNEL__].
22479         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22480         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22481         * soft-fp/op-common.h (_FP_DECL): Likewise.
22483 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22485         * elf/ifuncdep2.c (global): Replace
22486         __attribute__((visibility("protected"))) with
22487         asm (".protected global").
22488         * elf/ifuncmod1.c (global): Likewise.
22489         * elf/ifuncmod5.c (global): Likewise.
22491 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22493         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22494         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22496 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22498         * manual/install.texi (Configuring and compiling):
22499         Document test-wrapper-env-only.
22500         * INSTALL: Regenerated.
22502 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22504         [BZ #18043]
22505         * posix/wordexp.c (parse_param): Fix buffer overflow.
22506         * posix/wordexp-test.c (do_bz18043): Add test case.
22508 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22510         * time/tst-strptime2.c (do_test): Ensure failing tests are
22511         reported correctly.
22512         * time/tst-strptime3.c (do_test): Likewise.
22514 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22516         Fix aio_error thread-safety.
22517         * sysdeps/pthread/aio_error.c: New file
22518         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22519         synchronization.
22521 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22523         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22524         (group_number, vfprintf): Use it.
22525         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22526         (JUMP, REF): Use it.
22527         (WORK_BUFFER_SIZE): New enum constant.
22528         (process_arg, vfprintf): Use it.
22530 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22532         * manual/errno.texi (Error Messages): Complete example function
22533         by adding missing #define.
22534         (program_invocation_name): Add statement indicating GNU
22535         extension and reference which header file declares the variable.
22536         (program_invocation_short_name): Likewise.
22538 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22540         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22541         compatibility note.
22543 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22545         * Makeconfig (test-wrapper-env-only): New variable.
22546         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22547         then use that with $(test-wrapper-env-only) rather than using
22548         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22550 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22552         [BZ #18082]
22553         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22554         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22555         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22556         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22557         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22558         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22559         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22560         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22561         Likewise.
22562         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22563         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22564         Likewise.
22565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22566         Likewise.
22567         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22568         Likewise.
22569         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22570         Likewise.
22571         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22572         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22573         Likewise.
22574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22575         Likewise.
22576         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22577         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22579 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22581         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22582         (ETH_ALEN): New macro.
22583         (struct ether_addr): Use it for length of ether_addr_octet.
22585         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22586         (setdb): Don't call __nss_configure_lookup for "rpc".
22587         (do_test): Don't call test_rpc.
22588         (output_rpcent, test_rpc): Functions moved ...
22589         * sunrpc/test-rpcent.c: ... to this new file.
22590         * sunrpc/Makefile (tests): Add it.
22592         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22593         __xpg_sigpause.
22594         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22595         * nptl/tst-signal6.c: Likewise.
22596         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22597         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22599         * configure.ac (libc_cv_cxx_link_ok): New check.
22600         Reset CXX to empty if it fails to link.
22601         * configure: Regenerated.
22602         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22603         bug-atexit3-lib only if $(CXX) is nonempty.
22604         * nptl/Makefile (tests): Likewise for tst-cancel24.
22605         (tests, tests-static): Likewise for tst-cancel24-static.
22606         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22607         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22608         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22609         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22611 2015-03-04  Andreas Schwab  <schwab@suse.de>
22613         [BZ #17631]
22614         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22615         for non-GCC compilers.
22616         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22617         Likewise.
22619 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22621         [BZ #17776]
22622         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22623         integer before bitwise and assembly operations.
22624         (feclearexcept): Likewise.
22625         * math/test-fenvinline.c: New file.
22626         * math/Makefile: Add test-fenvinline test.
22628 2015-03-03  Alan Modra  <amodra@gmail.com>
22630         [BZ #16512]
22631         * scripts/localplt.awk: Strip off symbol version.
22632         * NEWS: Mention bug fix.
22634 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22636         * sysdeps/pthread/timer_routines.c
22637         (timer_free_list, thread_free_list, thread_active_list): Make static.
22639 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22641         [BZ #17779]
22642         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22643         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22644         Undefine.
22645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22646         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22647         Likewise.
22648         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22649         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22650         Likewise.
22652 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22654         [BZ #18036]
22655         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22656         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22658 2015-03-02  Andreas Schwab  <schwab@suse.de>
22660         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22661         variable name.
22663 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22665         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22666         Return error status.
22668 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22670         [BZ #15969]
22671         * locale/findlocale.c (_nl_find_locale): Introduce const
22672         version of loc_name and drop unsafe type casts.
22674 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22676         * dlfcn/tststatic2.c (main): Converted to ...
22677         (do_test): ... this.
22678         (TEST_FUNCTION): New macro.
22679         Include test-skeleton.c.
22681 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22683         [BZ #17711]
22684         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22685         (tests-pie): Add vismain.
22686         (CFLAGS-vismain.c): New.
22687         * elf/vismain.c: Add comments for PIE requirement.
22689 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22691         [BZ #18046]
22692         [BZ #18047]
22693         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22694         0x1p-56L as threshold for just returning the argument.
22695         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22696         0x1p-32L as threshold for just returning the argument.
22697         * math/auto-libm-test-in: Add more tests of atanh.
22698         * math/auto-libm-test-out: Regenerated.
22699         * sysdeps/i386/fpu/libm-test-ulps: Update.
22700         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22702 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22704         * string/bcopy.c (bcopy): Call memmove for performance.
22706 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22708         * string/bzero.c (__bzero): Call memset for performance.
22710 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22712         [BZ #18068]
22713         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22714         to 00100000.
22716 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22718         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22720 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22722         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22723         (__kernel_standard): Use CSTR macro when setting exc.name.
22724         * sysdeps/ieee754/Makefile [$(subdir) = math]
22725         (CFLAGS-k_standard.c): Remove variable.
22727         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22728         setting p and q from "else if" to "else".
22729         (qzero): Likewise.
22730         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22731         (qone): Likewise.
22732         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22733         (qzerof): Likewise.
22734         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22735         (qonef): Likewise.
22736         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22737         (qzero): Likewise.
22738         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22739         (qone): Likewise.
22741         [BZ #18038]
22742         [BZ #18039]
22743         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22744         return pi/2 for arguments below 0x1p-113L.
22745         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22746         return pi/2 for arguments below 0x1p-106L.
22747         * math/auto-libm-test-in: Add more tests of acos.
22748         * math/auto-libm-test-out: Regenerated.
22750         [BZ #16351]
22751         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22752         (MO): New macro.
22753         (__ieee754_asin): Force underflow exception for results with small
22754         absolute value.
22755         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22756         (MO): New macro.
22757         (__ieee754_asinf): Force underflow exception for results with
22758         small absolute value.
22759         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22760         (__ieee754_asin): Force underflow exception for results with small
22761         absolute value.
22762         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22763         (__ieee754_asinf): Force underflow exception for results with
22764         small absolute value.
22765         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22766         (__ieee754_asinl): Force underflow exception for results with
22767         small absolute value.
22768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22769         (__ieee754_asinl): Force underflow exception for results with
22770         small absolute value.
22771         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22772         (__ieee754_asinl): Force underflow exception for results with
22773         small absolute value.
22774         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22775         Include <math.h>.
22776         * math/auto-libm-test-in: Do not mark underflow exceptions as
22777         possibly missing for bug 16351.
22778         * math/auto-libm-test-out: Regenerated.
22780         [BZ #18030]
22781         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22782         of power of 2 down when low part has opposite sign.
22783         * math/libm-test.inc (logb_test_data): Add more tests.
22785 2015-02-26  Andreas Schwab  <schwab@suse.de>
22787         [BZ #18032]
22788         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22789         over collating symbol inside a bracket expression.  Minor cleanup.
22790         * posix/tst-fnmatch3.c (do_test): Add test case.
22792 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22794         [BZ #18029]
22795         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22796         Adjust exponent of power of 2 down when low part has opposite
22797         sign.
22798         * math/libm-test.inc (ilogb_test_data): Add more tests.
22800 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22802         [BZ #15969]
22803         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22804         the previous change.
22806         [BZ #15969]
22807         * locale/findlocale.c (_nl_find_locale): Retry archive search
22808         after alias expansion.
22810 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22812         * iconv/tst-iconv3.c (main): Converted to ...
22813         (do_test): ... this.
22814         (TEST_FUNCTION): New macro.
22815         Include test-skeleton.c.
22817         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22818         (convert): Make function static.
22819         (test_unalign): Likewise.  Add const to argument pointee types.
22820         (main): Replace with static function do_test.
22821         Print "Succeeded." only if RET is zero.
22822         (TEST_FUNCTION): New macro.
22823         Include test-skeleton.c.
22825         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22826         returns a null pointer.
22828 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22830         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22831         to __memcpy_ppc only for static builds.
22833 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22835         [BZ #18020]
22836         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22837         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22838         * math/auto-libm-test-in: Add more tests of asinh.
22839         * math/auto-libm-test-out: Regenerated.
22840         * sysdeps/i386/fpu/libm-test-ulps: Update.
22841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22843 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22845         [BZ #15850]
22846         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22847         and ip6_mtuinfo definitions here.
22848         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22849         in this define too.  Update comment.
22851 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22853         * elf/sprof.c (load_shobj): Tweak error message to match others.
22855 2015-02-24  Kevin Easton  <kevin@guarana.org>
22857         [BZ #16145] (partial fix)
22858         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22859         to reduce lock contention.
22861 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22863         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22864         (struct timex): Update time comment.
22865         (ADJ_SETOFFSET): Define.
22867 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22869         [BZ #18019]
22870         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22871         2**56 not 2**28 as threshold for log (2x) formula.
22872         * math/auto-libm-test-in: Add more tests of acosh.
22873         * math/auto-libm-test-out: Regenerated.
22874         * sysdeps/i386/fpu/libm-test-ulps: Update.
22875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22877 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22879         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22880         parenthesis around the buf assignment.
22881         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22883 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22885         [BZ #16783]
22886         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22887         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22888         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22889         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22890         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22891         * math/libm-test.inc (scalb_test_data): Add more tests.
22893 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22895         [BZ #17916]
22896         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22897         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22899 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22901         [BZ #17523]
22902         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22903         * io/bits/fcntl2.h (open): Use it.
22904         (openat): Likewise.
22905         * io/open.c (__libc_open): Likewise.
22906         * io/open64.c (__libc_open64): Likewise.
22907         * io/open64_2.c (__open64_2): Likewise.
22908         * io/open_2.c (__open_2): Likewise.
22909         * io/openat.c (__openat): Likewise.
22910         * io/openat64.c (__openat64): Likewise.
22911         * io/openat64_2.c (__openat64_2): Likewise.
22912         * io/openat_2.c (__openat_2): Likewise.
22913         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22914         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22915         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22916         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22917         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22918         (__open_nocancel): Likewise.
22919         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22920         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22921         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22923 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22925         [BZ #14841]
22926         * resolv/gethnamaddr.c (getanswer): Skip logging if
22927         RES_USE_DNSSEC is set.
22928         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22930 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22932         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22934 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22936         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22937         201304L, for Unicode 7.
22939 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22941         [BZ #17836]
22942         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22943         shared library.  Add gmon-start.os otherwise.
22944         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22945         $(objpfx)gmon-start.os if builing shared library.
22946         ($(objpfx)g$(static-start-installed-name)): Likewise.
22948 2015-02-23  Andreas Schwab  <schwab@suse.de>
22950         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22952 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22954         [BZ #17269]
22955         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22956         (enlarge_userbuf): Likewise.
22958 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22960         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22961         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22962         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22963         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22965 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22967         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22968         expression inside statement expression.
22970 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22972         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22973         <sysdeps/nptl/lowlevellock.h> and remove macros and
22974         functions that are now defined there.
22975         (SYS_futex): Remove.
22976         (lll_compare_and_swap): Remove.
22977         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22979 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22981         [BZ #17999]
22982         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22983         instead of scandirat.
22984         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22985         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22986         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22987         __scandirat.
22988         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22989         (__scandirat): Declare.  Use libc_hidden_proto.
22990         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22991         Remove variable.
22992         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22994 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22996         [BZ #15319]
22997         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22998         (MO): New macro.
22999         (__ieee754_atan2): For results with small absolute value, force
23000         underflow exception and remove excess range and precision from
23001         return value.
23002         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23003         (MO): New macro.
23004         (__ieee754_atan2f): For results with small absolute value, force
23005         underflow exception and remove excess range and precision from
23006         return value.
23007         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23008         (MO): New macro.
23009         (__atan): For results with small absolute value, force underflow
23010         exception and remove excess range and precision from return value.
23011         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23012         (MO): New macro.
23013         (__atanf): For results with small absolute value, force underflow
23014         exception and remove excess range and precision from return value.
23015         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23016         <math.h>.
23017         (__ieee754_atan2): Force underflow exception for results with
23018         small absolute value.
23019         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23020         <math_private.h>.
23021         (atan): Force underflow exception for results with small absolute
23022         value.
23023         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23024         (__atanf): Force underflow exception for results with small
23025         absolute value.
23026         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23027         <math.h>.
23028         (__atanl): Force underflow exception for results with small
23029         absolute value.
23030         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23031         (__atanl): Force underflow exception for results with small
23032         absolute value.
23033         * sysdeps/x86/fpu/bits/mathinline.h
23034         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23035         (__ieee754_atan2): Only define inline for long double.
23036         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23037         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23038         * math/auto-libm-test-in: Do not mark underflow exceptions as
23039         possibly missing for bug 15319.  Add more tests of atan2.
23040         * math/auto-libm-test-out: Regenerated.
23041         * math/libm-test.inc (casin_test_data): Do not mark underflow
23042         exceptions as possibly missing for bug 15319.
23043         (casinh_test_data): Likewise.
23044         * sysdeps/i386/fpu/libm-test-ulps: Update.
23046 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23048         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23049         * sysdeps/mips/bits/endian.h: Fix comments.
23051 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23053         [BZ #17996]
23054         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23055         (hdestroy_r): Likewise.
23056         (hsearch_r): Likewise.
23057         (__hcreate_r): Declare and use libc_hidden_proto.
23058         (__hdestroy_r): Likewise.
23059         (__hsearch_r): Likewise.
23060         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23061         (hcreate): Call __hcreate_r instead of hcreate_r.
23062         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23063         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23064         as weak alias of __hcreate_r.
23065         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23066         __hdestroy_r.
23067         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23068         __hsearch_r.
23069         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23070         Remove variable.
23071         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23072         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23073         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23074         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23076 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23078         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23079         arena_lock into a single arena_get.
23081 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23083         * dl-reloc.c: Inlucde libc-internal.h.
23084         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23085         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23086         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23087         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23088         (grow_heap): Likewise.
23089         * malloc/malloc.c: Include libc-internal.h.
23090         (do_check_malloc): Call powerof2.
23091         (sysmalloc): Use pagesize. Call ALIGN_UP.
23092         (systrim): Use pagesize.
23093         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23094         (__libc_valloc): Use pagesize.
23095         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23097 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23099         [BZ #17991]
23100         * include/sys/resource.h (__getrlimit64): Declare.  Use
23101         libc_hidden_proto.
23102         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23103         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23104         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23105         getrlimit64.
23106         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23107         __getrlimit64.
23108         [!getrlimit64] (getrlimit64): Define as weak alias of
23109         __getrlimit64.  Use libc_hidden_weak.
23110         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23111         using __getrlimit64 not __new_getrlimit64.
23112         (__GI_getrlimit64): Likewise.
23113         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23114         Likewise.
23115         (__GI_getrlimit64): Likewise.
23116         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23118         (getrlimit): Add __getrlimit64 alias.
23119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23120         Likewise.
23121         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23122         Remove variable.
23123         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23124         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23126 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23128         * libio/fileops.c: Add missing sys/mman.h
23129         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23131 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23133         * manual/math.texi (Errors in Math Functions): Clarify goals
23134         regarding inexact and underflow exceptions.
23136 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23138         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23139         * sysdeps/mips/memset.S: Ditto.
23141 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23143         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23145 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23147         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23148         (__v1longjmp): Remove versioned symbol.
23149         (__v1siglongjmp): Remove alias and versioned symbol.
23150         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23151         (__v2siglongjmp): Likewise.
23153 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23155         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23157 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23159         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23161 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23163         [BZ #17987]
23164         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23165         zero result does not depend on the sign resulting from
23166         subtraction.
23167         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23168         Likewise.
23169         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23170         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23171         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23172         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23173         * math/libm-test.inc (remquo_test_data): Add more tests.
23175 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23177         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23178         Problem reported by J William Piggott.
23180 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23182         [BZ #17978]
23183         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23184         products 4 * y and 2 * y where those would overflow.
23185         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23186         Likewise.
23187         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23188         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23189         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23190         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23191         * math/libm-test.inc (remquo_test_data): Add more tests.
23193         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23195         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23196         [defined _COMPILING_NEWLIB].
23197         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23198         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23200         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23201         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23203 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23205         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23206         acquired.
23208 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23210         [BZ #17792]
23211         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23212         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23213         HOST_STACK_END_ADDR): Likewise.
23215 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23217         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23218         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23219         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23221 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23223         * sysdeps/generic/c++-types.data: New file.
23224         * sysdeps/generic/ld.abilist: New file.
23225         * sysdeps/generic/libBrokenLocale.abilist: New file.
23226         * sysdeps/generic/libanl.abilist: New file.
23227         * sysdeps/generic/libc.abilist: New file.
23228         * sysdeps/generic/libcrypt.abilist: New file.
23229         * sysdeps/generic/libdl.abilist: New file.
23230         * sysdeps/generic/libm.abilist: New file.
23231         * sysdeps/generic/libpthread.abilist: New file.
23232         * sysdeps/generic/libresolv.abilist: New file.
23233         * sysdeps/generic/librt.abilist: New file.
23235 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23237         [BZ #17569]
23238         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23239         Compute absolute value of x as modified by fmod, not original
23240         value of x.
23241         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23242         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23243         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23244         RUN_TEST_ffI_f1_mod8.
23245         (remquo_test_data): Add more tests.
23247 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23249         * sysdeps/init_array/pt-crti.S: New file.
23251 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23253         [BZ #17967]
23254         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23255         __builtin_fmaf instead of relying on contraction of a * b + c.
23257 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23259         [BZ #17969]
23260         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23261         node.
23263 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23265         [BZ #17964]
23266         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23267         __builtin_fma instead of relying on contraction of a * b + c.
23269 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23271         * Makeconfig (ASFLAGS): Add -Werror=undef.
23272         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23273         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23274         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23276         * Makeconfig (after-link): New variable.
23277         (+link-pie, +link-pie-tests): Use it.
23278         (+link-static, +link-static-tests): Likewise.
23279         (+link, +link-tests): Likewise.
23280         * Makerules (build-module, build-module-asneeded): Likewise.
23281         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23282         Likewise.
23283         * elf/Makefile ($(objpfx)ld.so): Likewise.
23285 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23287         [BZ #17965]
23288         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23289         both struct timeval and struct timespec.
23291 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23293         [BZ #16560]
23294         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23295         and redefine.
23296         (__ieee754_exp2l): Do not multiply small fractional parts by
23297         M_LN2l.
23298         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23299         small argument.
23300         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23301         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23302         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23303         * math/auto-libm-test-in: Add more tests of exp2.
23304         * math/auto-libm-test-out: Regenerated.
23306 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23308         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23309         unaligned path.
23311 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23313         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23314         little endian.
23316 2015-02-12  Andreas Schwab  <schwab@suse.de>
23318         [BZ #15790]
23319         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23320         Filter out elision flags from value returned in kind.
23321         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23322         * nptl/tst-pthread-mutexattr.c: New file.
23324 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23326         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23327         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23328         into gnu-gnu, and update comment to refer to abi-tags.
23330 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23332         [BZ #15467]
23333         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23334         (__sincos): Set errno to EDOM for infinite argument.
23335         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23336         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23337         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23338         (__sincosl): Set errno to EDOM for infinite argument.
23339         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23340         (__sincosl): Set errno to EDOM for infinite argument.
23341         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23342         (__sincosl): Set errno to EDOM for infinite argument.
23343         * math/libm-test.inc (sincos_test_data): Test errno setting.
23345 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23347         * string/strxfrm_l.c: Remove #define STRCMP.
23348         * string/strcoll_l.c: Remove #define STRLEN.
23349         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23350         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23352 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23354         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23355         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23356         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23357         * sysdeps/mips/mips64/Makefile: ... here.
23358         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23359         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23360         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23361         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23362         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23363         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23364         * sysdeps/mips/mips64/n64/Implies: Likewise.
23366 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23368         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23369         <sys/time.h>, <string.h>, and <errno.h>.
23370         (dest_offset, dest_address, value, zero): Remove unused variables.
23371         (ldouble): Remove typedef.
23372         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23373         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23374         1).  Fix code style.
23375         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23376         (check): Function removed.
23377         (CHECK): New macro.
23378         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23379         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23380         Don't call set_sigaction_FP and remove_sigaction_FP here.
23381         (ldouble_test): Just use 'long double' as macro argument, no need for
23382         the 'ldouble' typedef.
23383         (do_test): Set up SIGFPE handler at start, using plain signal rather
23384         than sigaction.  Fix code style.
23386 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23388         [BZ #17949]
23389         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23390         jump label.
23392 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23394         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23395         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23397         * sysdeps/powerpc/configure.ac: Remove file.
23398         * sysdeps/powerpc/configure: Likewise.
23400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23401         [sysdep_routines]: Remove wordcopy-power6 object.
23402         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23403         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23404         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23405         (__memmove_ppc32): Likewise.
23406         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23407         file.
23408         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23409         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23410         Remove preprocessor.
23412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23413         [sysdep_routines]: Remove wide chars objects.
23414         [wcsmbs]: New rule for wide char objects.
23416         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23417         Remove wordcopy-power6 obejct.
23418         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23419         Use local call for wordcopy and memcpy symbols.
23420         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23421         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23422         implementation for loader.
23423         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23425         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23426         Remove wordcopy-power7 object.
23427         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23428         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23429         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23430         (_wordcopy_fwd_dest_aligned): Likewise.
23431         (_wordcopy_bwd_aligned): Likewise.
23432         (_wordcopy_bwd_dest_aligned): Likewise.
23434         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23435         Rewrite to call __memmove_ppc instead of include default
23436         implementation.
23438         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23439         Remove wide chars objects.
23440         [wcsmbs]: New rule for wide char objects.
23442 2015-02-09  Andreas Schwab  <schwab@suse.de>
23444         [BZ #17912]
23445         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23446         in terms of __O_DIRECTORY.
23448 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23450         * time/getdate.c: Include <stdbool.h>.
23451         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23452         call PTR_MANGLE.
23453         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23454         PTR_DEMANGLE.
23456 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23458         Add ersatz _Static_assert on older C hosts
23459         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23460         pre-C11 C platform that is not known to support _Static_assert.
23462 2015-02-07  Richard Braun  <rbraun@sceen.net>
23464         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23465         sigstate.
23466         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23468 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23470         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23471         priority against unexistent AIO_PRIO_DELTA_MAX.
23472         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23473         instead of int.
23474         * misc/fchflags.c (fchflags): Likewise.
23475         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23476         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23477         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23478         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23479         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23480         Declare macros.
23481         [__USE_MISC] (chflags, fchflags): Declare functions.
23482         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23483         EINVAL when nfds is greater than FD_SETSIZE.
23484         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23485         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23486         45.
23487         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23488         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23489         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23490         MACH_RCV_TIMED_OUT.
23491         * hurd/hurd/signal.h (_hurd_self_sigstate,
23492         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23493         Explicit casts from void *.
23494         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23495         * abi-tags: Rename gnu-gnu os into gnu.
23497         [BZ #4719]
23498         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23499         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23500         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23501         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23502         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23503         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23505         [BZ #17944]
23506         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23507         duplicates ADDR->sun_path with sockaddr LEN limitation.
23508         * sysdeps/mach/hurd/connect.c: Include <string.h>
23509         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23510         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23511         * sysdeps/mach/hurd/sendto.c: Likewise.
23512         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23513         implementing it by hand.
23515 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23517         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23518         Use sfi_breg on ldr.
23519         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23520         Likewise.
23522         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23523         it's defined.
23524         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23525         Test SIGSETXID only if it's defined.
23527         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23529         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23530         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23532         * nptl/tst-align2.c: Moved ...
23533         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23534         * nptl/Makefile (tests): Remove tst-align2.
23535         * sysdeps/unix/sysv/linux/Makefile
23536         [$(subdir) = nptl] (tests): Add tst-align-clone.
23537         * nptl/tst-getpid1.c: Moved ...
23538         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23539         * nptl/tst-getpid2.c: Moved ...
23540         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23541         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23542         * sysdeps/unix/sysv/linux/Makefile
23543         [$(subdir) = nptl] (tests): ... here.
23544         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23545         * sysdeps/unix/sysv/linux/Makefile
23546         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23548         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23549         Drop trailing \n from perror argument.  Use return rather than exit.
23551         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23552         on [SA_SIGINFO].
23553         * nptl/tst-cancel21.c (do_test): Likewise.
23554         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23555         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23556         [!SA_SIGINFO]: Make it a stub test.
23558         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23559         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23561         * posix/tst-getlogin.c: Move to ...
23562         * login/tst-getlogin.c: ... here.
23563         * posix/Makefile (tests): Move tst-getlogin to ...
23564         * login/Makefile (tests): ... here.
23566         * libio/tst-atime.c (do_test): Move local variables SV and E
23567         inside [ST_NOATIME] conditional.
23569         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23571         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23573         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23574         (wait_code): New function replaces macro.
23575         Call nanosleep rather than syscall.
23577         * nptl/pt-system.c: Rewritten.  Put everything under
23578         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23579         Use IFUNC to redirect when possible.
23581         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23582         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23583         Use IFUNC to redirect when possible.
23585         * nptl/pt-fork.c: Rewritten.  Put everything under
23586         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23587         Use IFUNC to redirect when possible.
23588         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23590         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23591         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23592         unconditionally nowadays.  This included the only reference to
23593         __vdso_clock_gettime that appears outside libc proper.
23594         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23595         Remove version set (containing only __vdso_clock_gettime).
23596         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23597         Add attribute_hidden.
23598         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23599         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23600         libc_hidden_data_def.
23601         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23602         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23604         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23605         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23606         setrpcent, and getrpcport to ...
23607         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23608         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23609         getrpcbynumber_r, and getrpcent_r to ...
23610         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23611         * inet/getrpcbyname.c: Moved ...
23612         * sunrpc/getrpcbyname.c: ... here.
23613         * inet/getrpcbyname_r.c: Moved ...
23614         * sunrpc/getrpcbyname_r.c: ... here.
23615         * inet/getrpcbynumber.c: Moved ...
23616         * sunrpc/getrpcbynumber.c: ... here.
23617         * inet/getrpcbynumber_r.c: Moved ...
23618         * sunrpc/getrpcbynumber_r.c: ... here.
23619         * inet/getrpcent.c: Moved ...
23620         * sunrpc/getrpcent.c: ... here.
23621         * inet/getrpcent_r.c: Moved ...
23622         * sunrpc/getrpcent_r.c: ... here.
23623         * inet/Makefile (routines): Move those to ...
23624         * sunrpc/Makefile (routines): ... here.
23625         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23626         the $(subdirs) list.
23627         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23628         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23629         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23630         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23632         * elf/Makefile (routines): Include $(all-dl-routines), not just
23633         $(dl-routines).
23634         (rtld-routines): Likewise.  Use = rather than :=.
23635         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23636         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23637         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23638         * sysdeps/arm/Makefile: Likewise.
23639         * sysdeps/i386/Makefile: Likewise.
23640         * sysdeps/x86_64/Makefile: Likewise.
23641         * sysdeps/hppa/Makefile [$(subdir) = elf]
23642         (sysdep_routines, sysdep-rtld-routines): Don't add
23643         $(sysdep-dl-routines) to these.
23644         * sysdeps/ia64/Makefile: Likewise.
23645         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23646         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23647         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23648         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23649         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23650         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23651         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23652         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23653         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23654         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23655         these; sysdep-dl-routines alone is enough.
23657 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23659         [BZ #17932]
23660         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23661         where multiplication results in zero and third argument is finite
23662         and nonzero.
23663         * math/auto-libm-test-in: Add more tests of fma.
23664         * math/auto-libm-test-out: Regenerated.
23666         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23667         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23668         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23669         (_FP_CMP_EQ): Likewise.
23670         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23672         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23673         extra argument CHECK_NAN.  Redefine as wrapper around
23674         _FP_EXTEND_CNAN.
23676 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23678         * version.h (RELEASE): Set to "stable".
23679         (VERSION): Set to "2.21"
23680         * include/features.h (__GLIBC_MINOR__): Set to 21.
23682         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23684 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23685             Paul Eggert  <eggert@cs.ucla.edu>
23687         [BZ #16618]
23688         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23689         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23690         size in bytes. Store needed elements in wpmax. Use needed size
23691         in bytes for extend_alloca.
23693 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23695         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23696         binutls 2.25, and texinfo 5.2.
23697         * INSTALL: Regenerate.
23698         * sysdeps/nios2/configure: Regenerate.
23699         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23700         * manual/contrib.texi: Update.
23701         * po/be.po: Update.
23702         * po/bg.po: Update.
23703         * po/ca.po: Update.
23704         * po/cs.po: Update.
23705         * po/da.po: Update.
23706         * po/de.po: Update.
23707         * po/el.po: Update.
23708         * po/eo.po: Update.
23709         * po/es.po: Update.
23710         * po/fi.po: Update.
23711         * po/fr.po: Update.
23712         * po/gl.po: Update.
23713         * po/hr.po: Update.
23714         * po/hu.po: Update.
23715         * po/ia.po: Update.
23716         * po/id.po: Update.
23717         * po/it.po: Update.
23718         * po/ja.po: Update.
23719         * po/ko.po: Update.
23720         * po/lt.po: Update.
23721         * po/nb.po: Update.
23722         * po/nl.po: Update.
23723         * po/pl.po: Update.
23724         * po/pt_BR.po: Update.
23725         * po/ru.po: Update.
23726         * po/rw.po: Update.
23727         * po/sk.po: Update.
23728         * po/sl.po: Update.
23729         * po/sv.po: Update.
23730         * po/tr.po: Update.
23731         * po/uk.po: Update.
23732         * po/vi.po: Update.
23733         * po/zh_CN.po: Update.
23734         * po/zh_TW.po: Update.
23736         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23737         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23738         * sysdeps/hppa/dl-irel.h: Remove #warning.
23739         * sysdeps/hppa/entry.h: Provide prototype for
23740         __canonicalize_funcptr_for_compare and cast argument.
23741         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23742         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23743         * sysdeps/hppa/sotruss-lib.c: New file.
23744         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23745         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23746         (atomic_compare_and_exchange_bool_acq): Likewise.
23747         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23748         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23750         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23751         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23752         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23754 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23756         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23757         called function in non-PIC case.
23759 2015-01-31  David S. Miller  <davem@davemloft.net>
23761         * sysdeps/sparc/sparc32/bits/atomic.h
23762         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23763         unlock not after it.
23764         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23765         volatile register usage warnings from the compiler.
23767         * sysdeps/sparc/nptl/sem_init.c: Delete.
23768         * sysdeps/sparc/nptl/sem_post.c: Delete.
23769         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23770         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23771         * sysdeps/sparc/sparc32/sem_init.c: New file.
23772         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23773         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23774         padding explicitly initialized.
23775         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23776         padding for in-semaphore spinlock.
23777         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23778         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23779         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23780         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23781         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23782         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23783         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23784         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23785         version.
23786         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23787         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23789 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23791         [BZ #17801]
23792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23793         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23794         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23795         New.
23796         (index_AVX_Fast_Unaligned_Load): Likewise.
23797         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23798         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23799         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23800         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23801         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23802         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23803         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23804         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23805         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23807 2015-01-29  Andreas Schwab  <schwab@suse.de>
23809         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23811 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23813         [BZ #17892]
23814         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23816 2015-01-28  Martin Sebor  <msebor@redhat.com>
23818         * math/README.libm-test: Clarify. Add "How to read the test output."
23820 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23822         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23823         Define to 0.
23825 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23827         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23828         (__HAVE_64B_ATOMICS): Define to 0.
23830 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23832         [BZ #17885]
23833         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23834         value to set as new flag.
23836         [BZ #16576]
23837         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23838         and use _ARCH_PPCSQ instead.
23839         (__ieee754_sqrt): Likewise.
23840         (__ieee754_sqrtf): Likewise.
23841         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23842         _ARCH_PPCSQ is defined.
23843         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23844         fsqrt instruction.
23845         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23846         _ARCH_PPCSQ is defined.
23847         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23848         fsqrts instruction.
23849         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23851 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23853         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23854         bug (GCC BZ #64739).
23856 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23858         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23859         Mark _retval as used.
23860         (lll_futex_wake_unlock): Likewise.
23861         (lll_futex_timed_wait_requeue_pi): Likewise.
23863         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23864         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23865         register variables.
23867         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23868         libm_hidden_def.
23870         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23871         (__bswap_64): Mark as __always_inline.
23873 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23875         [BZ #15378]
23876         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23877         when none of the search directories exist.
23879 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23881         [BZ #17869]
23882         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23883         power8 in .machine directive.
23885         [BZ #17868]
23886         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23887         set dependency from opd value.
23889 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23892         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23893         architecture.
23895 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23897         [BZ #17870]
23898         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23899         with uint64_t.
23900         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23901         (uint64_t) 1.
23902         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23903         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23904         Replace 1UL with (uint64_t) 1.
23905         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23906         int with uint64_t.
23908 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23910         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23911         (if_freenameindex): Likewise.
23913         * resource/getrlimit64.c: Add missing libc_hidden_def.
23915 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23917         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23918         __label__.
23919         (_FP_FMA): Likewise.
23920         (_FP_TO_INT_ROUND): Likewise.
23921         (_FP_FROM_INT): Likewise.
23923 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23925         [BZ #16418]
23926         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23927         Make code racy and cancel safe.
23929 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23931         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23932         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23933         attribution.
23935         * pwd/tst-getpw.c: Rewrite.
23937         [BZ #17702]
23938         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23939         (modules-names): Add moddummy1 and moddummy2.
23940         ($(objpfx)tst-rec-dlopen): Define.
23941         * dlfcn/moddummy1.c: New file.
23942         * dlfcn/moddummy2.c: New file.
23943         * dlfcn/tst-rec-dlopen.c: New file.
23944         * elf/dl-cache.c (_dl_load_cache_lookup):
23945         Return char*. Copy result with alloca/strcpy/strdup.
23946         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23947         returns char*. Free cached. If not saving realname
23948         free cached.
23949         * elf/dl-open.c (dl_open_worker): Do not assert that
23950         _r_debug->r_state is RT_CONSISTENT.
23951         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23952         returns char*.
23954 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23955             Carlos O'Donell  <carlos@redhat.com>
23957         [BZ #12674]
23958         * nptl/sem_waitcommon.c: New file.
23959         * nptl/sem_wait.c: Include sem_waitcommon.c.
23960         (__sem_wait_cleanup, do_futex_wait): Remove.
23961         (__new_sem_wait): Adapt.
23962         (__new_sem_trywait): New function.
23963         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23964         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23965         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23966         (sem_timedwait): Adapt.
23967         * nptl/sem_post.c (__new_sem_post): Adapt.
23968         (futex_wake): New function.
23969         (__old_sem_post): Add release MO fence.
23970         * nptl/sem_open.c (sem_open): Adapt.
23971         * nptl/sem_init.c (__new_sem_init): Adapt.
23972         (futex_private_if_supported): New function.
23973         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23974         (__old_sem_getvalue): Add using previous code.
23975         * sysdeps/nptl/internaltypes.h: Adapt.
23976         * nptl/tst-sem13.c (do_test): Adapt.
23977         * nptl/tst-sem11.c (main): Adapt.
23978         * nptl/sem_trywait.c: Remove.
23979         * nptl/DESIGN-sem.txt: Remove.
23980         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23981         (gen-as-const-headers): Remove structsem.sym.
23982         * nptl/structsem.sym: Remove.
23983         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23984         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23985         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23986         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23987         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23988         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23989         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23990         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23991         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23992         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23993         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23994         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23995         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23996         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23997         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23998         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23999         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24000         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24001         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24002         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24003         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24004         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24006 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24008         * INSTALL: Regenerated.
24010         * po/libc.pot: Regenerated.
24012 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24013             Sandra Loosemore  <sandra@codesourcery.com>
24014             Andrew Jenner  <andrew@codesourcery.com>
24015             Joseph Myers  <joseph@codesourcery.com>
24016             Nathan Sidwell  <nathan@codesourcery.com>
24018         * NEWS: Mention new Nios II port.
24019         * sysdeps/nios2/Implies: New file.
24020         * sysdeps/nios2/Makefile: New file.
24021         * sysdeps/nios2/Subdirs: New file.
24022         * sysdeps/nios2/Versions: New file.
24023         * sysdeps/nios2/__longjmp.S: New file.
24024         * sysdeps/nios2/abort-instr.h: New file.
24025         * sysdeps/nios2/backtrace.c: New file.
24026         * sysdeps/nios2/bits/endian.h: New file.
24027         * sysdeps/nios2/bits/fenv.h: New file.
24028         * sysdeps/nios2/bits/link.h: New file.
24029         * sysdeps/nios2/bits/setjmp.h: New file.
24030         * sysdeps/nios2/bsd-_setjmp.S: New file.
24031         * sysdeps/nios2/bsd-setjmp.S: New file.
24032         * sysdeps/nios2/configure: New generated file.
24033         * sysdeps/nios2/configure.ac: New file.
24034         * sysdeps/nios2/crti.S: New file.
24035         * sysdeps/nios2/crtn.S: New file.
24036         * sysdeps/nios2/dl-init.c: New file.
24037         * sysdeps/nios2/dl-machine.h: New file.
24038         * sysdeps/nios2/dl-sysdep.h: New file.
24039         * sysdeps/nios2/dl-tls.h: New file.
24040         * sysdeps/nios2/dl-trampoline.S: New file.
24041         * sysdeps/nios2/gccframe.h: New file.
24042         * sysdeps/nios2/gmp-mparam.h: New file.
24043         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24044         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24045         * sysdeps/nios2/ldsodefs.h: New file.
24046         * sysdeps/nios2/libc-tls.c: New file.
24047         * sysdeps/nios2/libm-test-ulps: New file.
24048         * sysdeps/nios2/machine-gmon.h: New file.
24049         * sysdeps/nios2/math-tests.h: New file.
24050         * sysdeps/nios2/math_private.h: New file.
24051         * sysdeps/nios2/memusage.h: New file.
24052         * sysdeps/nios2/nptl/Makefile: New file.
24053         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24054         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24055         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24056         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24057         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24058         * sysdeps/nios2/nptl/tls.h: New file.
24059         * sysdeps/nios2/preconfigure: New file.
24060         * sysdeps/nios2/s_fma.c: New file.
24061         * sysdeps/nios2/s_fmaf.c: New file.
24062         * sysdeps/nios2/setjmp.S: New file.
24063         * sysdeps/nios2/sfp-machine.h: New file.
24064         * sysdeps/nios2/sotruss-lib.c: New file.
24065         * sysdeps/nios2/stackguard-macros.h: New file.
24066         * sysdeps/nios2/stackinfo.h: New file.
24067         * sysdeps/nios2/start.S: New file.
24068         * sysdeps/nios2/sysdep.h: New file.
24069         * sysdeps/nios2/tls-macros.h: New file.
24070         * sysdeps/nios2/tst-audit.h: New file.
24071         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24072         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24073         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24074         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24075         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24076         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24077         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24078         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24079         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24080         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24081         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24082         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24083         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24084         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24085         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24086         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24087         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24088         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24089         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24090         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24091         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24092         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24093         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24094         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24095         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24096         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24097         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24098         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24099         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24100         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24101         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24102         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24103         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24104         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24105         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24106         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24107         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24108         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24109         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24110         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24111         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24112         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24113         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24114         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24116 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24118         [BZ #17844]
24119         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24120         (getutent): Use weak_alias in non SHARED case
24121         and default_symbol_version in SHARED case.
24122         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24123         (getutent_r, pututline): Likewise.
24124         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24125         (getutid): Likewise.
24126         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24127         (getutid_r): Likewise.
24128         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24129         (getutline): Likewise.
24130         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24131         (getutline_r): Likewise.
24132         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24133         (updwtmp): Likewise.
24135 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24137         [BZ #17848]
24138         * sysdeps/s390/s390-32/memcmp.S
24139         (memcmp_g5): Rename to __memcmp_g5.
24140         * sysdeps/s390/s390-32/memcpy.S
24141         (memcpy_g5): Rename to __memcpy_g5.
24142         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24143         (memcpy_mvcle) Rename to __memcpy_mvcle.
24144         * sysdeps/s390/s390-32/memset.S
24145         (memset_g5): Rename to __memset_g5.
24146         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24147         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24148         and use prefixed functions.
24149         * sysdeps/s390/s390-32/multiarch/memcmp.S
24150         (memcmp_z196): Rename to __memcmp_z196.
24151         (memcmp_z10): Rename to __memcmp_z10.
24152         (memcmp): Set alias to __memcmp_g5.
24153         (bcmp): Set alias to __memcmp_g5.
24154         * sysdeps/s390/s390-32/multiarch/memcpy.S
24155         (memcpy_z196): Rename to __memcpy_z196.
24156         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24157         (memcpy_z10): Rename to __memcpy_z10.
24158         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24159         (memcpy): Set alias to __memcpy_g5.
24160         * sysdeps/s390/s390-32/multiarch/memset.S
24161         (memset_z196): Rename to __memset_z196.
24162         Jump to __memset_mvcle instead of memset_mvcle.
24163         (memset_z10): Rename to __memset_z10.
24164         Jump to __memset_mvcle instead of memset_mvcle.
24165         (memset_mvcle) Rename to __memset_mvcle.
24166         (memset): Set alias to __memset_g5.
24167         * sysdeps/s390/s390-64/memcmp.S
24168         (memcmp_z900): Rename to __memcmp_z900.
24169         * sysdeps/s390/s390-64/memcpy.S
24170         (memcpy_z900): Rename to __memcpy_z900.
24171         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24172         (memcpy_mvcle) Rename to __memcpy_mvcle.
24173         * sysdeps/s390/s390-64/memset.S
24174         (memset_z900): Rename to __memset_z900.
24175         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24176         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24177         and use prefixed functions.
24178         * sysdeps/s390/s390-64/multiarch/memcmp.S
24179         (memcmp_z196): Rename to __memcmp_z196.
24180         (memcmp_z10): Rename to __memcmp_z10.
24181         (memcmp): Set alias to __memcmp_z900.
24182         (bcmp): Set alias to __memcmp_z900.
24183         * sysdeps/s390/s390-64/multiarch/memcpy.S
24184         (memcpy_z196): Rename to __memcpy_z196.
24185         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24186         (memcpy_z10): Rename to __memcpy_z10.
24187         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24188         (memcpy): Set alias to __memcpy_z900.
24189         * sysdeps/s390/s390-64/multiarch/memset.S
24190         (memset_z196): Rename to __memset_z196.
24191         Jump to __memset_mvcle instead of memset_mvcle.
24192         (memset_z10): Rename to __memset_z10.
24193         Jump to __memset_mvcle instead of memset_mvcle.
24194         (memset_mvcle) Rename to __memset_mvcle.
24195         (memset): Set alias to __memset_z900.
24197 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24199         [BZ #17748]
24200         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24201         __fesetenv instead of fesetenv.
24203 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24205         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24206         macro.
24208 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24210         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24211         regression on LE.
24213         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24214         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24215         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24216         strncmp-power8 object.
24217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24218         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24219         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24220         * NEWS: Update.
24222 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24223             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24225         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24226         trailing byte check.
24228 2015-01-13  David S. Miller  <davem@davemloft.net>
24230         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24232 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24234         * login/logout.c (logout): Use memset rather than bzero.
24235         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24236         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24237         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24238         (_gethtbyaddr): Likewise.
24239         * locale/programs/simple-hash.c (bcopy): Macro removed.
24241 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24243         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24244         Add strcmp-power8 object.
24245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24246         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24247         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24248         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24249         __strcmp_power8 implementation.
24250         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24251         * NEWS: Update.
24253         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24254         Add strncpy-power8 and stpncpy-power8 objects.
24255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24256         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24257         implementations.
24258         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24259         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24260         __stpncpy_power8 implementation.
24261         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24262         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24263         __strncpy_power8 implementation.
24264         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24265         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24266         * NEWS: Update.
24268         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24269         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24270         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24272         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24273         strncat-power8 object.
24274         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24275         __strcat_power8 implementation.
24276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24277         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24278         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24279         optimized strcat for power8.
24281         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24282         strcpy-power8 and stpcpy-power8 objects.
24283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24284         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24285         implementations.
24286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24287         multiarch stpcpy implementation for POWER8.
24288         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24289         multiarch strcpy implementation for POWER8.
24290         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24291         __strcpy_power8 function.
24292         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24293         stpcpy for POWER8.
24294         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24295         strcpy for POWER8.
24296         * NEWS: Update.
24298 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24300         [BZ #16009]
24301         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24302         weights and rules. Use do_xfrm_cached if data fits in cache,
24303         do_xfrm otherwise.  Moved former main loop to...
24304         * (do_xfrm_cached): New function.
24305         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24306         find_idx, find_position and stack_push.
24307         * (find_idx): New function.
24308         * (find_position): Likewise.
24309         * localedata/sort-test.sh: Added test run for do_xfrm.
24310         * localedata/xfrm-test.c (main): Added command line option
24311         -nocache to run the test with strings that are too large for
24312         the STRXFRM cache.
24314 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24316         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24317         variable to lll_futex_wake call, not the value itself.
24319 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24321         [BZ #17803]
24322         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24323         twom64.  Adjust value to 0x1p-64L.
24324         (__scalblnl): Only return standard underflowing result for K <=
24325         -64 not K <= -63; adjust exponent for underflowing result by 64
24326         not 63.
24327         * math/libm-test.inc (scalbn_test_data): Add more tests.
24328         (scalbln_test_data): Likewise.
24330         [BZ #17834]
24331         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24332         0x1p63L.
24333         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24334         not HX.
24335         * math/libm-test.inc (scalbn_test_data): Add more tests.
24336         (scalbln_test_data): Likewise.
24338 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24339             Stefani Seibold  <stefani@seibold.net>
24341         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24342         (sysdep_routines): Add dl-vdso here, ...
24343         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24344         (sysdep_routines): ... not here.
24345         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24346         fallback when vDSO is not presented.
24347         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24348         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24349         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24350         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24351         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24352         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24353         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24354         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24355         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24356         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24357         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24358         fallback configurable symbol when vDSO is not available.
24359         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24360         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24361         be able to redefine fallback symbol when vDSO is not available.
24362         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24363         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24365 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24367         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24368         (TLS_INIT_TP): Add tm_capable initialization.
24369         (TLS_DEFINE_INIT_TP): Likewise.
24370         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24371         TCB.
24372         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24373         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24374         calculation.
24375         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24376         transactoion is lock elision is built and TCB tm_capable is set.
24377         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24379         (INTERNAL_SYSCALL_NCS): Likewise.
24380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24381         (INTERNAL_SYSCALL_NCS): Likewise.
24382         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24384         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24385         for powerpc.
24386         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24387         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24388         and remove it for 32 bits case.
24389         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24390         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24391         initialization.
24392         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24393         Disable lock elision with rdlocks if elision is not available.
24395         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24396         (sysdep_routines): Add lock elision objects.
24397         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24398         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24399         [pthread_mutex_t] (__elision): Add field.
24400         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24401         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24402         elision definitions for powerpc.
24403         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24404         implementation of lock elision for powerpc.
24405         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24406         implementation of timed lock elision for powerpc.
24407         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24408         implementation of trylock with lock elision for powerpc.
24409         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24410         implementaion of unlock for lock elision for powerpc.
24411         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24412         automatic enable lock elision for mutexes.
24413         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24414         transaction execution definitions for powerpc.
24415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24416         definitions.
24417         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24418         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24419         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24420         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24421         * NEWS: Update.
24423 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24425         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24426         for #include of <shm-directory.h>.
24428 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24430         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24431         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24433 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24435         [BZ #17791]
24436         * NEWS: Mention bug fix.
24437         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24438         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24439         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24441 2015-01-09  Torvald Riegel <triegel@redhat.com>
24443         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24445 2015-01-09  Torvald Riegel <triegel@redhat.com>
24447         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24449 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24451         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24452         pointer and cast to uintptr_t.
24454 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24456         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24457         removed.
24458         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24460 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24462         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24463         of 0.
24465 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24467         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24468         <nptl/pthreadP.h> instead.
24469         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24471         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24472         already defined.
24473         [__SIGRTMIN] (init): Function removed.
24474         [__SIGRTMIN] (initialized): Variable removed.
24475         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24476         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24477         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24478         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24479         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24480         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24481         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24482         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24483         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24484         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24485         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24486         * sysdeps/nptl/allocrtsig.c: New file.
24487         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24488         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24489         * sysdeps/generic/testrtsig.h: File removed.
24491         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24492         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24494         * nptl/nptl-init.c (pthread_functions): Conditionalize
24495         .ptr__nptl_setxid initialization on [SIGSETXID].
24497         * sysdeps/nptl/sys/procfs.h: New file.
24498         * nptl_db/Makefile (headers): Add it.
24499         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24501         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24502         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24503         * nptl/pthread_attr_setaffinity.c: Include it.
24504         * nptl/pthread_setattr_default_np.c: Likewise.
24505         * nptl/check-cpuset.h: New file.
24507 2015-01-08  Richard Henderson  <rth@redhat.com>
24509         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24510         (CFLAGS-tst-execstack-prog.c): Likewise.
24511         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24513 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24514             Sandra Loosemore  <sandra@codesourcery.com>
24515             Andrew Jenner  <andrew@codesourcery.com>
24516             Joseph Myers  <joseph@codesourcery.com>
24517             Nathan Sidwell  <nathan@codesourcery.com>
24519         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24520         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24521         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24522         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24523         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24524         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24525         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24526         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24527         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24528         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24529         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24530         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24531         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24532         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24533         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24534         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24535         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24537 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24539         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24540         timespec struct member in syscall macro.
24541         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24542         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24543         first timeval struct member in syscall macro.
24544         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24546 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24548         [BZ #17748]
24549         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24550         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24551         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24552         __feupdateenv and define as weak alias of __feupdateenv.  Use
24553         libm_hidden_weak.
24554         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24555         libm_hidden_def.
24556         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24557         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24558         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24559         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24560         libm_hidden_def.
24561         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24562         __feupdateenv and define as weak alias of __feupdateenv.  Use
24563         libm_hidden_weak.
24564         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24565         libm_hidden_def.
24566         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24567         __feupdateenv and define as weak alias of __feupdateenv.  Use
24568         libm_hidden_weak.
24569         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24570         libm_hidden_def.
24571         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24572         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24573         (__feupdateenv): Likewise.
24574         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24575         __feupdateenv and define as weak alias of __feupdateenv.  Use
24576         libm_hidden_weak.
24577         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24578         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24579         libm_hidden_def.
24580         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24581         function.
24582         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24583         libm_hidden_def.
24584         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24585         __feupdateenv instead of feupdateenv.
24586         (default_libc_feupdateenv_test): Likewise.
24587         (libc_feresetround_ctx): Likewise.
24589 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24591         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24592         prototype.
24594 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24596         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24597         COLL_SYM in a couple of places to avoid uninitialized variable
24598         wanings on tilegx gcc 4.8.2.
24600 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24602         * sysdeps/aarch64/strcpy.S: New file.
24603         * sysdeps/aarch64/stpcpy.S: New file.
24604         * NEWS: Updated.
24606 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24608         * sysdeps/aarch64/strrchr.S: New file.
24609         * NEWS: Updated.
24611 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24613         [BZ #17658]
24614         * stdlib/setenv.c: Fix memory leak when setting large,
24615         duplicate string.
24617 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24619         [BZ #17273]
24620         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24621         and tabs from buffer before parsing fstab entry.
24622         * misc/tst-mntent.c (main): Add test for mount entry with
24623         trailing spaces and tabs.
24625 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24627         [BZ #17748]
24628         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24629         * math/fesetround.c (fesetround): Rename to __fesetround and
24630         define as weak alias of __fesetround.  Use libm_hidden_weak.
24631         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24632         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24633         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24634         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24635         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24636         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24637         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24638         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24639         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24640         __fesetround_inline.
24641         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24642         __fesetround_inline instead of __fesetround.
24643         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24644         __fesetround and define as weak alias of __fesetround.  Use
24645         libm_hidden_weak.  Call __fesetround_inline instead of
24646         __fesetround.
24647         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24648         __fesetround and define as weak alias of __fesetround.  Use
24649         libm_hidden_weak.
24650         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24651         Likewise.
24652         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24653         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24654         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24655         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24656         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24657         __fesetround and define as weak alias of __fesetround.  Use
24658         libm_hidden_weak.
24659         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24660         __fesetround instead of fesetround.
24661         (default_libc_feholdexcept_setround): Likewise.
24662         (libc_feholdsetround_ctx): Likewise.
24663         (libc_feholdsetround_noex_ctx): Likewise.
24665         [BZ #17748]
24666         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24667         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24668         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24669         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24670         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24671         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24672         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24673         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24674         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24675         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24676         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24677         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24678         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24679         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24680         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24681         libm_hidden_def.
24682         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24683         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24684         Likewise.
24685         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24686         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24687         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24688         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24689         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24690         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24691         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24692         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24693         __fesetenv instead of fesetenv.
24694         (libc_feresetround_noex_ctx): Likewise.
24695         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24696         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24697         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24698         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24699         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24700         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24701         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24702         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24703         (__feupdateenv): Likewise.
24704         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24705         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24706         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24707         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24709 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24711         [BZ #17806]
24712         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24713         addresses have been freed.
24715 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24717         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24718         and nservall.
24720 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24722         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24723         Clean up check_pf allocation pattern. addresses
24725 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24727         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24728         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24729         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24730         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24731         * nptl/pthread_join.c (pthread_join): Likewise.
24732         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24733         * sysdeps/posix/waitid.c (__waitid): Likewise.
24734         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24735         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24736         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24737         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24738         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24739         Likewise.
24740         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24741         (__libc_pread64): Likewise.
24742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24743         (__libc_pwrite): Likewise.
24744         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24745         (__libc_pwrite64): Likewsie.
24746         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24747         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24748         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24749         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24750         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24751         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24752         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24754         Likewise.
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24756         (__libc_pread64): Likewise.
24757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24758         Likewise.
24759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24760         (__libc_pwrite64): Likewise.
24761         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24762         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24763         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24764         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24765         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24766         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24767         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24768         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24769         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24770         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24771         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24772         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24773         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24774         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24775         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24776         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24777         Likewise.
24779 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24781         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24782         (CFLAGS-test-double.c): Likewise.
24783         (CFLAGS-test-ldouble.c): Likewise.
24784         (CPPFLAGS-test-ifloat.c): Likewise.
24785         (CPPFLAGS-test-idouble.c): Likewise.
24786         (CPPFLAGS-test-ildoubl.c): Likewise.
24787         (CFLAGS-test-test-fenv.c): Remove variable.
24788         (CFLAGS-test-misc.c): Likewise.
24790 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24792         [BZ #17797]
24793         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24794         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24795         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24796         CLOCKS_PER_SEC == 1000000.
24797         * time/clocktest.c (main): Replace %ld with %jd and cast to
24798         intmax_t.
24800 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24802         * sysdeps/generic/unwind-resume.h: New file.
24803         * sysdeps/gnu/unwind-resume.c: Include it.
24804         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24805         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24806         argument list.
24807         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24808         global rather than static.
24809         (_Unwind_Resume): Update user.
24810         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24811         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24812         rather than static.  Add __attribute__ ((cold)).
24813         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24814         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24815         * sysdeps/arm/arm-unwind-resume.S: New file.
24816         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24817         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24818         * sysdeps/arm/Makefile [$(subdir) = csu]
24819         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24820         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24821         Add rt-arm-unwind-resume.
24822         [$(subdir) = nptl]
24823         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24824         Add pt-arm-unwind-resume.
24825         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24826         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24828 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24830         [BZ #17748]
24831         * include/fenv.h (__feholdexcept): Declare.  Use
24832         libm_hidden_proto.
24833         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24834         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24835         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24836         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24837         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24838         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24839         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24840         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24841         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24842         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24843         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24844         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24845         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24846         (feholdexcept): Likewise.
24847         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24848         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24849         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24850         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24851         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24852         __feholdexcept instead of feholdexcept.
24853         (default_libc_feholdexcept_setround): Likewise.
24855 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24857         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24858         to avoid using stl/str to align destination.
24860 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24862         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24864 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24866         [BZ #17796]
24867         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24868         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24869         Define as weak alias not strong alias.
24871 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24873         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24874         bltzal with addiupc.
24875         (RTLD_START): Ditto.
24877 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24879         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24880         for __vdso_* functions in declarations.
24881         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24882         definitions.
24883         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24884         INTERNAL_VSYSCALL): Use struct return types to check for error.
24886         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24887         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24888         function with cast from llround().
24889         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24890         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24891         Define.
24893 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24895         [BZ #17793]
24896         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24897         Define as weak alias not strong alias.
24899         [BZ #17635]
24900         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24901         ...
24902         * ctype/ctype-extn.c: ... here.
24903         (__isblank_l): Move to ...
24904         * ctype/ctype-c99_l.c: ... here.  New file.
24905         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24906         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24907         Remove variable.
24908         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24909         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24910         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24911         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24912         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24914         [BZ #17777]
24915         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24916         (posix_fadvise64): Define as weak alias not strong alias.
24917         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24918         (posix_fallocate64): Likewise.
24919         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24920         Remove variable.
24921         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24922         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24923         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24924         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24925         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24927 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24929         [BZ #16191]
24930         * NEWS: Mention bug fix.
24931         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24932         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24933         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24934         (HOST_STACK_END_ADDR): Likewise.
24936 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24938         [BZ #17748]
24939         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24940         * math/fegetround.c (fegetround): Rename to __fegetround and
24941         define as weak alias of __fegetround.  Use libm_hidden_weak.
24942         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24943         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24944         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24945         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24946         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24947         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24948         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24949         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24950         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24951         Undefine after rather than before function definition; use
24952         parentheses around function name in definition.
24953         (__fegetround): Also undefine macro after function definition.
24954         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24955         __fegetround and define as weak alias of __fegetround.  Use
24956         libm_hidden_weak.  Do not undefine as macro.
24957         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24958         Likewise.
24959         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24960         __fegetround and define as weak alias of __fegetround.  Use
24961         libm_hidden_weak.
24962         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24963         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24964         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24965         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24966         __fegetround and define as weak alias of __fegetround.  Use
24967         libm_hidden_weak.
24968         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24969         __fegetround instead of fegetround.
24971         [BZ #17782]
24972         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24973         Condition macro definition on [__USE_MISC].
24975         [BZ #17781]
24976         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24977         (struct sigaction): Change type of sa_flags field to int.
24979         [BZ #17780]
24980         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24981         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24982         __glibc_reserved0.
24984         * nptl/version.c (banner): Use single year in copyright notice.
24986         * NEWS: Update copyright dates.
24987         * catgets/gencat.c (print_version): Likewise.
24988         * csu/version.c (banner): Likewise.
24989         * debug/catchsegv.sh: Likewise.
24990         * debug/pcprofiledump.c (print_version): Likewise.
24991         * debug/xtrace.sh (do_version): Likewise.
24992         * elf/ldconfig.c (print_version): Likewise.
24993         * elf/ldd.bash.in: Likewise.
24994         * elf/pldd.c (print_version): Likewise.
24995         * elf/sotruss.sh: Likewise.
24996         * elf/sprof.c (print_version): Likewise.
24997         * iconv/iconv_prog.c (print_version): Likewise.
24998         * iconv/iconvconfig.c (print_version): Likewise.
24999         * locale/programs/locale.c (print_version): Likewise.
25000         * locale/programs/localedef.c (print_version): Likewise.
25001         * login/programs/pt_chown.c (print_version): Likewise.
25002         * malloc/memusage.sh (do_version): Likewise.
25003         * malloc/memusagestat.c (print_version): Likewise.
25004         * malloc/mtrace.pl: Likewise.
25005         * manual/libc.texinfo: Likewise.
25006         * nptl/version.c (banner): Likewise.
25007         * nscd/nscd.c (print_version): Likewise.
25008         * nss/getent.c (print_version): Likewise.
25009         * nss/makedb.c (print_version): Likewise.
25010         * posix/getconf.c (main): Likewise.
25011         * scripts/test-installation.pl: Likewise.
25012         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25014 2015-01-02  Will Newton  <will.newton@linaro.org>
25016         * sysdeps/arm/armv7/configure: Removed.
25017         * sysdeps/arm/armv7/configure.ac: Likewise.
25019 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25021         * All files with FSF copyright notices: Update copyright dates
25022         using scripts/update-copyrights.
25023         * intl/plural.c: Regenerated.
25024         * locale/programs/charmap-kw.h: Likewise.
25025         * locale/programs/locfile-kw.h: Likewise.
25027 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25029         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25031 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25033         [BZ #17748]
25034         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25035         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25036         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25037         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25038         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25039         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25040         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25041         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25042         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25043         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25044         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25045         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25046         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25047         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25048         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25049         libm_hidden_def.
25050         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25051         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25052         Likewise.
25053         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25054         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25055         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25056         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25057         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25058         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25059         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25060         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25061         __fegetenv instead of fegetenv.
25062         (libc_feholdsetround_noex_ctx): Likewise.
25064 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25066         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25067         (Elf_MIPS_ABIFlags_v0): New structure.
25068         (EF_MIPS_FP64): Define.
25069         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25070         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25071         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25072         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25073         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25074         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25075         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25076         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25077         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25078         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25079         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25080         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25081         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25082         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25083         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25084         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25085         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25086         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25087         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25088         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25089         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25090         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25091         field.
25092         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25093         EF_MIPS_FP64.
25094         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25095         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25096         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25097         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25098         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25099         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25100         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25101         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25102         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25103         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25104         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25105         record the current FP ABI extension.
25106         (mips-mode-switch): Define to show if kernel headers support mode
25107         switching.
25108         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25109         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25110         supported SYSV ABI version to 3.
25111         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25112         feature.
25114 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25115             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25117         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25118         path.
25119         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25121 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25123         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25124         __fegetround and redefine to call __fegetround.  Remove condition
25125         on [!__NO_MATH_INLINES].
25126         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25127         function.
25128         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25129         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25130         Remove macro.
25131         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25132         instead of <fenv_libc.h>.
25133         (__llrintl): Call fegetround instead of __fegetround.
25134         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25135         instead of <fenv_libc.h>.
25136         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25137         (__lrintl): Call fegetround instead of __fegetround.
25138         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25139         instead of <fenv_libc.h>.
25140         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25141         (__rintl): Call fegetround instead of __fegetround.
25143 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25145         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25146         arrays.
25148 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25150         [BZ #17775]
25151         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25152         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25153         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25155 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25157         * sysdeps/i386/tls-macros.h: Include <features.h>.
25158         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25159         (TLS_IE): Likewise.
25160         (TLS_LD): Likewise.
25161         (TLS_GD): Likewise.
25162         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25163         define for GCC >= 5.0.
25165 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25167         * math/test-fenv.c (test_single_exception, set_single_exc,
25168         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25169         feexcp_mask_test, feenable_test, fe_single_test): Add
25170         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25171         case where they are not used.
25172         * math/libm-test.inc: Likewise.
25173         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25174         unused in the absence of FP rounding/exception support.
25175         * stdio-common/tst-printf-round.c: Likewise.
25176         * stdlib/tst-strtod-round.c: Likewise.
25177         * stdlib/tst-strtod-underflow.c: Likewise.
25179 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25181         [BZ #17723]
25182         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25183         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25184         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25185         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25186         libm_hidden_weak.
25187         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25188         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25189         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25190         libm_hidden_def.
25191         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25192         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25193         libm_hidden_weak.
25194         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25195         Likewise.
25196         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25197         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25198         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25199         libm_hidden_weak.
25200         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25201         libm_hidden_def.
25202         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25203         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25204         (__feraiseexcept): Likewise.
25205         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25206         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25207         libm_hidden_weak.
25208         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25209         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25210         libm_hidden_def.
25211         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25212         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25213         Use libm_hidden_def.
25214         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25215         libm_hidden_def.
25216         (feraiseexcept): Define as weak not strong alias.  Use
25217         libm_hidden_weak.
25218         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25219         New inline function.  Factored out of ...
25220         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25221         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25222         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25223         feraiseexcept.
25224         * math/w_acos.c (__acos): Likewise.
25225         * math/w_asin.c (__asin): Likewise.
25226         * math/w_ilogb.c (__ilogb): Likewise.
25227         * math/w_j0.c (y0): Likewise.
25228         * math/w_j1.c (y1): Likewise.
25229         * math/w_jn.c (yn): Likewise.
25230         * math/w_log.c (__log): Likewise.
25231         * math/w_log10.c (__log10): Likewise.
25232         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25233         * sysdeps/aarch64/fpu/math_private.h
25234         (libc_feupdateenv_test_aarch64): Likewise.
25235         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25236         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25237         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25238         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25239         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25240         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25241         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25242         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25243         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25244         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25246 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25248         [BZ #17732]
25249         * io/test-utime.c (main): Replace %ld with %jd and cast to
25250         intmax_t.
25251         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25252         * nptl/tst-mutex5.c: Include <stdint.h>.
25253         (do_test): Replace %ld with %jd and cast to intmax_t.
25254         * posix/tst-regex.c (run_test): Likewise.
25255         (run_test_backwards): Likewise.
25256         * rt/tst-clock.c: Include <stdint.h>.
25257         (clock_test): Replace %ld with %jd and cast to intmax_t.
25258         * rt/tst-cpuclock1.c: Include <stdint.h>.
25259         (do_test): Replace %lu with %ju and cast to uintmax_t.
25260         * rt/tst-cpuclock2.c: Include <stdint.h>.
25261         (do_test): Replace %lu with %ju and cast to uintmax_t.
25262         * rt/tst-mqueue1.c: Include <stdint.h>.
25263         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25264         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25265         intmax_t.
25266         * rt/tst-mqueue4.c (do_test): Likewise.
25267         * rt/tst-timer4.c: Include <stdint.h>.
25268         (check_ts): Replace %ld with %jd and cast to intmax_t.
25269         (do_test): Likewise.
25270         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25271         and cast to intmax_t.
25272         * sysdeps/pthread/tst-timer.c (main): Likewise.
25273         * time/clocktest.c (main): Likewise.
25274         * time/tst-posixtz.c (do_test): Likewise.
25275         * timezone/tst-timezone.c (main): Likewise.
25277 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25278             H.J. Lu  <hongjiu.lu@intel.com>
25280         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25281         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25282         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25283         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25284         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25285         version if bit_Fast_Unaligned_Load is set.
25286         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25287         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25288         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25289         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25290         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25291         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25293         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25294         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25295         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25296         to 4.
25297         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25298         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25299         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25300         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25302 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25304         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25305         instead of #if to avoid a Wundef warning.
25306         * stdlib/tst-limits.c (do_test): Likewise.
25308         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25309         parallel other exception macros.
25310         (fegetenv): Convert from macro to extern inline so that it applies
25311         retroactively to inline functions already seen by the compiler.
25312         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25314         * posix/Makefile (before-compile): Use $(objpfx) for
25315         posix-conf-vars-def.h.
25317 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25319         * posix/getconf.c (main): Use size_t for type of I.
25320         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25321         NSPEC.
25323         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25324         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25325         * posix/posix-envs.def: Likewise.
25326         * sysdeps/posix/sysconf.c: Likewise.
25327         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25328         (specs): Remove array.
25329         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25330         array.
25332         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25333         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25334         (__sysconf): Use CONF_IS_* macros.
25336         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25337         ($(objpfx)posix-conf-vars-def.h): New target.
25338         * posix/posix-conf-vars.list: New file.
25339         * posix/posix-conf-vars.h: New file.
25340         * posix/confstr.c: Include posix-conf-vars.h.
25341         (confstr): Use CONF_IS_* macros.
25342         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25343         CONF_IS_* macros.
25344         * scripts/gen-posix-conf-vars.awk: New file.
25346 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25348         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25349         fegetround): Add no-op macros to avoid linknamespace issues.
25351         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25352         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25354         * sysdeps/unix/sysv/linux/tile/sysdep.h
25355         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25356         assembly-specific section to avoid a redefinition warning.
25358         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25359         long before casting to pointer to avoid a cast warning.
25361 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25363         * sysdeps/tile/tilegx/Implies: New file.
25365 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25367         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25369 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25371         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25373 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25375         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25376         not define.
25377         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25378         <kernel-features.h>.
25379         (__utimes) [__NR_utimes]: Make code unconditional.
25380         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25381         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25382         (__ASSUME_UTIMES): Do not undefine.
25383         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25384         (__ASSUME_UTIMES): Likewise.
25385         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25386         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25387         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25388         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25390 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25392         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25394 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25396         [BZ #17747]
25397         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25398         alias to weak alias for j0l, y0l.
25399         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25400         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25402         [BZ #17746]
25403         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25404         conversion.
25406 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25408         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25409         to zero if not already defined.
25411 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25413         [BZ #17724]
25414         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25415         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25416         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25417         (char *) casts added.
25418         * sysdeps/ieee754/k_standardf.c: New file.
25419         * sysdeps/ieee754/k_standardl.c: Likewise.
25420         * math/Makefile (libm-support): Remove k_standard.
25421         (libm-calls): Add k_standard.
25423 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25425         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25426         Optimize to avoid an unnecessary FPCR read.
25428 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25430         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25431         Optimize to reduce FPCR/FPSR accesses.
25433 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25435         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25436         Call libc_fetestexcept_aarch64.
25438 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25440         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25441         Call libc_fesetround_aarch64.
25443 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25445         [BZ #17733]
25446         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25447         (__bind): Do not define as weak alias.
25448         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25449         define.
25450         (__getsockname): Do not define as weak alias.
25452 2014-12-22  Will Newton  <will.newton@linaro.org>
25454         * manual/install.texi: Document that we require bison 2.7
25455         or above.
25456         * INSTALL: Regenerate.
25457         * configure.ac: Use AC_CHECK_PROG_VER instead of
25458         AC_PATH_PROG when checking for bison and check for
25459         version 2.7 or above.
25460         * configure: Regenerate.
25462 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25464         [BZ #17745]
25465         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25466         * sysdeps/tile/ffsll.c (ffsll): To here.
25468         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25470 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25472         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25473         if not defined.
25474         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25475         definition.
25476         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25477         hidden ___tls_get_addr.
25478         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25479         hidden __tls_get_addr.
25480         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25481         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25482         Likewise.
25484 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25486         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25487         _dl_init call.
25489 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25491         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25492         from "call _dl_init@PLT".
25493         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25495 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25497         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25498         guarantees.
25500 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25502         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25504 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25506         [BZ #17744]
25507         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25508         strnlen.
25510 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25512         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25513         of multu on MIPSr6.
25514         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25515         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25516         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25517         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25518         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25520 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25522         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25523         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25524         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25525         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25526         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25527         mips32r6/mips64r6.
25528         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25530 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25532         * string/strncat.c (STRNCAT): Simplify implementation.
25534 2014-12-19  David S. Miller  <davem@davemloft.net>
25536         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25537         access the quad as both a long double and as a series of 4 words.
25539         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25540         link_map->l_info array access.
25542 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25544         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25546         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25547         * math/atest-exp2.c (TIMEOUT): Likewise.
25548         * math/atest-sincos.c (TIMEOUT): Likewise.
25550 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25552         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25553         -Wno-error with -fno-builtin-lround.
25555 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25557         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25558         Contains futex constants and functions moved over from ...
25559         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25560         <lowlevellock-futex.h>.
25561         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25562         (lll_timedwait_tid): Add comments and parentheses around macro
25563         arguments.
25565 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25568         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25569         (__lll_private_flag): Remove.
25570         (lll_futex_wait): Likewise.
25571         (lll_futex_timed_wait): Likewise.
25572         (lll_futex_wake): Likewise.
25573         (lll_futex_requeue): Likewise.
25574         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25575         (__lll_timedwait_tid): Spell out argument names.
25576         (lll_timedwait_tid): Add comments and parentheses around macro
25577         arguments.
25578         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25579         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25581 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25583         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25584         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25585         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25586         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25587         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25588         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25589         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25590         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25591         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25592         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25593         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25594         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25595         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25596         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25597         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25598         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25599         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25600         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25601         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25603 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25605         * sysdeps/x86_64/x32/Makefile: New file.
25607 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25609         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25610         1L with (mp_limb_t) 1.
25612 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25614         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25615         * nptl/libc_pthread_init.c: ... here.
25616         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25617         * nptl/register-atfork.c: ... here.
25619         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25620         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25621         Use assert_perror to check its return value.
25622         (__gai_create_helper_thread): Likewise.
25624         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25626         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25628 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25630         [BZ #17725]
25631         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25632         __profil_counter.
25633         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25634         Likewise.
25635         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25636         Likewise.
25637         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25638         Likewise.
25639         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25640         (profil_counter): Likewise.
25641         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25642         (profil_counter): Likewise.
25643         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25644         Likewise.
25645         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25646         Likewise.
25647         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25648         (profil_counter): Likewise.
25649         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25650         Likewise.
25651         [!__profil_counter] (profil_counter): Define as weak alias of
25652         __profil_counter.
25653         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25654         (profil_counter): Rename to __profil_counter.
25655         [!__profil_counter] (profil_counter): Define as weak alias of
25656         __profil_counter.
25657         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25658         (profil_counter): Rename to __profil_counter.
25659         [!__profil_counter] (profil_counter): Define as weak alias of
25660         __profil_counter.
25661         * sysdeps/posix/profil.c: Update comment referring to
25662         profil_counter.
25663         (__profil): Use __profil_counter instead of profil_counter.
25664         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25665         __profil_counter.  Use __profil_counter_ushort and
25666         __profil_counter_uint in definitions.
25667         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25668         instead of profil_counter_uint and profil_counter_ushort.
25670         [BZ #17722]
25671         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25672         define as weak alias of __inet_makeaddr.
25673         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25674         as weak alias of __inet_addr.
25675         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25676         as weak alias of __inet_pton.  Use libc_hidden_weak.
25677         * include/arpa/inet.h (__inet_pton): Declare.  Use
25678         libc_hidden_proto.
25679         (inet_makeaddr): Don't use libc_hidden_proto.
25680         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25681         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25682         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25683         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25684         Remove variable.
25685         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25686         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25688 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25690         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25692 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25694         * stdio-common/bug-vfprintf-nargs.c (do_test):
25695         Cast value to intptr_t to avoid format warning
25696         for usage with PRIdPTR printing macro.
25698 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25700         * libio/tst-widetext.c (do_test):
25701         Use format type %td instead of %Zd for ptrdiff_t
25702         in order to avoid format warning.
25704 2014-12-17  Andreas Schwab  <schwab@suse.de>
25706         * nscd/mem.c (gc): Add size_t cast to match printf format.
25708 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25710         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25711         (init): Apply PTR_MANGLE to pointers before storing them.
25712         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25713         before using them.
25715 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25717         [BZ #17719]
25718         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25719         define as weak alias of __memrchr.
25720         (__memrchr): Do not define as strong alias of memrchr.
25721         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25722         Remove variable.
25723         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25724         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25725         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25727         [BZ #17717]
25728         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25729         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25730         (if_indextoname): Rename to __if_indextoname and define as weak
25731         alias of __if_indextoname.  Use libc_hidden_weak.
25732         (if_freenameindex): Rename to __if_freenameindex and define as
25733         weak alias of __if_freenameindex.
25734         (if_nameindex): Rename to __if_nameindex and define as weak alias
25735         of __if_nameindex.
25736         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25737         __if_nametoindex and define as weak alias of __if_nametoindex.
25738         Use libc_hidden_weak.
25739         (if_freenameindex): Rename to __if_freenameindex and define as
25740         weak alias of __if_freenameindex.
25741         (if_nameindex): Rename to __if_nameindex and define as weak alias
25742         of __if_nameindex.
25743         (if_indextoname): Rename to __if_indextoname and define as weak
25744         alias of __if_indextoname.  Use libc_hidden_weak.
25745         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25746         __if_nametoindex and define as weak alias of __if_nametoindex.
25747         Use libc_hidden_weak.
25748         (if_freenameindex): Rename to __if_freenameindex and define as
25749         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25750         (if_nameindex_netlink): Use __if_freenameindex instead of
25751         if_freenameindex.
25752         (if_nameindex): Rename to __if_nameindex and define as weak alias
25753         of __if_nameindex.  Use libc_hidden_weak.
25754         (if_indextoname): Rename to __if_indextoname and define as weak
25755         alias of __if_indextoname.  Use libc_hidden_weak.
25756         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25757         libc_hidden_proto.
25758         [!_ISOMAC] (__if_freenameindex): Likewise.
25759         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25760         if_nametoindex.
25761         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25762         variable.
25763         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25764         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25765         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25766         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25767         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25768         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25769         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25771         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25772         Remove variable.
25773         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25774         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25776 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25778         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25779         subscript above bounds'
25781         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25782         bounds.
25784 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25786         * libio/tst-fopenloc.c: Use test-skeleton.c.
25788         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25789         (entry): Rename to ITEM.
25790         (do_test, comp): Adjust.
25792         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25794 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25796         * string/tester.c: Include <libc-internal.h>.
25797         (test_memset): Ignore -Wmemset-transposed-args.
25799 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25801         * misc/tst-mntent2.c (do_test): Fix warning.
25803 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25805         * elf/tst-unique4lib.cc(a): Mark as used.
25807 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25809         [BZ #17630]
25810         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25811         names.
25813 2014-12-16  Allan McRae  <allan@archlinux.org>
25815         * stdio-common/Makefile (tests): Re-add bug26.
25817 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25819         [BZ #17657]
25820         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25821         static array.
25823 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25825         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25826         (__lll_lock_wait): Likewise.
25827         (__lll_timedlock_wait): Likewise.
25828         (__lll_timedwait_tid): Likewise.
25829         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25830         (__lll_robust_timedlock_wait): Likewise.
25831         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25832         (lll_cond_trylock): Likewise.
25833         (__lll_lock): Likewise.
25834         (__lll_robust_lock): Likewise.
25835         (__lll_cond_lock): Likewise.
25836         (lll_robust_cond_lock): Likewise.
25837         (__lll_timedlock): Likewise.
25838         (__lll_robust_timedlock): Likewise.
25839         (__lll_unlock): Likewise.
25840         (__lll_robust_unlock): Likewise.
25841         (lll_wait_tid): Likewise.
25842         (lll_timedwait_tid): Likewise.
25844 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25846         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25848 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25850         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25852 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25854         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25855         * stdio-common/tst-sprintf.c: Likewise.
25857 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25859         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25861 2014-12-15  Jeff Law  <law@redhat.com>
25863         [BZ #16617]
25864         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25865         on the heap.  (CVE-2012-3406)
25866         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25867         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25868         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25870 2014-12-15  Will Newton  <will.newton@linaro.org>
25872         * manual/install.texi: Bump required version of texinfo
25873         to 4.7 from 4.5.
25874         * INSTALL: Regenerated.
25875         * configure.ac: Check for makeinfo version 4.7 and above.
25876         * configure: Regenerated.
25878 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25880         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25881         PREFIX, string constant to insert between directory and name.
25882         * sysdeps/posix/shm_open.c: Update caller.
25883         * sysdeps/posix/shm_unlink.c: Likewise.
25884         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25885         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25886         (SEM_SHM_PREFIX): New macro.
25887         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25888         [$(have-thread-library) = no].
25889         * nptl/Makefile (libpthread-routines): Add shm-directory.
25890         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25891         * sysdeps/nptl/shm-directory.h: New file.
25892         * sysdeps/posix/shm-directory.c
25893         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25894         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25895         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25896         INTERNAL_SYSCALL.
25897         (__where_is_shmfs): Function removed.
25898         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25899         Variables removed.
25900         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25901         Use SHM_GET_NAME.
25902         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25904         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25905         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25906         unconditional for use inside libpthread.
25907         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25909 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25911         * nptl/pthread_getaffinity.c: New file.
25912         * nptl/pthread_setaffinity.c: New file.
25913         * nptl/pthread_getname.c: New file.
25914         * nptl/pthread_setname.c: New file.
25916         * nptl/pthread_create.c (START_THREAD_DEFN)
25917         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25919 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25920             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25922         * resolv/res_send.c (send_vc): Disable warning resplen may
25923         be used uninitialized.
25925 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25927         * nptl/tst-mutex6.c
25928         (ATTR_NULL): New define checks ATTR against NULL.
25929         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25930         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25932 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25934         [BZ #17581]
25935         * malloc/hooks.c
25936         (mem2mem_check): Revert my previous change.
25937         (malloc_check_get_size): Revert my previous change.
25938         (mem2chunk_check): Revert my previous change.
25940 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25942         * sysdeps/posix/shm-directory.c: New file.
25943         * sysdeps/posix/shm-directory.h: New file.
25944         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25945         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25946         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25947         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25948         Transmute EPERM to EACCES.
25949         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25950         from ...
25951         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25952         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25954 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25956         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25957         pointer and cast to uintptr_t.
25958         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25959         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25960         Add cast to avoid warning.
25961         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25963 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25965         * nptl/semaphore.h: Move to ...
25966         * sysdeps/pthread/semaphore.h: ... here.
25967         * Makefile (installed-headers): Change nptl/semaphore.h to
25968         sysdeps/pthread/semaphore.h.
25970 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25972         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25973         generated error format strings.
25975         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25976         -Wformat-extra-args warnings for scanf formats.
25977         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25978         test of zero-length format (duh).
25979         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25980         corner-case scanf format test.
25981         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25982         generated fprintf format string.
25983         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25984         corner-case sprintf format tests.
25985         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25986         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25987         -Wformat-extra-args warnings throughout.
25988         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25989         (CFLAGS-scanf4.c): Likewise.
25990         (CFLAGS-scanf7.c): Likewise.
25991         (CFLAGS-tst-sprintf.c): Likewise.
25992         (CFLAGS-tst-printf.c): Likewise.
25993         (CFLAGS-tst-printfsz.c): Likewise.
25995 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25997         * include/cpio.h: New file.
25998         * include/fmtmsg.h: Likewise.
26000         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26001         corresponding format argument to size_t.
26002         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26003         arguments.
26004         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26005         corresponding format argument to size_t.
26006         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26007         arguments.
26008         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26009         corresponding format argument to size_t.
26010         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26011         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26012         (CFLAGS-tst-mbswcs2.c): Likewise.
26013         (CFLAGS-tst-mbswcs3.c): Likewise.
26014         (CFLAGS-tst-mbswcs4.c): Likewise.
26015         (CFLAGS-tst-mbswcs5.c): Likewise.
26016         (CFLAGS-tst-trans.c): Likewise.
26018 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26020         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26021         rather than assuming they won't contain any '%'s.
26023 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26025         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26026         inhibit_loop_to_libcall to avoid recursive calls.
26027         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26028         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26030 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26032         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26033         prototype.
26035 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26037         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26038         integer value instead of boolean.
26040 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26042         * malloc/malloc.c: Fix powerof2 check.
26044 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26046         * locale/programs/locfile.h (maybe_swap_uint32):
26047         Remove inline and add unused attribute.
26049 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26051         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26052         Truncating assembler expression to a .long expression.
26054 2014-12-11  Andreas Schwab  <schwab@suse.de>
26056         * elf/rtld.c (struct map_args): Constify str member.
26057         (do_preload): Constify fname argument.
26059 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26061         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26062         constants definition.
26064 2014-12-11  Andreas Schwab  <schwab@suse.de>
26066         [BZ #16657]
26067         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26068         FORCE_ELISION instead of DO_ELISION.
26069         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26070         Remove.
26071         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26072         Likewise.
26074         * iconvdata/gconv-modules: Remove duplicate entry.
26076 2014-12-11  Will Newton  <will.newton@linaro.org>
26078         Merge gettext 0.19.3 into intl/.
26080         This involves a number of cosmetic changes to comments
26081         and ANSI function definitions and prototypes throughout
26082         all the files. The gettext copyright header is used but
26083         with the date ranges taken from the glibc copy.
26085         * NEWS: Add gettext merge to 2.21.
26086         * intl/bindtextdom.c: Switch to gettext copyright.
26087         Use ANSI definitions and prototypes.
26088         Use gl_* locking primitives rather than __libc_* ones.
26089         Use __builtin_expect rather than __glibc_likely/unlikely.
26090         * intl/dcgettext.c: Switch to gettext copyright.
26091         Use ANSI definitions and prototypes.
26092         * intl/dcigettext.c: Switch to gettext copyright.
26093         Use ANSI definitions and prototypes.
26094         (INTDIV0_RAISES_SIGFPE): New define.
26095         Use gl_* locking primitives rather than __libc_* ones.
26096         Include eval-plural.h instead of plural-eval.c.
26097         Use __builtin_expect rather than __glibc_likely/unlikely.
26098         * intl/dcngettext.c: Switch to gettext copyright.
26099         Use ANSI definitions and prototypes.
26100         * intl/dgettext.c: Likewise.
26101         * intl/dngettext.c: Likewise.
26102         * intl/plural-eval.c: Renamed to...
26103         * intl/eval-plural.h: ...this.
26104         * intl/explodename.c: Switch to gettext copyright.
26105         Use ANSI definitions and prototypes.
26106         (_nl_explode_name): Use strchr instead of __rawmemchr.
26107         * intl/finddomain.c: Switch to gettext copyright.
26108         Use ANSI definitions and prototypes.
26109         Use gl_* locking primitives rather than __libc_* ones.
26110         (_nl_find_domain): Use malloc rather than alloca for
26111         allocation of temporary locale name.
26112         * intl/gettext.c: Switch to gettext copyright.
26113         Use ANSI definitions and prototypes.
26114         * intl/gettextP.h: Switch to gettext copyright.
26115         Use ANSI definitions and prototypes.
26116         Use gl_* locking primitives rather than __libc_* ones.
26117         * intl/gmo.h: Switch to gettext copyright.
26118         (struct sysdep_string): Move struct segment_pair outside of
26119         struct definition.
26120         * intl/hash-string.c: Use ANSI definitions and prototypes.
26121         * intl/hash-string.h: Switch to gettext copyright.
26122         Use ANSI definitions and prototypes.
26123         * intl/l10nflist.c: Switch to gettext copyright.
26124         Use ANSI definitions and prototypes.
26125         (_nl_normalize_codeset): Avoid integer overflow.
26126         * intl/loadinfo.h: Switch to gettext copyright.
26127         Use ANSI definitions and prototypes.
26128         (LIBINTL_DLL_EXPORTED): New define.
26129         (PATH_SEPARATOR): New define.
26130         * intl/loadmsgcat.c: Switch to gettext copyright.
26131         * intl/localealias.c: Switch to gettext copyright.
26132         Use ANSI definitions and prototypes.
26133         (_nl_expand_alias): Use PATH_SEPARATOR.
26134         * intl/ngettext.c: Switch to gettext copyright.
26135         Use ANSI definitions and prototypes.
26136         * intl/plural-exp.c: Likewise.
26137         * intl/plural-exp.h: Switch to gettext copyright.
26138         Use ANSI definitions and prototypes.
26139         (struct expression): Move definition of enum operator outside
26140         of struct definition.
26141         * intl/plural.c: Regenerate.
26142         * intl/plural.y: Switch to gettext copyright.
26143         Use ANSI definitions and prototypes.
26144         Port to bison 3.0.
26145         * intl/textdomain.c: Switch to gettext copyright.
26146         Use ANSI definitions and prototypes.
26147         Use gl_* locking primitives rather than __libc_* ones.
26149 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26151         * debug/warning-nop.c: Add used atrribute.
26153 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26155         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26157         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26158         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26159         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26161 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26162             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26164         [BZ #17634]
26165         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26166         Undefine after defining function.  Define as weak alias of
26167         __wcschr.  Use libc_hidden_weak.
26168         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26169         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26170         (libc_hidden_def): Also define __GI___wcschr alias.
26171         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26172         __wcschr and define as weak alias of __wcschr.
26173         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26174         __wcschr.
26175         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26176         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26177         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26178         libc_hidden_weak.  Do not use libc_hidden_def.
26179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26180         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26181         __GI___wcschr alias.
26182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26183         [IS_IN (libc)] (wcschr): Define as macro expanding to
26184         __redirect_wcschr.
26185         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26186         [IS_IN (libc)] (__wcschr_power6): Likewise.
26187         [IS_IN (libc)] (__wcschr_power7): Likewise.
26188         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26189         instead of wcschr.
26190         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26191         __libc_wcschr.
26192         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26193         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26194         __wcschr and define as weak alias of __wcschr.  Use
26195         libc_hidden_builtin_def.
26196         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26197         as weak alias of __wcschr.  Use libc_hidden_weak.
26198         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26199         wcschr.
26200         * time/era.c (_nl_init_era_entries): Likewise.
26201         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26202         variable.
26203         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26204         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26206 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26208         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26209         format for long int variable.
26211 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26213         [BZ #10672]
26214         * manual/search.texi: (Array Sort Function): Remove claim how to make
26215         qsort stable.
26217 2014-12-10  Andreas Schwab  <schwab@suse.de>
26219         [BZ #12847]
26220         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26221         user-controlled locks.
26223 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26225         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26226         register.
26228 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26230         * configure.ac (--disable-werror): New configure option.
26231         (enable_werror): New AC_SUBST.
26232         * configure: Regenerated.
26233         * config.make.in (enable-werror): New variable.
26234         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26235         -Wno-error=undef.
26236         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26237         * manual/install.texi (Configuring and compiling): Document
26238         --disable-werror.
26239         * INSTALL: Regenerated.
26240         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26241         (CFLAGS-tst-chk2.c): Likewise.
26242         (CFLAGS-tst-chk3.c): Likewise.
26243         (CFLAGS-tst-chk4.cc): Likewise.
26244         (CFLAGS-tst-chk5.cc): Likewise.
26245         (CFLAGS-tst-chk6.cc): Likewise.
26246         (CFLAGS-tst-lfschk1.c): Likewise.
26247         (CFLAGS-tst-lfschk2.c): Likewise.
26248         (CFLAGS-tst-lfschk3.c): Likewise.
26249         (CFLAGS-tst-lfschk4.cc): Likewise.
26250         (CFLAGS-tst-lfschk5.cc): Likewise.
26251         (CFLAGS-tst-lfschk6.cc): Likewise.
26253         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26254         (main): Disable -Wdeprecated-declarations around calls to
26255         register_printf_function.
26257         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26258         (do_test): Disable -Wdiv-by-zero around some calls to
26259         fwrite_unlocked and fread_unlocked.
26261         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26262         (DIAG_POP_NEEDS_COMMENT): Likewise.
26263         (_DIAG_STR1): Likewise.
26264         (_DIAG_STR): Likewise.
26265         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26266         * stdio-common/bug21.c: Include <libc-internal.h>.
26267         (do_test): Disable -Wformat around call to sscanf.
26268         * stdio-common/scanf14.c: Include <libc-internal.h>.
26269         (main): Disable -Wformat around some calls to scanf functions.
26271 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26273         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26275 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26277         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26278         stack variable alignment.
26280 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26282         [BZ #17682]
26283         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26284         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26285         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26286         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26287         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26288         __getrlimit instead of getrlimit.
26289         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26290         __gettimeofday instead of gettimeofday.
26291         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26292         Likewise.
26293         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26294         Likewise.
26295         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26296         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26297         Remove variable.
26298         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26299         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26301 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26303         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26304         for wide-character tests.
26306 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26308         * io/openat64.c: #include <libc-internal.h>
26309         (__openat64): Prototypify.  Use ignore_value on MODE.
26310         * io/openat.c: Likewise.
26311         * misc/reboot.c: #include <libc-internal.h>
26312         (reboot): Prototypify.  Use ignore_value on HOWTO.
26313         * misc/ptrace.c: #include <libc-internal.h>
26314         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26316 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26318         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26319         XPG4, UNIX98 and XOPEN2K.
26320         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26321         Remove variable.
26322         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26324 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26326         * libio/fileops.c: Use ISO C style for function definitions.
26327         * libio/iofopen.c: Likewise.
26328         * libio/wfileops.c: Likewise.
26330         [BZ #17653]
26331         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26332         offset on EOF.
26333         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26334         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26335         (fgets_func): Function pointer to fgets and fgetws.
26336         (do_ftell_test): Add test to verify ftell value after read
26337         EOF.
26338         (do_test): Set fgets_func.
26340         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26341         O_TRUNC flag for w and w+ modes.
26342         (do_rewind_test): Likewise.
26343         (do_ftell_test): Likewise.
26344         (do_write_test): Likewise.
26346         [BZ #17647]
26347         * libio/fileops.c (do_ftell): Seek only when there are
26348         unflushed writes.
26349         * libio/wfileops.c (do_ftell_wide): Likewise.
26350         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26351         test case.
26352         (do_one_test): Call it.
26354 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26356         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26357         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26358         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26359         Remove variable.
26360         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26361         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26362         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26364 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26366         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26367         Remove variable.
26368         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26370         [BZ #17668]
26371         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26372         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26373         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26374         __freeifaddrs.  Use libc_hidden_weak.
26375         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26376         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26377         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26378         __freeifaddrs.  Use libc_hidden_weak.
26379         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26380         __getifaddrs and define as weak alias of __getifaddrs.  Use
26381         libc_hidden_weak.
26382         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26383         __freeifaddrs.  Use libc_hidden_weak.
26384         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26385         Remove variable.
26386         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26387         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26389 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26391         [BZ #17601]
26392         * sysdeps/mips/start.S (__start): Use indirect jump to call
26393         __libc_start_main.
26395 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26397         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26399         * nptl/tst-mutex1.c: Include <stdbool.h>.
26400         [!ATTR] (ATTR_NULL): New macro.
26401         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26402         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26403         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26405         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26406         to char *.
26408         [BZ #17665]
26409         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26410         Change conditional to [__USE_MISC].
26412         [BZ #17664]
26413         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26414         fgets_unlocked.
26415         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26416         __fgets_unlocked.
26417         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26418         fgets_unlocked.
26419         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26420         Remove variable.
26421         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26422         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26423         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26424         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26425         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26426         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26427         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26428         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26429         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26431         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26433 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26435         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26436         Remove strpbrk objects.
26437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26438         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26439         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26440         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26441         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26442         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26444         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26445         Remove strcspn objects.
26446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26447         (__libc_ifunc_impl_list): Remove strcspn implementation.
26448         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26449         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26450         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26451         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26453         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26454         Remove strspn objetcs.
26455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26456         (__libc_ifunc_impl_list): Remove strspn implementation.
26457         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26458         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26459         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26460         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26462 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26464         [BZ #17581]
26465         * malloc/hooks.c
26466         (mem2mem_check): Add a terminator to the chain of checking blocks.
26467         (malloc_check_get_size): Use it here.
26468         (mem2chunk_check): Ditto.
26470 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26472         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26473         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26475 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26477         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26479         * nptl/nptl-init.c: Include libc-internal.h.
26480         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26482         * elf/ldconfig.c (search_dir): Expand comment.
26484 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26486         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26487         variable.
26488         (linknamespace-symlist-stdlibs-tests): Likewise.
26489         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26490         instead of $(objpfx)symlist-stdlibs.
26491         (linknamespace-libs-isoc): New variable.
26492         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26493         (linknamespace-libs-ISO): New variable.
26494         (linknamespace-libs-ISO99): Likewise.
26495         (linknamespace-libs-ISO11): Likewise.
26496         (linknamespace-libs-XPG3): Likewise.
26497         (linknamespace-libs-XPG4): Likewise.
26498         (linknamespace-libs-POSIX): Likewise.
26499         (linknamespace-libs-UNIX98): Likewise.
26500         (linknamespace-libs-XOPEN2K): Likewise.
26501         (linknamespace-libs-POSIX2008): Likewise.
26502         (linknamespace-libs-XOPEN2K8): Likewise.
26503         ($(objpfx)symlist-stdlibs): Replace by
26504         $(linknamespace-symlist-stdlibs-tests).  Use
26505         $(linknamespace-libs-$*) as set of libraries.
26506         ($(linknamespace-header-tests)): Update dependencies.  Use
26507         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26508         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26509         * conform/linknamespace.pl: Remove comment about considering
26510         definitions of symbols from irrelevant libraries.
26512 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26514         [BZ #13862]
26515         * elf/dl-tls.c: Include <atomic.h>.
26516         (oom): Remove #ifdef SHARED/#endif.
26517         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26518         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26519         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26520         big enough.
26521         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26522         * nptl/Makefile (tests): Add tst-stack4.
26523         (modules-names): Add tst-stack4mod.
26524         ($(objpfx)tst-stack4): New.
26525         (tst-stack4mod.sos): Likewise.
26526         ($(objpfx)tst-stack4.out): Likewise.
26527         ($(tst-stack4mod.sos)): Likewise.
26528         (clean): Likewise.
26529         * nptl/tst-stack4.c: New file.
26530         * nptl/tst-stack4mod.c: Likewise.
26532 2014-11-27  J. Brown  <jb999@gmx.de>
26534         * sysdeps/x86/bits/string.h: Add recent CPUs.
26536 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26538         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26539         sigblock.
26541         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26542         feof.
26544         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26545         variable.
26547 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26549         * nscd/connections.c: Include libc-internal.h because of macro
26550         usage ignore_value.
26552 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26554         * string/bits/string3.h (__warn_memset_zero_len): Don't
26555         declare for gcc newer than 5.0.
26556         (memset): Don't test for zero-length __LEN for gcc newer than
26557         5.0.
26559 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26561         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26562         size_t for %zu format.
26564         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26565         difference, not %ju.
26567 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26569         * include/libc-internal.h (ignore_value): New macro.
26570         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26571         with ignore_value.
26573         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26574         definition.
26576         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26577         pthread_cleanup_push to void *.
26579         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26580         Undefine.
26582         [BZ #16619]
26583         [BZ #16740]
26584         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26585         instead of 1L << 52.
26587         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26588         * libio/bug-rewind2.c (do_test): Likewise.
26590         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26591         * debug/test-strcpy_chk-ifunc.c: Likewise.
26592         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26593         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26594         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26595         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26596         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26597         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26598         * Rules [$(multi-arch) = no] (tests): Do not filter out
26599         $(tests-ifunc).
26600         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26601         * debug/Makefile (tests-ifunc): Remove variable.
26602         (tests): Do not add $(tests-ifunc).
26603         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26604         (tests): Do not add $(tests-ifunc).
26605         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26606         [TEST_IFUNC]: Remove conditionals.
26607         * string/test-string.h (TEST_IFUNC): Remove macro.
26608         [TEST_IFUNC]: Remove conditionals.
26610         * string/test-strchr.c [!WIDE] (L): New macro.
26611         [WIDE] (L): Likewise.
26612         (check1): Use CHAR instead of char.  Use L on string and character
26613         constants.
26615 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26617         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26618         tests.
26619         * sysdeps/powerpc/bits/atomic.h
26620         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26621         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26622         (atomic_exchange_and_add_acq): Likewise.
26623         (atomic_exchange_and_add_rel): Likewise.
26624         * sysdeps/powerpc/powerpc32/bits/atomic.h
26625         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26626         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26627         * sysdeps/powerpc/powerpc64/bits/atomic.h
26628         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26629         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26631 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26633         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26634         Change synchronization of __sched_fifo_min_prio and
26635         __sched_fifo_max_prio.
26636         * nptl/pthread_mutexattr_getprioceiling.c
26637         (pthread_mutexattr_getprioceiling): Likewise.
26638         * nptl/pthread_mutexattr_setprioceiling.c
26639         (pthread_mutexattr_setprioceiling): Likewise.
26640         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26641         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26642         Likewise.
26644 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26646         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26647         void.
26649 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26651         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26652         third argument const.
26654 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26656         fnmatch: work around GCC compiler warning bug with uninit var
26657         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26658         This works around a bug with x86-64 GCC 4.9.2 and earlier
26659         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26660         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26661         used uninitialized in this function [-Wmaybe-uninitialized]".
26663 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26665         * posix/bug-regex31.c (main): Return RES not 0.
26667 2014-11-25  Anton Blanchard <anton@samba.org>
26669         * sysdeps/powerpc/bits/atomic.h
26670         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26672 2014-11-24  Sterling Augustine  <saugustine@google.com>
26674         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26676 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26678         [BZ #17608]
26679         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26681 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26683         [BZ #17633]
26684         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26685         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26686         variable.
26687         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26688         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26690 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26692         * string/strncpy.c (strncpy): Improve performance by using memset.
26694 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26696         * string/strcpy.c (strcpy):
26697         Improve performance by using strlen and memcpy.
26699 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26701         * string/strcoll_l.c (get_next_seq): __always_inline.
26702         * string/strcoll_l.c (do_compare): __always_inline.
26704 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26706         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26707         defined.
26708         * include/mqueue.h: Likewise.
26709         * include/stdlib.h: Likewise.
26711         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26712         (get_null_defines): Adjust.
26713         * sunrpc/Makefile: Adjust comment.
26714         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26715         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26716         (CFLAGS-interp.c): Likewise.
26717         (CFLAGS-ldconfig.c): Likewise.
26718         (CPPFLAGS-.os): Likewise.
26719         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26720         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26721         * extra-modules.mk (extra-modules.mk): Likewise.
26722         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26723         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26724         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26725         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26726         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26727         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26728         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26729         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26730         * iconvdata/Makefile (CPPFLAGS): Likewise.
26731         (cpp-srcs-left): Add libof for all iconvdata routines.
26732         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26733         * include/assert.h: Likewise.
26734         * include/ctype.h: Likewise.
26735         * include/errno.h: Likewise.
26736         * include/libc-symbols.h: Likewise.
26737         * include/math.h: Likewise.
26738         * include/netdb.h: Likewise.
26739         * include/resolv.h: Likewise.
26740         * include/stdio.h: Likewise.
26741         * include/stdlib.h: Likewise.
26742         * include/string.h: Likewise.
26743         * include/sys/stat.h: Likewise.
26744         * include/wctype.h: Likewise.
26745         * intl/l10nflist.c: Likewise.
26746         * libidn/idn-stub.c: Likewise.
26747         * libio/libioP.h: Likewise.
26748         * nptl/libc_multiple_threads.c: Likewise.
26749         * nptl/pthreadP.h: Likewise.
26750         * posix/regex_internal.h: Likewise.
26751         * resolv/res_hconf.c: Likewise.
26752         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26753         * sysdeps/arm/memmove.S: Likewise.
26754         * sysdeps/arm/sysdep.h: Likewise.
26755         * sysdeps/generic/_itoa.h: Likewise.
26756         * sysdeps/generic/symbol-hacks.h: Likewise.
26757         * sysdeps/gnu/errlist.awk: Likewise.
26758         * sysdeps/gnu/errlist.c: Likewise.
26759         * sysdeps/i386/i586/memcpy.S: Likewise.
26760         * sysdeps/i386/i586/memset.S: Likewise.
26761         * sysdeps/i386/i686/memcpy.S: Likewise.
26762         * sysdeps/i386/i686/memmove.S: Likewise.
26763         * sysdeps/i386/i686/mempcpy.S: Likewise.
26764         * sysdeps/i386/i686/memset.S: Likewise.
26765         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26766         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26767         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26768         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26769         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26770         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26771         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26772         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26773         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26774         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26775         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26776         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26777         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26778         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26779         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26780         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26781         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26782         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26783         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26784         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26785         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26786         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26787         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26788         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26789         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26790         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26791         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26792         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26793         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26794         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26795         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26796         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26797         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26798         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26799         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26800         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26801         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26802         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26803         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26804         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26805         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26806         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26807         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26808         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26809         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26810         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26811         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26812         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26813         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26814         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26815         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26816         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26817         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26818         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26819         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26820         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26821         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26822         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26823         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26824         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26825         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26826         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26827         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26828         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26829         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26830         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26831         * sysdeps/posix/closedir.c: Likewise.
26832         * sysdeps/posix/opendir.c: Likewise.
26833         * sysdeps/posix/readdir.c: Likewise.
26834         * sysdeps/posix/rewinddir.c: Likewise.
26835         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26836         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26837         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26838         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26839         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26840         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26841         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26842         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26844         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26846         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26847         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26848         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26849         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26850         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26851         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26852         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26853         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26854         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26855         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26856         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26857         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26858         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26859         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26860         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26862         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26863         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26864         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26870         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26871         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26872         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26873         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26874         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26875         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26876         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26877         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26879         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26880         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26881         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26882         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26883         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26884         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26885         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26886         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26888         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26889         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26890         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26891         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26892         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26893         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26894         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26895         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26896         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26897         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26898         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26899         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26900         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26901         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26902         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26903         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26904         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26905         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26906         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26907         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26908         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26909         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26910         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26911         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26912         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26913         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26914         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26915         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26916         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26917         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26918         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26919         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26920         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26921         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26922         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26923         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26924         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26925         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26926         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26927         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26928         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26930         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26931         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26932         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26933         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26934         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26935         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26936         * sysdeps/unix/alpha/sysdep.S: Likewise.
26937         * sysdeps/unix/alpha/sysdep.h: Likewise.
26938         * sysdeps/unix/make-syscalls.sh: Likewise.
26939         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26940         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26941         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26942         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26943         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26944         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26945         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26946         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26947         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26948         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26949         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26950         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26951         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26952         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26953         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26954         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26955         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26956         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26957         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26958         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26959         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26960         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26961         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26962         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26963         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26964         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26965         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26968         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26969         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26970         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26972         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26973         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26975         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26976         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26977         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26978         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26979         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26980         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26981         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26982         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26983         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26985         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26986         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26988         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26989         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26990         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26991         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26992         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26993         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26994         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26995         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26997         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26998         * sysdeps/x86_64/memcpy.S: Likewise.
26999         * sysdeps/x86_64/memmove.c: Likewise.
27000         * sysdeps/x86_64/memset.S: Likewise.
27001         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27002         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27003         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27004         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27005         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27007         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27008         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27009         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27010         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27011         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27012         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27013         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27014         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27015         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27016         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27017         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27018         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27019         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27020         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27021         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27022         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27023         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27024         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27025         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27026         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27027         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27028         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27029         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27030         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27031         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27032         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27033         * sysdeps/x86_64/strcmp.S: Likewise.
27035         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27037         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27038         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27039         * elf/rtld-Rules: Likewise.
27040         * elf/setup-vdso.h: Likewise.
27041         * include/assert.h: Likewise.
27042         * include/bits/stdlib-float.h: Likewise.
27043         * include/errno.h: Likewise.
27044         * include/sys/stat.h: Likewise.
27045         * include/unistd.h: Likewise.
27046         * sysdeps/aarch64/setjmp.S: Likewise.
27047         * sysdeps/alpha/setjmp.S: Likewise.
27048         * sysdeps/arm/__longjmp.S: Likewise.
27049         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27050         * sysdeps/arm/setjmp.S: Likewise.
27051         * sysdeps/arm/sysdep.h: Likewise.
27052         * sysdeps/generic/_itoa.h: Likewise.
27053         * sysdeps/generic/dl-sysdep.h: Likewise.
27054         * sysdeps/generic/ldsodefs.h: Likewise.
27055         * sysdeps/i386/dl-tls.h: Likewise.
27056         * sysdeps/i386/setjmp.S: Likewise.
27057         * sysdeps/m68k/setjmp.c: Likewise.
27058         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27059         * sysdeps/mach/hurd/opendir.c: Likewise.
27060         * sysdeps/posix/getcwd.c: Likewise.
27061         * sysdeps/posix/opendir.c: Likewise.
27062         * sysdeps/posix/profil.c: Likewise.
27063         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27064         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27065         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27066         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27067         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27068         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27069         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27070         * sysdeps/s390/dl-tls.h: Likewise.
27071         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27072         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27073         * sysdeps/sh/sh3/setjmp.S: Likewise.
27074         * sysdeps/sh/sh4/setjmp.S: Likewise.
27075         * sysdeps/unix/alpha/sysdep.h: Likewise.
27076         * sysdeps/unix/arm/sysdep.S: Likewise.
27077         * sysdeps/unix/i386/sysdep.S: Likewise.
27078         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27079         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27080         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27081         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27082         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27083         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27084         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27085         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27086         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27087         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27088         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27089         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27090         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27093         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27094         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27095         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27096         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27097         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27098         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27099         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27100         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27101         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27102         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27103         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27105         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27106         * sysdeps/x86_64/setjmp.S: Likewise.
27108         * include/math.h: Use IS_IN instead of IS_IN_libm.
27109         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27110         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27111         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27112         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27113         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27114         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27115         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27116         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27117         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27118         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27119         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27120         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27121         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27122         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27123         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27124         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27125         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27126         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27127         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27128         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27129         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27130         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27131         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27132         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27133         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27134         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27135         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27136         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27137         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27138         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27139         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27140         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27141         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27143         Likewise.
27144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27145         Likewise.
27146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27147         Likewise.
27148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27149         Likewise.
27150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27151         Likewise.
27152         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27153         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27154         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27155         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27156         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27157         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27163         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27164         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27165         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27166         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27167         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27168         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27169         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27170         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27171         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27172         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27173         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27174         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27175         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27176         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27178         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27180         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27181         * nptl/pthreadP.h: Likewise.
27182         * nptl_db/structs.def: Likewise.
27183         * sysdeps/arm/sysdep.h: Likewise.
27184         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27185         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27186         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27187         * sysdeps/unix/alpha/sysdep.h: Likewise.
27188         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27189         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27190         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27191         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27192         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27193         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27194         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27195         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27196         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27197         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27198         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27199         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27200         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27201         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27205         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27206         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27208         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27209         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27210         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27211         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27212         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27213         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27215         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27216         * nptl/pthreadP.h: Likewise.
27217         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27218         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27219         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27220         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27221         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27222         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27223         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27224         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27225         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27226         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27227         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27228         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27230         Likewise.
27231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27232         Likewise.
27233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27235         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27236         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27237         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27238         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27239         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27240         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27242         * dlfcn/dladdr.c: Use IS_IN.
27243         * dlfcn/dladdr1.c: Likewise.
27244         * dlfcn/dlclose.c: Likewise.
27245         * dlfcn/dlerror.c: Likewise.
27246         * dlfcn/dlinfo.c: Likewise.
27247         * dlfcn/dlmopen.c: Likewise.
27248         * dlfcn/dlopen.c: Likewise.
27249         * dlfcn/dlsym.c: Likewise.
27250         * dlfcn/dlvsym.c: Likewise.
27252         * include/ifaddrs.h: Use IS_IN.
27253         * inet/check_pf.c: Likewise.
27254         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27255         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27257         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27258         IS_IN_ldconfig.
27259         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27260         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27262         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27263         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27264         IS_IN (libc).
27266         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27268         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27269         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27270         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27271         * include/libc-symbols.h (IS_IN_LIB): New macro.
27272         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27273         * include/netdb.h: Likewise.
27274         * include/stap-probe.h: Remove all uses of IN_LIB.
27276         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27277         instead of IN_MODULE.
27278         * include/libc-symbols.h (IN_MODULE): Define using
27279         MODULE_NAME.
27280         (PASTE_NAME, PASTE_NAME1): New macros.
27281         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27282         of IN_LIB.
27283         (STAP_PROBE_ASM): Likewise.
27285 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27287         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27288         __mach_init in dlopened libc.
27290 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27292         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27293         * sysdeps/arm/preconfigure: Regenerate.
27295 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27297         * nptl/pthread_create.c (__pthread_create_2_1): Set
27298         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27299         when copying values from IATTR into PD.
27301 2014-11-21  Will Newton  <will.newton@linaro.org>
27302             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27304         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27305         Refactor inline-asm.  Also add comment.
27307         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27308         ElfW macro instead of hardcoded Elf64 types.
27309         (la_aarch64_gnu_pltenter): Likewise.
27310         * sysdeps/aarch64/dl-machine.h
27311         (elf_machine_runtime_setup): Use ElfW(Addr).
27313         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27314         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27315         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27316         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27317         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27318         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27319         (R_AARCH64_TLS_DTPMOD): This.
27320         (R_AARCH64_TLS_DTPREL64): Rename to ...
27321         (R_AARCH64_TLS_DTPREL): This.
27322         (R_AARCH64_TLS_TPREL64): Rename to ...
27323         (R_AARCH64_TLS_TPREL): This.
27324         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27325         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27326         R_AARCH64_TLS_TPREL64.
27327         (elf_machine_rela): Likewise.
27329 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27331         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27332         by setting it to 0.  64b atomics are not supported currently.
27334 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27336         [BZ #16469]
27337         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27338         search domain names.
27340 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27342         [BZ #16469]
27343         * NEWS: Update.
27344         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27345         trailing dot.
27346         * posix/tst-getaddrinfo5.c: New.
27347         * posix/Makefile (tests): Add it.
27349 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27351         [BZ #14498]
27352         * NEWS: Fixed.
27353         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27354         after parsing line but before break_if_match.
27355         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27356         if there is a protocol mismatch.
27358 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27360         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27361         because the potential race is on the user-supplied stream.
27363 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27365         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27366         string literal if not passed a buffer.
27367         * manual/job.texi (ctermid): Update reasoning, note deviation
27368         from posix, suggest mtasurace when not passed a buffer, for
27369         future non-preliminary safety notes.
27371 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27373         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27374         of not passing it a buffer.
27375         Reported by Peng Haitao.
27377 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27379         * manual/Makefile ($(objpfx)stamp-summary): Require
27380         check-safety.sh to pass.
27381         * manual/check-safety.sh: Wish for verification that every
27382         @deftypefn and @deftypefun is followed by a @safety remark.
27384 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27386         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27388         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27389         PTHREAD_CANCEL_ASYNCHRONOUS.
27390         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27391         send SIGCANCEL.
27393         * nptl/default-sched.h: New file.
27394         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27395         * nptl/pthread_create.c: Include it.
27396         (__pthread_create_2_1): Use collect_default_sched instead of making
27397         Linux syscalls here directly.
27399 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27401         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27402         __pthread_once): Use C11 atomics.
27404 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27406         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27408 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27410         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27411         atomic_thread_fence_acquire, atomic_thread_fence_release,
27412         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27413         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27414         atomic_compare_exchange_weak_relaxed,
27415         atomic_compare_exchange_weak_acquire,
27416         atomic_compare_exchange_weak_release,
27417         atomic_exchange_acquire, atomic_exchange_release,
27418         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27419         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27420         atomic_fetch_and_acquire,
27421         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27423 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27425         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27426         USE_ATOMIC_COMPILER_BUILTINS): Define.
27427         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27428         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27429         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27430         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27431         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27432         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27433         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27435         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27437         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27438         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27439         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27441         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27443         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27445         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27446         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27447         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27448         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27449         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27451         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27452         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27453         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27454         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27455         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27456         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27457         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27458         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27459         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27460         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27461         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27462         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27463         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27464         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27465         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27466         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27468 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27470         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27471         the sched_priority value here.  It was already checked when the user
27472         called pthread_attr_setschedparam.
27474         * nptl/tst-bad-schedattr.c: New file.
27475         * nptl/Makefile (tests): Add it.
27477 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27478             Florian Weimer  <fweimer@redhat.com>
27479             Joseph Myers  <joseph@codesourcery.com>
27480             Adam Conrad  <adconrad@0c3.net>
27481             Andreas Schwab  <schwab@suse.de>
27482             Brooks  <bmoses@google.com>
27484         [BZ #17625]
27485         * wordexp-test.c (__dso_handle): Add prototype.
27486         (__register_atfork): Likewise.
27487         (__app_register_atfork): New function.
27488         (registered_forks): New global.
27489         (register_fork): New function.
27490         (test_case): Add 3 new tests for WRDE_CMDSUB.
27491         (main): Call __app_register_atfork.
27492         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27493         fork count is non-zero fail the test.
27494         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27495         is set.
27496         (parse_dollars): Remove check for WRDE_NOCMD.
27497         (parse_dquote): Likewise.
27499 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27501         * Makeconfig (built-modules): List non-library modules to be
27502         built.
27503         (module-cppflags): Include libc-modules.h for
27504         everything except shlib-versions.v.i.
27505         (CPPFLAGS): Use it.
27506         (before-compile): Add libc-modules.h.
27507         ($(common-objpfx)libc-modules.h,
27508         $(common-objpfx)libc-modules.stmp): New targets.
27509         (common-generated): Add libc-modules.h and libc-modules.stmp.
27510         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27511         * include/libc-symbols.h: Don't include libc-modules.h.
27512         * include/libc-modules.h: Remove file.
27513         * scripts/gen-libc-modules.awk: New script to generate
27514         libc-modules.h.
27515         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27516         Depend on libc-modules.stmp.
27518         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27520         * Makeconfig (in-module): Get value of libof set for the
27521         translation unit.
27522         (CPPFLAGS): Use $(in-module).
27523         * Makerules: Don't suffix routine names for nonlib.
27524         * include/libc-modules.h: New file.
27525         * include/libc-symbols.h: Include libc-modules.h
27526         (IS_IN): New macro to replace IS_IN_* macros.
27527         * elf/Makefile: Set libof-* for each routine.
27528         * elf/rtld-Rules: Likewise.
27529         * extra-modules.mk: Likewise.
27530         * iconv/Makefile: Likewise.
27531         * iconvdata/Makefile: Likewise.
27532         * locale/Makefile: Likewise.
27533         * malloc/Makefile: Likewise.
27534         * nss/Makefile: Likewise.
27535         * sysdeps/gnu/Makefile: Likewise.
27536         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27537         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27538         * sysdeps/s390/s390-64/Makefile: Likewise.
27539         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27540         CPPFLAGS for nscd instead of nonlib.
27542 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27544         * nptl/createthread.c: New file.
27546         * nptl/createthread.c: Moved ...
27547         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27549         * nptl/createthread.c: Add proper top-line comment.
27550         (do_clone): Folded into ...
27551         (create_thread): ... here.  Take new arguments STOPPED_START and
27552         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27553         increment __nptl_threads, do event-reporting logic, do
27554         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27555         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27556         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27557         just send SIGCANCEL.
27558         * nptl/pthread_create.c: Forward-declare create_thread before
27559         including createthread.c.
27560         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27561         declaration, and new macro START_THREAD_SELF to replace argument.
27562         Remove return statement.
27563         (report_thread_creation): New function.
27564         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27565         synchronization logic, and __nptl_nthreads increment here, around
27566         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27567         PD->parent_cancelhandling here, before create_thread.  When
27568         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27569         __deallocate_stack, and ENOMEM translation here.
27571 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27573         [BZ #17616]
27574         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27575         (mptwo): Rename to __mptwo.
27576         (__inv): Use __mptwo instead of mptwo.
27577         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27578         (mptwo): Rename to __mptwo.
27579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27580         of mpone and __mptwo instead of mptwo.
27581         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27582         instead of mpone.
27583         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27584         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27585         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27586         of mpone and __mptwo instead of mptwo.
27587         (__mpranred): Use __mpone instead of mpone.
27588         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27589         variable.
27590         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27591         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27592         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27593         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27594         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27595         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27596         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27597         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27598         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27599         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27600         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27601         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27602         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27603         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27604         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27605         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27606         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27607         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27608         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27610 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27612         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27613         replace BSD Handler xref with BSD Signal Handling.
27615 2014-11-17  Richard Henderson  <rth@redhat.com>
27617         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27618         (_FP_PACK_RAW_2): Remove.
27619         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27620         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27621         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27622         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27623         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27624         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27625         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27626         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27627         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27628         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27629         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27630         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27631         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27632         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27633         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27634         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27636 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27638         * signal/signal.h [__USE_MISC]
27639         (struct sigvec): Remove type.
27640         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27641         (sigvec): Remove declaration.
27642         * sysdeps/posix/sigvec.c: Moved ...
27643         * signal/sigvec.c: ... here, replacing old file.
27644         (struct sigvec): New type, copied from old signal.h definition.
27645         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27646         (__sigvec): Convert definition to prototype.
27647         (sigvec): Replace weak_alias with compat_symbol.
27648         * signal/Versions (libc: GLIBC_2.21): New version set.
27649         * include/signal.h: Remove __sigvec declaration.
27650         * sysdeps/unix/bsd/sigvec.c: Remove file.
27651         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27652         * manual/signal.texi (BSD Handler): Remove subsection.
27653         Move siginterrupt up to ...
27654         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27655         (Blocking in BSD): Fold subsection into its parent.
27656         * NEWS: Mention sigvec removal.
27658 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27660         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27661         (DLA_FMS): Make definition conditional only on [__FMA4__].
27662         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27663         definition.
27665         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27666         Make definition conditional only on [PROF].
27667         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27668         definition.
27669         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27670         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27672         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27673         !__GNUC__].
27674         * include/signal.h (__sigpause): Move declaration above call to
27675         libc_hidden_proto.
27676         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27677         variable.
27678         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27679         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27681 2014-11-14  David S. Miller  <davem@davemloft.net>
27683         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27684         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27686 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27688         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27689         * configure: Regenerated.
27690         * manual/install.texi (Tools for Compilation): Document a
27691         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27692         compiler verified to work.
27693         * INSTALL: Regenerated.
27695         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27696         redeclare with asm name.
27697         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27698         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27699         including <string.h>.
27700         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27701         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27702         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27703         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27704         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27705         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27706         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27708 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27710         * stdlib/strtol.c (__strtol): Use prototype definition.
27712         [BZ #17594]
27713         * stdlib/strtol.c (SYM__): New macro.
27714         (SYM__1): Likewise.
27715         (__strtol): Likewise.
27716         (strtol): Rename to __strtol and define as weak alias of
27717         __strtol.  Use libc_hidden_weak.
27719 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27721         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27722         Use numbered labels in inline assembly.
27724 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27726         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27727         Add setjmp LIBC_PROBE.
27728         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27729         Likewise.
27730         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27731         Add longjmp, longjmp_target LIBC_PROBE.
27732         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27733         Likewise.
27735 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27737         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27738         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27739         to get rid of unused variable warning.
27741 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27743         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27744         Check for unwind_backtrace ==  NULL only in SHARED case.
27745         (__backchain_backtrace): Compile only in SHARED case.
27746         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27747         Likewise.
27748         (__backchain_backtrace): Declare as static.
27750 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27752         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27753         (__libc_multiple_threads_ptr): Variable moved ...
27754         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27756 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27758         * conform/GlibcConform.pm: New file.
27759         * conform/conformtest.pl: Use GlibcConform module.
27760         * conform/linknamespace.pl: New file.
27761         * conform/list-header-symbols.pl: Likewise.
27762         * conform/Makefile (linknamespace-symlists-base): New variable.
27763         (linknamespace-symlists-tests): Likewise.
27764         (linknamespace-header-base): Likewise.
27765         (linknamespace-header-tests): Likewise.
27766         (tests-special): Add new tests.
27767         ($(linknamespace-symlists-tests)): New rule.
27768         (linknamespace-libs): New variable.
27769         ($(objpfx)symlist-stdlibs): New rule.
27770         ($(linknamespace-header-tests)): Likewise.
27771         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27772         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27773         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27774         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27775         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27776         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27777         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27778         (test-xfail-ISO/math.h/linknamespace): Likewise.
27779         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27780         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27781         (test-xfail-ISO/time.h/linknamespace): Likewise.
27782         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27783         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27784         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27785         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27786         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27787         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27788         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27789         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27790         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27791         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27792         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27793         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27794         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27795         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27796         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27797         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27798         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27799         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27800         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27801         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27802         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27803         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27804         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27805         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27806         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27807         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27808         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27809         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27810         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27811         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27812         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27813         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27814         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27815         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27816         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27817         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27818         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27819         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27820         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27821         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27822         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27823         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27824         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27825         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27826         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27827         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27828         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27829         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27830         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27831         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27832         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27833         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27834         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27835         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27836         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27837         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27838         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27839         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27840         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27841         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27842         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27843         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27844         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27845         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27846         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27847         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27848         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27849         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27850         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27851         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27852         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27853         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27854         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27855         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27856         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27857         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27858         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27859         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27860         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27861         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27862         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27863         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27864         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27865         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27866         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27867         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27868         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27869         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27870         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27871         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27872         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27873         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27874         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27875         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27876         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27877         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27878         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27879         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27880         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27881         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27882         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27883         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27884         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27885         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27886         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27887         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27888         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27889         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27890         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27891         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27892         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27893         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27894         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27895         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27896         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27897         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27898         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27899         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27900         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27901         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27902         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27903         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27904         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27905         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27906         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27907         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27908         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27909         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27910         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27911         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27912         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27913         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27914         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27915         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27916         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27917         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27918         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27919         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27920         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27921         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27922         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27923         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27924         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27925         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27926         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27927         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27928         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27929         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27930         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27931         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27933         [BZ #17589]
27934         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27935         of fgets_unlocked.
27937         [BZ #17585]
27938         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27939         (memmem): Rename to __memmem and define as weak alias of
27940         __memmem.  Use libc_hidden_weak.
27941         (__memmem): Use libc_hidden_def.
27942         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27943         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27944         memmem.
27946         [BZ #17582]
27947         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27948         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27949         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27950         and define as weak alias of __fgets_unlocked.  Use
27951         libc_hidden_weak.
27952         (__fgets_unlocked): Use libc_hidden_def.
27953         * include/stdio.h (__fgets_unlocked): Declare.  Use
27954         libc_hidden_proto.
27955         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27956         __fgets_unlocked instead of fgets_unlocked.
27957         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27958         (GET_NPROCS_CONF_PARSER): Likewise.
27959         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27960         (GET_NPROCS_CONF_PARSER): Likewise.
27962         [BZ #17574]
27963         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27964         weak alias of __wmemset.  Use libc_hidden_weak.
27965         (__wmemset): Use libc_hidden_def.
27966         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27967         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27968         of wmemset.
27970         [BZ #17573]
27971         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27972         with asm name __mempcpy.
27973         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27975         [BZ #17572]
27976         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27977         and define as weak alias of __rawmemchr.
27978         (__rawmemchr): Do not define as strong alias of rawmemchr.
27980         [BZ #17571]
27981         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27982         alias of __qsort_r.
27983         (qsort): Call __qsort_r instead of qsort_r.
27984         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27985         (__qsort_r): Declare.  Call libc_hidden_proto.
27986         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27987         instead of qsort_r.
27988         * nscd/gai.c (__qsort_r): Define to qsort_r.
27989         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27990         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27991         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27993         [BZ #17570]
27994         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27995         define as weak alias of __malloc_info.
27997         [BZ #17584]
27998         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27999         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28000         (__rewinddir): Use libc_hidden_def.
28001         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28002         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28003         (__rewinddir): Use libc_hidden_def.
28004         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28005         weak alias of __rewinddir.  Don't use libc_hidden_def.
28006         (__rewinddir): Use libc_hidden_def.
28007         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28008         (__rewinddir): Use libc_hidden_proto.
28009         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28010         rewinddir.
28011         (__getcwd): Use __rewinddir instead of rewinddir.
28013         [BZ #17583]
28014         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28015         alias of __fileno.  Use libc_hidden_weak.
28016         (__fileno): Use libc_hidden_def.
28017         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28018         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28019         alias of __ftello.
28020         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28021         __ftello.
28022         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28023         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28024         libc_hidden_def.
28025         (fread_unlocked): Don't use libc_hidden_ver.
28026         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28027         and define as weak alias of __fread_unlocked.  Don't use
28028         libc_hidden_def.
28029         (__fread_unlocked): Use libc_hidden_def.
28030         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28031         (ftello): Don't use libc_hidden_proto.
28032         (__ftello): Declare.  Use libc_hidden_proto.
28033         (fread_unlocked): Don't use libc_hidden_proto.
28034         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28035         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28036         and __ftello instead of fileno, fread_unlocked and ftello.
28038 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28040         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28041         GOT12.
28042         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28043         Likewise.
28044         (_dl_start_user): Likewise.
28045         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28047 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28048             Siddhesh Poyarekar  <siddhesh@redhat.com>
28050         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28051         Move argv and envp down instead of moving argc up.
28052         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28054 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28056         [BZ #17506]
28057         * test-skeleton.c (main): Return successful if one of
28058         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28059         * string/tst-strcoll-overflow.c: Define expected status.
28061 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28063         [BZ #17475]
28064         * locale/iso-639.def: Define Bhili and Tulu language codes.
28066 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28068         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28070 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28072         [BZ #17555]
28073         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28075 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28077         * configure.ac: Updated check of minimal required version to
28078         2.22.
28079         * manual/install.texi (Tools for Compilation): Updated version
28080         number.
28081         * configure: Regenerated.
28082         * INSTALL: Likewise.
28084 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28086         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28087         __tls_get_addr.
28089 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28091         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28092         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28093         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28094         libc_hidden_weak.
28095         (waitpid): Define as alias of __waitpid.
28096         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28097         __waitpid.
28098         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28099         libc_hidden_weak.
28100         (waitpid): Define as alias of __waitpid.
28101         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28102         __libc_waitpid alias.
28103         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28104         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28105         Likewise.
28106         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28107         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28108         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28109         alias.
28110         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28111         __waitpid.
28112         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28113         libc_hidden_weak.
28114         (waitpid): Define as alias of __waitpid.
28116 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28118         * manual/llio.texi: Add comment that write safety has been
28119         fixed in Linux.
28121         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28122         (localplt-build-dso): Add elf/ld.so.
28123         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28124         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28125         and free for ld.so.
28126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28127         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28129         Likewise.
28130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28131         Likewise.
28132         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28133         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28134         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28135         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28136         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28137         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28138         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28139         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28140         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28141         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28142         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28144 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28146         [BZ #14132]
28147         * include/libc-symbols.h (INTUSE): Remove macro.
28148         (INTDEF): Likewise.
28149         (INTVARDEF): Likewise.
28150         (_INTVARDEF): Likewise.
28151         (INTDEF2): Likewise.
28152         (INTVARDEF2): Likewise.
28153         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28154         rtld_hidden_def instead of INTVARDEF.
28155         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28156         (_dl_starting_up_internal): Remove declaration.
28157         (_dl_starting_up): Use rtld_hidden_proto.
28158         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28159         declaration.
28160         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28161         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28162         _dl_starting_up.
28163         * elf/dl-writev.h (_dl_writev): Likewise.
28164         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28165         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28166         _dl_starting_up_internal.
28168 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28170         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28171         test-skeleton.c.
28173 2014-11-05  Will Newton  <will.newton@linaro.org>
28175         * benchtests/Makefile: (bench-malloc): Add malloc thread
28176         scalability benchmark.
28177         * benchtests/bench-malloc-threads.c: New file.
28179 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28181         * sysdeps/aarch64/strchrnul.S: New file.
28183 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28185         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28186         definition.
28187         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28188         Likwise.
28189         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28190         Likewise.
28191         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28192         Likewise.
28193         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28194         Likewise.
28195         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28196         Likewise.
28198 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28200         * catgets/test-gencat.c: Use test-skeleton.c.
28201         * catgets/tst-catgets.c: Likewise.
28202         * csu/tst-empty.c: Likewise.
28203         * elf/tst-audit2.c: Likewise.
28204         * elf/tst-global1.c: Likewise.
28205         * elf/tst-pathopt.c: Likewise.
28206         * elf/tst-piemod1.c: Likewise.
28207         * elf/tst-tls10.c: Likewise.
28208         * elf/tst-tls11.c: Likewise.
28209         * elf/tst-tls12.c: Likewise.
28210         * gnulib/tst-gcc.c: Likewise.
28211         * iconvdata/tst-e2big.c: Likewise.
28212         * iconvdata/tst-loading.c: Likewise.
28213         * iconv/tst-iconv1.c: Likewise.
28214         * iconv/tst-iconv2.c: Likewise.
28215         * inet/test-inet6_opt.c: Likewise.
28216         * inet/tst-gethnm.c: Likewise.
28217         * inet/tst-network.c: Likewise.
28218         * inet/tst-ntoa.c: Likewise.
28219         * intl/tst-codeset.c: Likewise.
28220         * intl/tst-gettext2.c: Likewise.
28221         * intl/tst-gettext3.c: Likewise.
28222         * intl/tst-ngettext.c: Likewise.
28223         * intl/tst-translit.c: Likewise.
28224         * io/test-stat.c: Likewise.
28225         * libio/test-fmemopen.c: Likewise.
28226         * libio/tst-freopen.c: Likewise.
28227         * libio/tst-sscanf.c: Likewise.
28228         * libio/tst-ungetwc1.c: Likewise.
28229         * libio/tst-ungetwc2.c: Likewise.
28230         * libio/tst-widetext.c: Likewise.
28231         * localedata/tst-ctype.c: Likewise.
28232         * localedata/tst-digits.c: Likewise.
28233         * localedata/tst-leaks.c: Likewise.
28234         * localedata/tst-mbswcs1.c: Likewise.
28235         * localedata/tst-mbswcs2.c: Likewise.
28236         * localedata/tst-mbswcs3.c: Likewise.
28237         * localedata/tst-mbswcs4.c: Likewise.
28238         * localedata/tst-mbswcs5.c: Likewise.
28239         * localedata/tst-setlocale.c: Likewise.
28240         * localedata/tst-trans.c: Likewise.
28241         * localedata/tst-wctype.c: Likewise.
28242         * localedata/tst-xlocale1.c: Likewise.
28243         * login/tst-grantpt.c: Likewise.
28244         * malloc/tst-calloc.c: Likewise.
28245         * malloc/tst-malloc.c: Likewise.
28246         * malloc/tst-mallocstate.c: Likewise.
28247         * malloc/tst-mcheck.c: Likewise.
28248         * malloc/tst-mtrace.c: Likewise.
28249         * malloc/tst-obstack.c: Likewise.
28250         * math/atest-exp2.c: Likewise.
28251         * math/atest-exp.c: Likewise.
28252         * math/atest-sincos.c: Likewise.
28253         * math/test-matherr.c: Likewise.
28254         * math/test-misc.c: Likewise.
28255         * math/test-powl.c: Likewise.
28256         * math/tst-definitions.c: Likewise.
28257         * misc/tst-dirname.c: Likewise.
28258         * misc/tst-efgcvt.c: Likewise.
28259         * misc/tst-fdset.c: Likewise.
28260         * misc/tst-hsearch.c: Likewise.
28261         * misc/tst-mntent2.c: Likewise.
28262         * nptl/tst-sem7.c: Likewise.
28263         * nptl/tst-sem8.c: Likewise.
28264         * nptl/tst-sem9.c: Likewise.
28265         * nss/test-netdb.c: Likewise.
28266         * posix/tst-fnmatch.c: Likewise.
28267         * posix/tst-getlogin.c: Likewise.
28268         * posix/tst-gnuglob.c: Likewise.
28269         * posix/tst-mmap.c: Likewise.
28270         * pwd/tst-getpw.c: Likewise.
28271         * resolv/tst-inet_ntop.c: Likewise.
28272         * rt/tst-timer.c: Likewise.
28273         * stdio-common/test-fseek.c: Likewise.
28274         * stdio-common/test-popen.c: Likewise.
28275         * stdio-common/test-vfprintf.c: Likewise.
28276         * stdio-common/tst-cookie.c: Likewise.
28277         * stdio-common/tst-fileno.c: Likewise.
28278         * stdio-common/tst-gets.c: Likewise.
28279         * stdio-common/tst-obprintf.c: Likewise.
28280         * stdio-common/tst-perror.c: Likewise.
28281         * stdio-common/tst-sprintf2.c: Likewise.
28282         * stdio-common/tst-sprintf3.c: Likewise.
28283         * stdio-common/tst-sprintf.c: Likewise.
28284         * stdio-common/tst-swprintf.c: Likewise.
28285         * stdio-common/tst-tmpnam.c: Likewise.
28286         * stdio-common/tst-unbputc.c: Likewise.
28287         * stdio-common/tst-wc-printf.c: Likewise.
28288         * stdlib/tst-environ.c: Likewise.
28289         * stdlib/tst-fmtmsg.c: Likewise.
28290         * stdlib/tst-limits.c: Likewise.
28291         * stdlib/tst-rand48-2.c: Likewise.
28292         * stdlib/tst-rand48.c: Likewise.
28293         * stdlib/tst-random2.c: Likewise.
28294         * stdlib/tst-random.c: Likewise.
28295         * stdlib/tst-strtol.c: Likewise.
28296         * stdlib/tst-strtoll.c: Likewise.
28297         * stdlib/tst-tls-atexit.c: Likewise.
28298         * stdlib/tst-xpg-basename.c: Likewise.
28299         * string/test-ffs.c: Likewise.
28300         * string/tst-bswap.c: Likewise.
28301         * string/tst-inlcall.c: Likewise.
28302         * string/tst-strtok.c: Likewise.
28303         * string/tst-strxfrm.c: Likewise.
28304         * sysdeps/x86_64/tst-audit10.c: Likewise.
28305         * sysdeps/x86_64/tst-audit3.c: Likewise.
28306         * sysdeps/x86_64/tst-audit4.c: Likewise.
28307         * sysdeps/x86_64/tst-audit5.c: Likewise.
28308         * time/tst-ftime_l.c: Likewise.
28309         * time/tst-getdate.c: Likewise.
28310         * time/tst-mktime3.c: Likewise.
28311         * time/tst-mktime.c: Likewise.
28312         * time/tst-posixtz.c: Likewise.
28313         * time/tst-strptime2.c: Likewise.
28314         * time/tst-strptime3.c: Likewise.
28315         * wcsmbs/tst-btowc.c: Likewise.
28316         * wcsmbs/tst-mbrtowc.c: Likewise.
28317         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28318         * wcsmbs/tst-wchar-h.c: Likewise.
28319         * wcsmbs/tst-wcpncpy.c: Likewise.
28320         * wcsmbs/tst-wcrtomb.c: Likewise.
28321         * wcsmbs/tst-wcsnlen.c: Likewise.
28322         * wcsmbs/tst-wcstof.c: Likewise.
28324 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28326         [BZ #14132]
28327         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28328         INTDEF.
28329         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28330         declaration.
28331         (_dl_mcount): Use rtld_hidden_proto.
28332         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28333         _dl_mcount.
28334         * elf/rtld.c (_rtld_global_ro): Likewise.
28336         [BZ #14132]
28337         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28338         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28339         of _dl_init_internal.
28340         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28341         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28342         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28343         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28344         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28345         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28346         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28347         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28348         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28349         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28350         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28351         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28352         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28353         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28354         * sysdeps/tile/dl-start.S (_start): Likewise.
28355         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28356         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28358         [BZ #14132]
28359         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28360         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28361         (rtld_progname): Make macro definition unconditional.
28362         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28363         INTDEF.
28364         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28365         (dl_main): Likewise.
28366         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28367         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28368         instead of _dl_argv_internal.
28369         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28370         __GI__dl_argv instead of INTUSE(_dl_argv).
28371         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28372         __GI__dl_argv instead of _dl_argv_internal.
28374         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28375         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28376         macro.
28377         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28378         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28379         New macro.
28380         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28381         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28382         macro.
28383         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28384         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28386 2014-11-04  Andreas Schwab  <schwab@suse.de>
28388         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28390 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28392         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28393         mtvsrd instruction in binary form.
28395 2014-11-03  Andreas Schwab  <schwab@suse.de>
28397         [BZ #17522]
28398         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28399         for less than MB_LEN_MAX use a local buffer of that size.
28400         * libio/tst-fputws.c: New file.
28401         * libio/Makefile (tests): Add tst-fputws.
28403 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28405         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28406         the size of the fpu_fr.fpu_dregs[] array.
28408 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28410         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28411         (__nanosleep): Do not define as alias.
28412         (nanosleep): Define as alias of __nanosleep.
28413         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28414         __libc_nanosleep name.
28416 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28418         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28419         install.texi in comment.
28421 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28423         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28424         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28425         ... add here and use lwsync or sync ...
28426         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28427         ... and add here using lwsync.
28429 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28431         * elf/dl-machine-reject-phdr.h: New file.
28432         * elf/dl-load.c: #include that.
28433         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28434         if that returned true.
28436 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28438         [BZ #17496]
28439         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28440         gen-as-const-headers chunk.  Add a big scare comment after the last
28441         safe place to touch before-compile.
28443 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28445         * manual/install.texi (Tools for Compilation): Update autoconf
28446         version requirements.
28447         * INSTALL: Regenerated.
28449         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28450         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28451         (__libc_pselect): Likewise.
28453         [BZ #14138]
28454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28459 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28461         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28462         correct barrier instruction.
28463         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28464         Likewise.
28465         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28466         Likewise.
28468 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28470         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28471         after defining inlines.  Instead, just use parens to defeat macro
28472         expansion of __isctype in its declaration.
28474 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28476         * include/sys/uio.h (__libc_readv): Remove declaration.
28477         (__libc_writev): Likewise.
28478         * misc/readv.c (__libc_readv): Rename to __readv.
28479         (__readv): Do not define as alias.
28480         (readv): Define as alias of __readv.
28481         * misc/writev.c (__libc_writev): Rename to __writev.
28482         (__writev): Do not define as alias.
28483         (writev): Define as alias of __writev.
28484         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28485         (__readv): Do not define as alias.
28486         (readv): Define unconditionally as alias of __readv.
28487         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28488         (__writev): Do not define as alias.
28489         (writev): Define unconditionally as alias of __writev.
28490         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28491         name.
28492         (writev): Do not define __libc_writev name.
28494 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28496         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28497         (convert_charseq): New function, broken out of ...
28498         (use_from_charmap): ... here.  Call it.
28499         (use_to_charmap): Use convert_charseq and free instead of duplicating
28500         its code with a variable-length stack struct.
28502 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28504         * include/fcntl.h (__libc_creat): Remove declaration.
28505         * io/creat.c (__libc_creat): Rename to creat.
28506         (creat): Do not define as alias.
28507         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28508         of creat instead of __libc_creat.
28509         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28510         to creat.
28511         (creat): Do not define as alias.
28512         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28513         __libc_creat.
28514         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28515         __libc_creat name.
28516         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28517         Likewise.
28519 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28521         * manual/llio.texi: Add comments discussing why write() may be
28522         considered MT-unsafe on Linux.
28524 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28526         * dl-load.c (local_strdup): Remove.
28527         (expand_dynamic_string_token): Use __strdup.
28528         (decompose_rpath): Likewise.
28529         (_dl_map_object): Likewise.
28531 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28533         [BZ #14132]
28534         * sysdeps/generic/unwind-dw2-fde.c
28535         (__register_frame_info_bases_internal): Do not declare.
28536         (__register_frame_info_table_bases_internal): Likewise.
28537         (__deregister_frame_info_bases_internal): Likewise.
28538         (__register_frame_info_bases): Declare and use hidden_proto before
28539         definition.  Use hidden_def instead of INTDEF.
28540         (__register_frame_info_table_bases): Likewise.
28541         (__deregister_frame_info_bases): Likewise.
28542         (__register_frame_info): Do not use INTUSE.
28543         (__register_frame): Likewise.
28544         (__register_frame_info_table): Likewise.
28545         (__register_frame_table): Likewise.
28546         (__deregister_frame_info): Likewise.
28547         (__deregister_frame): Likewise.
28549 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28551         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28552         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28553         not undefine.
28554         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28555         Likewise.
28556         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28557         Likewise.
28559 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28561         [BZ #14138]
28562         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28563         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28564         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28565         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28566         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28567         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28568         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28569         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28570         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28571         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28572         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28573         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28574         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28575         syscall.
28576         (setfsuid): Likewise.
28577         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28578         (setfsuid): Likewise.
28579         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28580         (setfsuid): Likewise.
28581         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28582         Likewise.
28583         (setfsuid): Likewise.
28584         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28585         (setfsuid): Likewise.
28586         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28587         Likewise.
28588         (setfsuid): Likewise.
28590 2014-10-27  Andreas Schwab  <schwab@suse.de>
28592         [BZ #17501]
28593         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28594         check for Slow_SSE4_2 feature bit.
28595         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28596         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28597         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28598         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28600 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28602         * configure.ac: Validate compiler version with a empirical test of
28603         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28604         $CC -v output.
28605         * configure: Regenerated.
28607         * inet/htons.c (htons): Prototypify.
28608         * inet/htonl.c (htonl): Likewise.
28610 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28612         * string/strncat.c (strncat): Improve performance by using strlen.
28614 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28616         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28618 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28620         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28621         Call libc_fetestexcept_aarch64.
28623 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28625         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28626         Call libc_feholdexcept_aarch64.
28628 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28630         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28631         Call get_rounding_mode.
28633 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28635         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28636         Simplify logic.
28638 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28640         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28641         Simplify logic.
28643 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28645         [BZ #14138]
28646         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28647         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28648         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28649         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28650         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28651         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28652         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28653         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28654         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28655         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28656         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28657         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28658         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28659         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28660         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28661         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28662         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28663         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28664         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28665         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28666         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28667         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28668         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28669         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28670         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28671         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28672         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28673         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28674         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28675         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28676         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28677         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28678         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28679         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28680         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28681         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28682         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28683         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28684         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28685         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28686         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28687         syscall.
28688         (geteuid): Likewise.
28689         (getgid): Likewise.
28690         (getuid): Likewise.
28691         (getresgid): Likewise.
28692         (getresuid): Likewise.
28693         (getgroups): Likewise.
28694         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28695         (geteuid): Likewise.
28696         (getgid): Likewise.
28697         (getuid): Likewise.
28698         (getresgid): Likewise.
28699         (getresuid): Likewise.
28700         (getgroups): Likewise.
28701         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28702         (geteuid): Likewise.
28703         (getgid): Likewise.
28704         (getuid): Likewise.
28705         (getresgid): Likewise.
28706         (getresuid): Likewise.
28707         (getgroups): Likewise.
28708         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28709         Likewise.
28710         (geteuid): Likewise.
28711         (getgid): Likewise.
28712         (getuid): Likewise.
28713         (getresgid): Likewise.
28714         (getresuid): Likewise.
28715         (getgroups): Likewise.
28716         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28717         (geteuid): Likewise.
28718         (getgid): Likewise.
28719         (getuid): Likewise.
28720         (getresgid): Likewise.
28721         (getresuid): Likewise.
28722         (getgroups): Likewise.
28723         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28724         Likewise.
28725         (geteuid): Likewise.
28726         (getgid): Likewise.
28727         (getuid): Likewise.
28728         (getgroups): Likewise.
28730         [BZ #14138]
28731         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28732         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28733         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28734         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28735         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28736         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28737         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28738         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28739         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28740         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28741         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28742         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28743         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28744         __chown.
28745         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28746         (lchown): Likewise.
28747         (fchown): Likewise.
28748         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28749         Likewise.
28750         (lchown): Likewise.
28751         (fchown): Likewise.
28752         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28753         (lchown): Likewise.
28754         (fchown): Likewise.
28755         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28756         Likewise.
28757         (lchown): Likewise.
28758         (fchown): Likewise.
28760 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28762         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28763         Simplify logic.
28765 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28767         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28768         Cleanup logic.
28770 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28772         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28773         Remove unused include.
28775 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28777         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28778         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28779         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28780         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28782 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28783             Helge Deller <deller@gmx.de>
28785         [BZ #17508]
28786         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28787         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28788         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28790 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28792         [BZ #14132]
28793         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28794         Remove macro definition.
28795         (__ashrdi3_v_glibc20): Likewise.
28796         (__lshrdi3_v_glibc20): Likewise.
28797         (__cmpdi2_v_glibc20): Likewise.
28798         (__ucmpdi2_v_glibc20): Likewise.
28799         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28800         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28801         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28802         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28803         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28804         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28806 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28808         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28809         old GNU extension [0] syntax.
28810         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28811         alloca rather than an array member with variable length.
28812         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28813         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28814         (parse_opt): ... here.  Likewise use alloca there.
28815         Validate the -i argument before checking for rootness.
28816         (send_shutdown): New function, broken out of ...
28817         (parse_opt): ... here.
28819 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28821         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28822         macro to get at the _rt_local_ro field.
28823         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28824         ([PIC] case) or _dl_hwcap ([!PIC] case).
28825         * sysdeps/arm/setjmp.S: Likewise.
28827         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28828         * sysdeps/arm/configure.ac: New check to define it.
28829         * sysdeps/arm/configure: Regenerated.
28830         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28831         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28832         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28833         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28834         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28835         Use move/movt pair instead of a load.
28836         (LDST_GLOBAL): Macro removed.
28837         (LDR_GLOBAL): New macro replaces it.
28838         (LDR_HIDDEN): New macro.
28839         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28840         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28842         * setjmp/tst-setjmp-static.c: New file.
28843         * setjmp/Makefile (tests): Add it.
28844         (tests-static): New variable.
28846 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28848         [BZ #17485]
28849         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28851 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28853         [BZ #14132]
28854         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28856 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28858         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28860 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28862         * io/fts.c (dirent_not_directory): New function.
28863         (fts_build): Call it.
28865 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28867         * nptl/version.c (__nptl_main): Use normal __write rather than
28868         INTERNAL_SYSCALL.
28869         (banner): Update copyright years.
28871         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28872         gettimeofday.
28873         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28874         * nptl/pthread_cond_timedwait.c: Likewise.
28875         * nptl/pthread_mutex_timedlock.c: Likewise.
28876         * nptl/sem_timedwait.c: Likewise.
28878         * sysdeps/nptl/bits/libc-lock.h
28879         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28880         (__libc_lock_init_recursive): Return void, not 0.
28881         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28882         (__libc_rwlock_init): Likewise.
28883         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28885 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28887         [BZ #15215]
28888         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28889         (__pthread_once_slow): ... here.
28890         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28891         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28893 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28895         [BZ #15215]
28896         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28897         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28898         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28899         * nptl/pthread_once.c (__pthread_once): Likewise.
28900         Update comments.
28902 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28904         [BZ #14138]
28905         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28906         name.
28907         (writev): Use __libc_writev as strong name.
28908         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28909         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28911 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28913         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28915         * sysdeps/i386/nptl/tls.h
28916         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28917         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28918         New macros.
28919         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28920         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28921         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28922         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28923         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28924         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28926         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28927         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28928         on [__NR_futex].
28929         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28930         broken out of ...
28931         (__pthread_mutex_init): ... here.  Call it.
28932         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28933         Conditionalize PI cases on [__NR_futex].
28934         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28935         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28936         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28938         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28939         conditional on [SIGSETXID].
28940         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28941         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28942         is defined.  Likewise for SIGSETXID.
28943         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28944         Conditionalize definitions on [SIGSETXID].
28945         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28946         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28947         unblocking on [SIGCANCEL].
28949         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28950         [__NR_set_robust_list].
28952 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28954         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28955         (do_compare): Likewise.
28957 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28959         [BZ #15884]
28960         * string/strcoll_l.c: Don't include stdio.h.
28961         (coll_seq): Remove members idxarr and rulearr.
28962         (get_next_seq_cached): Remove function.
28963         (get_next_seq): Likewise.
28964         (get_next_seq_nocache): Rename to get_next_seq.
28965         (do_compare): Remove function.
28966         (do_compare_nocache): Rename to do_compare.
28967         (STRCOLL): Remove weight and rules cache.
28969 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28971         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28972         * sysdeps/arm/sfp-machine.h: ... to here.
28973         * sysdeps/arm/Implies: Remove arm/soft-fp.
28975 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28977         * conform/data/sys/utsname.h-data (*_t): Allow.
28978         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28979         [POSIX] (WEXITED): Do not expect constant.
28980         [POSIX] (WSTOPPED): Likewise.
28981         [POSIX] (WNOHANG): Likewise.
28982         [POSIX] (WNOWAIT): Likewise.
28983         [POSIX] (siginfo_t): Do not expect type or elements.
28984         [POSIX] (pid_t): Do not expect type.
28985         [POSIX] (signal.h): Do not allow header.
28986         [POSIX] (sys/resource.h): Likewise.
28987         [POSIX] (si_*): Do not allow pattern.
28988         [POSIX] (W*): Likewise.
28989         [POSIX] (P_*): Likewise.
28990         [POSIX] (BUS_*): Likewise.
28991         [POSIX] (CLD_*): Likewise.
28992         [POSIX] (FPE_*): Likewise.
28993         [POSIX] (ILL_*): Likewise.
28994         [POSIX] (POLL_*): Likewise.
28995         [POSIX] (SEGV_*): Likewise.
28996         [POSIX] (SI_*): Likewise.
28997         [POSIX] (TRAP_*): Likewise.
28998         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28999         variable.
29001 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29003         [BZ #12926]
29004         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29005         infinite loop when __recvmsg returns 0.
29007 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29009         * CANCEL-FCT-WAIVE: Remove file.
29010         * CANCEL-FILE-WAIVE: Likewise.
29012         [BZ #14132]
29013         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29014         instead of INTVARDEF.
29015         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29016         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29017         rtld_hidden_data_def instead of INTVARDEF.
29018         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29019         * elf/dl-deps.c (expand_dst): Likewise.
29020         * elf/dl-load.c (_dl_dst_count): Likewise.
29021         (_dl_dst_substitute): Likewise.
29022         (decompose_rpath): Likewise.
29023         (_dl_init_paths): Likewise.
29024         (open_path): Likewise.
29025         (_dl_map_object): Likewise.
29026         * elf/rtld.c (dl_main): Likewise.
29027         (process_dl_audit): Likewise.
29028         (process_envvars): Likewise.
29029         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29030         Remove declaration.
29031         (__libc_enable_secure): Use rtld_hidden_proto.
29033 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29035         * elf/dl-load.c
29036         (add_path): New function broken out of _dl_rtld_di_serinfo.
29037         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29039 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29041         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29042         parentheses around macro arguments.
29043         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29044         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29045         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29046         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29047         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29048         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29049         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29050         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29051         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29052         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29053         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29054         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29055         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29056         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29057         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29058         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29059         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29060         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29061         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29062         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29063         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29064         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29065         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29066         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29068         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29069         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29070         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29071         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29072         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29073         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29074         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29075         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29076         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29077         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29078         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29079         Likewise.
29080         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29081         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29082         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29083         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29084         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29085         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29086         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29087         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29088         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29089         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29090         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29091         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29092         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29093         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29094         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29095         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29096         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29097         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29098         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29099         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29100         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29101         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29102         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29103         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29104         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29105         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29106         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29107         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29108         (_FP_FRAC_SRS_1): Likewise.
29109         (_FP_FRAC_CLZ_1): Likewise.
29110         (_FP_MUL_MEAT_1_imm): Likewise.
29111         (_FP_MUL_MEAT_1_wide): Likewise.
29112         (_FP_MUL_MEAT_1_hard): Likewise.
29113         (_FP_SQRT_MEAT_1): Likewise.
29114         (_FP_FRAC_ASSEMBLE_1): Likewise.
29115         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29116         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29117         (__FP_CLZ_2): Likewise.
29118         (_FP_MUL_MEAT_2_wide): Likewise.
29119         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29120         (_FP_MUL_MEAT_2_gmp): Likewise.
29121         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29122         (_FP_SQRT_MEAT_2): Likewise.
29123         (_FP_FRAC_ASSEMBLE_2): Likewise.
29124         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29125         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29126         (_FP_FRAC_CLZ_4): Likewise.
29127         (_FP_MUL_MEAT_4_wide): Likewise.
29128         (_FP_MUL_MEAT_4_gmp): Likewise.
29129         (_FP_SQRT_MEAT_4): Likewise.
29130         (_FP_FRAC_ASSEMBLE_4): Likewise.
29131         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29132         * soft-fp/op-common.h (_FP_CMP): Likewise.
29133         (_FP_CMP_EQ): Likewise.
29134         (_FP_CMP_UNORD): Likewise.
29135         (_FP_TO_INT): Likewise.
29136         (_FP_FROM_INT): Likewise.
29137         [!__FP_CLZ] (__FP_CLZ): Likewise.
29138         (_FP_DIV_HELP_imm): Likewise.
29139         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29140         Likewise.
29141         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29143         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29144         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29145         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29146         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29147         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29148         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29149         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29150         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29151         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29152         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29153         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29154         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29155         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29156         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29157         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29158         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29159         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29160         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29161         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29162         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29163         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29165         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29166         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29169         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29170         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29171         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29172         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29173         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29174         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29175         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29176         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29177         (FP_UNPACK_RAW_SP): Likewise.
29178         (FP_PACK_RAW_S): Likewise.
29179         (FP_PACK_RAW_SP): Likewise.
29180         (FP_UNPACK_S): Likewise.
29181         (FP_UNPACK_SP): Likewise.
29182         (FP_UNPACK_SEMIRAW_S): Likewise.
29183         (FP_UNPACK_SEMIRAW_SP): Likewise.
29184         (FP_PACK_S): Likewise.
29185         (FP_PACK_SP): Likewise.
29186         (FP_PACK_SEMIRAW_S): Likewise.
29187         (FP_PACK_SEMIRAW_SP): Likewise.
29188         (_FP_SQRT_MEAT_S): Likewise.
29189         (FP_CMP_S): Likewise.
29190         (FP_CMP_EQ_S): Likewise.
29191         (FP_CMP_UNORD_S): Likewise.
29192         (FP_TO_INT_S): Likewise.
29193         (FP_FROM_INT_S): Likewise.
29195         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29197         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29198         (FP_EX_INVALID_IMZ): Likewise.
29199         (FP_EX_INVALID_IMZ_FMA): Likewise.
29200         (FP_EX_INVALID_ISI): Likewise.
29201         (FP_EX_INVALID_ZDZ): Likewise.
29202         (FP_EX_INVALID_IDI): Likewise.
29203         (FP_EX_INVALID_SQRT): Likewise.
29204         (FP_EX_INVALID_CVI): Likewise.
29205         (FP_EX_INVALID_VC): Likewise.
29206         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29207         "invalid" exceptions.
29208         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29209         (_FP_ADD_INTERNAL): Likewise.
29210         (_FP_MUL): Likewise.
29211         (_FP_FMA): Likewise.
29212         (_FP_DIV): Likewise.
29213         (_FP_CMP_CHECK_NAN): Likewise.
29214         (_FP_SQRT): Likewise.
29215         (_FP_TO_INT): Likewise.
29216         (FP_EXTEND): Likewise.
29218 2014-10-09  Allan McRae  <allan@archlinux.org>
29220         * po/fr.po: Update French translation from translation project.
29222 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29224         [BZ #14132]
29225         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29226         of INTDEF.
29227         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29228         (__cxa_atexit): Use libc_hidden_proto.
29229         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29231         [BZ #14132]
29232         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29233         declaration.
29234         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29235         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29236         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29237         [!_ISOMAC] (__iswctype_internal): Likewise.
29238         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29239         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29240         alias.
29241         (fcntl): Remove __fcntl_internal alias.
29242         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29243         __connect_internal alias.
29244         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29245         Likewise.
29247         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29248         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29249         FP_DENORM_ZERO.
29250         (_FP_CHECK_FLUSH_ZERO): New macro.
29251         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29252         (_FP_CMP): Likewise.
29253         (_FP_CMP_EQ): Likewise.
29254         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29255         FP_DENORM_ZERO.
29256         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29257         (FP_TRUNC): Likewise.
29259         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29260         treated as invalid conversion, not as normal exponent.
29262         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29263         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29264         (_FP_CMP_EQ): Likewise.
29265         (_FP_CMP_UNORD): Likewise.
29266         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29267         (FP_CMP_EQ_D): Likewise.
29268         (FP_CMP_UNORD_D): Likewise.
29269         * soft-fp/extended.h (FP_CMP_E): Likewise.
29270         (FP_CMP_EQ_E): Likewise.
29271         (FP_CMP_UNORD_E): Likewise.
29272         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29273         (FP_CMP_EQ_Q): Likewise.
29274         (FP_CMP_UNORD_Q): Likewise.
29275         * soft-fp/single.h (FP_CMP_S): Likewise.
29276         (FP_CMP_EQ_S): Likewise.
29277         (FP_CMP_UNORD_S): Likewise.
29278         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29279         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29280         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29281         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29282         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29283         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29284         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29285         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29286         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29287         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29288         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29289         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29290         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29291         to FP_CMP_Q.
29292         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29293         FP_CMP_Q.
29294         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29295         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29296         FP_CMP_EQ_Q.
29297         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29298         FP_CMP_Q.
29299         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29300         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29301         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29302         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29303         FP_CMP_EQ_Q.
29304         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29305         FP_CMP_Q.
29306         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29307         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29308         FP_CMP_EQ_Q.
29309         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29310         FP_CMP_Q.
29311         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29312         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29313         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29314         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29315         FP_CMP_EQ_Q.
29317         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29318         a subnormal result, set the underflow exception if trapping on
29319         underflow is enabled.
29320         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29321         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29322         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29323         redefine to 0.
29324         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29325         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29326         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29327         * soft-fp/extendxftf2.c (__extendxftf2): Use
29328         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29330         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29331         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29332         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29333         FP_HANDLE_EXCEPTIONS.
29334         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29335         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29336         FP_HANDLE_EXCEPTIONS.
29337         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29338         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29339         FP_HANDLE_EXCEPTIONS.
29340         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29341         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29342         FP_HANDLE_EXCEPTIONS.
29344 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29346         [BZ #14132]
29347         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29348         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29349         use INTUSE.
29350         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29351         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29352         Remove alias.
29353         (__adjtimex): Define using libc_hidden_ver.
29354         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29355         Remove declaration.
29356         (ntp_gettime): Call __adjtimex directly.
29357         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29358         Remove declaration.
29359         (ntp_gettimex): Call __adjtimex directly.
29360         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29361         __adjtimex_internal alias.
29363 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29365         [BZ #17460]
29366         * nscd/nscd.c (more_help): Rewrite list of tables collection
29367         using xstrdup and asprintf.
29369         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29371 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29372             Roland McGrath  <roland@hack.frob.com>
29374         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29375         (do_lookup_unique): ... local function 'enter' here; update callers.
29377 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29379         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29380         compat_symbol calls on [SHARED].
29381         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29382         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29383         Remove.
29384         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29385         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29386         (oldsetrlimit): Remove.
29387         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29389         (lchown): New syscall entry.
29390         (oldsetrlimit): Remove.
29391         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29393         (oldsetrlimit): Remove.
29394         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29396         [BZ #14138]
29397         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29398         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29399         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29400         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29401         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29402         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29403         (fchown): Likewise.
29404         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29405         (fchown): Likewise.
29406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29407         Likewise.
29409 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29411         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29412         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29413         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29414         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29415         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29416         Likewise.
29417         (__old_sem_post): Likewise.
29419 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29421         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29422         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29423         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29424         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29425         Use INLINE_VSYSCALL macro.
29426         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29427         __vdso_clock_gettime.
29428         * sysdeps/unix/sysv/linux/tile/init-first.c
29429         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29430         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29431         __vdso_clock_gettime.
29433         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29434         to set up frame more cleanly.
29436         * sysdeps/tile/memcmp.c: New file.
29438         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29440         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29441         * sysdeps/tile/tilegx/strcasestr.c: New file.
29442         * sysdeps/tile/tilegx/strnlen.c: New file.
29443         * sysdeps/tile/tilegx/strstr.c: New file.
29445         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29447 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29449         * nptl/tst-setuid3.c: Write errors to stdout.
29451 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29453         * elf/dl-deps.c
29454         (preload): New functions broken out of _dl_map_object_deps.
29455         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29457 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29459         [BZ #14138]
29460         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29461         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29463 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29465         * sysdeps/mips/strcmp.S: New.
29467 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29469         [BZ #14138]
29470         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29471         (linkat): Likewise.
29472         (mkdirat): Likewise.
29473         (readlinkat): Likewise.
29474         (renameat): Likewise.
29475         (symlinkat): Likewise.
29476         (unlinkat): Likewise.
29477         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29478         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29479         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29480         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29481         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29482         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29483         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29485 2014-09-30  Will Newton  <will.newton@linaro.org>
29487         * math/math.h: Define long double math functions if
29488         _LIBC_TEST is defined.
29489         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29491         * localedata/Makefile: Move assignment to tests-special
29492         into an ifdef testing run-built-tests.
29493         * timezone/Makefile: Likewise.
29495 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29497         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29498         with $(BASH) not $(SHELL).
29500 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29501             Matthew LeGendre  <legendre1@llnl.gov>
29503         [BZ #17411]
29504         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29505         l_reloc_result.
29507 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29509         * stdio-common/printf_fp.c
29510         (hack_digit): New function, broken out of ...
29511         (__printf_fp): ... local function here.  Update call sites.
29512         hack_digit now takes an additional parameter that is a pointer
29513         to a struct of the referenced locals.  Those locals moved inside
29514         the struct and references updated.
29516 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29518         * aclocal.m4: Require autoconf 2.69.
29519         * configure: Regenerated.
29520         * sysdeps/aarch64/configure: Likewise.
29521         * sysdeps/alpha/configure: Likewise.
29522         * sysdeps/arm/armv7/configure: Likewise.
29523         * sysdeps/arm/configure: Likewise.
29524         * sysdeps/ia64/configure: Likewise.
29525         * sysdeps/mach/configure: Likewise.
29526         * sysdeps/mips/configure: Likewise.
29527         * sysdeps/s390/configure: Likewise.
29528         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29531         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29532         file.
29533         * sysdeps/ia64/configure.ac: Likewise.
29535 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29538         specify symbol version for ld.so.  Do not include entry for
29539         libpthread.
29540         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29541         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29542         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29544         [BZ #14171]
29545         * Makeconfig [$(build-shared) = yes]
29546         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29547         makefiles.
29548         [$(build-shared) = yes && $(soversions.mk-done) = t]
29549         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29550         [$(build-shared) = yes && $(soversions.mk-done) = t]
29551         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29552         to Makerules.
29553         [$(build-shared) = yes && $(soversions.mk-done) = t]
29554         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29555         here.
29556         [$(build-shared) = yes && $(soversions.mk-done) = t]
29557         (common-generated): Don't append gnu/lib-names.h and
29558         gnu/lib-names.stmp here.
29559         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29560         (lib-names-h-abi): New variable.
29561         [$(build-shared) = yes && $(soversions.mk-done) = t]
29562         (lib-names-stmp-abi): Likewise.
29563         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29564         abi-variants] (before-compile): Append
29565         $(common-objpfx)$(lib-names-h-abi).
29566         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29567         abi-variants] (common-generated): Append gnu/lib-names.h.
29568         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29569         abi-variants] (install-others-nosubdir): Depend on
29570         $(inst_includedir)/$(lib-names-h-abi).
29571         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29572         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29573         [$(build-shared) = yes && $(soversions.mk-done) = t]
29574         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29575         [$(build-shared) = yes && $(soversions.mk-done) = t]
29576         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29577         [$(build-shared) = yes && $(soversions.mk-done) = t]
29578         (common-generated): Append $(lib-names-h-abi) and
29579         $(lib-names-stmp-abi).
29580         * scripts/lib-names.awk: Do not handle multi being set.
29581         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29582         Remove variable.
29583         (abi-lp64_be-ld-soname): Likewise.
29584         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29585         Likewise.
29586         (abi-hard-ld-soname): Likewise.
29587         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29588         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29589         Remove variable.
29590         (abi-o32_hard-ld-soname): Likewise.
29591         (abi-o32_soft_2008-ld-soname): Likewise.
29592         (abi-o32_hard_2008-ld-soname): Likewise.
29593         (abi-n32_soft-ld-soname): Likewise.
29594         (abi-n32_hard-ld-soname): Likewise.
29595         (abi-n32_soft_2008-ld-soname): Likewise.
29596         (abi-n32_hard_2008-ld-soname): Likewise.
29597         (abi-n64_soft-ld-soname): Likewise.
29598         (abi-n64_hard-ld-soname): Likewise.
29599         (abi-n64_soft_2008-ld-soname): Likewise.
29600         (abi-n64_hard_2008-ld-soname): Likewise.
29601         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29602         Likewise.
29603         (abi-64-v2-ld-soname): Likewise.
29604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29605         ld.so entries.
29606         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29607         variable.
29608         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29609         entry.
29610         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29611         variable.
29612         (abi-64-ld-soname): Likewise.
29613         (abi-x32-ld-soname): Likewise.
29614         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29615         entry.
29616         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29618 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29620         [BZ #14138]
29621         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29622         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29623         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29624         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29625         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29626         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29627         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29628         syscall entry for GLIBC_2.2 symbol version.
29629         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29630         Likewise.
29631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29632         (setrlimit): Likewise.
29633         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29634         Likewise.
29636 2014-09-23  Will Newton  <will.newton@linaro.org>
29638         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29639         _LINUX_ARM_SYSDEP_H include guard too.
29640         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29641         define.
29643 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29645         * sysdeps/unix/sysv/linux/eventfd.c:
29646         Make first argument unsigned.
29647         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29648         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29650 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29652         [BZ #16852]
29653         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29654         * socket/sys/socket.h: Likewise.
29655         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29657 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29659         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29661 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29663         * time/tst-ftime.c: New test.
29664         * time/Makefile (tests): Add tst-ftime.
29666 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29668         * soft-fp/extended.h: Fix comment formatting.
29669         * soft-fp/op-1.h: Likewise.
29670         * soft-fp/op-2.h: Likewise.
29671         * soft-fp/op-4.h: Likewise.
29672         * soft-fp/op-8.h: Likewise.
29673         * soft-fp/op-common.h: Likewise.
29674         * soft-fp/soft-fp.h: Likewise.
29676         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29678 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29680         [BZ #6652]
29681         * Makeconfig (soversions-default-setname): Remove variable.
29682         ($(common-objpfx)soversions.i): Don't pass default_setname to
29683         soversions.awk.
29684         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29685         oldest_abi to abi-versions.awk.
29686         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29687         * config.make.in (oldest-abi): Remove variable.
29688         * configure.ac (--enable-oldest-abi): Remove configure option.
29689         * configure: Regenerated.
29690         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29691         text.
29692         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29693         * scripts/soversions.awk: Do not handle default_setname variable.
29694         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29695         variable.
29696         * sysdeps/mach/hurd/configure: Regenerated.
29697         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29698         variable.
29699         * sysdeps/unix/sysv/linux/configure: Regenerated.
29701 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29703         * elf/Makefile (CFLAGS-interp.c): Remove.
29704         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29705         path string.
29706         * elf/interp.c: Include generated runtime-linker.h
29708         * Makerules (lib%.so): Don't include $(+interp) in
29709         prerequisites.
29710         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29711         * dlfcn/eval.c: Remove file.
29713         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29714         macros.
29716         [BZ #17266]
29717         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29718         4.2 and newer.
29720         [BZ #17370]
29721         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29723 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29724             Jakub Jelinek  <jakub@redhat.com>
29726         [BZ #17266]
29727         * libio/stdio.h: Check definition of __fortify_function
29728         instead of __extern_always_inline to include bits/stdio2.h.
29729         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29730         check if __extern_always_inline is defined.
29731         [__USE_MISC || __USE_XOPEN]: Likewise.
29732         [__USE_ISOC99] Likewise.
29733         * misc/sys/cdefs.h (__fortify_function): Define only if
29734         __extern_always_inline is defined.
29735         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29736         __extern_always_inline and __extern_inline only for g++-4.3
29737         and newer or a compatible gcc.
29739 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29741         [BZ #17371]
29742         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29743         last change to handle zero prefix length.
29745 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29747         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29748         _SC_REGEX_VERSION.
29750         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29751         _POSIX_RAW_SOCKETS.
29753 2014-09-13  Allan McRae  <allan@archlinux.org>
29755         * po/ru.po: Update Russian translation from translation project.
29757 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29759         * locale/programs/locale.c (show_locale_vars): Inline local function
29760         into its sole call site.  Clean up some style nits.
29761         (print_item): New function, broken out of ...
29762         (show_info): ... local function here.  Clean up style nits.
29764         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29765         out of ...
29766         (set_class_defaults): ... local function set_default here.
29767         Define set_default as a macro locally to pass constant parameters.
29768         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29769         rather than a shared local.
29771         * stdlib/rpmatch.c (try): New function, broken out of ...
29772         (rpmatch): ... local function here.  Also, prototypify definition.
29774 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29776         * scripts/soversions.awk: Do not handle configuration names.
29777         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29778         vendor and os variables to soversions.awk.
29779         * configure.ac: Do not modify gnu-* host_os.
29780         * configure: Regenerated
29781         * shlib-versions: Remove first column with configuration names.
29782         * nptl/shlib-versions: Likewise.
29783         * nptl_db/shlib-versions: Likewise.
29784         * sysdeps/hppa/shlib-versions: Likewise.
29785         * sysdeps/m68k/shlib-versions: Likewise.
29786         * sysdeps/mach/hurd/shlib-versions: Likewise.
29787         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29788         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29789         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29790         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29791         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29792         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29793         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29794         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29796         Likewise.
29797         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29798         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29799         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29800         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29801         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29802         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29803         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29804         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29807         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29809         Regenerated.
29810         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29812         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29814         * shlib-versions: Remove OS-specific entries.  Moved to files in
29815         sysdeps.
29816         * sysdeps/mach/hurd/shlib-versions: New file.
29817         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29819         * nptl/shlib-versions: Remove architecture-specific entries.
29820         Moved to files in sysdeps.
29821         * shlib-versions: Likewise.
29822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29823         file.
29824         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29825         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29826         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29827         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29829         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29830         (UDP_NO_CHECK6_RX): Likewise.
29832 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29834         * sysdeps/posix/sysconf.c (__sysconf): Spell
29835         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29837 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29839         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29840         loading.
29841         * iconv/Versions (__gconv_transliterate): Export for use from
29842         gconv modules.
29843         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29844         (struct __gconv_trans_data, __gconv_trans_fct,
29845         __gconv_trans_context_fct, __gconv_trans_query_fct,
29846         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29847         definitions.
29848         (struct __gconv_step_data): Remove __trans member.
29849         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29850         longer hidden.  Remove unused trans_data argument.
29851         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29852         (__gconv_translit_find): Remove declaration.
29853         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29854         prototype.
29855         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29856         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29857         trans_data argument.  Add hidden definition.
29858         (__gconv_translit_find): Remove.
29859         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29860         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29861         * iconv/skeleton.c: Remove transliteration initialization.
29862         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29863         __gconv_step_data initialization.
29864         * libio/iofwide.c (__libio_translit_): Remove.
29865         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29866         * wcsmbs/btowc.c (__btowc): Likewise.
29867         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29868         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29869         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29870         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29871         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29872         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29873         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29874         * wcsmbs/wctob.c (wctob): Likewise.
29876 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29878         [BZ #16194]
29879         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29880         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29881         register usage.
29882         * sysdeps/x86/Makefile: Adjust.
29884 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29885             Roland McGrath  <roland@hack.frob.com>
29887         * locale/weight.h: Add include guard.
29888         (findidx): Make static rather than auto; take new parameters
29889         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29890         * locale/weightwc.h: Likewise.
29891         * posix/fnmatch_loop.c
29892         (FCT): Change type of EXTRA from int32_t to wint_t.
29893         Don't include either header inside the function.
29894         Call FINDIDX rather than findidx, and pass new arguments.
29895         #undef FINDIDX at the end of the file.
29896         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29897         FINDIDX before including fnmatch_loop.c for the non-wide version.
29898         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29899         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29900         for the wide version.
29901         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29902         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29903         Pass new arguments to findidx.
29904         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29905         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29906         Don't #include it inside the function.  Pass new arguments to findidx.
29907         * posix/regex_internal.h
29908         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29909         (re_string_elem_size_at): Don't #include it inside the function.
29910         Pass new arguments to findidx.
29911         * string/strcoll_l.c: #include WEIGHT_H at top level.
29912         (get_next_seq): Don't #include it inside the function.
29913         Pass new arguments to findidx.
29914         (get_next_seq_nocache): Likewise.
29915         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29916         (STRXFRM): Don't #include it inside the function.
29917         Pass new arguments to findidx.
29919 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29921         [BZ #17344]
29922         * malloc/malloc.c (unlink): Turn asserts into a call to
29923         malloc_printerr.
29925 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29927         [BZ #17370]
29928         * libio/wfileops (do_ftell_wide): Free OUT.
29930 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29932         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29934 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29936         [BZ #17363]
29937         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29938         group if the current group is empty.
29940 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29942         * benchtests/bench-memset.c (test_main): Add more test from size
29943         from 32 to 512 bytes.
29944         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29945         Add POWER8 memset object.
29946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29947         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29948         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29949         implementation.
29950         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29951         Likewise.
29952         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29953         multiarch POWER8 memset optimization.
29954         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29955         POWER8 memset optimization.
29957         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29958         Remove bzero multiarch objects.
29959         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29960         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29961         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29962         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29963         Remove define.
29964         [__bzero]: Redefine to specific name.
29965         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29966         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29967         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29968         define.
29969         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29970         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29972 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29974         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29975         warnings into errors.
29977         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29978         __cxa_thread_atexit_impl prototype.
29980 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29982         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29983         Fix capitalization of error message.
29985 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29987         * sysdeps/mips/preconfigure: Modify ABI tests.
29989 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29991         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29993 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29994             Carlos O'Donell  <carlos@systemhalted.org>
29996         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29997         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29998         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29999         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30000         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30001         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30002         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30003         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30004         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30005         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30006         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30007         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30008         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30009         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30010         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30011         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30012         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30013         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30014         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30015         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30016         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30017         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30018         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30019         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30020         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30021         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30022         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30023         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30024         Deconditionalize the code that was previously under [RESET_PID].
30025         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30026         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30027         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30028         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30029         include sysdep.h.
30031 2014-09-08  Allan McRae  <allan@archlinux.org>
30033         * version.h (RELEASE): Set to "development".
30034         (VERSION): Set to "2.20.90"
30036 2014-09-07  Allan McRae  <allan@archlinux.org
30038         * version.h (RELEASE): Set to "stable".
30039         (VERSION): Set to "2.20"
30040         * include/features.h (__GLIBC_MINOR__): Set to 20.
30042         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30043         Liebler.
30045         * po/ko.po: Update Korean translation from translation project.
30047 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30049         [BZ #17354]
30050         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30051         macro for handling signed relocations.
30053 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30055         [BZ #17325]
30056         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30057         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30058         assert.
30059         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30060         * iconvdata/ibm935.c (BODY): Likewise.
30061         * iconvdata/ibm937.c (BODY): Likewise.
30062         * iconvdata/ibm939.c (BODY): Likewise.
30063         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30064         assert.
30065         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30066         script.
30067         * iconvdata/run-iconv-test.sh: New test loop for checking for
30068         decoder crashers.
30070 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30072         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30073         libm_hidden_ver.
30075 2014-09-01  Allan McRae  <allan@archlinux.org>
30077         * po/eo.po: Update Esperanto translation from translation project.
30079         * po/ca.po: Update Catalan translation from translation project.
30081 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30083         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30084         __proc_dostop call.
30086 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30088         [BZ #17319]
30089         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30090         to call set_thread_area instead of hand written asm.
30091         (__NR_set_thread_area): Removed define.
30092         (TLS_FLAG_WRITABLE): Likewise.
30093         (__ASSUME_SET_THREAD_AREA): Remove check.
30094         (TLS_EBX_ARG): Remove define.
30095         (TLS_LOAD_EBX): Likewise.
30097 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30099         Simplify atomicity of socket creation in bind.
30101         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30102         looking up the name after linking the file.
30104 2014-08-27  Allan McRae  <allan@archlinux.org>
30106         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30108 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30110         [BZ #17187]
30111         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30112         trans_compare, open_translit, __gconv_translit_find):
30113         Remove module loading code.
30115 2014-08-26  Allan McRae  <allan@archlinux.org>
30117         * po/vi.po: Update Vietnamese translation from translation project.
30119         * po/uk.po: Update Ukrainian translation from translation project.
30121         * po/fr.po: Update French translation from translation project.
30123         * po/ru.po: Update Russian translation from translation project.
30125         * po/pl.po: Update Polish translation from translation project.
30127         * po/cs.po: Update Czech translation from translation project.
30129         * po/de.po: Update German translation from translation project.
30131         * po/bg.po: Update Bulgarian translation from translation project.
30133         * po/sv.po: Update Sweedish translation from translation project.
30135         * po/nl.po: Update Dutch translation from translation project.
30137         * po/es.po: Update Spanish translation from translation project.
30139 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30141         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30143         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30144         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30145         (CPPFLAGS-iconvconfig): Likewise.
30146         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30148         * include/libc-symbols.h: Remove unnecessary check for
30149         NOT_IN_libc.
30150         * nptl/pthreadP.h: Likewise.
30151         * sysdeps/aarch64/setjmp.S: Likewise.
30152         * sysdeps/alpha/setjmp.S: Likewise.
30153         * sysdeps/arm/sysdep.h: Likewise.
30154         * sysdeps/i386/setjmp.S: Likewise.
30155         * sysdeps/m68k/setjmp.c: Likewise.
30156         * sysdeps/posix/getcwd.c: Likewise.
30157         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30158         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30159         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30160         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30161         * sysdeps/sh/sh3/setjmp.S: Likewise.
30162         * sysdeps/sh/sh4/setjmp.S: Likewise.
30163         * sysdeps/unix/alpha/sysdep.h: Likewise.
30164         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30165         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30166         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30167         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30170         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30171         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30172         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30173         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30174         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30175         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30177         * sysdeps/x86_64/setjmp.S: Likewise.
30179 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30181         [BZ #17263]
30182         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30183         <stdint.h>.
30184         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30185         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30187 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30189         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30191         [BZ #17262]
30192         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30193         and __x86_64__ when disabling x87 inline functions.
30195 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30197         [BZ #17259]
30198         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30199         asm statement with __cpuid_count.
30201 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30203         * configure.ac: Change __ehdr_start code to dereference the struct.
30204         Run readelf on the output to look for relocations.
30205         * configure: Regenerated.
30207 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30209         [BZ #17261]
30210         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30211         value to 0.
30212         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30214 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30216         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30218 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30220         [BZ #16892]
30221         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30222         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30224 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30226         * malloc/malloc.c: Fix typo in comment.
30228 2014-08-09  Allan McRae  <allan@archlinux.org>
30230         * Regenerate libc.po.
30232 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30234         * intl/tst-gettext2.sh: Check every lang file for creation.
30236 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30238         * sysdeps/aarch64/fpu/math_private.h
30239         (libc_feholdsetround_noex_aarch64_ctx): New function.
30241 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30243         * sysdeps/arm/armv6/strcpy.S (strcpy):
30244         Fix performance issue in misaligned cases.
30246 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30248         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30249         Move definition from termios.h.
30250         (struct termio): Likewise.
30251         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30252         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30253         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30254         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30255         Likewise.
30256         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30257         Move definition to ioctl-types.h
30258         (struct termio): Likewise.
30259         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30260         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30261         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30262         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30263         Likewise.
30265 2014-08-05  Richard Henderson  <rth@redhat.com>
30267         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30268         exceptions.
30269         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30270         Add fraiseexcpt.
30271         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30272         Use __feraiseexcept.
30273         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30274         Protect libm symbols with IS_IN_libm.
30276         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30278 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30280         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30282 2014-08-04  Will Newton  <will.newton@linaro.org>
30284         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30285         file.
30287 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30289         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30290         variants for each function.
30292 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30294         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30295         appended ...
30296         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30297         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30298         appended ...
30299         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30300         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30301         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30302         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30303         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30304         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30305         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30306         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30307         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30308         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30309         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30310         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30311         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30312         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30313         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30314         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30315         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30316         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30317         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30318         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30319         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30320         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30321         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30322         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30323         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30324         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30325         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30326         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30327         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30328         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30329         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30330         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30331         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30332         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30333         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30334         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30335         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30336         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30337         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30338         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30339         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30340         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30341         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30342         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30343         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30344         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30345         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30346         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30347         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30348         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30349         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30350         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30351         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30352         Update #include.
30353         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30354         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30356 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30358         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30359         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30360         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30361         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30362         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30363         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30365 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30367         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30368         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30369         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30370         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30372 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30374         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30375         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30376         (__libc_vfork): Define function under this name.
30377         (__vfork): Define as an alias.
30378         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30379         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30381 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30383         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30384         that was previously under [RESET_PID].
30385         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30387 2014-08-04  Andreas Schwab  <schwab@suse.de>
30389         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30391 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30393         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30394         (main): Likewise.
30396 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30398         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30400 2014-08-01  Richard Henderon  <rth@redhat.com>
30402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30403         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30404         typo in exact zero test.
30405         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30406         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30407         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30409 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30411         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30412         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30413         * sysdeps/arm/sysdep.h: ... here.
30414         [!__ASSEMBLER__]: Include <stdint.h>.
30416 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30418         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30419         (HAVE_WCTYPE_H): Likewise.
30420         (HAVE_ISWCTYPE): Likewise.
30421         (ENABLE_NLS): Likewise.
30422         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30423         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30425         * posix/regex_internal.c: Check if DEBUG is defined and is
30426         set.
30428         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30429         (HAVE_MBSRTOWCS): Likewise.
30430         * posix/fnmatch.c: Include string.h unconditionally.
30432 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30434         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30435         reversal.
30437 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30439         * sysdeps/generic/safe-fatal.h: New file.
30440         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30441         * nptl/forward.c: Include it.
30442         (__pthread_unwind): Use __safe_fatal as default action, rather
30443         than a bogus use of INTERNAL_SYSCALL that could never work.
30445         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30446         * configure.ac (libc_cv_builtin_trap): New test.
30447         * configure: Regenerated.
30448         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30449         (ABORT_INSTRUCTION): Define using __builtin_trap.
30451         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30452         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30453         * sysdeps/nptl/nptl-signals.h: New file.
30454         * nptl/pthreadP.h: Include <nptl-signals.h>.
30456 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30458         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30459         (ONE_DIRECTION): Define.
30460         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30461         (ONE_DIRECTION): Define.
30462         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30463         (ONE_DIRECTION): Define.
30465 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30467         * sysdeps/s390/Makefile: Delete file.
30468         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30469         * sysdeps/s390/__longjmp.c: Delete file.
30470         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30471         Remove fields __flags and __reserved.
30472         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30473         and add versioning.
30474         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30475         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30476         * sysdeps/s390/rtld-setjmp.S: Likewise.
30477         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30478         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30479         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30480         * sysdeps/s390/s390-32/setjmp.S: ... here.
30481         Add versioning.
30482         (__sigsetjmp): Remove setting __flags field.
30483         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30484         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30485         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30486         * sysdeps/s390/s390-64/setjmp.S: ... here.
30487         Add versioning.
30488         (__sigsetjmp): Remove setting __flags field.
30489         * sysdeps/s390/setjmp.S: Delete file.
30490         * sysdeps/s390/sigjmp.c: Likewise.
30491         * sysdeps/s390/v1-longjmp.c: Likewise.
30492         * sysdeps/s390/v1-setjmp.h: Likewise.
30493         * sysdeps/s390/v1-sigjmp.c: Likewise.
30494         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30495         Remove v1-longjmp_chk.
30496         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30497         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30498         Include debug/longjmp_chk.c and add versioning.
30499         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30500         Include nptl/pt-longjmp.c and add versioning.
30501         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30502         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30503         Include __longjmp.c.
30504         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30505         Move to ...
30506         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30507         (__getcontext): Remove setting __flags field.
30508         Add versioning.
30509         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30510         Don't restore upper high grps.
30511         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30512         Likewise.
30513         (__swapcontext): Remove setting uc_flags field.
30514         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30515         Delete file.
30516         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30517         Include __longjmp.c.
30518         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30519         Move to ...
30520         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30521         (__getcontext): Remove setting __flags field.
30522         Add versioning.
30523         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30524         (__swapcontext): Remove setting uc_flags field.
30525         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30526         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30527         Remove fields uc_high_gprs and __reserved.
30528         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30529         New file with reverted content.
30530         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30531         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30532         Regenerated.
30533         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30534         Regenerated.
30536 2014-07-31  Andreas Schwab  <schwab@suse.de>
30538         * config.h.in (HAVE_IFUNC): Define to 0.
30539         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30540         definedness.
30542 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30545         memmove-avx-unaligned, memcpy-avx-unaligned and
30546         mempcpy-avx-unaligned.
30547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30548         Add tests for AVX memcpy functions.
30549         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30550         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30551         memcpy_chk.
30552         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30553         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30554         memmove_chk.
30555         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30556         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30557         mempcpy_chk.
30558         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30559         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30560         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30562 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30564         [BZ #17213]
30565         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30566         powerpc64le.
30568 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30570         [BZ #16839]
30571         * manual/llio.texi: Add section about open file description locks.
30572         * manual/examples/ofdlocks.c: Example of open file description
30573         lock usage.
30574         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30575         F_OFD_SETLK, and F_OFD_SETLKW.
30577 2014-07-23  Allan McRae  <allan@archlinux.org>
30579         * po/es.po: Update Spanish translation from translation project.
30581 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30583         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30585 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30587         [BZ #17078]
30588         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30589         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30590         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30592 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30594         [BZ #17088]
30595         * math/fesetenv.c (__fesetenv)
30596         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30597         * math/feupdateenv.c (__feupdateenv)
30598         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30600         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30601         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30602         (__ASSUME_SOCKETCALL): Do not define.
30604         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30605         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30606         (__ASSUME_SOCKETCALL): Do not define.
30607         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30608         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30609         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30610         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30611         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30612         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30613         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30614         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30616         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30617         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30618         (__ASSUME_SOCKETCALL): Do not define.
30619         (__ASSUME_IPC64): Define unconditionally.
30620         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30621         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30622         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30623         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30624         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30625         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30626         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30627         Likewise.
30629         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30630         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30631         (__ASSUME_SOCKETCALL): Do not define.
30632         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30633         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30634         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30635         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30636         (__ASSUME_REQUEUE_PI): Define unconditionally.
30637         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30638         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30639         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30640         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30641         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30642         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30644         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30645         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30646         (__ASSUME_SOCKETCALL): Do not define.
30647         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30648         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30649         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30650         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30651         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30652         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30654         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30655         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30656         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30657         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30658         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30659         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30661         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30662         (__ASSUME_GETCPU_SYSCALL): Likewise.
30664         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30665         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30666         cases for individual architectures.
30667         * sysdeps/gnu/configure: Regenerated.
30668         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30669         LIBC_SLIBDIR_RTLDDIR.
30670         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30671         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30672         LIBC_SLIBDIR_RTLDDIR.
30673         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30675         LIBC_SLIBDIR_RTLDDIR.
30676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30677         Regenerated.
30678         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30679         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30680         file.
30681         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30682         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30683         file.
30684         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30685         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30686         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30687         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30689         * sysdeps/aarch64/shlib-versions: Move to ...
30690         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30691         * sysdeps/alpha/shlib-versions: Move to ...
30692         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30693         * sysdeps/arm/shlib-versions: Move to ...
30694         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30695         * sysdeps/hppa/shlib-versions: Move all contents except for
30696         libgcc_s entry to ...
30697         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30698         entry from ...
30699         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30700         * sysdeps/ia64/shlib-versions: Move to ...
30701         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30702         entry from ...
30703         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30704         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30705         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30706         * sysdeps/microblaze/shlib-versions: Move to ...
30707         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30708         * sysdeps/mips/shlib-versions: Move to ...
30709         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30710         entry from ...
30711         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30712         * sysdeps/tile/shlib-versions: Move to ...
30713         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30714         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30715         from ...
30716         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30717         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30718         entry from ...
30719         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30721 2014-07-17  Will Newton  <will.newton@linaro.org>
30723         * sysdeps/arm/bits/atomic.h
30724         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30725         (__arch_compare_and_exchange_bool_16_int): Likewise.
30726         (__arch_compare_and_exchange_bool_64_int): Likewise.
30728         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30729         into an #else block.
30731 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30733         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30734         just Linux configurations.  Test empirically that the compiler sets
30735         __ARM_EABI__, rather than using the tuple to decide.
30736         * sysdeps/arm/preconfigure: Regenerated.
30737         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30738         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30739         contents appended ...
30740         * sysdeps/arm/configure.ac: ... here.
30741         * sysdeps/arm/configure: Regenerated.
30743 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30745         * nptl/pthread_kill.c: New file.
30746         * nptl/pthread_sigmask.c: New file.
30747         * nptl/pthread_sigqueue.c: New file.
30749         * sysdeps/nptl/lowlevellock.h: New file.
30750         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30751         * sysdeps/nptl/lowlevellock-futex.h: New file.
30753         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30754         Remove dead declarations.
30756 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30758         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30759         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30760         config-cflags-avx2.
30761         * sysdeps/x86_64/configure.ac: Likewise.
30762         * sysdeps/i386/configure: Regenerated.
30763         * sysdeps/x86_64/configure: Likewise.
30764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30765         memset-avx2 only if config-cflags-avx2 is yes.
30766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30767         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30768         defined.
30769         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30770         only if HAVE_AVX2_SUPPORT is defined.
30771         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30773 2014-07-14  Alan Modra  <amodra@gmail.com>
30775         [BZ #17153]
30776         * elf/elf.h (DT_PPC64_NUM): Correct value.
30777         * NEWS: Add to fixed bug list.
30779 2014-07-13  Jim Meyering  <meyering@fb.com>
30781         [BZ 17150]
30782         regex: don't deref NULL upon heap allocation failure
30783         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30784         failure in one more place.
30785         To trigger the segfault, configure grep -with-included-regex,
30786         build it, and run these commands:
30787         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30789 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30791         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30793 2014-07-11  Richard Henderson  <rth@redhat.com>
30795         * sysdeps/aarch64/libm-test-ulps: Update.
30797 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30799         [BZ #17135]
30800         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30801         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30802         (__nptl_setxid): Initialize error member.  Call
30803         __nptl_setxid_error.
30804         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30805         * nptl/descr.h (struct xid_command): Add error member.
30806         * nptl/tst-setuid3.c: New file.
30807         * nptl/Makefile (tests): Add it.
30809 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30811         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30812         New define.
30813         (__lll_trylock): Use __lll_base_trylock.
30814         (__lll_cond_trylock): Likewise.
30816 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30818         * nptl/pthread_create.c (start_thread): Use atomic_or and
30819         lll_futex_wake directly rather than lll_robust_dead.
30820         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30821         (lll_robust_dead): Macro removed.
30822         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30823         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30824         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30825         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30826         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30827         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30828         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30829         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30830         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30831         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30832         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30833         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30834         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30835         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30836         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30838         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30839         Use atomic_compare_and_exchange_val_acq directly rather than
30840         lll_robust_trylock.
30841         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30842         (__lll_robust_trylock, lll_robust_trylock): Removed.
30843         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30844         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30845         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30846         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30847         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30848         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30849         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30850         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30851         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30852         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30853         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30854         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30855         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30856         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30858 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30860         * manual/locale.texi (Locale Names): New section documenting
30861         locale name syntax.  Adjust menu and node chaining accordingly.
30862         (Choosing Locale): Reference Locale Names, Locale Categories.
30863         Mention setting LC_ALL=C.  Reflect that name syntax is now
30864         documented.
30865         (Locale Categories): New section title.  Reference Locale Names.
30866         LC_ALL is an environment variable, but not a category.
30867         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30868         description, now in Locale Name.  Reference that section.  Locale
30869         name syntax is now documented.
30871 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30873         [BZ #17137]
30874         * locale/findlocale.c (name_present, valid_locale_name): New
30875         functions.
30876         (_nl_find_locale): Use the loc_name variable to store name
30877         candidates.  Call name_present and valid_locale_name to check and
30878         validate locale names.  Return an error if the locale is invalid.
30880 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30882         * locale/setlocale.c (setlocale): Use strdup for allocating
30883         composite name copy.
30885 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30887         Sync up with gnulib.
30888         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30889         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30890         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30891         and _GL_ARG_NONNULL.
30892         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30893         [!_LIBC]: Include code for Windows and Cygwin.
30894         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30895         Include prototype for int strerror_r.
30896         [!_LIBC] (is_open): New function.
30897         (flush_stdout): New function.
30898         (print_errno_message): Use it.
30899         (error): Likewise.
30900         (error_at_line): Likewise.
30901         (error_tail) Add function attribute macros.  Use
30902         __builtin_expect.
30904         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30906         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30908         * io/ftw.c: Include sys/param.h unconditionally.
30910         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30912         [BZ #17125]
30913         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30914         libc_freeres_ptr.
30915         (freecache): New function to free CACHE on exit.
30917         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30918         initialization.
30920 2014-07-09  David S. Miller  <davem@davemloft.net>
30922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30924         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30925         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30926         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30927         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30928         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30929         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30930         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30931         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30932         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30933         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30934         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30935         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30936         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30938 2014-07-09  Andreas Schwab  <schwab@suse.de>
30940         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30941         output.
30942         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30943         (do_test): Likewise.
30945         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30947 2014-07-09  Will Newton  <will.newton@linaro.org>
30949         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30950         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30951         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30952         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30953         * sysdeps/hppa/start.S (_start): Likewise.
30955 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30957         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30959         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30960         defined.
30962 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30964         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30965         after checking that it is non-NULL.
30967         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30969 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30971         * sysdeps/powerpc/memmove.c: Remove file.
30972         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30973         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30974         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30975         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30976         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30977         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30978         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30979         string memmove instead of removed powerpc one.
30981         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30982         [weak_alias]: Fix compiler warning due trailing data.
30983         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30984         [weak_alias]: Likewise.
30985         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30986         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30989         (__libc_ifunc_impl_list): Add memmove functions.
30991 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30993         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30994         Remove code.
30995         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30996         Likewise.
30997         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30998         Likewise.
30999         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31000         Likewise.
31001         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31002         Likewise.
31003         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31004         Likewise.
31005         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31006         Likewise.
31007         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31008         Likewise.
31009         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31010         Likewise.
31011         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31012         Likewise.
31013         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31014         Likewise.
31015         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31016         Likewise.
31017         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31018         Likewise.
31019         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31020         Likewise.
31021         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31022         Likewise.
31023         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31024         Likewise.
31025         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31026         Likewise.
31028 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31030         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31031         to avoid alignment traps in non-cacheable memory.
31032         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31035         multiarch objects.
31036         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31037         file: multiarch power7 memmove.
31038         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31039         multiarch default memmove.
31040         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31041         multiarch memove for powerpc32/power4.
31043         * string/bcopy.c: Use full path to include memmove.c.
31044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31045         multiarch objects.
31046         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31047         bcopy for powerpc64.
31048         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31049         bcopy for powerpc64.
31050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31051         and memmove implementations.
31052         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31053         optimized multiarch memmove for POWER7/powerpc64.
31054         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31055         default multiarch memmove for powerpc64.
31056         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31057         multiarch for powerpc64.
31058         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31059         for POWER7/powerpc64.
31060         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31061         memmove for POWER7/powerpc64.
31063         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31064         glibc default one.
31066         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31067         __ELF_NATIVE_CLASS equal to 64.
31069 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31071         * sysdeps/nptl/lowlevellock.h: File removed.
31073         * NEWS: NPTL is no longer an add-on!
31074         * nptl/internaltypes.h: Moved ...
31075         * sysdeps/nptl/internaltypes.h: ... here.
31076         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31077         * sysdeps/nptl/fork.c: Likewise.
31078         * sysdeps/nptl/gai_misc.h: Likewise.
31079         * sysdeps/nptl/librt-cancellation.c: Likewise.
31080         * sysdeps/nptl/jmp-unwind.c: Likewise.
31081         * sysdeps/nptl/setxid.h: Likewise.
31082         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31083         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31084         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31085         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31086         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31087         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31088         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31089         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31090         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31091         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31092         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31093         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31094         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31095         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31096         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31097         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31098         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31099         * nptl/Makeconfig: Moved ...
31100         * sysdeps/nptl/Makeconfig: ... here.
31101         * nptl/configure: File removed.
31102         * nptl/ANNOUNCE: File removed.
31103         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31104         * sysdeps/unix/sysv/linux/configure: Regenerated.
31106         * nptl/Makefile (routines): Add libc_pthread_init,
31107         libc_multiple_threads, register-atfork and unregister-atfork.
31108         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31109         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31110         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31111         pthread-pi-defines.sym, structsem.sym.
31112         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31113         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31114         [$(subdir) = nptl] (tests): Add tst-setgetname.
31115         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31116         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31117         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31118         [!LIBC_SIGACTION]: Remove aliases.
31119         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31120         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31121         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31122         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31123         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31124         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31125         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31126         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31127         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31128         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31129         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31130         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31131         __libc_allocate_rtsig_private.
31132         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31133         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31134         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31135         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31136         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31137         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31138         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31139         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31140         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31141         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31142         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31143         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31144         * nptl/internaltypes.h: ... here.
31145         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31146         * sysdeps/nptl/jmp-unwind.c: ... here.
31147         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31148         * nptl/libc-lowlevellock.c: ... here.
31149         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31150         * nptl/libc_multiple_threads.c: ... here.
31151         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31152         * nptl/libc_pthread_init.c: ... here.
31153         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31154         * nptl/lowlevelbarrier.sym: ... here.
31155         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31156         * nptl/lowlevelcond.sym: ... here.
31157         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31158         * nptl/lowlevellock.c: ... here.
31159         * nptl/lowlevellock.h: Moved ...
31160         * sysdeps/nptl/lowlevellock.h: ... here.
31161         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31162         * nptl/lowlevelrobustlock.c: ... here.
31163         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31164         * nptl/lowlevelrobustlock.sym: ... here.
31165         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31166         * nptl/lowlevelrwlock.sym: ... here.
31167         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31168         * nptl/pt-fork.c: ... here.
31169         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31170         * nptl/pthread-pi-defines.sym: ... here.
31171         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31172         * nptl/pthread_attr_getaffinity.c: ... here.
31173         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31174         * nptl/pthread_attr_setaffinity.c: ... here.
31175         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31176         * nptl/pthread_mutex_cond_lock.c: ... here.
31177         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31178         Update #include.
31179         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31180         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31181         * nptl/pthread_once.c: ... here, replacing old file.
31182         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31183         * nptl/pthread_yield.c: ... here.
31184         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31185         * nptl/register-atfork.c: ... here.
31186         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31187         * nptl/sem_post.c: ... here.
31188         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31189         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31190         * nptl/sem_timedwait.c: ... here.
31191         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31192         * nptl/sem_trywait.c: ... here.
31193         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31194         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31195         * nptl/sem_wait.c: ... here.
31196         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31197         * nptl/structsem.sym: ... here.
31198         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31199         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31200         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31201         * nptl/unregister-atfork.c: ... here.
31202         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31203         * nptl/unwindbuf.sym: ... here.
31204         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31205         * sysdeps/nptl/fork.c: ... here.
31206         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31207         * sysdeps/nptl/fork.h: ... here.
31208         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31209         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31210         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31211         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31212         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31213         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31214         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31215         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31216         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31217         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31218         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31219         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31220         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31221         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31222         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31223         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31224         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31225         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31226         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31227         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31228         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31229         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31230         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31231         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31232         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31233         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31234         * sysdeps/unix/sysv/linux/raise.c: ... here.
31235         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31236         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31237         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31238         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31239         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31240         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31241         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31242         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31243         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31244         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31245         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31246         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31247         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31248         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31249         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31251 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31253         * sysdeps/generic/memcopy.h: Add comment for
31254         MEMCPY_OK_FOR_FWD_MEMMOVE.
31256 2014-07-04  Will Newton  <will.newton@linaro.org>
31258         * string/memchr.c: Merge from gnulib.
31259         [_LIBC]: Remove conditionals.
31260         (__ptr_t): Remove define.
31261         (LONG_MAX_32_BITS): Likewise.
31262         (LONG_MAX): Likewise.
31263         (MEMCHR): Use ANSI prototype and optimize algorithm.
31265         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31267 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31269         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31270         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31272         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31273         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31274         in a bare environment with no <stdlib.h> installed.
31275         * sysdeps/nptl/configure: Regenerated.
31277         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31279         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31280         AC_EGREP_CPP for kernel header checks, so they only succeed if
31281         including <linux/version.h> actually works right.
31282         * sysdeps/unix/sysv/linux/configure: Regenerated.
31284         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31285         value so it's not diagnosed as unused.
31287         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31288         thing) with "ifeq ($(subdir),rt)".
31290 2014-07-03  Richard Henderson  <rth@redhat.com>
31292         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31293         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31294         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31296         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31297         (math_force_eval): New.
31299         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31300         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31302         * sysdeps/alpha/fpu/s_round.c: Remove file.
31303         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31305         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31306         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31307         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31308         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31309         (_dl_start, print_statistics): Likewise.
31310         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31311         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31313         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31314         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31315         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31316         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31317         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31318         (HP_SMALL_TIMING_AVAIL): Define.
31319         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31320         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31321         (HP_SMALL_TIMING_AVAIL): Define.
31322         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31323         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31325         * sysdeps/aarch64/hp-timing.h: New file.
31327         * sysdeps/generic/hp-timing.h: Remove dead comment.
31328         * sysdeps/generic/hp-timing-common.h: New file.
31329         * sysdeps/alpha/hp-timing.h: Include it.
31330         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31331         * sysdeps/i386/i686/hp-timing.h: Likewise.
31332         * sysdeps/ia64/hp-timing.h: Likewise.
31333         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31334         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31335         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31336         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31337         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31338         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31339         (hp_timing_t): New.
31341         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31342         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31343         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31344         * elf/rtld.c (_dl_start_final): Likewise.
31345         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31346         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31347         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31348         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31349         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31350         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31351         (HP_TIMING_DIFF_INIT): Remove.
31352         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31353         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31354         (HP_TIMING_DIFF_INIT): Remove.
31355         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31356         * sysdeps/i386/i686/hp-timing.c: Remove file.
31357         * sysdeps/x86_64/hp-timing.c: Remove file.
31358         * sysdeps/ia64/hp-timing.c: Remove file.
31359         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31360         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31361         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31362         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31364         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31365         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31366         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31367         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31368         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31369         (HP_TIMING_ACCUM): Remove.
31370         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31371         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31372         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31374         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31375         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31376         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31377         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31378         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31379         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31380         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31381         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31383         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31385 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31387         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31389 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31391         Sync up with gettext.
31392         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31393         [_MSC_VER]: Include malloc.h
31394         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31395         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31396         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31397         TEMP_FAILURE_RETRY.  Cast return of alloca.
31398         [!_LIBC] Call gl_rwlock_init.
31399         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31401 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31403         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31404         before checking its value.
31406 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31408         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31410         * debug/memcpy_chk.c: Don't include pagecopy.h.
31411         * debug/mempcpy_chk.c: Likewise.
31412         * string/memcpy.c: Likewise.
31413         * string/memmove.c: Likewise.
31414         * sysdeps/powerpc/memmove.c: Likewise.
31415         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31416         definition of PAGE_COPY_FWD_MAYBE here...
31417         * sysdeps/generic/pagecopy.h: ... from here.
31418         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31420 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31421             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31423         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31425         optimizations.
31426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31427         (__libc_ifunc_impl_list): Likewise.
31428         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31429         multiarch strcat for PPC64.
31430         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31431         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31433 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31435         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31437 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31439         * intl/loadmsgcat.c: Remove declaration of
31440         get_sysdep_segment_value.
31441         (get_sysdep_segment_value): Use ISO C style.
31442         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31443         semicolon.  Fix typo and formatting in comment.
31444         (_nl_unload_domain): Use ISO C style.
31446         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31448 2014-07-02  Will Newton  <will.newton@linaro.org>
31450         * malloc/obstack.c: Merge from gnulib master.
31451         [HAVE_CONFIG_H]: Remove conditional code.
31452         [!_LIBC]: Include config.h.
31453         [!ELIDE_CODE]: Don't include inttypes.h, include
31454         stdint.h unconditionally.
31455         (print_and_abort): Mark as _Noreturn.
31456         (_obstack_allocated_p): Mark as __attribute_pure__.
31457         (obstack_free): Rename to __obstack_free.
31458         [!__attribute__]: Remove conditional code.
31459         * malloc/obstack.h: Merge from gnulib master.
31460         [__cplusplus]: Move conditional down.
31461         [!__attribute_pure__]: Define __attribute_pure__ here
31462         if it is not already defined.
31463         (_obstack_memory_used): Mark as __attribute_pure__.
31464         [!__obstack_free]: Define as obstack_free.
31465         [__GNUC__]: Remove check for ancient NeXT gcc.
31467 2014-07-02  Will Newton  <will.newton@linaro.org>
31468             Paul Eggert  <eggert@cs.ucla.edu>
31470         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31472 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31474         * resolv/gethnamaddr.c: Add comment warning that the file is
31475         not maintained.
31477 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31479         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31480         entries.
31482         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31483         entry for aio_cancel and aio_cancel64.
31484         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31485         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31486         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31487         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31488         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31489         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31490         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31491         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31492         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31493         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31494         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31495         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31496         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31498 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31500         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31501         * nptl/pthread_mutex_lock.c: Likewise.
31502         * nptl/pthread_mutex_timedlock.c: Likewise.
31503         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31505 2014-07-01  Richard henderson  <rth@redhat.com>
31507         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31508         (__isnan, __isnanl): Remove.
31509         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31511         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31513 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31515         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31517 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31519         * resolv/nss_dns/dns-host.c (getanswer_r)
31520         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31522 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31524         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31525         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31526         undefine.
31527         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31528         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31530 2014-07-01  Roland McGrath <roland@hack.frob.com>
31532         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31533         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31535         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31536         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31538         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31539         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31540         ... here.
31541         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31542         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31544         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31545         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31546         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31547         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31549         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31550         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31551         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31552         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31553         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31554         Moved ...
31555         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31556         ... here.
31557         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31558         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31559         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31560         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31561         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31562         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31563         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31564         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31565         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31566         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31567         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31568         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31569         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31570         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31571         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31572         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31573         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31574         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31575         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31576         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31577         ... here.
31578         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31579         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31580         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31581         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31582         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31583         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31584         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31585         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31587 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31589         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31590         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31591         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31592         Add sysdep.
31594 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31598 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31600         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31601         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31603         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31605         * sysdeps/arm/libm-test-ulps: Regenerated.
31607 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31608             Roland McGrath <roland@hack.frob.com>
31610         * test-skeleton.c (signal_handler): Kill the whole process group
31611         before killing the child individually.
31612         (main): Report any failure on `setpgid'.
31614 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31616         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31617         from _TLS_H to _ARM_NPTL_TLS_H.
31618         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31619         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31621 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31623         [BZ #16539]
31624         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31625         (__expm1l): Return argument unchanged when small but not
31626         subnormal.
31628         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31629         include macro name.
31630         (_FP_UNPACK_RAW_1_P): Likewise.
31631         (_FP_PACK_RAW_1): Likewise.
31632         (_FP_PACK_RAW_1_P): Likewise.
31633         (_FP_MUL_MEAT_1_wide): Likewise.
31634         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31635         (_FP_MUL_MEAT_1_hard): Likewise.
31636         (_FP_DIV_MEAT_1_imm): Likewise.
31637         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31638         (_FP_DIV_MEAT_1_udiv): Likewise.
31639         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31640         (_FP_UNPACK_RAW_2): Likewise.
31641         (_FP_UNPACK_RAW_2_P): Likewise.
31642         (_FP_PACK_RAW_2): Likewise.
31643         (_FP_PACK_RAW_2_P): Likewise.
31644         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31645         (_FP_MUL_MEAT_2_wide): Likewise.
31646         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31647         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31648         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31649         (_FP_MUL_MEAT_2_gmp): Likewise.
31650         (_FP_DIV_MEAT_2_udiv): Likewise.
31651         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31652         (_FP_FRAC_SRL_4): Likewise.
31653         (_FP_FRAC_SRST_4): Likewise.
31654         (_FP_FRAC_SRS_4): Likewise.
31655         (_FP_UNPACK_RAW_4): Likewise.
31656         (_FP_UNPACK_RAW_4_P): Likewise.
31657         (_FP_PACK_RAW_4): Likewise.
31658         (_FP_PACK_RAW_4_P): Likewise.
31659         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31660         (_FP_MUL_MEAT_4_wide): Likewise.
31661         (_FP_MUL_MEAT_4_gmp): Likewise.
31662         (umul_ppppmnnn): Likewise.
31663         (_FP_DIV_MEAT_4_udiv): Likewise.
31664         (__FP_FRAC_ADD_4): Likewise.
31665         (__FP_FRAC_SUB_3): Likewise.
31666         (__FP_FRAC_SUB_4): Likewise.
31667         (__FP_FRAC_DEC_3): Likewise.
31668         (__FP_FRAC_DEC_4): Likewise.
31669         (__FP_FRAC_ADDI_4): Likewise.
31670         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31671         (_FP_FRAC_SRL_8): Likewise.
31672         (_FP_FRAC_SRS_8): Likewise.
31674         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31675         include macro name.
31676         (FP_UNPACK_RAW_EP): Likewise.
31677         (FP_PACK_RAW_E): Likewise.
31678         (FP_PACK_RAW_EP): Likewise.
31679         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31680         (_FP_ISSIGNAN): Likewise.
31681         (_FP_ADD_INTERNAL): Likewise.
31682         (_FP_FMA): Likewise.
31683         (_FP_CMP): Likewise.
31684         (_FP_SQRT): Likewise.
31685         (_FP_TO_INT): Likewise.
31686         (_FP_FROM_INT): Likewise.
31687         (FP_EXTEND): Likewise.
31688         (_FP_DIV_MEAT_N_loop): Likewise.
31690 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31692         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31693         throughout.
31695 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31697         [BZ #17097]
31698         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31699         result with correct sign in case of exponents that produce
31700         overflow except for X very close to 1.
31702 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31704         mktime: merge #if/#ifdef usage from glibc
31705         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31706         as that works with both Glibc's and Gnulib's style.
31707         See thread starting at Siddhesh Poyarekar's bug report at:
31708         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31710 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31712         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31713         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31714         * sysdeps/tile/tilegx/memmove.c: Remove file.
31716 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31718         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31719         abi-name definition.
31720         * scripts/soversions.awk: Do not handle or generate ABI lines.
31721         * shlib-versions: Remove ABI entries.
31722         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31723         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31725 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31727         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31728         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31729         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31730         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31731         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31732         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31733         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31734         Moved ...
31735         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31736         ... here.
31737         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31738         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31739         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31740         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31741         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31742         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31744         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31746         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31747         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31748         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31749         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31750         Moved ...
31751         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31753         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31755         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31757         Moved ...
31758         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31759         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31760         Moved ...
31761         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31762         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31763         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31764         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31765         Moved ...
31766         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31767         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31768         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31769         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31770         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31772         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31774         Moved ...
31775         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31777         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31778         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31779         Moved ...
31780         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31781         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31782         Moved ...
31783         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31784         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31785         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31786         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31787         Moved ...
31788         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31789         ... here.
31790         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31791         Identical file removed.
31792         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31793         Moved ...
31794         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31795         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31796         Identical file removed.
31797         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31798         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31799         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31800         Moved ...
31801         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31802         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31803         Identical file removed.
31804         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31805         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31806         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31807         Identical file removed.
31808         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31809         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31810         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31811         Identical file removed.
31812         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31813         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31814         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31815         Identical file removed.
31816         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31817         Moved ...
31818         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31819         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31820         Identical file removed.
31821         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31822         Moved ...
31823         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31824         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31825         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31826         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31827         Identical file removed.
31828         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31829         Moved ...
31830         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31831         ... here.
31832         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31833         Identical file removed.
31834         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31835         Moved ...
31836         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31838         Identical file removed.
31839         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31840         Moved ...
31841         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31842         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31843         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31845         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31847         Moved ...
31848         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31849         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31850         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31852         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31853         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31854         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31855         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31856         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31858 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31860         [BZ #17092]
31861         * nscd/nscd.c (monitor_child): Return exit status of child
31862         instead of return value from wait syscall.
31864 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31866         * configure.ac (libc_commonpagesize): Remove variable.
31867         (libc_relro_required): Likewise.
31868         (libc_cv_z_relro): Remove configure test.
31869         * configure: Regenerated.
31870         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31871         variable.
31872         (libc_relro_required): Likewise.
31873         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31874         (libc_relro_required): Likewise.
31875         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31876         (libc_relro_required): Likewise.
31877         * sysdeps/arm/preconfigure: Regenerated.
31878         * sysdeps/ia64/preconfigure: Remove file.
31879         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31880         variable.
31881         (libc_relro_required): Likewise.
31883         [BZ #16561]
31884         [BZ #16562]
31885         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31886         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31887         recompute overflowing results in original rounding mode.
31888         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31889         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31890         recompute overflowing results in original rounding mode.
31891         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31892         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31893         recompute overflowing results in original rounding mode.
31894         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31895         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31896         recompute overflowing results in original rounding mode.
31897         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31898         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31899         recompute overflowing results in original rounding mode.
31900         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31901         (libc_feholdsetround_ctx): New macro.
31902         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31903         * sysdeps/i386/fpu/libm-test-ulps: Update.
31904         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31906 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31908         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31909         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31910         corresponding .cpsetup call.
31912 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31914         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31915         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31916         * sysdeps/arm/Makefile [$(subdir) = csu]
31917         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31918         (static-only-routines): Add aeabi_read_tp here.
31919         (shared-only-routines): Add libc-aeabi_read_tp here.
31920         (CFLAGS-libc-start.c): Add -fexceptions here.
31921         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31922         (sysdep_routines, static-only-routines, shared-only-routines):
31923         Don't add to these here.
31924         (CFLAGS-libc-start.c): Likewise.
31926         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31927         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31928         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31929         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31930         * sysdeps/arm/Makefile [$(subdir) = rt]
31931         (librt-sysdep_routines, librt-shared-only-routines):
31932         Append rt-aeabi_unwind_cpp_pr1 here.
31933         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31934         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31935         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31936         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31937         Append nptl-aeabi_unwind_cpp_pr1 here.
31938         (tests): Filter out tst-cleanupx4 here.
31939         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31940         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31941         Don't do those here.
31943 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31945         * scripts/list-sources.sh: Do not handle ports specially.
31947 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31949         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31950         * sysdeps/arm/feupdateenv.c: Likewise.
31952         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31954 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31956         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31957         trailing whitespace removed.
31958         * scripts/config.guess: Update to version 2014-03-23.
31959         * scripts/config.sub: Update to version 2014-05-01
31960         * scripts/install-sh: Update to version 2013-12-25.23.
31961         * scripts/move-if-change: Update from gnulib.
31963 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31965         * debug/memmove_chk.c: Remove pagecopy.h include.
31967 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31969         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31970         identical to gnulib mktime.
31972 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31974         * configure.ac: Do not test for machine being rs6000.  Do not test
31975         for powerpc*-*soft.
31976         * configure: Regenerated.
31978         [BZ #11505]
31979         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31980         test.
31981         * configure: Regenerated.
31982         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31983         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31984         Remove configure test.
31985         * sysdeps/arm/configure: Regenerated.
31986         * sysdeps/nptl/configure.ac: Do not check
31987         libc_cv_asm_cfi_directives.
31988         * sysdeps/nptl/configure: Regenerated.
31989         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31990         * sysdeps/x86_64/nptl/configure: Remove generated file.
31991         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31992         unconditional.
31993         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31995 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31997         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31998         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31999         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32000         it is defined.
32002         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32003         instead of whether it is defined.
32004         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32005         * sysdeps/hppa/dl-machine.h: Likewise.
32006         * sysdeps/ia64/dl-machine.h: Likewise.
32007         * sysdeps/m68k/dl-machine.h: Likewise.
32008         * sysdeps/microblaze/dl-machine.h: Likewise.
32009         * sysdeps/mips/dl-machine.: Likewise.
32010         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32011         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32012         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32013         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32014         * sysdeps/sh/dl-machine.h: Likewise.
32015         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32016         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32017         * sysdeps/tile/dl-machine.h: Likewise.
32018         * sysdeps/x86_64/dl-machine.h: Likewise.
32020         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32021         code.
32022         (verify_persistent_db): Likewise.
32024 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32027         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32029         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32031         Moved ...
32032         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32033         ... here.
32034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32035         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32037         Identical file removed.
32038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32039         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32041         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32043         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32045         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32047         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32049         Moved ...
32050         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32052         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32054         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32056         Moved ...
32057         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32059         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32061         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32063         Identical file removed.
32064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32065         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32067         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32069         Moved ...
32070         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32071         ... here.
32072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32073         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32075         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32077         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32079         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32081         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32083         Moved ...
32084         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32086         Moved ...
32087         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32089         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32091         Moved ...
32092         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32094         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32096         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32097         folded into ...
32098         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32099         * sysdeps/unix/sysv/linux/s390/Versions
32100         (libpthread: GLIBC_2.19): New version set.
32101         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32102         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32103         (librt: GLIBC_2.3.3): New version set.
32104         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32105         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32106         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32107         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32108         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32109         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32110         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32111         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32112         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32113         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32114         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32115         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32116         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32117         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32118         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32119         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32120         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32121         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32122         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32123         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32124         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32125         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32126         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32127         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32128         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32129         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32130         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32132         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32134         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32135         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32136         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32137         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32138         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32139         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32140         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32142         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32144         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32146         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32148         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32150         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32151         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32152         (__libc_vfork): Define the function under this name.
32153         [!NOT_IN_libc] (__vfork): Make this an alias.
32154         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32156         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32157         (__libc_vfork): Define the function under this name.
32158         [!NOT_IN_libc] (__vfork): Make this an alias.
32159         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32160         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32161         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32163         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32164         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32166         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32167         code that was previously under [RESET_PID].
32168         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32169         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32172         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32173         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32174         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32175         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32176         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32177         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32178         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32179         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32180         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32181         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32182         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32183         Moved ...
32184         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32185         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32186         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32187         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32188         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32189         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32190         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32191         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32192         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32193         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32194         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32195         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32196         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32197         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32198         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32199         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32200         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32201         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32202         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32203         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32204         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32205         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32206         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32207         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32208         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32209         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32210         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32211         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32212         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32214 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32216         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32217         that was previously under [RESET_PID].
32218         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32220 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32222         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32223         not undefine and redefine.
32224         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32225         [O_CLOEXEC]: Make code unconditional.
32226         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32227         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32228         <kernel-features.h>.
32229         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32230         conditional variable definition.
32231         (shm_open) [O_CLOEXEC]: Make code unconditional.
32232         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32233         code.
32235         * configure.ac (USE_REGPARMS): Don't define here.
32236         * configure: Regenerated.
32237         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32238         * sysdeps/i386/configure: Regenerated.
32240         * nptl/createthread.c: Don't include kernel-features.h.
32241         * nptl/pthread_cancel.c: Likewise.
32242         * nptl/pthread_condattr_setclock.c: Likewise.
32243         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32244         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32245         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32246         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32247         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32248         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32249         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32252         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32253         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32254         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32255         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32256         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32257         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32258         * nscd/gai.c: Likewise.
32259         * nss/nss_db/db-open.c: Likewise.
32260         * sysdeps/generic/ldsodefs.h: Likewise.
32261         * sysdeps/sh/nptl/tls.h: Likewise.
32262         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32263         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32264         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32265         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32266         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32267         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32268         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32269         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32270         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32271         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32272         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32273         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32274         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32275         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32276         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32277         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32278         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32279         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32280         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32281         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32282         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32283         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32284         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32285         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32287         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32288         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32289         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32290         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32291         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32292         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32293         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32294         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32295         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32296         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32297         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32298         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32299         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32300         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32301         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32302         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32303         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32304         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32305         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32306         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32307         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32308         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32309         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32310         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32311         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32312         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32313         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32314         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32315         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32316         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32317         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32318         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32319         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32342         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32343         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32344         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32345         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32346         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32347         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32348         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32349         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32350         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32351         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32352         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32353         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32354         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32355         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32356         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32357         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32358         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32359         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32360         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32361         * sysdeps/unix/sysv/linux/system.c: Likewise.
32362         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32363         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32364         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32365         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32366         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32367         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32368         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32370         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32371         * configure: Regenerated.
32372         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32374         * configure.ac (base_machine): Do not set specially for particular
32375         machines here.
32376         * configure: Regenerated.
32377         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32378         settings from configure.ac.
32379         * sysdeps/i386/preconfigure: New file.
32380         * sysdeps/s390/preconfigure: Likewise.
32381         * sysdeps/sh/preconfigure: Likewise.
32382         * sysdeps/sparc/preconfigure: Likewise.
32384 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32386         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32387         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32388         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32389         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32390         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32391         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32392         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32393         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32394         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32395         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32396         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32397         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32398         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32399         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32400         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32401         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32402         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32403         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32404         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32406         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32407         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32408         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32409         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32410         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32411         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32412         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32413         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32414         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32415         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32416         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32417         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32418         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32419         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32420         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32421         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32422         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32423         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32424         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32425         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32426         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32427         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32428         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32429         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32430         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32431         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32432         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32433         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32434         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32435         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32436         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32437         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32438         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32439         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32440         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32441         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32442         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32443         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32446         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32448         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32450         Moved ...
32451         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32452         ... here.
32453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32454         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32456         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32458         Moved ...
32459         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32461         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32463         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32465         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32467         Moved ...
32468         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32470         Moved ...
32471         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32473         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32475         Moved ...
32476         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32478         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32480         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32482         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32484         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32486         Moved ...
32487         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32488         ... here.
32489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32490         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32492         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32494         Moved ...
32495         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32497         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32499         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32501         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32503         Moved ...
32504         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32506         Moved ...
32507         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32509         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32511         Moved ...
32512         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32514         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32516         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32518 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32520         * timezone/checktab.awk: Update from tzcode 2014e.
32521         * timezone/private.h: Likewise.
32522         * timezone/tzfile.h: Likewise.
32523         * timezone/zdump.c: Likewise.
32524         * timezone/zic.c: Likewise.
32526         * sysdeps/unix/sysv/linux/kernel-features.h
32527         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32528         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32529         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32530         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32531         Remove conditional code.
32533 2014-06-25  Will Newton  <will.newton@linaro.org>
32535         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32536         (_dl_arm_cap_flags): Add HWCAP2 values.
32537         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32538         (_DL_HWCAP_COUNT): Increase to 37.
32539         (_DL_HWCAP_LAST): New define.
32540         (_DL_HWCAP2_LAST): New define.
32541         (_dl_procinfo): Add support for printing
32542         AT_HWCAP2 entries.
32543         (_dl_string_hwcap): Use _dl_hwcap_string.
32545 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32549 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32551         * README: Do not mention ports directory.
32553         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32554         Remove macro.
32555         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32556         <kernel-features.h>.
32557         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32558         conditional variable definition.
32559         (__futimes): Update comment.
32560         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32561         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32563         [BZ #16560]
32564         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32565         arguments close to 0.
32566         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32567         Likewise.
32568         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32569         Likewise.
32570         * math/auto-libm-test-in: Add more tests of exp10.
32571         * math/auto-libm-test-out: Regenerated.
32572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32574         * sysdeps/unix/sysv/linux/kernel-features.h
32575         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32576         * sysdeps/unix/sysv/linux/readv.c: Do not include
32577         <kernel-features.h>.
32578         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32579         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32580         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32581         unconditional.
32582         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32583         conditional code.
32584         * sysdeps/unix/sysv/linux/writev.c: Do not include
32585         <kernel-features.h>.
32586         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32587         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32588         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32589         unconditional.
32590         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32591         conditional code.
32593 2014-06-25  Will Newton  <will.newton@linaro.org>
32595         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32596         comment changes throughout the file.  Remove checks
32597         for HAVE_*_H definitions that are not required.
32598         (__gen_tempname): Call abort if an unknown kind value is
32599         passed.
32601 2014-06-25  Andreas Schwab  <schwab@suse.de>
32603         [BZ #17086]
32604         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32605         scalbln, scalblnf, scalblnl in libc.
32607 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32609         [BZ #17086]
32610         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32611         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32612         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32614 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32616         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32617         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32618         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32619         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32620         Update #include.
32621         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32622         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32623         Update #include.
32624         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32625         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32626         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32627         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32628         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32629         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32630         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32631         * sysdeps/x86/bits/semaphore.h: ... here.
32632         * sysdeps/x86/nptl/elide.h: Moved ...
32633         * sysdeps/x86/elide.h: ... here.
32634         * sysdeps/x86_64/nptl/Implies: File removed.
32635         * sysdeps/i386/nptl/Implies: File removed.
32637 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32639         [BZ #16539]
32640         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32641         return the argument for normal arguments with exponent below -64.
32642         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32643         Likewise.
32644         * math/auto-libm-test-in: Add another test of expm1.
32645         * math/auto-libm-test-out: Regenerated.
32647         [BZ #16287]
32648         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32649         calling __erfcl for arguments at least 16.
32650         * math/auto-libm-test-in: Add more tests of erf.
32651         * math/auto-libm-test-out: Regenerated.
32653         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32654         individual architectures.
32655         * sysdeps/unix/sysv/linux/configure: Regenerated.
32656         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32657         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32658         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32659         (ldd_rewrite_script): Define variable.
32660         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32662         file.
32663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32664         generated file.
32665         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32666         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32667         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32668         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32669         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32670         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32671         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32672         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32674 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32676         [BZ #17084]
32677         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32678         Rename member __data.d to __data.__elision_data.
32680 2014-06-24  Wilco  <wdijkstr@arm.com>
32682         * NEWS: Add 16918 to fixed bug list.
32684 2014-06-24  Wilco  <wdijkstr@arm.com>
32686         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32688 2014-06-24  Wilco  <wdijkstr@arm.com>
32690         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32691         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32692         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32693         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32694         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32695         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32696         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32697         Use _FPU_MASK_RM.
32699 2014-06-24  Wilco  <wdijkstr@arm.com>
32701         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32703 2014-06-24  Wilco  <wdijkstr@arm.com>
32705         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32706         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32707         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32708         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32710 2014-06-24  Wilco  <wdijkstr@arm.com>
32712         [BZ #16918]
32713         * sysdeps/arm/feupdateenv.c (feupdateenv):
32714         Rewrite to reduce FPSCR accesses and fix return value.
32716 2014-06-24  Wilco  <wdijkstr@arm.com>
32718         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32719         Optimize to avoid unnecessary FPSCR writes.
32720         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32721         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32722         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32723         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32725 2014-06-24  Wilco  <wdijkstr@arm.com>
32727         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32728         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32729         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32730         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32731         Call libc_fetestexcept_vfp.
32732         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32733         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32734         __SOFTFP__ ifdef so that they can be built for softfp.
32736 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32738         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32739         argument type signed char.
32741         * Makerules (check-abi): Dump diff of symlist if the test
32742         fails.
32744 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32746         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32747         using abort.
32749         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32750         Remove unused variable ST.
32752 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32754         [BZ #16354]
32755         [BZ #17061]
32756         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32757         small arguments before calling __expm1.
32758         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32759         small arguments before calling __expm1f.
32760         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32761         small arguments before calling __expm1l.
32762         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32763         Likewise.
32764         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32765         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32766         spurious underflow for some cosh tests.
32767         * math/auto-libm-test-out: Regenerated.
32768         * sysdeps/i386/fpu/libm-test-ulps: Update.
32770         [BZ #17050]
32771         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32772         (__ieee754_y1): Set errno if return value overflows.
32773         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32774         (__ieee754_y1f): Set errno if return value overflows.
32775         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32776         (__ieee754_y1l): Set errno if return value overflows.
32777         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32778         (__ieee754_y1l): Set errno if return value overflows.
32779         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32780         * math/auto-libm-test-out: Regenerated.
32782         * math/gen-auto-libm-tests.c: Document use of
32783         ignore-zero-inf-sign.
32784         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32785         (input_flags): Add ignore-zero-inf-sign.
32786         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32787         * math/gen-libm-test.pl (generate_testfile): Handle
32788         ignore-zero-inf-sign.
32789         * math/auto-libm-test-in: Mark some cpow tests with
32790         ignore-zero-inf-sign and some with xfail-rounding.
32791         * math/auto-libm-test-out: Regenerated.
32792         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32793         * sysdeps/i386/fpu/libm-test-ulps: Update.
32794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32796         [BZ #16315]
32797         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32798         overflowing or underflowing operations take place with sign of
32799         result.
32800         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32801         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32802         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32803         (__ieee754_pow): Recompute overflowing and underflowing results in
32804         original rounding mode.
32805         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32806         (__powl_helper): Allow negative argument X and scale negated value
32807         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32808         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32809         overflowing or underflowing operations take place with sign of
32810         result.
32811         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32812         Include <math.h>.
32813         * math/auto-libm-test-in: Add more tests of pow.
32814         * math/auto-libm-test-out: Regenerated.
32815         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32816         (pow_tonearest_test_data): Remove.
32817         (pow_test_tonearest): Likewise.
32818         (pow_towardzero_test_data): Likewise.
32819         (pow_test_towardzero): Likewise.
32820         (pow_downward_test_data): Likewise.
32821         (pow_test_downward): Likewise.
32822         (pow_upward_test_data): Likewise.
32823         (pow_test_upward): Likewise.
32824         (main): Don't call removed functions.
32825         * sysdeps/i386/fpu/libm-test-ulps: Update.
32826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32828 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32831         Moved ...
32832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32834         Moved ...
32835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32837         Moved ...
32838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32840         Moved ...
32841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32843         File removed.
32844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32845         File removed.
32846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32847         File removed.
32848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32849         File removed.
32850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32851         File removed.
32852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32853         File removed.
32854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32855         File removed.
32856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32857         File removed.
32858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32859         File removed.
32860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32861         File removed.
32862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32863         File removed.
32864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32865         File removed.
32866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32867         Moved ...
32868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32870         Moved ...
32871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32872         ... here.
32873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32874         Moved ...
32875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32877         Moved ...
32878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32880         Moved ...
32881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32883         Moved ...
32884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32886         Moved ...
32887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32889         Moved ...
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32892         Moved ...
32893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32896         ... here.
32897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32898         Moved ...
32899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32901         Moved ...
32902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32903         ... here.
32904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32905         Moved ...
32906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32907         ... here.
32908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32909         Moved ...
32910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32911         ... here.
32912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32913         Moved ...
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32916         Moved ...
32917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32921         Moved ...
32922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32923         ... here.
32924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32925         Moved ...
32926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32927         ... here.
32928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32929         Moved ...
32930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32932         Moved ...
32933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32935         Moved ...
32936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32938         Moved ...
32939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32941         Moved ...
32942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32943         ... here.
32944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32945         Moved ...
32946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32948         Moved ...
32949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32951         Moved ...
32952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32954         Moved ...
32955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32959         Moved ...
32960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32962         Moved ...
32963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32965         Moved ...
32966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32967         ... here.
32968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32969         Moved ...
32970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32971         ... here.
32972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32973         Moved ...
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32975         ... here.
32976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32977         Moved ...
32978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32980         Moved ...
32981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32983         Moved ...
32984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32986         Moved ...
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32988         ... here.
32989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32990         Moved ...
32991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32992         ... here.
32993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32994         Moved ...
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32996         ... here.
32997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32998         Moved ...
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33001         Moved ...
33002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33004 2014-06-23  Will Newton  <will.newton@linaro.org>
33005             Wilco  <wdijkstr@arm.com>
33007         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33008         implementation.  Include get-rounding-mode.h.
33009         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33010         [!libc_feholdsetround_noex_ctx]: Define
33011         libc_feholdsetround_noex_ctx.
33012         [!libc_feholdsetround_noexf_ctx]: Define
33013         libc_feholdsetround_noexf_ctx.
33014         [!libc_feholdsetround_noexl_ctx]: Define
33015         libc_feholdsetround_noexl_ctx.
33016         (libc_feholdsetround_ctx): New function.
33017         (libc_feresetround_ctx): New function.
33018         (libc_feholdsetround_noex_ctx): New function.
33019         (libc_feresetround_noex_ctx): New function.
33021 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33023         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33024         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33025         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33026         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33027         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33028         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33030         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33031         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33032         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33033         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33034         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33035         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33036         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33037         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33038         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33039         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33040         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33041         Moved ...
33042         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33043         ... here.
33044         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33045         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33046         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33047         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33048         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33049         Moved ...
33050         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33051         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33052         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33053         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33054         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33055         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33056         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33058         Moved ...
33059         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33060         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33061         Moved ...
33062         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33064         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33065         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33066         Moved ...
33067         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33068         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33069         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33070         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33071         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33072         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33073         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33074         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33075         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33076         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33077         Moved ...
33078         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33079         ... here.
33080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33081         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33082         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33083         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33084         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33085         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33086         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33087         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33088         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33089         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33090         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33091         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33092         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33093         Moved ...
33094         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33095         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33096         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33097         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33098         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33099         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33100         Moved ...
33101         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33102         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33103         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33104         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33105         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33107         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33108         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33109         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33110         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33111         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33112         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33113         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33114         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33115         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33116         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33117         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33118         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33119         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33120         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33121         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33122         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33123         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33124         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33125         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33126         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33127         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33128         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33129         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33130         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33131         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33132         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33133         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33134         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33136 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33138         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33139         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33140         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33141         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33142         (IPV6_PMTUDISC_INTERFACE): Likewise.
33143         (IPV6_PMTUDISC_OMIT): Likewise.
33145 2014-06-23  Andreas Schwab  <schwab@suse.de>
33147         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33148         Remove unused errout label.
33150 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33152         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33153         macro: hardware supports Vector Crypto instructions.
33155 2014-06-23  Will Newton  <will.newton@linaro.org>
33157         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33158         rather than __builtin_expect.
33160         * elf/dl-lookup.c (undefined_msg): Remove variable.
33161         (_dl_lookup_symbol_x): Replace undefined_msg with string
33162         literal.
33164         * elf/dl-lookup.c (do_lookup_unique): New function.
33165         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33166         to a separate function.
33168 2014-06-23  Andreas Schwab  <schwab@suse.de>
33170         [BZ #17079]
33171         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33172         before reading the next line.
33174 2014-06-23  Will Newton  <will.newton@linaro.org>
33176         * test-skeleton.c (signal_handler): Use printf and %m
33177         rather than perror.  Use printf rather than fprintf to
33178         stderr.  Use puts rather than fputs to stderr.
33179         (main): Likewise.
33181 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33183         * nscd/nscd.c (thread_info_t): Remove typedef.
33184         (thread_info): Remove variable.
33186 2014-06-21  Allan McRae  <allan@archlinux.org>
33188         * NEWS: Mention CVE-2014-4043.
33190 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33192         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33193         * nptl/smp.h: ... here.
33195         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33197         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33198         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33199         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33200         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33202         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33203         * nptl/stack-aliasing.h: New file.
33204         * sysdeps/i386/i686/stack-aliasing.h: New file.
33205         * sysdeps/i386/i686/nptl/Makefile: File removed.
33206         * sysdeps/x86_64/stack-aliasing.h: New file.
33207         * sysdeps/x86_64/nptl/Makefile
33208         (CFLAGS-pthread_create.c): Variable removed.
33210         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33211         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33212         old file.
33213         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33214         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33215         old file.
33217 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33219         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33220         (__ASSUME_SIGFRAME_V2): Remove macro.
33221         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33222         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33223         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33224         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33225         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33226         Declare as function.  Remove conditional macro definitions.
33227         (__default_rt_sa_restorer): Likewise.
33228         (__default_sa_restorer_v1): Remove declaration.
33229         (__default_sa_restorer_v2): Likewise.
33230         (__default_rt_sa_restorer_v1): Likewise.
33231         (__default_rt_sa_restorer_v2): Likewise.
33232         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33233         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33234         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33236 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33238         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33239         (libpthread-routines): Add sysdep.
33240         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33241         * sysdeps/unix/sysv/linux/sparc/Versions
33242         (libpthread: GLIBC_2.3.3): New version set.
33243         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33244         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33245         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33246         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33247         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33248         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33249         Moved ...
33250         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33251         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33252         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33253         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33254         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33255         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33256         * sysdeps/sparc/nptl/sem_init.c: ... here.
33257         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33258         * sysdeps/sparc/nptl/sem_post.c: ... here.
33259         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33260         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33261         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33262         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33263         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33264         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33265         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33266         (libpthread-routines): Add cpu_relax.
33267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33268         File removed.
33269         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33270         (librt: GLIBC_2.3.3): New version set.
33271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33272         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33273         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33274         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33277         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33279         Moved ...
33280         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33282         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33284         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33286         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33288         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33290         Moved ...
33291         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33292         Update #include.
33293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33294         Moved ...
33295         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33296         Update #include.
33297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33298         Moved ...
33299         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33300         Update #include.
33301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33302         Moved ...
33303         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33304         Update #include.
33305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33306         Moved ...
33307         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33308         Update #include.
33309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33310         Moved ...
33311         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33312         Update #include.
33313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33314         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33320         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33322         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33324         Moved ...
33325         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33327         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33329         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33331 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33333         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33334         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33335         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33336         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33337         * nscd/nscd.c: Likewise.
33338         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33339         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33340         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33341         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33343         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33344         <kernel-features.h>.
33345         (init_mq_netlink): Remove conditional have_sock_cloexec
33346         definitions.  Remove code conditional on have_sock_cloexec < 0.
33347         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33348         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33349         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33350         <kernel-features.h>.
33351         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33352         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33354 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33356         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33357         Add tests for memset_chk and memset.
33359         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33360         with AVX2_Usable.
33362 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33364         [BZ #16046]
33365         * elf/tst-dl-iter-static.c: New file.
33366         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33368         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33369         error.
33371 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33373         * sysdeps/unix/sysv/linux/kernel-features.h
33374         (__ASSUME_F_GETOWN_EX): Remove macro.
33375         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33376         <kernel-features.h>.
33377         (miss_F_GETOWN_EX): Remove variable or macro.
33378         (do_fcntl): Do not check miss_F_GETOWN_EX.
33379         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33381         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33382         Remove macro.
33383         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33384         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33385         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33387         * sysdeps/unix/sysv/linux/kernel-features.h
33388         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33389         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33390         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33391         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33393 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33395         [BZ #17075]
33396         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33397         Fix calculation of the symbol's value.
33398         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33399         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33400         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33401         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33402         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33403         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33404         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33405         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33406         (modules-names): Add `tst-armtlsdescmod',
33407         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33408         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33409         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33410         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33411         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33412         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33413         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33414         ($(objpfx)tst-armtlsdescloc): New dependency.
33415         ($(objpfx)tst-armtlsdescextnow): Likewise.
33416         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33417         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33418         TLS scheme support.
33419         * sysdeps/arm/configure: Regenerate.
33421 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33423         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33424         (__atfct_seterrno_2): Likewise.
33425         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33426         <kernel-features.h>.
33427         (__ASSUME_ATFCTS): Do not undefine and redefine.
33428         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33429         (__have_atfcts): Remove conditional definition.
33430         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33431         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33432         unreachable if [__ASSUME_ATFCTS].
33433         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33434         not undefine and redefine.
33435         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33436         <kernel-features.h>.
33437         (faccessat) [__NR_faccessat]: Make code unconditional.
33438         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33439         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33440         <kernel-features.h>.
33441         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33442         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33443         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33444         <kernel-features.h>.
33445         (fchownat) [__NR_fchownat]: Make code unconditional.
33446         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33447         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33448         <kernel-features.h>.
33449         (futimesat) [__NR_futimesat]: Make code unconditional.
33450         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33451         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33452         <kernel-features.h>.
33453         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33454         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33455         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33456         <kernel-features.h>.
33457         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33458         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33459         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33460         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33461         <kernel-features.h>.
33462         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33463         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33464         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33465         <kernel-features.h>.
33466         (linkat) [__NR_linkat]: Make code unconditional.
33467         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33468         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33469         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33470         <kernel-features.h>.
33471         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33472         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33473         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33474         <kernel-features.h>.
33475         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33476         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33477         * sysdeps/unix/sysv/linux/openat.c: Do not include
33478         <kernel-features.h>.
33479         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33480         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33481         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33482         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33483         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33484         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33485         <kernel-features.h>.
33486         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33487         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33488         result of INLINE_SYSCALL directly, not via int variable.
33489         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33490         <kernel-features.h>.
33491         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33492         (renameat) [__NR_renameat]: Make code unconditional.
33493         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33494         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33495         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33496         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33497         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33498         (__ASSUME_ATFCTS): Do not undefine and redefine.
33499         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33500         <kernel-features.h>.
33501         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33502         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33503         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33504         <kernel-features.h>.
33505         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33506         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33507         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33508         (__ASSUME_ATFCTS): Do not undefine and redefine.
33509         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33510         <kernel-features.h>.
33511         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33512         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33513         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33514         <kernel-features.h>.
33515         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33516         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33518 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33520         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33522 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33524         [BZ #17069]
33525         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33526         constructed tree before returning error.
33527         * posix/bug-regexp36.c: Expand test case.
33529 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33531         [BZ #6803]
33532         * math/libm-test.inc (scalbln_test_date):
33533         Add errno expectations.
33534         * math/w_scalblnf.c: New File.
33535         Add wrapper which checks for setting errno to ERANGE.
33536         Add weak_alias for corresponding scalbln function.
33537         * math/w_scalbln.c: Likewise.
33538         * math/w_scalblnl.c: Likewise.
33539         * math/Makefile (libm-calls): Add w_scalbln.
33540         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33541         Remove weak_alias for corresponding scalbln function.
33542         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33543         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33544         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33545         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33546         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33547         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33548         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33549         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33550         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33551         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33552         Remove long_double_symbol for scalblnl function in libm, libc.
33553         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33554         Add wrapper which checks for setting errno to ERANGE.
33555         Add long_double_symbol for scalblnl function in libm, libc.
33556         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33557         Remove long_double_symbol for scalblnl in libm.
33558         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33559         Add wrapper which checks for setting errno to ERANGE.
33560         Add long_double_symbol for scalblnl function in libm.
33561         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33562         Do not use wrapper because of own implementation.
33564 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33566         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33567         3 bytes for __pad1 for x32.
33568         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33570 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33571             H.J. Lu  <hongjiu.lu@intel.com>
33573         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33574         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33575         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33576         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33577         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33579 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33581         [BZ #17069]
33582         * posix/regcomp.c (parse_expression): Deallocate partially
33583         constructed tree before returning error.
33584         * posix/Makefile.c (tests): Add bug-regex36.
33585         (generated): Add bug-regex36.mtrace.
33586         (tests-special): Add $(objpfx)bug-regex36-mem.out
33587         (bug-regex36-ENV): New variable.
33588         ($(objpfx)bug-regex36-mem.out): New rule.
33589         * posix/bug-regex36.c: New file.
33591 2014-06-19  Will Newton  <will.newton@linaro.org>
33593         * malloc/malloc.c (systrim): If extra is zero then return
33594         early.
33596 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33598         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33600 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33602         * sysdeps/aarch64/strchr.S: New file.
33604 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33606         [BZ #17022]
33607         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33608         from arguments -2 or below.
33609         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33610         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33612 2014-06-18  Andreas Schwab  <schwab@suse.de>
33614         [BZ #17062]
33615         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33616         of a bracket expr not to run off the end of the string.
33617         * posix/Makefile (tests): Add tst-fnmatch3.
33618         * posix/tst-fnmatch3.c: New file.
33620 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33622         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33623         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33624         [$(cross-compiling) = no]: Likewise.
33625         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33626         [$(cross-compiling) = no]: Likewise.
33628 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33630         [BZ #17031]
33631         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33632         double, adjusted for any remainder from the high double.
33633         * math/libm-test.inc (nearbyint): Add tests.
33634         (rint): Likewise.
33636 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33638         * nptl/sysdeps/powerpc/Makefile: Moved ...
33639         * sysdeps/powerpc/nptl/Makefile: ... here.
33640         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33641         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33642         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33643         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33644         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33645         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33646         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33647         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33648         * nptl/sysdeps/powerpc/tls.h: Moved ...
33649         * sysdeps/powerpc/nptl/tls.h: ... here.
33651 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33653         [BZ #16681]
33654         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33655         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33656         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33657         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33658         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33659         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33660         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33661         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33662         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33664 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33666         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33668 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33670         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33671         defined operator.
33673         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33674         $TIMEOUTFACTOR.
33676 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33678         [BZ #17058]
33679         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33680         non-executed part of the test.
33682 2014-06-16  Andreas Schwab  <schwab@suse.de>
33684         * string/bits/string2.h (strdup, strndup): Update feature guard.
33686 2014-06-14  David S. Miller  <davem@davemloft.net>
33688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33690 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33692         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33693         that was previously under [RESET_PID].
33694         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33696         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33697         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33698         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33699         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33700         (__libc_vfork): New strong alias.
33701         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33703 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33705         * sysdeps/generic/elide.h: New file.
33707 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33709         * Makefile (installed-headers): Adjust path of pthread.h header.
33711 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33713         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33714         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33715         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33716         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33718         * nptl/sysdeps/s390/Makefile: Moved ...
33719         * sysdeps/s390/nptl/Makefile: ... here.
33720         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33721         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33722         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33723         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33724         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33725         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33726         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33727         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33728         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33729         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33730         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33731         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33732         * nptl/sysdeps/s390/tls.h: Moved ...
33733         * sysdeps/s390/nptl/tls.h: ... here.
33735         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33736         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33738 2014-06-13  David S. Miller  <davem@davemloft.net>
33740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33743         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33747         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33748         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33749         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33750         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33751         Remove RESET_PID cpp guards.
33752         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33753         Remove RESET_PID cpp guards.
33754         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33756 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33758         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33759         __sp to uintptr_t.
33761 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33763         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33764         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33765         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33766         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33767         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33768         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33769         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33770         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33771         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33772         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33773         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33774         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33775         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33776         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33777         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33778         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33779         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33780         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33781         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33782         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33784         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33785         (pthread_rwlock_rdlock): Add elision.
33786         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33787         (pthread_rwlock_wrlock): Add elision.
33788         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33789         (pthread_rwlock_trywrlock): Add elision.
33790         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33791         (pthread_rwlock_tryrdlock): Add elision.
33792         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33793         (pthread_rwlock_tryrdlock): Add elision unlock.
33794         * nptl/sysdeps/pthread/pthread.h:
33795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33796         (PTHREAD_RWLOCK_INITIALIZER,
33797         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33798         Handle new elision field.
33799         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33800         * sysdeps/arm/nptl/bits/pthreadtypes.h
33801         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33802         * sysdeps/sh/nptl/bits/pthreadtypes.h
33803         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33804         * sysdeps/tile/nptl/bits/pthreadtypes.h
33805         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33806         * sysdeps/a/nptl/bits/pthreadtypes.h
33807         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33808         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33810         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33812         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33813         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33814         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33815         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33816         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33817         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33818         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33819         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33820         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33821         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33822         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33823         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33824         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33825         (elision_init): Set try_xbegin to zero when no RTM.
33826         * sysdeps/x86/nptl/bits/pthreadtypes.h
33827         (pthread_rwlock_t): Change __pad1 to __rwelision.
33828         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33830 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33832         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33833         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33834         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33835         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33837 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33839         [BZ #16996]
33840         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33841         that the cached result has been set before returning it.
33843 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33845         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33846         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33847         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33848         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33849         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33850         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33852         * nptl/sysdeps/sparc/Makefile: Moved ...
33853         * sysdeps/sparc/nptl/Makefile: ... here.
33854         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33855         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33856         * nptl/sysdeps/sparc/tls.h: Moved ...
33857         * sysdeps/sparc/nptl/tls.h: ... here.
33858         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33859         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33860         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33861         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33862         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33863         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33864         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33865         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33866         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33867         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33868         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33869         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33870         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33871         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33872         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33873         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33874         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33875         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33876         Update #include.
33877         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33878         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33879         Update #include.
33880         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33881         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33882         Update #include.
33883         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33884         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33885         Update #include.
33887         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33889         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33890         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33892         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33893         (struct list_links): Type removed.
33894         (struct thread_node, struct timer_node): Replace struct list_links
33895         with struct list_head.
33896         (list_unlink_ip): Likewise.
33897         * sysdeps/pthread/timer_routines.c
33898         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33899         (list_append, list_insbefore): Likewise.
33900         (list_init): Function removed.
33901         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33902         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33903         * sysdeps/pthread/Makefile: ... here, new file.
33905         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33906         * sysdeps/nptl/Implies: ... here.
33907         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33908         * nptl/sysdeps/pthread/list.h: Moved ...
33909         * include/list.h: ... here.
33910         * nptl/sysdeps/pthread/createthread.c: Moved ...
33911         * nptl/createthread.c: ... here.
33912         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33913         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33914         * nptl/pt-longjmp.c: ... here.
33915         * nptl/sysdeps/pthread/Makefile: Moved ...
33916         * sysdeps/nptl/Makefile: ... here.
33917         * nptl/sysdeps/pthread/Subdirs: Moved ...
33918         * sysdeps/nptl/Subdirs: ... here.
33919         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33920         * sysdeps/nptl/aio_misc.h: ... here.
33921         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33922         * sysdeps/nptl/bits/libc-lock.h: ... here.
33923         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33924         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33925         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33926         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33927         * nptl/sysdeps/pthread/configure: Moved ...
33928         * sysdeps/nptl/configure: ... here.
33929         * nptl/sysdeps/pthread/configure.ac: Moved ...
33930         * sysdeps/nptl/configure.ac: ... here.
33931         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33932         * sysdeps/nptl/gai_misc.h: ... here.
33933         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33934         * sysdeps/nptl/librt-cancellation.c: ... here.
33935         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33936         * sysdeps/nptl/malloc-machine.h: ... here.
33937         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33938         * sysdeps/nptl/pthread-functions.h: ... here.
33939         * nptl/sysdeps/pthread/pthread.h: Moved ...
33940         * sysdeps/nptl/pthread.h: ... here.
33941         * nptl/sysdeps/pthread/setxid.h: Moved ...
33942         * sysdeps/nptl/setxid.h: ... here.
33943         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33944         * sysdeps/nptl/sigfillset.c: ... here.
33945         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33946         * sysdeps/nptl/tcb-offsets.h: ... here.
33947         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33948         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33949         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33950         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33951         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33952         * sysdeps/pthread/allocalim.h: ... here.
33953         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33954         * sysdeps/pthread/bits/sigthread.h: ... here.
33955         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33956         * sysdeps/pthread/flockfile.c: ... here.
33957         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33958         * sysdeps/pthread/ftrylockfile.c: ... here.
33959         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33960         * sysdeps/pthread/funlockfile.c: ... here.
33961         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33962         * sysdeps/pthread/posix-timer.h: ... here.
33963         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33964         * sysdeps/pthread/timer_create.c: ... here.
33965         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33966         * sysdeps/pthread/timer_delete.c: ... here.
33967         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33968         * sysdeps/pthread/timer_getoverr.c: ... here.
33969         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33970         * sysdeps/pthread/timer_gettime.c: ... here.
33971         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33972         * sysdeps/pthread/timer_routines.c: ... here.
33973         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33974         * sysdeps/pthread/timer_settime.c: ... here.
33975         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33976         * sysdeps/pthread/tst-timer.c: ... here.
33977         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33978         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33980         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33981         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33983         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33984         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33985         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33986         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33987         Update #include target.
33988         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33989         * sysdeps/i386/i686/nptl/Makefile: ... here.
33990         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33991         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33992         Update #include target.
33993         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33994         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33995         * nptl/sysdeps/i386/Makefile: Moved ...
33996         * sysdeps/i386/nptl/Makefile: ... here.
33997         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33998         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33999         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34000         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34001         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34002         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34003         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34004         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34005         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34006         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34007         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34008         * nptl/sysdeps/i386/tls.h: Moved ...
34009         * sysdeps/i386/nptl/tls.h: ... here.
34011         * sysdeps/sh/Makefile [$(subdir) = csu]
34012         (gen-as-const-headers): Add tcb-offsets.sym.
34013         * nptl/sysdeps/sh/Makefile: File removed.
34014         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34015         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34016         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34017         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34018         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34019         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34020         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34021         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34022         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34023         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34024         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34025         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34026         * nptl/sysdeps/sh/tls.h: Moved ...
34027         * sysdeps/sh/nptl/tls.h: ... here.
34028         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34029         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34030         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34031         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34032         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34033         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34034         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34035         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34036         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34037         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34038         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34039         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34040         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34041         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34042         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34043         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34044         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34045         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34046         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34047         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34048         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34049         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34050         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34051         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34052         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34053         Moved ...
34054         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34055         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34056         Moved ...
34057         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34058         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34059         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34060         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34061         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34062         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34063         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34064         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34065         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34066         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34067         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34068         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34069         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34070         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34071         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34072         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34073         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34074         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34075         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34077 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34079         * posix/spawn_faction_addopen.c: Include string.h.
34081 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34083         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34084         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34085         * nptl/sysdeps/x86_64/Makefile: Moved ...
34086         * sysdeps/x86_64/nptl/Makefile: ... here.
34087         * nptl/sysdeps/x86_64/configure: Moved ...
34088         * sysdeps/x86_64/nptl/configure: ... here.
34089         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34090         * sysdeps/x86_64/nptl/configure.ac: ... here.
34091         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34092         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34093         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34094         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34095         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34096         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34097         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34098         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34099         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34100         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34101         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34102         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34103         * nptl/sysdeps/x86_64/tls.h: Moved ...
34104         * sysdeps/x86_64/nptl/tls.h: ... here.
34105         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34106         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34107         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34108         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34110         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34112 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34116 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34118         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34119         type.
34120         [POSIX] (off_t): Likewise.
34121         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34122         [POSIX] (S_ISBLK): Require macro.
34123         [POSIX] (S_ISCHR): Likewise.
34124         [POSIX] (S_ISDIR): Likewise.
34125         [POSIX] (S_ISFIFO): Likewise.
34126         [POSIX] (S_ISREG): Likewise.
34127         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34128         optional-macro.
34129         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34130         type.
34131         [POSIX] (time_t): Likewise.
34132         [POSIX] (timer_t): Likewise.
34134 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34136         [BZ #17048]
34137         * posix/spawn_int.h (struct __spawn_action): Make the path string
34138         non-const to support deallocation.
34139         * posix/spawn_faction_addopen.c
34140         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34141         * posix/spawn_faction_destroy.c
34142         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34143         path in all spawn_do_open actions.
34144         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34145         posix_spawn_file_actions_addopen.
34147 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34149         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34150         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34151         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34152         conditional code always true.
34153         (__libc_vfork): New alias.
34155 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34157         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34158         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34160         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34162         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34163         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34165         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34166         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34168         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34169         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34171 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34173         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34174         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34175         multiarch strcmp for PPC64.
34176         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34177         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34179         multiarch optimizations.
34180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34181         (__libc_ifunc_impl_list): Likewise.
34183 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34185         * benchtests/scripts/validate_benchout.py: New script.
34186         * benchtests/Makefile (bench-func): Call it.
34187         * benchtests/scripts/benchout.schema.json: New file.
34189 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34191         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34192         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34193         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34194         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34195         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34196         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34197         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34198         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34199         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34200         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34201         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34202         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34203         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34204         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34205         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34206         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34208         Moved ...
34209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34210         ... here.
34211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34212         Moved ...
34213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34215         Moved ...
34216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34217         ... here.
34218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34219         Moved ...
34220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34221         ... here.
34222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34223         Moved ...
34224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34226         Moved ...
34227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34228         ... here.
34229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34230         Moved ...
34231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34232         ... here.
34233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34234         Moved ...
34235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34237         Moved ...
34238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34239         ... here.
34240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34241         Moved ...
34242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34243         ... here.
34244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34245         Moved ...
34246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34247         ... here.
34248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34249         Moved ...
34250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34252         Moved ...
34253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34254         ... here.
34255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34256         Moved ...
34257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34258         ... here.
34259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34260         Moved ...
34261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34262         ... here.
34263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34264         Moved ...
34265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34267         Moved ...
34268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34269         ... here.
34270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34271         Moved ...
34272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34273         ... here.
34274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34275         Moved ...
34276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34278         Moved ...
34279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34280         ... here.
34281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34282         Moved ...
34283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34285         Moved ...
34286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34288         Moved ...
34289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34290         ... here.
34291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34292         Moved ...
34293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34294         ... here.
34295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34296         Moved ...
34297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34298         ... here.
34299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34300         Moved ...
34301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34303         Moved ...
34304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34305         ... here.
34306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34307         Moved ...
34308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34309         ... here.
34310         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34311         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34312         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34313         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34314         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34315         Moved ...
34316         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34317         ... here.
34318         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34319         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34320         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34321         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34322         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34323         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34324         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34325         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34326         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34327         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34328         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34329         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34330         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34331         Moved ...
34332         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34333         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34334         Moved ...
34335         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34336         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34337         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34338         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34339         Moved ...
34340         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34342         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34343         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34344         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34345         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34346         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34348 2014-06-10  Wilco  <wdijkstr@arm.com>
34350         * math/test-fenv-return.c: New file.
34351         * math/Makefile: Add new test test-fenv-return.
34353 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34355         [BZ #17042]
34356         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34357         when x - 1 is zero.
34358         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34359         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34360         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34361         0.0L for an argument of 1.0L.
34362         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34363         Likewise.
34364         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34365         value when x - 1 is zero.
34366         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34367         * sysdeps/i386/fpu/libm-test-ulps: Update.
34368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34370 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34372         [BZ #15119]
34373         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34375 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34377         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34378         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34380 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34382         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34383         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34385         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34386         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34388         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34389         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34391         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34392         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34394         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34395         if not already defined.
34396         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34397         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34398         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34399         (TLS_INIT_TP): Use it.
34400         (TLS_DEFINE_INIT_TP): New macro.
34401         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34403 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34405         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34406         constant.
34407         [POSIX] (IXANY): Likewise.
34408         [POSIX] (OLCUC): Likewise.
34409         [POSIX || POSIX2008] (CBAUD): Do not allow.
34410         [POSIX || POSIX2008] (DEFECHO): Likewise.
34411         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34412         [POSIX || POSIX2008] (ECHOKE): Likewise.
34413         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34414         [POSIX || POSIX2008] (EXTA): Likewise.
34415         [POSIX || POSIX2008] (EXTB): Likewise.
34416         [POSIX || POSIX2008] (FLUSHO): Likewise.
34417         [POSIX || POSIX2008] (LOBLK): Likewise.
34418         [POSIX || POSIX2008] (PENDIN): Likewise.
34419         [POSIX || POSIX2008] (SWTCH): Likewise.
34420         [POSIX || POSIX2008] (VDISCARD): Likewise.
34421         [POSIX || POSIX2008] (VDSUSP): Likewise.
34422         [POSIX || POSIX2008] (VLNEXT): Likewise.
34423         [POSIX || POSIX2008] (VREPRINT): Likewise.
34424         [POSIX || POSIX2008] (VSTATUS): Likewise.
34425         [POSIX || POSIX2008] (VWERASE): Likewise.
34426         (B*): Change to B[0123456789]*.
34427         * conform/data/time.h-data [POSIX || UNIX98]
34428         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34429         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34430         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34431         [POSIX] (tm_*): Do not allow.
34433 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34435         * Makefile (install): Don't set LANGUAGE.
34436         * Makefile.in (install): Likewise.
34437         * assert/Makefile (test-assert-ENV): Remove variable.
34438         (test-assert-perr-ENV): Likewise.
34439         * elf/Makefile (neededtest4-ENV): Likewise.
34440         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34441         [$(cross-compiling) = no]: Don't set LANGUAGE.
34442         * io/ftwtest-sh (LANG): Remove variable.
34443         * libio/Makefile (tst-widetext-ENV): Likewise.
34444         * manual/install.texi (Running make install): Don't refer to
34445         environment settings for make install.
34446         * INSTALL: Regenerated.
34447         * nptl/tst-tls6.sh: Don't set LANG.
34448         * posix/globtest.sh (LANG): Remove variable.
34449         * string/Makefile (tester-ENV): Likewise.
34450         (inl-tester-ENV): Likewise.
34451         (noinl-tester-ENV): Likewise.
34452         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34453         [$(cross-compiling) = no]: Don't set LANGUAGE.
34454         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34455         without explicit environment settings.
34457 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34459         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34460         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34461         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34462         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34464 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34466         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34467         other files in the crypt directory.
34468         * crypt/crypt.c: Remove duplicate includes.
34469         * crypt/crypt-entry.c: Likewise.
34470         * crypt/crypt_util.c: Likewise.
34472 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34474         * Makeconfig (run-program-env): New variable.
34475         (run-program-prefix-before-env): Likewise.
34476         (run-program-prefix-after-env): Likewise.
34477         (run-program-prefix): Define in terms of new variables.
34478         (built-program-cmd-before-env): New variable.
34479         (built-program-cmd-after-env): Likewise.
34480         (built-program-cmd): Define in terms of new variables.
34481         (test-program-prefix-before-env): New variable.
34482         (test-program-prefix-after-env): Likewise.
34483         (test-program-prefix): Define in terms of new variables.
34484         (test-program-cmd-before-env): New variable.
34485         (test-program-cmd-after-env): Likewise.
34486         (test-program-cmd): Define in terms of new variables.
34487         * Rules (make-test-out): Use $(run-program-env).
34488         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34489         (help): Do not mention environment variables.  Mention
34490         --timeoutfactor option.
34491         (timeoutfactor): New variable.
34492         (blacklist_exports): Remove function.
34493         (exports): Remove variable.
34494         (command): Do not include ${exports}.
34495         * manual/install.texi (Configuring and compiling): Do not mention
34496         test wrappers preserving environment variables.  Mention that last
34497         assignment to a variable must take precedence.
34498         * INSTALL: Regenerated.
34499         * benchtests/Makefile (run-bench): Use $(run-program-env).
34500         * catgets/Makefile ($(objpfx)test1.cat): Use
34501         $(built-program-cmd-before-env), $(run-program-env) and
34502         $(built-program-cmd-after-env).
34503         ($(objpfx)test2.cat): Do not specify environment variables
34504         explicitly.
34505         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34506         $(run-program-env) and $(built-program-cmd-after-env).
34507         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34508         $(run-program-env) and $(test-program-cmd-after-env).
34509         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34510         explicitly.
34511         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34512         run_program_env and test_program_cmd_after_env arguments.
34513         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34514         * elf/tst-pathopt.sh: Use run_program_env argument.
34515         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34516         $(test-wrapper-env) and $(run-program-env).
34517         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34518         run_program_env arguments.
34519         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34520         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34521         $(test-program-prefix-before-env), $(run-program-env) and
34522         $(test-program-prefix-after-env).
34523         ($(objpfx)tst-gettext2.out): Likewise.
34524         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34525         run_program_env and test_program_prefix_after_env arguments.
34526         * intl/tst-gettext2.sh: Likewise.
34527         * intl/tst-gettext4.sh: Do not set environment variables
34528         explicitly.
34529         * intl/tst-gettext6.sh: Likewise.
34530         * intl/tst-translit.sh: Likewise.
34531         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34532         $(test-program-prefix-before-env), $(run-program-env) and
34533         $(test-program-prefix-after-env).
34534         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34535         run_program_env and test_program_prefix_after_env arguments.
34536         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34537         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34538         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34539         explicitly with each use of ${test_wrapper_env}.
34540         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34541         $(test-program-prefix-before-env), $(run-program-env) and
34542         $(test-program-prefix-after-env).
34543         * posix/tst-getconf.sh: Do not set environment variables
34544         explicitly.
34545         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34546         run_program_env and test_program_prefix_after_env arguments.
34547         * stdio-common/tst-printf.sh: Do not set environment variables
34548         explicitly.
34549         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34550         $(test-program-prefix-before-env), $(run-program-env) and
34551         $(test-program-prefix-after-env).
34552         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34553         run_program_env and test_program_prefix_after_env arguments.
34554         Split $test calls into $test_pre and $test.
34555         * timezone/Makefile (build-testdata): Use
34556         $(built-program-cmd-before-env), $(run-program-env) and
34557         $(built-program-cmd-after-env).
34559 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34561         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34562         strlen for non SHARED builds.
34564 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34566         * nptl/allocatestack.c (check_list): Inlined function...
34567         (__reclaim_stacks): ... here.
34569 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34571         [BZ #15698]
34572         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34573         memory overrun.
34575 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34577         * Rules (make-test-out): Include
34578         LOCPATH=$(common-objpfx)localedata in default environment.
34579         * debug/Makefile (tst-chk1-ENV): Remove variable.
34580         (tst-chk2-ENV): Likewise.
34581         (tst-chk3-ENV): Likewise.
34582         (tst-chk4-ENV): Likewise.
34583         (tst-chk5-ENV): Likewise.
34584         (tst-chk6-ENV): Likewise.
34585         (tst-lfschk1-ENV): Likewise.
34586         (tst-lfschk2-ENV): Likewise.
34587         (tst-lfschk3-ENV): Likewise.
34588         (tst-lfschk4-ENV): Likewise.
34589         (tst-lfschk5-ENV): Likewise.
34590         (tst-lfschk6-ENV): Likewise.
34591         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34592         (tst-iconv7-ENV): Likewise.
34593         * intl/Makefile (LOCPATH-ENV): Likewise.
34594         (tst-codeset-ENV): Likewise.
34595         (tst-gettext3-ENV): Likewise.
34596         (tst-gettext5-ENV): Likewise.
34597         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34598         (tst-fopenloc-ENV): Likewise.
34599         (tst-fgetws-ENV): Remove variable.
34600         (tst-ungetwc1-ENV): Likewise.
34601         (tst-ungetwc2-ENV): Likewise.
34602         (bug-ungetwc2-ENV): Likewise.
34603         (tst-swscanf-ENV): Likewise.
34604         (bug-ftell-ENV): Likewise.
34605         (tst-fgetwc-ENV): Likewise.
34606         (tst-fseek-ENV): Likewise.
34607         (tst-ftell-partial-wide-ENV): Likewise.
34608         (tst-ftell-active-handler-ENV): Likewise.
34609         (tst-ftell-append-ENV): Likewise.
34610         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34611         (tst-regexloc-ENV): Likewise.
34612         (bug-regex1-ENV): Likewise.
34613         (tst-regex-ENV): Likewise.
34614         (tst-regex2-ENV): Likewise.
34615         (bug-regex5-ENV): Likewise.
34616         (bug-regex6-ENV): Likewise.
34617         (bug-regex17-ENV): Likewise.
34618         (bug-regex18-ENV): Likewise.
34619         (bug-regex19-ENV): Likewise.
34620         (bug-regex20-ENV): Likewise.
34621         (bug-regex22-ENV): Likewise.
34622         (bug-regex23-ENV): Likewise.
34623         (bug-regex25-ENV): Likewise.
34624         (bug-regex26-ENV): Likewise.
34625         (bug-regex30-ENV): Likewise.
34626         (bug-regex32-ENV): Likewise.
34627         (bug-regex33-ENV): Likewise.
34628         (bug-regex34-ENV): Likewise.
34629         (bug-regex35-ENV): Likewise.
34630         (tst-rxspencer-ENV): Likewise.
34631         (tst-rxspencer-no-utf8-ENV): Likewise.
34632         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34633         (tst-sscanf-ENV): Likewise.
34634         (tst-swprintf-ENV): Likewise.
34635         (tst-swscanf-ENV): Likewise.
34636         (test-vfprintf-ENV): Likewise.
34637         (scanf13-ENV): Likewise.
34638         (bug14-ENV): Likewise.
34639         (tst-grouping-ENV): Likewise.
34640         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34641         (tst-strtod3-ENV): Likewise.
34642         (tst-strtod4-ENV): Likewise.
34643         (tst-strtod5-ENV): Likewise.
34644         (testmb2-ENV): Likewise./
34645         * string/Makefile (tst-strxfrm-ENV): Likewise.
34646         (tst-strxfrm2-ENV): Likewise.
34647         (bug-strcoll1-ENV): Likewise.
34648         (test-strcasecmp-ENV): Likewise.
34649         (test-strncasecmp-ENV): Likewise.
34650         * time/Makefile (tst-strptime-ENV): Likewise.
34651         (tst-ftime_l-ENV): Likewise.
34652         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34653         (tst-mbrtowc-ENV): Likewise.
34654         (tst-wcrtomb-ENV): Likewise.
34655         (tst-mbrtowc2-ENV): Likewise.
34656         (tst-c16c32-1-ENV): Likewise.
34657         (tst-mbsnrtowcs-ENV): Likewise.
34659 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34661         * manual/resource.texi (How to get information about the memory
34662         subsystem?): Fix typo.
34663         Reported by Peon de la Parra Ivan <peon@keba.com>
34665 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34667         [BZ #16882]
34668         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34669         (pthread_spin_lock): Branch out of spin loop to proper location.
34670         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34671         (pthread_spin_lock): Likewise.
34673         * nptl/tst-spin4.c: New test.
34674         * nptl/Makefile (tests): Add tst-spin4.
34676 2014-06-03  Andreas Schwab  <schwab@suse.de>
34678         [BZ #15946]
34679         * resolv/res_send.c (send_dg): Reload file descriptor after
34680         calling reopen.
34682 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34684         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34686 2014-06-03  Richard Henderson  <rth@redhat.com>
34688         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34689         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34690         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34691         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34692         in the SAVE_PID block.
34693         (__libc_vfork): New alias.
34694         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34696         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34697         child in registers, not on the stack.  Remove RESET_PID conditionals.
34698         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34700 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34702         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34704 2014-06-03  Wilco  <wdijkstr@arm.com>
34706         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34707         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34708         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34709         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34710         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34711         Likewise.
34713 2014-06-03  Wilco  <wdijkstr@arm.com>
34715         * sysdeps/aarch64/fpu/math_private.h
34716         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34717         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34718         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34719         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34720         Fix declarations.
34722 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34724         * crypt/crypt-private.h: Include ufc-crypt.h.
34725         (__b64_from_24bit): Declare extern.
34726         * crypt/crypt_util.c(__b64_from_24bit): New function.
34727         (b64t): New static const variable.
34728         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34729         (b64t): Remove variable.
34730         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34731         * crypt/sha256-crypt.c: Include crypt-private.h.
34732         (b64t): Remove variable.
34733         (__sha256_crypt_r): Remove b64_from_24bit and replace
34734         with __b64_from_24bit.
34735         * crypt/sha512-crypt.c: Likewise.
34737 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34739         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34740         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34741         Label the code __libc_vfork rather than __vfork.
34742         [!NOT_IN_libc] (vfork): Define as weak alias.
34743         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34744         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34745         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34747 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34749         * malloc/malloc.c (malloc_info): Fix format specifier for
34750         n_mmaps.
34752 2014-06-02  Wilco  <wdijkstr@arm.com>
34754         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34755         FPCR write.
34757 2014-06-02  Wilco  <wdijkstr@arm.com>
34759         [BZ #17009]
34760         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34761         Rewrite to reduce FPCR/FPSR accesses.
34763 2014-06-01  David S. Miller  <davem@davemloft.net>
34765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34767 2014-05-31  David S. Miller  <davem@davemloft.net>
34769         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34770         to occur in round to nearest mode when |x| >= 2.0
34772 2014-05-30  Richard Henderson  <rth@twiddle.net>
34774         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34775         (PSEUDO_RET_NOERRNO): Remove.
34776         (ret): Don't redefine.
34777         (ret_NOERRNO): Define in terms of ret.
34778         (ret_ERRVAL): Likewise.
34780         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34781         use of PSEUDO_RET; perform the error check directly.
34783 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34785         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34786         with __int128_t.
34788 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34790         * malloc/malloc (malloc_info): Fix formatting.
34792 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34793             Roland McGrath  <roland@hack.frob.com>
34795         * malloc/malloc (malloc_info): Also print mmapped statistics.
34797 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34799         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34800         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34802 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34804         * malloc/malloc.c (malloc_info): Inline mi_arena.
34806 2014-05-29  Richard Henderson  <rth@twiddle.net>
34808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34809         Remove comma before expanding ASM_ARGS_##nr.
34810         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34811         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34812         of ASM_ARGS_##nr.
34813         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34814         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34815         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34816         (ASM_ARGS_1): Add leading comma.
34818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34819         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34820         to __errno_location.
34821         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34822         Remove the expected plt for __errno_location.
34824         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34825         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34826         call to __read_tp.
34828         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34829         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34830         it and break it down.
34831         (DOCARGS_0, DOCARGS_1): Do nothing.
34832         (DOCARGS_2): Update to store into the new stack frame.
34833         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34834         (UNDOCARGS_1): Update to restore from the new stack frame.
34835         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34836         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34838         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34839         (SINGLE_THREAD_P): New parameter for result regno.
34840         (PSEUDO): Update to match; use cbz instead of beq.
34842         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34843         Use ENTRY to define the _nocancel entry point.  Share the syscall
34844         and syscall error check paths with the cancel path.
34845         (PSEUDO_END): New.
34847         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34848         whitespace; tabs before and after asm mnemonics.
34850 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34852         [BZ #15132]
34853         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34854         Call fstat64 or stat64 internally, depending on arguments passed.
34855         Replace stat buffer argument with file descriptor argument.
34856         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34857         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34858         Pass fd to __internal_statvfs instead of calling fstat64.
34859         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34860         Pass fd to __internal_statvfs64 instead of calling fstat64.
34861         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34862         Pass -1 to __internal_statvfs instead of calling stat64.
34863         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34864         Pass -1 to __internal_statvfs64 instead of calling stat64.
34866 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34868         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34869         that was previously under [RESET_PID].
34870         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34872         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34873         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34875 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34877         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34879         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34880         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34882 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34884         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34886 2014-05-27  Andreas Schwab  <schwab@suse.de>
34888         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34889         TLS_INIT_TP macro.
34890         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34891         * elf/rtld.c (init_tls, dl_main): Likewise.
34892         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34893         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34894         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34895         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34896         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34897         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34898         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34899         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34900         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34901         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34902         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34903         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34904         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34905         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34906         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34907         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34908         * sysdeps/generic/tls.h: Update description.
34910 2014-05-27  Will Newton  <will.newton@linaro.org>
34912         [BZ #16990]
34913         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34914         and restore r2 rather than just restoring.
34916 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34918         [BZ #16724]
34919         * libio/tst-ftell-append.c: New test case.
34920         * libio/Makefile (tests): Add test case.
34921         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34922         append mode.
34923         * libio/wfileops.c (do_ftell_wide): Likewise.
34925 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34929         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34930         ...
34931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34933         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34934         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34935         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34936         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34937         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34940         Moved ...
34941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34942         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34943         Moved ...
34944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34945         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34946         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34947         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34948         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34949         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34950         ...
34951         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34952         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34953         Moved ...
34954         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34955         here.
34956         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34957         ...
34958         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34959         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34960         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34962         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34963         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34964         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34965         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34967         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34968         merge into ...
34969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34970         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34971         ...
34972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34974         ...
34975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34976         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34977         Moved ...
34978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34979         here.
34980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34981         Moved ...
34982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34983         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34984         Moved ...
34985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34988         conditional [RESET_PID].
34989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34990         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34991         removed.
34992         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34993         removed.
34995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34996         <tcb-offsets.h>.
34997         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34998         (__libc_vfork): New strong alias.
34999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35000         removed.
35001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35002         Removed.
35004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35005         <tcb-offsets.h>.
35006         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35007         (__libc_vfork): New strong alias.
35008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35009         removed.
35010         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35011         removed.
35013 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35015         * malloc/malloc.c (mi_arena): New function.
35016         (malloc_info): Remove nested function mi_arena. Call non-nosted
35017         function mi_arena.
35019 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35021         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35022         by insrwi.
35023         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35024         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35025         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35026         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35027         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35028         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35029         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35031 2014-05-26  Andreas Schwab  <schwab@suse.de>
35033         [BZ #16984]
35034         * locale/programs/repertoire.c (repertoire_read): Add slash
35035         between I18NPATH element and file name.
35036         * locale/programs/locfile.c (locfile_read): Likewise.
35038 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35040         * nptl/pthread_mutexattr_settype.c
35041         (__pthread_mutexattr_settype):
35042         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35044 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35046         * nptl/tst-mutex5 (do_test):
35047         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35049 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35051         * benchtests/README: Document 'init' directive.
35052         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35053         BENCH_INIT.
35054         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35055         (parse_file): Recognize 'init' directive.
35057 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35059         [BZ #16796]
35060         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35061         alignment of struct pthread.
35063 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35065         [BZ #16878]
35066         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35067         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35068         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35069         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35071 2014-05-25  Richard Henderson  <rth@twiddle.net>
35073         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35074         (SINGLE_THREAD_P_PIC): Remove.
35075         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35076         (SINGLE_THREAD_P_PIC): Remove.
35078         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35079         branch to syscall error ...
35080         (PSEUDO): ... here.
35081         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35082         from __local_syscall_error to .Lsyscall_error.
35083         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35084         (SYSCALL_ERROR): Update label name.
35086         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35087         Do not use DOARGS/UNDOARGS.
35088         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35089         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35090         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35091         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35092         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35095         block comment.
35097         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35098         define if !NOT_IN_libc.
35099         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35100         define with non-default symbol versions.
35102 2014-05-23  Richard Henderson  <rth@twiddle.net>
35104         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35105         (vfork, __vfork): Define via compat_symbol.
35107         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35108         [!HAVE_IFUNC] (vfork_compat): Remove.
35109         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35111 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35113         [BZ #16978]
35114         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35115         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35116         variable.
35118 2014-05-23  Richard Henderson  <rth@twiddle.net>
35120         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35121         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35122         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35123         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35125         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35126         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35127         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35128         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35129         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35130         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35131         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35132         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35133         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35134         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35135         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35136         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35137         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35138         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35139         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35140         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35141         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35142         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35143         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35144         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35145         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35146         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35147         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35148         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35149         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35150         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35151         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35152         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35153         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35154         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35155         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35156         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35157         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35158         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35159         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35160         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35161         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35162         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35163         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35164         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35165         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35166         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35167         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35168         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35169         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35170         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35171         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35172         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35173         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35174         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35175         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35176         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35177         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35178         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35180         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35182         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35183         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35184         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35185         before exiting on error.
35186         (__libc_vfork): New strong alias.
35187         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35188         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35190         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35191         that was previously under [RESET_PID].
35192         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35194         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35196 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35198         [BZ #16977]
35199         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35200         value when x - 1 is zero.
35201         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35202         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35203         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35204         0.0L for an argument of 1.0L.
35205         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35206         Likewise.
35207         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35208         value when x - 1 is zero.
35209         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35210         * sysdeps/i386/fpu/libm-test-ulps: Update.
35211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35213 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35215         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35216         alphasort and versionsort.
35218 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35220         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35221         macro.
35222         [copysignf]: Likewise.
35224 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35226         * crypt/md5-crypt.c: Fix formatting.
35228 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35230         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35231         (b64_from_24bit): New function.
35233 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35235         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35236         libc_hidden_builtin_def to ifunc.
35237         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35238         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35240 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35242         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35243         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35245 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35247         * nscd/Depend (linuxthreads): Remove.
35248         (nptl): Add.
35249         * resolv/Depend (linuxthreads): Remove.
35250         * rt/Depend (linuxthreads): Remove.
35252         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35253         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35254         $(common-objpfx)elf/.
35255         (link-libc-before-gnulib): Likewise.
35256         (elfobjdir): Remove variable.
35257         * Makefile (install): Use $(elf-objpfx) instead of
35258         $(common-objpfx)elf/.
35259         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35260         $(elfobjdir)/.
35261         (link-libc-deps): Likewise.
35262         ($(common-objpfx)libc.so): Likewise.
35263         ($(common-objpfx)linkobj/libc.so): Likewise.
35264         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35265         instead of $(common-objpfx)elf/.
35266         (symbolic-link-list): Likewise.
35267         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35268         [$(cross-compiling) = no]: Likewise.
35269         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35270         $(elfobjdir)/.
35271         (static-gnulib-arch): Likewise.
35272         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35273         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35274         $(common-objpfx)elf/.
35276 2014-05-21  Richard Henderson  <rth@redhat.com>
35278         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35279         (SINGLE_THREAD_P): Use the correct width load.  Fold
35280         into the ldr offset.
35282         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35283         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35285 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35287         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35288         (libgcc_s_resume): Use __attribute_used__.
35289         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35290         Likewise.
35292 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35294         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35295         optimization when used with float constants.
35297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35299 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35301         [BZ #16915]
35302         * locale/nl_langinfo_l.c: Make direct reference to every
35303         _nl_current_CATEGORY symbol.
35304         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35305         (tests-static): Add tst-langinfo-static.
35306         (tests-special): Add tst-langinfo-static.out.
35307         ($(objpfx)tst-langinfo.out): Redirect output.
35308         ($(objpfx)tst-langinfo-static.out): New.
35309         * localedata/tst-langinfo.sh: Send output to stdout.
35310         * localedata/tst-langinfo-static.c: New file.
35312         [BZ #16965]
35313         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35314         when the shift amount is modulo the limb size.
35316 2014-05-20  Richard Henderson  <rth@redhat.com>
35318         [BZ #16967]
35319         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35320         Change type of sa_flags from unsigned int to int.
35322         [BZ #16966]
35323         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35325         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35327 2014-05-20  Will Newton  <will.newton@linaro.org>
35329         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35330         Test the return value of the system call in the nocancel case.
35332 2014-05-20  Will Newton  <will.newton@linaro.org>
35333             Yvan Roux  <yvan.roux@linaro.org>
35335         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35336         #include of asm/ptrace.h.
35337         (PTRACE_GET_THREAD_AREA): Remove #undef.
35338         (PTRACE_GETHBPREGS): Likewise.
35339         (PTRACE_SETHBPREGS): Likewise.
35340         (struct user_regs_struct): New structure.
35341         (struct user_fpsimd_struct): New structure.
35342         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35343         #include of asm/ptrace.h and second #include of sys/user.h.
35344         (PTRACE_GET_THREAD_AREA): Remove #undef.
35345         (PTRACE_GETHBPREGS): Likewise.
35346         (PTRACE_SETHBPREGS): Likewise.
35347         (ELF_NGREG): Use new struct user_regs_struct.
35348         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35350 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35352         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35353         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35355 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35357         [BZ #16958]
35358         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35359         membar to avoid block loads/stores to overlap previous stores.
35361 2014-05-17  Richard Henderson  <rth@redhat.com>
35363         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35364         Create the __##syscall_name##_nocancel entry point.
35365         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35366         Remove; let the sysdep-cancel.h code create it.
35368 2014-05-17  David S. Miller  <davem@davemloft.net>
35370         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35371         Protect with __USE_GNU.
35372         (TIOCSET_TEMPT): Likewise.
35373         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35374         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35375         these are already provided in bits/ioctl-types.h
35377 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35379         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35380         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35382         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35383         Use wait4 regardless of [__NR_waitpid].
35385 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35387         PR libgcc/60166
35388         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35389         (_FP_NANSIGN_Q): Set the quiet bit.
35391 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35393         * benchtests/Makefile
35394         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35395         not $(common-objpfx)math/libm.so.
35396         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35397         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35398         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35399         $(common-objpfx)dlfcn/libdl.so.
35400         ($(objpfx)tst-audit8): Depend on $(libm), not
35401         $(common-objpfx)math/libm.so.
35402         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35403         not $(common-objpfx)dlfcn/libdl.so.
35404         * math/Makefile
35405         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35406         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35407         [$(build-shared) = yes].
35408         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35409         $(common-objpfx)nptl/libpthread.so.
35410         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35411         $(common-objpfx)math/libm.so$(libm.so-version) or
35412         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35413         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35414         $(common-objpfx)dlfcn/libdl.so.
35415         * setjmp/Makefile (link-libm): Remove variable.
35416         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35417         * stdio-common/Makefile (link-libm): Remove variable.
35418         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35419         * stdlib/Makefile (link-libm): Remove variable.
35420         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35421         ($(objpfx)tst-strtod-round): Likewise.
35422         ($(objpfx)tst-tininess): Likewise.
35423         ($(objpfx)tst-strtod-underflow): Likewise.
35424         ($(objpfx)tst-strtod6): Likewise.
35425         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35426         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35427         $(common-objpfx)dlfcn/libdl.so.
35429 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35431         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35432         BSD terminal modes definitions.
35434 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35436         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35437         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35439         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35440         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35441         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35442         Don't do #include_next.
35443         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35444         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35445         Don't do #include_next.
35446         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35447         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35448         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35449         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35451 2014-05-16  Allan McRae  <allan@archlinux.org>
35453         * po/sv.po: Update Swedish translation from translation project.
35455         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35456         in sed expression.
35458 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35460         [BZ #16917]
35461         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35462         errno if the TIOCGPTN ioctl fails with an error different than
35463         EINVAL.
35464         * login/tst-ptsname.c: New file.
35465         * login/Makefile (tests): Add tst-ptsname.
35467         [BZ #16943]
35468         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35469         and prlimit64.
35471 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35473         [BZ #16849]
35474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35475         herrno to return EAI_AGAIN.
35477 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35479         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35480         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35481         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35482         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35483         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35484         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35485         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35486         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35487         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35488         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35489         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35490         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35491         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35492         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35493         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35494         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35495         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35496         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35497         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35498         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35499         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35500         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35501         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35502         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35503         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35504         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35505         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35506         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35507         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35508         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35510         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35512         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35514         Moved ...
35515         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35517         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35519         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35521         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35523         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35525         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35527         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35529         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35531         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35533         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35535         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35537         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35539         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35541         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35543         Moved ...
35544         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35546         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35548         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35550         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35552         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35554         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35556         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35558         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35560         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35562         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35564         Moved ...
35565         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35567         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35569         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35570         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35571         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35572         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35573         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35574         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35575         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35576         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35577         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35578         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35579         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35580         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35581         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35582         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35583         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35584         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35585         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35586         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35587         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35588         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35589         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35590         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35591         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35592         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35593         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35594         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35595         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35596         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35597         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35598         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35599         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35601         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35602         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35604         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35605         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35606         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35607         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35608         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35609         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35610         Moved ...
35611         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35612         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35613         Moved ...
35614         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35615         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35616         Moved ...
35617         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35618         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35619         Moved ...
35620         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35621         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35622         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35623         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35624         Moved ...
35625         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35626         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35627         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35628         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35629         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35630         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35631         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35632         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35633         Moved ...
35634         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35635         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35636         Moved ...
35637         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35638         ... here.
35639         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35640         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35641         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35642         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35643         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35644         Moved ...
35645         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35646         ... here.
35647         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35648         Moved ...
35649         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35650         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35651         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35652         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35653         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35654         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35655         Moved ...
35656         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35657         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35658         Moved ...
35659         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35660         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35661         Moved ...
35662         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35663         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35664         Moved ...
35665         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35666         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35667         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35668         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35669         Moved ...
35670         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35671         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35672         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35673         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35674         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35675         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35676         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35677         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35678         Moved ...
35679         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35680         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35681         Moved ...
35682         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35683         ... here.
35684         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35685         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35686         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35687         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35688         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35689         Moved ...
35690         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35691         ... here.
35692         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35693         Moved ...
35694         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35695         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35696         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35697         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35698         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35699         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35700         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35701         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35702         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35703         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35704         Moved ...
35705         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35706         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35707         Moved ...
35708         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35709         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35710         Moved ...
35711         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35712         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35713         Moved ...
35714         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35715         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35716         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35717         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35718         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35719         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35720         Moved ...
35721         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35722         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35723         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35724         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35725         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35726         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35727         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35728         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35729         Moved ...
35730         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35731         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35732         Moved ...
35733         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35734         ... here.
35735         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35736         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35737         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35738         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35739         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35740         Moved ...
35741         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35742         ... here.
35743         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35744         Moved ...
35745         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35746         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35747         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35748         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35749         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35750         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35751         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35752         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35753         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35754         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35755         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35757         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35758         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35760         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35761         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35763         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35764         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35765         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35766         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35767         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35768         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35769         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35770         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35771         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35772         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35773         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35774         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35775         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35776         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35777         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35778         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35779         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35780         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35781         Moved ...
35782         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35783         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35784         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35785         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35786         Moved ...
35787         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35788         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35789         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35790         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35791         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35792         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35793         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35794         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35795         Moved ...
35796         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35797         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35798         Moved ...
35799         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35800         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35801         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35802         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35803         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35804         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35805         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35806         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35807         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35808         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35809         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35810         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35811         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35812         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35813         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35814         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35815         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35817         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35818         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35819         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35820         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35821         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35823         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35824         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35825         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35826         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35827         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35828         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35829         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35830         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35831         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35832         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35834         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35837         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35838         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35839         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35840         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35841         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35842         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35843         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35844         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35845         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35846         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35847         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35848         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35849         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35850         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35851         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35852         Update #include.
35853         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35854         Likewise.
35855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35856         Likewise.
35857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35858         Likewise.
35859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35860         Likewise.
35861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35862         Likewise.
35863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35864         Likewise.
35865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35866         Likewise.
35867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35868         Likewise.
35869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35870         Likewise.
35871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35872         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35876         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35877         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35878         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35879         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35880         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35881         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35882         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35883         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35884         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35885         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35887         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35888         that was previously under [RESET_PID].
35889         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35890         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35891         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35893         * sysdeps/i386/nptl/Implies: New file.
35894         * sysdeps/x86_64/nptl/Implies: New file.
35895         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35896         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35897         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35898         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35900         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35901         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35902         (__libc_vfork): New strong alias.
35903         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35904         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35906         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35907         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35908         (__libc_vfork): New strong alias.
35909         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35910         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35912         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35913         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35914         (__libc_vfork): New strong alias.
35915         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35916         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35917         * nptl/pt-vfork.c: New file.
35918         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35919         (libpthread: GLIBC_2.20): New version set (empty).
35921 2014-05-14  Will Newton  <will.newton@linaro.org>
35923         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35924         rather than #if.
35926 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35928         [BZ #16564]
35929         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35930         arguments with exponent 65 or above.
35931         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35932         arguments 0x1p113L or above.
35933         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35934         to arguments 0x1p107L or above.
35935         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35936         positive arguments with exponent 65 or above.
35937         * math/auto-libm-test-in: Add more tests of log1p.
35938         * math/auto-libm-test-out: Regenerated.
35940         [BZ #16928]
35941         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35942         non-finite arguments is +0.
35943         * math/s_cacosf.c (__cacosf): Likewise.
35944         * math/s_cacosl.c (__cacosl): Likewise.
35945         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35946         * sysdeps/i386/fpu/libm-test-ulps: Update.
35947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35949         [BZ #16927]
35950         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35951         value.
35952         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35953         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35954         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35955         for explicit high bit of mantissa when testing for argument equal
35956         to 1.
35957         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35958         * sysdeps/i386/fpu/libm-test-ulps: Update.
35959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35961         [BZ #16516]
35962         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35963         (__erf): Scale by 16 instead of 8 in potentially underflowing
35964         case.  Ensure exception if result actually underflows.
35965         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35966         (__erff): Scale by 16 instead of 8 in potentially underflowing
35967         case.  Ensure exception if result actually underflows.
35968         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35969         (efx8): Remove variable.
35970         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35971         case.  Ensure exception if result actually underflows.
35972         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35973         (efx8): Remove variable.
35974         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35975         case.  Ensure exception if result actually underflows.
35976         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35977         (efx8): Remove variable.
35978         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35979         case.  Ensure exception if result actually underflows.
35980         * math/auto-libm-test-in: Add more tests of erf.
35981         * math/auto-libm-test-out: Regenerated.
35983 2014-05-14  Andreas Schwab  <schwab@suse.de>
35985         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35986         Remove code conditionalized on USE___THREAD.
35988         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35989         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35990         not definedness.
35992 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35994         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35995         Define unconditionally.
35996         (__ASSUME_O_CLOEXEC): Likewise.
35997         (__ASSUME_SOCK_CLOEXEC): Likewise.
35998         (__ASSUME_IN_NONBLOCK): Likewise.
35999         (__ASSUME_PIPE2): Likewise.
36000         (__ASSUME_EVENTFD2): Likewise.
36001         (__ASSUME_SIGNALFD4): Likewise.
36002         (__ASSUME_DUP3): Likewise.
36003         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36004         (__ASSUME_DUP3): Do not define.
36005         (__ASSUME_EVENTFD2): Likewise.
36006         (__ASSUME_IN_NONBLOCK): Likewise.
36007         (__ASSUME_O_CLOEXEC): Likewise.
36008         (__ASSUME_PIPE2): Likewise.
36009         (__ASSUME_SIGNALFD4): Likewise.
36010         (__ASSUME_SOCK_CLOEXEC): Likewise.
36011         (__ASSUME_UTIMES): Undefine.
36012         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36013         (__ASSUME_UTIMES): Do not define.
36014         (__ASSUME_O_CLOEXEC): Likewise.
36015         (__ASSUME_SOCK_CLOEXEC): Likewise.
36016         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36017         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36018         0x020621].
36019         (__ASSUME_PIPE2): Likewise.
36020         (__ASSUME_EVENTFD2): Likewise.
36021         (__ASSUME_SIGNALFD4): Likewise.
36022         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36023         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36024         Do not define.
36025         (__ASSUME_EVENTFD2): Likewise.
36026         (__ASSUME_SIGNALFD4): Likewise.
36027         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36028         (__ASSUME_32BITUIDS): Likewise.
36029         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36030         (__ASSUME_IPC64): Likewise.
36031         (__ASSUME_ST_INO_64_BIT): Likewise.
36032         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36033         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36034         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36035         (__ASSUME_UTIMES): Do not define.
36036         (__ASSUME_PSELECT): Likewise.
36037         (__ASSUME_PPOLL): Likewise.
36038         (__ASSUME_O_CLOEXEC): Likewise.
36039         (__ASSUME_SOCK_CLOEXEC): Likewise.
36040         (__ASSUME_IN_NONBLOCK): Likewise.
36041         (__ASSUME_PIPE2): Likewise.
36042         (__ASSUME_EVENTFD2): Likewise.
36043         (__ASSUME_SIGNALFD4): Likewise.
36044         (__ASSUME_DUP3): Likewise.
36045         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36046         (__ASSUME_UTIMES): Likewise.
36047         (__ASSUME_O_CLOEXEC): Likewise.
36048         (__ASSUME_SOCK_CLOEXEC): Likewise.
36049         (__ASSUME_IN_NONBLOCK): Likewise.
36050         (__ASSUME_PIPE2): Likewise.
36051         (__ASSUME_EVENTFD2): Likewise.
36052         (__ASSUME_SIGNALFD4): Likewise.
36053         (__ASSUME_DUP3): Likewise.
36054         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36055         (__ASSUME_UTIMES): Likewise.
36056         (__ASSUME_O_CLOEXEC): Likewise.
36057         (__ASSUME_SOCK_CLOEXEC): Likewise.
36058         (__ASSUME_IN_NONBLOCK): Likewise.
36059         (__ASSUME_PIPE2): Likewise.
36060         (__ASSUME_EVENTFD2): Likewise.
36061         (__ASSUME_SIGNALFD4): Likewise.
36062         (__ASSUME_DUP3): Likewise.
36063         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36064         Likewise.
36065         (__ASSUME_UTIMES): Likewise.
36066         (__ASSUME_EVENTFD2): Likewise.
36067         (__ASSUME_SIGNALFD4): Likewise.
36068         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36069         (__ASSUME_O_CLOEXEC): Likewise.
36070         (__ASSUME_SOCK_CLOEXEC): Likewise.
36071         (__ASSUME_IN_NONBLOCK): Likewise.
36072         (__ASSUME_PIPE2): Likewise.
36073         (__ASSUME_EVENTFD2): Likewise.
36074         (__ASSUME_SIGNALFD4): Likewise.
36075         (__ASSUME_DUP3): Likewise.
36076         (__ASSUME_UTIMES): Undefine.
36078         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36079         feclearexcept.  Remove symbol versioning code.
36080         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36081         symbol versioning code.
36082         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36083         symbol versioning code.
36084         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36085         feupdateenv.  Remove symbol versioning code.
36086         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36087         fegetexceptflag.  Remove symbol versioning code.
36088         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36089         fesetexceptflag.  Remove symbol versioning code.
36090         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36091         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36092         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36093         (__posix_fadvise64_l32): Remove prototype.
36094         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36095         code.
36097 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36099         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36100         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36101         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36102         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36104 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36106         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36107         current working directory
36109 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36111         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36112         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36113         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36114         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36115         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36116         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36117         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36118         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36119         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36120         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36121         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36122         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36123         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36124         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36125         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36126         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36127         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36128         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36129         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36130         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36131         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36132         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36133         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36134         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36135         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36136         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36137         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36138         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36139         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36140         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36141         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36142         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36143         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36144         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36145         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36146         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36147         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36148         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36149         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36150         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36151         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36152         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36154         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36155         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36157         * sysdeps/unix/sysv/linux/arm/Makefile
36158         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36159         Add rt-aeabi_unwind_cpp_pr1.
36160         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36161         Add nptl-aeabi_unwind_cpp_pr1.
36162         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36163         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36164         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36165         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36166         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36167         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36169         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36170         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36171         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36172         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36174         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36175         Deconditionalize the code that was previously under [RESET_PID].
36176         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36178         * sysdeps/generic/exit-thread.h: New file.
36179         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36180         * include/unistd.h (__exit_thread): Remove declaration.
36181         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36182         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36183         * csu/libc-start.c: Include <exit-thread.h>.
36184         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36185         * nptl/pthread_create.c: Include <exit-thread.h>.
36186         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36187         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36188         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36189         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36190         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36191         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36192         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36193         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36194         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36195         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36196         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36197         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36198         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36199         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36200         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36201         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36202         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36204 2014-05-13  Andreas Schwab  <schwab@suse.de>
36206         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36208 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36210         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36211         (__ASSUME_UTIMES): Do not condition on kernel version.
36212         (__ASSUME_PSELECT): Define unconditionally.
36213         (__ASSUME_PPOLL): Likewise.
36214         (__ASSUME_ATFCTS): Likewise.
36215         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36216         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36217         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36218         (__ASSUME_UTIMENSAT): Define unconditionally.
36219         (__ASSUME_PRIVATE_FUTEX): Likewise.
36220         (__ASSUME_FALLOCATE): Likewise.
36221         (__ASSUME_O_CLOEXEC): Likewise.
36222         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36223         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36224         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36225         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36226         (__ASSUME_IN_NONBLOCK): Likewise.
36227         (__ASSUME_PIPE2): Likewise.
36228         (__ASSUME_EVENTFD2): Likewise.
36229         (__ASSUME_SIGNALFD4): Likewise.
36230         (__ASSUME_DUP3): Likewise.
36231         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36232         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36233         (__ASSUME_AT_RANDOM): Likewise.
36234         (__ASSUME_PREADV): Likewise.
36235         (__ASSUME_PWRITEV): Likewise.
36236         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36237         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36238         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36239         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36240         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36241         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36242         (__ASSUME_O_CLOEXEC): Define unconditionally.
36243         (__ASSUME_PSELECT): Do not undefine conditionally.
36244         (__ASSUME_PPOLL): Likewise.
36245         (__ASSUME_ATFCTS): Likewise.
36246         (__ASSUME_SET_ROBUST_LIST): Likewise.
36247         (__ASSUME_UTIMENSAT): Likewise.
36248         (__ASSUME_FDATASYNC): Define unconditionally.
36249         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36250         (__ASSUME_SIGFRAME_V2): Likewise.
36251         )__ASSUME_EVENTFD2): Likewise.
36252         (__ASSUME_SIGNALFD4): Likewise.
36253         (__ASSUME_PSELECT): Do not undefine conditionally.
36254         (__ASSUME_PPOLL): Likewise.
36255         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36256         (__ASSUME_PSELECT): Define unconditionally.
36257         (__ASSUME_PPOLL): Likewise.
36258         (__ASSUME_O_CLOEXEC): Likewise.
36259         (__ASSUME_SOCK_CLOEXEC): Likewise.
36260         (__ASSUME_IN_NONBLOCK): Likewise.
36261         (__ASSUME_PIPE2): Likewise.
36262         (__ASSUME_EVENTFD2): Likewise.
36263         (__ASSUME_SIGNALFD4): Likewise.
36264         (__ASSUME_DUP3): Likewise.
36265         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36266         (__ASSUME_O_CLOEXEC): Likewise.
36267         (__ASSUME_SOCK_CLOEXEC): Likewise.
36268         (__ASSUME_IN_NONBLOCK): Likewise.
36269         (__ASSUME_PIPE2): Likewise.
36270         (__ASSUME_EVENTFD2): Likewise.
36271         (__ASSUME_SIGNALFD4): Likewise.
36272         (__ASSUME_DUP3): Likewise.
36273         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36274         (__ASSUME_EVENTFD2): Likewise.
36275         (__ASSUME_SIGNALFD4): Likewise.
36276         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36278 2014-05-12  Andreas Schwab  <schwab@suse.de>
36280         [BZ #16932]
36281         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36282         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36283         than maximum RPC packet size.
36284         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36285         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36286         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36287         (_nss_nis_getservbyport_r): Likewise.
36289 2014-05-12  Will Newton  <will.newton@linaro.org>
36291         * malloc/Makefile (tests): Add tst-mallopt.
36292         * malloc/tst-mallopt.c: New file.
36294 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36296         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36297         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36299 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36301         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36302         (tst-tlsmod6.so): Likewise.
36304 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36306         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36308 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36310         [BZ #16064]
36311         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36312         and <dl-procinfo.h>.
36313         (__fegetenv): Save SSE state in envp->__eip if supported.
36314         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36315         envp->__eip if supported.
36316         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36317         and <dl-procinfo.h>.
36318         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36319         __data_offset and __data_selector in environment to 0.  Set SSE
36320         state if supported.
36321         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36322         test-fenv-sse.
36323         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36324         -mfpmath=sse.
36325         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36327 2014-05-09  Will Newton  <will.newton@linaro.org>
36329         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36330         and libc_relro_required for ARM.
36331         * sysdeps/arm/preconfigure: Regenerate.
36333 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36334             Stefan Liebler  <stli@linux.vnet.ibm.com>
36336         * config.make.in (enable-lock-elision): New Makefile variable.
36337         * configure.ac: Likewise.
36338         * configure: Regenerate.
36339         * sysdeps/s390/configure.ac:
36340         Add check for gcc transactions support.
36341         * sysdeps/s390/configure: Regenerate.
36342         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36343         Build elision files if enabled.
36344         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36345         Add lock elision support for s390.
36346         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36347         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36348         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36349         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36350         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36351         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36352         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36353         Likewise.
36354         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36355         Likewise.
36356         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36357         Likewise.
36358         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36359         Likewise.
36360         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36361         (__lll_timedlock_elision, __lll_lock_elision)
36362         (__lll_unlock_elision, __lll_trylock_elision)
36363         (lll_timedlock_elision, lll_lock_elision)
36364         (lll_unlock_elision, lll_trylock_elision): Add.
36365         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36366         (pthread_mutex_t): Add lock elision support for s390.
36368 2014-05-14  Wilco  <wdijkstr@arm.com>
36370         * sysdeps/arm/fclrexcpt.c: Cleanup.
36371         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36372         * sysdeps/arm/feenablxcpt.c: Cleanup.
36373         * sysdeps/arm/fegetenv.c: Cleanup.
36374         * sysdeps/arm/fegetexcept.c: Cleanup.
36375         * sysdeps/arm/fegetround.c: Cleanup.
36376         * sysdeps/arm/feholdexcpt.c: Cleanup.
36377         * sysdeps/arm/fesetenv.c: Cleanup.
36378         * sysdeps/arm/fesetround.c: Cleanup.
36379         * sysdeps/arm/feupdateenv.c: Cleanup.
36380         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36381         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36382         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36383         * sysdeps/arm/ftestexcept.c: Cleanup.
36384         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36385         * sysdeps/arm/setfpucw.c: Cleanup.
36387 2014-05-09  Will Newton  <will.newton@linaro.org>
36389         * sysdeps/arm/armv7/strcmp.S: New file.
36390         * NEWS: Mention addition of ARMv7 optimized strcmp.
36392 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36394         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36395         look for %.ac rather than %.in.
36397         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36398         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36399         * sysdeps/mach/hurd/configure: Regenerated.
36400         * sysdeps/unix/sysv/linux/configure: Regenerated.
36402         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36404 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36406         [BZ# 16922]
36407         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36408         (LONG_SUB): Ditto.
36409         (PTR_SUB): Ditto.
36411 2014-05-07  Andreas Schwab  <schwab@suse.de>
36413         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36414         when skipping over non-matching result from nscd.
36416 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36418         [BZ #16876]
36419         * nptl/sockperf.c (client): Check socket return value.
36421         [BZ #16877]
36422         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36423         nscd security class.
36425 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36427         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36428         * sysdeps/arm/unwind.h: ... here.
36430 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36432         [BZ# 16916]
36433         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36434         Define.
36436 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36438         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36439         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36440         multiarch strncpy for PPC64.
36441         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36442         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36444         multiarch optimizations.
36445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36446         (__libc_ifunc_impl_list): Likewise.
36447         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36448         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36449         multiarch stpncpy for PPC64.
36450         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36451         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36453 2014-05-06  Andreas Schwab  <schwab@suse.de>
36455         [BZ #16912]
36456         * gmon/mcount.c (_MCOUNT_DECL): Use
36457         atomic_compare_and_exchange_bool_acq instead of
36458         catomic_compare_and_exchange_bool_acq.
36460 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36462         * elf/Makefile (others, install-bin): Remove pldd.
36463         (pldd-modules): Variable removed.
36464         ($(objpfx)pldd): Target removed.
36465         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36466         (others, install-bin): Append pldd here.
36467         ($(objpfx)pldd): New target.
36469         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36470         to 0, so the first #if test emitted later doesn't see it undefined.
36471         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36472         * sysdeps/gnu/errlist.c: Regenerated.
36474 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36476         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36477         [libc_hidden_builtin_def]: Define to empty value.
36478         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36479         [libc_hidden_builtin_def]: Likewise.
36480         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36481         [libc_hidden_builtin_def]: Likewise.
36482         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36483         [libc_hidden_builtin_def]: Likewise.
36484         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36485         __redirect_memcpy and define ifunc as default hidden symbol.
36486         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36487         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36489 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36491         * locale/iso-4217.def: Reintroduce XDR currency.
36493 2014-05-04  Allan McRae  <allan@archlinux.org>
36495         * po/eo.po: Update Esperanto translation from translation project.
36497 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36499         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36500         and FEATURE_INDEX_MAX to 1.
36501         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36503 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36505         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36506         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36507         * iconvdata/big5.c (ONE_DIRECTION): Define.
36508         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36509         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36510         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36511         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36512         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36513         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36514         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36515         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36516         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36517         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36518         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36519         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36520         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36521         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36522         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36523         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36524         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36525         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36526         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36527         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36528         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36529         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36530         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36531         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36532         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36533         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36534         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36535         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36536         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36537         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36538         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36539         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36540         * iconvdata/johab.c (ONE_DIRECTION): Define.
36541         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36542         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36543         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36544         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36545         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36546         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36547         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36548         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36549         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36550         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36552 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36554         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36555         (_IO_JUMPS_OFFSET): Define to 0.
36557         * nptl/sysdeps/pthread/bits/libc-lock.h
36558         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36559         (__libc_lock_define_initialized_recursive): Always define using
36560         initializer.  Modern compilers treat uninitialized (implicit zero) and
36561         explicit zero initializers the same (i.e. put the datum in bss).
36563 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36565         * nscd/nscd-client.h: Include <string.h>.
36567 2014-05-01  David S. Miller  <davem@davemloft.net>
36569         [BZ #16885]
36570         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36571         multiple zero bytes exist at the end of a string.
36572         Reported by Aurelien Jarno <aurelien@aurel32.net>
36574         * string/test-strcmp.c (check): Add explicit test for situations where
36575         there are multiple zero bytes after the first.
36577 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36579         [BZ #16890]
36580         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36581         when compiling wprintf.
36582         * stdio-common/tstdiomisc.c (t3): New function.
36583         (main): Call it.
36585 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36587         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36588         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36589         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36590         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36592 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36594         * stdlib/longlong.h: Updated from GCC.
36596 2014-05-01  Will Newton  <will.newton@linaro.org>
36597             Bernard Ogden  <bernie.ogden@linaro.org>
36599         * NEWS: Update fixed bug list.
36601         [BZ #15119]
36602         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36604 2014-04-30  David S. Miller  <davem@davemloft.net>
36606         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36607         (libc_feholdexcept_setround_sparc_ctx): New function.
36608         (libc_fesetenv_sparc_ctx): Likewise.
36609         (libc_feupdateenv_sparc_ctx): Likewise.
36610         (libc_feholdsetround_sparc_ctx): Likewise.
36611         (libc_feholdexcept_setround_ctx): Define.
36612         (libc_feholdexcept_setroundf_ctx): Likewise.
36613         (libc_feholdexcept_setroundl_ctx): Likewise.
36614         (libc_fesetenv_ctx): Likewise.
36615         (libc_fesetenvf_ctx): Likewise.
36616         (libc_fesetenvl_ctx): Likewise.
36617         (libc_feupdateenv_ctx): Likewise.
36618         (libc_feupdateenvf_ctx): Likewise.
36619         (libc_feupdateenvl_ctx): Likewise.
36620         (libc_feresetround_ctx): Likewise.
36621         (libc_feresetroundf_ctx): Likewise.
36622         (libc_feresetroundl_ctx): Likewise.
36623         (libc_feholdsetround_ctx): Likewise.
36624         (libc_feholdsetroundf_ctx): Likewise.
36625         (libc_feholdsetroundl_ctx): Likewise.
36627         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36628         with __USE_GNU instead of XOPEN cpp guards.
36630         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36631         0.
36633         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36634         with XOPEN cpp guards.
36636 2014-04-30  Julian Brown  <julian@codesourcery.com>
36638         [BZ #16888]
36639         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36640         handling.
36642 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36644         [BZ #9894]
36645         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36646         Change to 2.6.32.
36647         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36648         * sysdeps/unix/sysv/linux/configure: Regenerated.
36649         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36650         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36651         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36652         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36653         * README: Update reference to required Linux kernel version.
36654         * manual/install.texi (Linux): Update reference to required Linux
36655         kernel headers version.
36656         * INSTALL: Regenerated.
36658         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36659         header inclusion.
36660         [POSIX] (limits.h): Likewise.
36661         [POSIX] (math.h): Likewise.
36662         [POSIX] (sys/wait.h): Likewise.
36663         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36664         function.
36665         [POSIX] (stddef.h): Do not allow header inclusion.
36667 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36669         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36671 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36673         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36674         Return immediately after lll_futex_wake.
36676 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36678         [BZ #16791]
36679         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36680         structure.
36681         (datahead_init_pos): Call datahead_init_common early.
36682         (datahead_init_neg): Likewise.
36684         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36685         datahead_init_neg): New functions.
36686         * nscd/aicache.c (addhstaiX): Use them.
36687         * nscd/grpcache.c (cache_addgr): Likewise.
36688         * nscd/hstcache.c (cache_addhst): Likewise.
36689         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36690         * nscd/netgroupcache.c (do_notfound): Likewise.
36691         (addgetnetgrentX): Likewise.
36692         (addinnetgrX): Likewise.
36693         * nscd/pwdcache.c (cache_addpw): Likewise.
36694         * nscd/servicescache.c (cache_addserv): Likewise.
36696 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36697             Atsushi Onoe  <atsushi@onoe.org>
36699         [BZ #14308]
36700         [BZ #12994]
36701         [BZ #13651]
36702         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36703         one response is valid.
36704         * resolv/res_send.c (send_dg): Check for validity of other
36705         response if the current response is a referral.
36707 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36709         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36711 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36713         [BZ #16823]
36714         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36715         Always divide by positive zero when computing -Inf result.
36716         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36717         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36719 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36721         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36722         FPSCR if value do not change.
36723         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36724         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36725         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36726         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36727         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36728         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36729         function.
36731 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36733         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36734         * sysdeps/unix/sysv/linux/hppa: Move directory from
36735         ports/systeps/unix/sysv/linux/hppa.
36736         * README: Update listing for hppa-*-linux-gnu.
36738 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36740         [BZ #16754]
36741         * manual/stdio.texi (Hook functions): Fix types of stream hook
36742         functions.
36743         [BZ #16854]
36744         * socket/sys/socket.h: Fix typo in comment.
36746 2014-04-28  Wilco  <wdijkstr@arm.com>
36748         * sysdeps/arm/fenv_private.h: New file.
36749         * sysdeps/arm/math_private.h: New file.
36750         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36752 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36754         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36755         with __int128_t.
36756         (La_x86_64_retval): Likewise.
36758 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36760         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36761         fpsr if value didn't change.
36762         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36763         to fpcr if value didn't change.
36764         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36765         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36766         fpsr or fpcr if value didn't change.
36767         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36768         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36769         fpcr if value didn't change.
36770         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36771         to fpsr if value didn't change.
36773 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36775         * nptl/tst-sem3.c: Use test-skeleton.c
36776         (main): Rename to do_test.  Use return instead of
36777         exit.
36778         * nptl/tst-sem4.c: Use test-skeleton.c
36779         (main): Rename to do_test.
36781 2014-04-22  David S. Miller  <davem@davemloft.net>
36783         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36784         (struct sigaction): New struct member __glibc_reserved0, change
36785         type of sa_flags to int.
36787 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36789         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36790         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36792 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36794         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36795         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36797 2014-04-22  Will Newton  <will.newton@linaro.org>
36798             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36800         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36801         (__longjmp): Add longjmp and longjmp_target SystemTap
36802         probes.
36803         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36804         (__sigsetjmp): Add setjmp SystemTap probe.
36806 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36808         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36809         match manual order.
36811 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36813         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36815         * sysdeps/powerpc/fpu/fenv_private.h
36816         (libc_feholdexcept_setroundl_ctx): Define to
36817         libc_feholdexcept_setround_ppc_ctx.
36818         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36819         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36820         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36821         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36823 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36825         * sysdeps/aarch64/math-tests.h: New file.
36827 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36829         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36830         New.
36831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36832         Check and set bit_AVX2_Usable.
36833         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36834         macro.
36835         (bit_AVX2): Likewise.
36836         (index_AVX2_Usable): Likewise.
36837         (CPUID_AVX2): Likewise.
36838         (HAS_AVX2): Likewise.
36840 2014-04-17  Will Newton  <will.newton@linaro.org>
36842         * manual/setjmp.texi (System V contexts): Add note that
36843         calling setcontext on a context created by a call to a
36844         signal handler is undefined.  Update text to note that
36845         setcontext from a signal handler is possible but not
36846         recommended.
36848         [BZ #16629]
36849         * stdlib/tst-setcontext.c: Include signal.h.
36850         (main): Check that the signal stack before and
36851         after swapcontext is the same.
36853         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36854         Re-implement to restore registers in user code and avoid
36855         rt_sigreturn system call.
36857 2014-04-17  Wilco  <wdijkstr@arm.com>
36859         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36860         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36861         * math/test-fenv.c: Skip exception trap tests on targets which only
36862         support non-stop mode.
36864 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36865             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36867         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36868         (libc_feholdsetround_aarch64_ctx)
36869         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36870         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36871         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36872         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36873         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36874         (libc_feresetround_noexl_ctx): Define.
36876 2014-04-16  Richard Henderson  <rth@redhat.com>
36878         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36880         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36881         unwind tables.
36883         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36884         const from the non-libc, non-ldso copy.
36886         * sysdeps/alpha/libm-test-ulps: Regenerate.
36888 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36889             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36891         * sysdeps/aarch64/fpu/math_private.h: New file.
36893 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36895         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36897 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36899         [BZ #16275]
36900         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36901         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36902         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36903         Intel MPX bound registers before _dl_profile_fixup.
36904         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36905         registers after _dl_profile_fixup.  Save and restore bound
36906         registers bnd0/bnd1 when calling _dl_call_pltexit.
36907         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36908         (LR_BND_OFFSET): Likewise.
36909         (LRV_BND0_OFFSET): Likewise.
36910         (LRV_BND1_OFFSET): Likewise.
36912 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36914         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36915         to...
36916         * sysdeps/mach/hurd/i386/tls.h: ... here.
36917         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36918         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36919         fields.
36921 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36923         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36925 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36927         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36929 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36931         [BZ #14770]
36932         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36933         * sysdeps/s390/configure: Regenerate.
36935         [BZ #16824]
36936         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36937         Set round-to-nearest internally to reduce error accumulation.
36939 2014-04-16  Alan Modra  <amodra@gmail.com>
36941         [BZ #16740]
36942         [BZ #16619]
36943         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36944         * math/libm-test.inc (frexp_test_data): Add tests.
36945         * NEWS: Update fixed bug list.
36947 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36949         * benchtests/Makefile: Depend on libraries in build directory.
36950         (bench-math): Separate out math tests.
36951         (bench-pthread): Separate out pthread tests.
36952         (bench): Include math and pthread tests.
36954 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36956         [BZ #16831]
36957         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36958         _dl_debug_initialize.
36960         * configure.ac: Remove SELinux header check.
36961         * configure: Regenerate.
36962         * nscd/selinux.c (perms): Array of const char* to permission names.
36963         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36964         default policy. Call string_to_security_class and string_to_av_perm to
36965         translate strings. Enforce default policy and call avs_has_perm with
36966         results of translated strings.
36968 2014-04-13  David S. Miller  <davem@davemloft.net>
36970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36972 2014-04-12  Allan McRae  <allan@archlinux.org>
36974         [BZ #16838]
36975         * manual/string.texi (Collation Functions): Fix qsort argument
36976         order in example.
36977         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36979 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36981         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36982         Make the test a no-op if there are no exceptions defined.
36984 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36986         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36987         enable-hardcoded-path-in-tests
36989 2014-04-11  Will Newton  <will.newton@linaro.org>
36991         * benchtests/Makefile (extra-objs): Add json-lib.o.
36992         (bench-func): Tidy up JSON output.
36993         * benchtests/bench-skeleton.c: Include json-lib.h.
36994         (main): Use JSON library functions to do output of
36995         benchmark results.
36996         * benchtests/bench-timing-type.c (main): Output the
36997         timing type simply, leaving formatting to the user.
36998         * benchtests/json-lib.c: New file.
36999         * benchtests/json-lib.h: Likewise.
37001 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37003         [BZ #15215]
37004         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37005         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37006         memory barriers.  Add comments.
37007         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37008         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37009         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37010         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37011         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37012         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37014 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37016         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37017         * sysdeps/s390/s390-64/configure.ac: ... this ...
37018         * sysdeps/s390/configure.ac: ... to here.
37019         * sysdeps/s390/s390-32/configure: Delete file.
37020         * sysdeps/s390/s390-64/configure: Delete file.
37021         * sysdeps/s390/configure: Regenerate.
37023 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37025         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37027 2014-04-11  Will Newton  <will.newton@linaro.org>
37029         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37030         to zero if it is not defined elsewhere.  (mtrim): Test
37031         the value of MALLOC_DEBUG with #if rather than #ifdef.
37033 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37035         * benchtests/pthread_once-inputs: New file.
37036         * benchtests/pthread_once-source.c: New file.
37037         * benchtests/README: Update documentation.
37039 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37040             H.J. Lu  <hongjiu.lu@intel.com>
37042         [BZ #16275]
37043         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37044         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37045         * sysdeps/x86_64/configure: Regenerated.
37046         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37047         macro.
37048         (REGISTER_SAVE_RAX): Likewise.
37049         (REGISTER_SAVE_RCX): Likewise.
37050         (REGISTER_SAVE_RDX): Likewise.
37051         (REGISTER_SAVE_RSI): Likewise.
37052         (REGISTER_SAVE_RDI): Likewise.
37053         (REGISTER_SAVE_R8): Likewise.
37054         (REGISTER_SAVE_R9): Likewise.
37055         (REGISTER_SAVE_BND0): Likewise.
37056         (REGISTER_SAVE_BND1): Likewise.
37057         (REGISTER_SAVE_BND2): Likewise.
37058         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37059         bound registers when calling _dl_fixup.
37061 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37063         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37064         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37065         of its definition.
37066         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37067         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37068         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37069         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37070         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37071         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37072         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37074 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37076         [BZ #15514]
37077         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37078         pathconf(_PC_NAME_MAX).
37080 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37082         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37083         Remove macro usage.
37084         (__PTHREAD_SPINS): Move definition to ...
37085         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37086         (__PTHREAD_SPINS): ... here.
37087         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37088         (__PTHREAD_SPIN): Likewise.
37089         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37090         (__PTHREAD_SPIN): Likewise.
37091         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37092         (__PTHREAD_SPIN): Likewise.
37093         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37094         (__PTHREAD_SPIN): Likewise.
37095         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37096         (__PTHREAD_SPIN): Likewise.
37097         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37098         (__PTHREAD_SPIN): Likewise.
37099         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37100         (__PTHREAD_SPIN): Likewise.
37101         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37102         (__PTHREAD_SPIN): Likewise.
37103         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37104         (__PTHREAD_SPIN): Likewise.
37105         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37106         (__PTHREAD_SPIN): Likewise.
37107         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37108         (__PTHREAD_SPIN): Likewise.
37109         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37110         (__PTHREAD_SPIN): Likewise.
37112         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37113         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37114         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37115         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37116         imply folder.
37117         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37118         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37119         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37120         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37121         correct imply path.
37122         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37123         strlen symbol for non multi-arch builds.
37124         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37125         missing hidden_def and weak_alias.
37127 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37129         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37131 2014-04-07  Will Newton  <will.newton@linaro.org>
37133         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37134         and contents.  [!_LIBC] Remove #ifndef and contents.
37135         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37136         * string/memccpy.c (__memccpy): Use ANSI prototype.
37137         * string/memfrob.c (memfrob): Likewise.
37138         * string/strcoll.c (STRCOLL): Likewise.
37139         * string/strlen.c (strlen): Likewise.
37140         * string/strtok.c (STRTOK): Likewise.
37141         * string/strcat.c: Remove unused #include of memcopy.h.
37142         (strcat): Use ANSI prototype.
37143         * string/strchr.c: Remove unused #include of memcopy.h.
37144         (strchr): Use ANSI prototype.
37145         * string/strcmp.c: Remove unused #include of memcopy.h.
37146         (strcmp): Use ANSI prototype.
37147         * string/strcpy.c: Remove unused #include of memcopy.h.
37148         (strcpy): Use ANSI prototype.
37150 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37152         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37153         * config.make.in (config-extra-cppflags): Set it from
37154         libc_extra_cppflags.
37155         * configure.ac (libc_extra_cflags): Make it accumulate over
37156         configure fragments.
37157         (libc_extra_cppflags): New flag.
37158         * configure. Regenerate.
37159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37160         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37161         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37164         [BZ #16815]
37165         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37166         result for FE_DOWNWARD rounding mode.
37167         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37168         Likewise.
37169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37171 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37173         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37174         in function argument name.
37176 2014-04-03  David Svoboda  <svoboda@cert.org>
37178         [BZ #5666]
37179         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37180         explicitly.
37182 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37184         * elf/dl-unmap-segments.h: New file.
37185         * sysdeps/generic/ldsodefs.h
37186         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37187         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37188         * elf/dl-fptr.c: Likewise.
37189         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37190         * sysdeps/aarch64/tlsdesc.c: Likewise.
37191         * sysdeps/arm/tlsdesc.c: Likewise.
37192         * sysdeps/i386/tlsdesc.c: Likewise.
37193         * sysdeps/tile/dl-runtime.c: Likewise.
37194         * sysdeps/x86_64/tlsdesc.c: Likewise.
37195         * elf/dl-load.h: New file.
37196         * elf/dl-load.c: Include it.
37197         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37198         Macros moved to dl-load.h.
37199         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37200         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37201         Use _dl_unmap_segments in place of __munmap.
37202         Break out segment-mapping loop into ...
37203         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37205 2014-04-03  Will Newton  <will.newton@linaro.org>
37207         * elf/dl-lookup.c (do_lookup_x): Remove comment
37208         referring to nested function and move variable
37209         declarations down to before first use.
37211 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37213         [BZ #16799]
37214         [BZ #16800]
37215         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37216         with 0 numerator.
37217         * math/s_catanf.c (__catanf): Likewise.
37218         * math/s_catanh.c (__catanh): Likewise.
37219         * math/s_catanhf.c (__catanhf): Likewise.
37220         * math/s_catanhl.c (__catanhl): Likewise.
37221         * math/s_catanl.c (__catanl): Likewise.
37222         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37223         by positive zero when computing -Inf result.
37224         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37225         (catanh_test): Likewise.
37226         * sysdeps/i386/fpu/libm-test-ulps: Update.
37227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37229         [BZ #16789]
37230         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37231         instead of using underflowing value in computing result.
37232         * math/s_clog10.c (__clog10): Likewise.
37233         * math/s_clog10f.c (__clog10f): Likewise.
37234         * math/s_clog10l.c (__clog10l): Likewise.
37235         * math/s_clogf.c (__clogf): Likewise.
37236         * math/s_clogl.c (__clogl): Likewise.
37237         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37238         (clog10_test): Likewise.
37239         * sysdeps/i386/fpu/libm-test-ulps: Update.
37240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37242 2014-04-02  Alan Modra  <amodra@gmail.com>
37244         [BZ #16739]
37245         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37246         output when value is near a power of two.  Use int64_t for lx and
37247         remove casts.  Use decimal rather than hex exponent constants.
37248         Don't use long double multiplication when double will suffice.
37249         * math/libm-test.inc (nextafter_test_data): Add tests.
37250         * NEWS: Add 16739 and 16786 to bug list.
37252         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37254         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37256 2014-04-01  Will Newton  <will.newton@linaro.org>
37258         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37259         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37261 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37263         [BZ #13347]
37264         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37265         * nptl/tst-setuid2.c: New file.
37266         * nptl/Makefile (xtests): Add tst-setuid2.
37268 2014-04-01  Alan Modra  <amodra@gmail.com>
37270         [BZ #16786]
37271         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37273 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37275         [BZ #6803]
37276         [BZ #6804]
37277         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37278         set errno as appropriate.
37279         * math/w_scalbf.c (__scalbf): Likewise.
37280         * math/w_scalbl.c (__scalbl): Likewise.
37281         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37282         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37283         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37284         Add more NaN tests.
37286         [BZ #16349]
37287         * math/w_atan2.c: Include <errno.h>.
37288         (__atan2): Set errno for result underflowing to zero.
37289         * math/w_atan2f.c: Include <errno.h>.
37290         (__atan2f): Set errno for result underflowing to zero.
37291         * math/w_atan2l.c: Include <errno.h>.
37292         (__atan2l): Set errno for result underflowing to zero.
37293         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37294         tests.
37295         * math/auto-libm-test-out: Regenerated.
37297 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37299         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37300         Encode instruction correctly in little endian.
37301         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37302         Likewise.
37303         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37304         Likewise.
37305         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37306         Likewise.
37307         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37308         Likewise.
37310 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37312         [BZ #9894]
37313         * sysdeps/unix/sysv/linux/kernel-features.h
37314         [__sparc__ && !__arch64__ && !__sparc_v9__]
37315         (__ASSUME_SET_ROBUST_LIST): Do not define.
37316         [__sparc__ && !__arch64__ && !__sparc_v9__]
37317         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37318         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37319         Likewise.
37320         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37321         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37322         (__ASSUME_REQUEUE_PI): Likewise.
37323         (__ASSUME_SET_ROBUST_LIST): Likewise.
37324         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37325         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37326         Undefine.
37327         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37328         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37329         Likewise.
37330         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37331         Likewise.
37332         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37333         Likewise.
37334         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37335         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37336         Undefine.
37337         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37338         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37339         Likewise.
37341         [BZ #16648]
37342         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37343         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37344         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37346 2014-03-31  Will Newton  <will.newton@linaro.org>
37348         * benchtests/Makefile (bench): Add ffs and ffsll to list
37349         of tests.
37350         * benchtests/ffs-inputs: New file.
37351         * benchtests/ffsll-inputs: Likewise.
37353 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37355         [BZ #16770]
37356         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37357         too large before casting to int.
37358         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37359         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37360         * math/libm-test.inc (scalb_test_data): Add more tests.
37362 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37364         * benchtests/Makefile (DETAILED_OPT): New make option.
37365         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37366         set.
37367         * benchtests/bench-skeleton.c: Include stdbool.h.
37368         (main): Store and print timings per input.
37369         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37370         member to each argument value.
37371         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37372         (_print_arg_data): Initialize per-input timing to 0.
37374         * benchtests/Makefile (timing-type): New binary.
37375         (bench-clean): Also remove bench-timing-type.
37376         (bench): New target for timing-type.
37377         (bench-func): Print output in JSON format.
37378         * benchtests/bench-skeleton.c (main): Print output in JSON
37379         format.
37380         * benchtests/bench-timing-type.c: New file.
37381         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37382         (TIMING_PRINT_STATS): Remove.
37383         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37384         name separately.
37386         * benchtests/bench-modf.c: Remove.
37387         * benchtests/modf-inputs: New inputs file.
37389 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37391         [BZ #16362]
37392         * math/s_clog10.c (M_PI_LOG10E): New macro.
37393         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37394         imaginary parts are 0.
37395         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37396         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37397         imaginary parts are 0.
37398         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37399         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37400         imaginary parts are 0.
37401         * math/libm-test.inc (clog10_test_data): Update expected results
37402         for when real and imaginary parts are 0.
37404 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37406         * elf/dl-load.c: Finish conversion of __builtin_expect into
37407         __glibc_{un}likely.
37409 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37411         [BZ #16348]
37412         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37413         1+x for argument with exponent below -67.
37414         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37415         Likewise.
37416         * math/auto-libm-test-in: Add more tests of exp.
37417         * math/auto-libm-test-out: Regenerated.
37419 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37421         [BZ #16759]
37422         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37423         (nscd_getnetgrent): Use it.
37425         [BZ #16760]
37426         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37427         of stpcpy.
37429 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37431         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37432         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37433         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37434         (lll_robust_unlock): Remove out of line section. Use cfi
37435         intrinsics.
37436         (LLL_STUB_UNWIND_INFO*): Remove.
37437         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37438         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37439         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37440         (lll_robust_unlock): Remove out of line section. Use cfi
37441         intrinsics.
37442         (LLL_STUB_UNWIND_INFO*): Remove.
37444 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37446         [BZ #16758]
37447         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37448         blank values.
37450 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37452         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37454 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37456         [BZ #16198]
37457         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37458         fnstenv.
37459         * math/test-fenv-preserve.c: New file.
37460         * math/Makefile (tests): Add test-fenv-preserve.
37462 2014-03-26  Will Newton <will.newton@linaro.org>
37464         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37466 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37468         * scripts/versionlist.awk: Partition the version sets and emit all
37469         GLIBC_* (sorted) before all others (sorted).
37471 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37473         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37474         GLIBC_2.2.5 version.
37476 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37478         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37479         calls.
37481         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37482         previous change.
37484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37486 2014-03-25  Andreas Schwab  <schwab@suse.de>
37488         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37489         label to be used after in6ailist is initialized.
37491 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37493         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37494         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37496 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37498         [BZ #16357]
37499         [BZ #16599]
37500         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37501         min_plus_half.
37502         (fp_formats): Update initializers.
37503         (init_fp_formats): Initialize new field.
37504         (output_for_one_input_case): Allow underflow for results up to
37505         min_plus_half.
37506         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37507         * math/auto-libm-test-in: Don't mark some underflows from asin and
37508         atanh as spurious.
37509         * math/auto-libm-test-out: Regenerated.
37510         * sysdeps/i386/fpu/libm-test-ulps: Update.
37511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37513 2014-03-25  Andreas Schwab  <schwab@suse.de>
37515         * libio/Makefile (tst-ftell-partial-wide-ENV)
37516         (tst-ftell-active-handler-ENV): Define.
37518 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37520         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37522 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37524         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37526 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37528         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37529         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37530         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37532 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37534         [BZ #16634]
37535         * elf/dl-load.c (open_verify): Add mode parameter.
37536         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37537         (open_path): Change from boolean 'secure' to complete flag 'mode'
37538         (_dl_map_object): Adjust.
37539         * elf/Makefile (tests): Add tst-dlopen-aout.
37540         * elf/tst-dlopen-aout.c: New test.
37542 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37544         [BZ #16714]
37545         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37546         (struct stat): Rename member pad0 to __glibc_reserved0.
37548         [BZ #16712]
37549         * sysdeps/s390/s390-32/bits/wordsize.h
37550         (__WORDSIZE32_SIZE_ULONG): New define.
37551         * sysdeps/s390/s390-64/bits/wordsize.h
37552         (__WORDSIZE32_SIZE_ULONG): Likewise.
37553         * sysdeps/generic/stdint.h (SIZE_MAX):
37554         Define as UL if __WORDSIZE32_SIZE_ULONG.
37556         [BZ #16713]
37557         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37558         (__glibc_reserved0): New variable.
37559         (sa_flags): Change type to int.
37561         * posix/Makefile (before-compile): Use += before-compile instead
37562         of a :=.
37564         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37565         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37567 2014-03-20  Andreas Schwab  <schwab@suse.de>
37569         [BZ #16743]
37570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37571         non-matching result from nscd.
37573 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37575         * scripts/bench.py: Moved to ...
37576         * benchtests/scripts/bench.py: ... here.
37577         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37579 2014-03-24  Andreas Schwab  <schwab@suse.de>
37581         [BZ #16002]
37582         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37583         alloca_account and account alloca use for struct in6ailist.
37585 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37587         [BZ #16284]
37588         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37589         rounding mode to recompute results that overflow to infinity or
37590         underflow to zero.
37591         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37592         bug 16284.
37593         * math/auto-libm-test-out: Regenerated.
37594         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37595         (ccosh_test): Likewise.
37596         (csin_test_data): Use plus_oflow.
37597         (csin_test): Use ALL_RM_TEST.
37598         (csinh_test_data): Use plus_oflow.
37599         (csinh_test): Use ALL_RM_TEST.
37600         * sysdeps/i386/fpu/libm-test-ulps: Update.
37601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37603 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37605         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37606         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37607         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37609         [BZ #16731]
37610         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37611         when x - 1 is zero.
37612         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37613         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37614         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37615         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37616         argument is 1.
37617         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37618         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37619         zero.
37620         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37621         * sysdeps/i386/fpu/libm-test-ulps: Update.
37622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37624 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37626         * scripts/bench.pl: Remove file.
37627         * scripts/bench.py: New benchmark script.
37628         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37629         * benchtests/README: Mention python dependency.
37630         * scripts/pylintrc: New file.
37631         * scripts/pylint: New file.
37633         * bits/mathdef.h: Use #ifdef instead of #if.
37634         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37635         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37636         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37637         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37638         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37639         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37641 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37642             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37644         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37646         and strpbrk-ppc64 objects.
37647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37648         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37649         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37650         multiarch strpbrk for POWER7.
37651         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37652         multiarch strpbrk for PPC64.
37653         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37654         ifunc selector.
37655         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37656         strpbrk for POWER7.
37658 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37660         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37661         (atan_test): Likewise.
37662         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37663         (atanh_test): Use ALL_RM_TEST.
37664         (atan2_test_data): Likewise.
37665         (cabs_test): Likewise.
37666         (cacosh_test): Likewise.
37667         (carg_test): Likewise.
37668         (casin_test): Likewise.
37669         (casinh_test): Likewise.
37670         (cbrt_test): Likewise.
37671         (csqrt_test): Likewise.
37672         (erf_test): Likewise.
37673         (erfc_test): Likewise.
37674         (pow10_test): Likewise.
37675         (exp2_test): Likewise.
37676         (hypot_test): Likewise.
37677         (j0_test): Likewise.
37678         (j1_test): Likewise.
37679         (lgamma_test): Likewise.
37680         (gamma_test): Likewise.
37681         (sincos_test): Likewise.
37682         (tanh_test): Likewise.
37683         (y0_test): Likewise.
37684         (y1_test): Likewise.
37685         * sysdeps/i386/fpu/libm-test-ulps: Update.
37686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37688 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37690         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37692         and strcspn-ppc64 objects.
37693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37694         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37695         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37696         multiarch strcspn for POWER7.
37697         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37698         multiarch strcspn for PPC64.
37699         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37700         ifunc selector.
37701         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37702         strcspn for POWER7.
37704 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37706         * math/gen-libm-test.pl (generate_testfile): Expect only function
37707         name as argument to AUTO_TESTS_* and pass results for all rounding
37708         modes to parse_args.
37709         (parse_auto_input): Separate inputs of automatic tests from
37710         outputs before storing in %auto_tests.
37711         * math/libm-test.inc (acos_test_data): Update call to
37712         AUTO_TESTS_f_f.
37713         (acos_test): Use ALL_RM_TEST.
37714         (acos_tonearest_test_data): Remove.
37715         (acos_test_tonearest): Likewise.
37716         (acos_towardzero_test_data): Likewise.
37717         (acos_test_towardzero): Likewise.
37718         (acos_downward_test_data): Likewise.
37719         (acos_test_downward): Likewise.
37720         (acos_upward_test_data): Likewise.
37721         (acos_test_upward): Likewise.
37722         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37723         (asin_test_data): Likewise.
37724         (asin_test): Use ALL_RM_TEST.
37725         (asin_tonearest_test_data): Remove.
37726         (asin_test_tonearest): Likewise.
37727         (asin_towardzero_test_data): Likewise.
37728         (asin_test_towardzero): Likewise.
37729         (asin_downward_test_data): Likewise.
37730         (asin_test_downward): Likewise.
37731         (asin_upward_test_data): Likewise.
37732         (asin_test_upward): Likewise.
37733         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37734         (atan_test_data): Likewise.
37735         (atanh_test_data): Likewise.
37736         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37737         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37738         (carg_test_data): Likewise.
37739         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37740         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37741         (ccosh_test_data): Likewise.
37742         (cexp_test_data): Likewise.
37743         (clog_test_data): Likewise.
37744         (clog10_test_data): Likewise.
37745         (cos_test_data): Update call to AUTO_TESTS_f_f.
37746         (cos_test): Use ALL_RM_TEST.
37747         (cos_tonearest_test_data): Remove.
37748         (cos_test_tonearest): Likewise.
37749         (cos_towardzero_test_data): Likewise.
37750         (cos_test_towardzero): Likewise.
37751         (cos_downward_test_data): Likewise.
37752         (cos_test_downward): Likewise.
37753         (cos_upward_test_data): Likewise.
37754         (cos_test_upward): Likewise.
37755         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37756         (cosh_test): Use ALL_RM_TEST.
37757         (cosh_tonearest_test_data): Remove.
37758         (cosh_test_tonearest): Likewise.
37759         (cosh_towardzero_test_data): Likewise.
37760         (cosh_test_towardzero): Likewise.
37761         (cosh_downward_test_data): Likewise.
37762         (cosh_test_downward): Likewise.
37763         (cosh_upward_test_data): Likewise.
37764         (cosh_test_upward): Likewise.
37765         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37766         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37767         (ctan_test_data): Likewise.
37768         (ctan_test): Use ALL_RM_TEST.
37769         (ctan_tonearest_test_data): Remove.
37770         (ctan_test_tonearest): Likewise.
37771         (ctan_towardzero_test_data): Likewise.
37772         (ctan_test_towardzero): Likewise.
37773         (ctan_downward_test_data): Likewise.
37774         (ctan_test_downward): Likewise.
37775         (ctan_upward_test_data): Likewise.
37776         (ctan_test_upward): Likewise.
37777         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37778         (ctanh_test): Use ALL_RM_TEST.
37779         (ctanh_tonearest_test_data): Remove.
37780         (ctanh_test_tonearest): Likewise.
37781         (ctanh_towardzero_test_data): Likewise.
37782         (ctanh_test_towardzero): Likewise.
37783         (ctanh_downward_test_data): Likewise.
37784         (ctanh_test_downward): Likewise.
37785         (ctanh_upward_test_data): Likewise.
37786         (ctanh_test_upward): Likewise.
37787         (erf_test_data): Update call to AUTO_TESTS_f_f.
37788         (erfc_test_data): Likewise.
37789         (exp_test_data): Likewise.
37790         (exp_test): Use ALL_RM_TEST.
37791         (exp_tonearest_test_data): Remove.
37792         (exp_test_tonearest): Likewise.
37793         (exp_towardzero_test_data): Likewise.
37794         (exp_test_towardzero): Likewise.
37795         (exp_downward_test_data): Likewise.
37796         (exp_test_downward): Likewise.
37797         (exp_upward_test_data): Likewise.
37798         (exp_test_upward): Likewise.
37799         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37800         (exp10_test): Use ALL_RM_TEST.
37801         (exp10_tonearest_test_data): Remove.
37802         (exp10_test_tonearest): Likewise.
37803         (exp10_towardzero_test_data): Likewise.
37804         (exp10_test_towardzero): Likewise.
37805         (exp10_downward_test_data): Likewise.
37806         (exp10_test_downward): Likewise.
37807         (exp10_upward_test_data): Likewise.
37808         (exp10_test_upward): Likewise.
37809         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37810         (expm1_test_data): Likewise.
37811         (expm1_test): Use ALL_RM_TEST.
37812         (expm1_tonearest_test_data): Remove.
37813         (expm1_test_tonearest): Likewise.
37814         (expm1_towardzero_test_data): Likewise.
37815         (expm1_test_towardzero): Likewise.
37816         (expm1_downward_test_data): Likewise.
37817         (expm1_test_downward): Likewise.
37818         (expm1_upward_test_data): Likewise.
37819         (expm1_test_upward): Likewise.
37820         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37821         (fma_test): Use ALL_RM_TEST.
37822         (fma_towardzero_test_data): Remove.
37823         (fma_test_towardzero): Likewise.
37824         (fma_downward_test_data): Likewise.
37825         (fma_test_downward): Likewise.
37826         (fma_upward_test_data): Likewise.
37827         (fma_test_upward): Likewise.
37828         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37829         (j0_test_data): Update call to AUTO_TESTS_f_f.
37830         (j1_test_data): Likewise.
37831         (jn_test_data): Update call to AUTO_TESTS_if_f.
37832         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37833         (log_test_data): Update call to AUTO_TESTS_f_f.
37834         (log10_test_data): Likewise.
37835         (log1p_test_data): Likewise.
37836         (log2_test_data): Likewise.
37837         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37838         (pow_tonearest_test_data): Likewise.
37839         (sin_test_data): Update call to AUTO_TESTS_f_f.
37840         (sin_test): Use ALL_RM_TEST.
37841         (sin_tonearest_test_data): Remove.
37842         (sin_test_tonearest): Likewise.
37843         (sin_towardzero_test_data): Likewise.
37844         (sin_test_towardzero): Likewise.
37845         (sin_downward_test_data): Likewise.
37846         (sin_test_downward): Likewise.
37847         (sin_upward_test_data): Likewise.
37848         (sin_test_upward): Likewise.
37849         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37850         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37851         (sinh_test): Use ALL_RM_TEST.
37852         (sinh_tonearest_test_data): Remove.
37853         (sinh_test_tonearest): Likewise.
37854         (sinh_towardzero_test_data): Likewise.
37855         (sinh_test_towardzero): Likewise.
37856         (sinh_downward_test_data): Likewise.
37857         (sinh_test_downward): Likewise.
37858         (sinh_upward_test_data): Likewise.
37859         (sinh_test_upward): Likewise.
37860         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37861         (sqrt_test): Use ALL_RM_TEST.
37862         (sqrt_tonearest_test_data): Remove.
37863         (sqrt_test_tonearest): Likewise.
37864         (sqrt_towardzero_test_data): Likewise.
37865         (sqrt_test_towardzero): Likewise.
37866         (sqrt_downward_test_data): Likewise.
37867         (sqrt_test_downward): Likewise.
37868         (sqrt_upward_test_data): Likewise.
37869         (sqrt_test_upward): Likewise.
37870         (tan_test_data): Update call to AUTO_TESTS_f_f.
37871         (tan_test): Use ALL_RM_TEST.
37872         (tan_tonearest_test_data): Remove.
37873         (tan_test_tonearest): Likewise.
37874         (tan_towardzero_test_data): Likewise.
37875         (tan_test_towardzero): Likewise.
37876         (tan_downward_test_data): Likewise.
37877         (tan_test_downward): Likewise.
37878         (tan_upward_test_data): Likewise.
37879         (tan_test_upward): Likewise.
37880         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37881         (tgamma_test_data): Likewise.
37882         (y0_test_data): Likewise.
37883         (y1_test_data): Likewise.
37884         (yn_test_data): Update call to AUTO_TESTS_if_f.
37885         (main): Do not call removed functions.
37887 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37889         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37890         (ldexp_test_data): Remove.
37891         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37892         scalbn_test_data.
37893         (scalb_test): Use ALL_RM_TEST.
37895 2014-03-19  Andreas Schwab  <schwab@suse.de>
37897         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37899 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37901         [BZ #16649]
37902         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37903         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37904         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37905         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37906         (__ASSUME_PREADV): Undefine.
37907         (__ASSUME_PWRITEV): Likewise.
37909 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37911         * bits/mman-linux.h: Add comment about non-Linux use.
37912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37913         bits/mman-linux.h resting place.
37915         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37916         * bits/mman-linux.h: ... here.
37918 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37920         * conform/conformtest.pl: Add standard definition when calling C
37921         preprocessor on data files.
37922         (checknamespace): Remove unused variable.
37924 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37926         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37927         minus_oflow, plus_uflow and minus_uflow in expected results.
37928         * math/libm-test.inc (scalbn_test_data): Add more tests of
37929         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37930         minus_uflow.
37931         (scalbn_test): Use ALL_RM_TEST.
37932         (scalbln_test_data): Add more tests of negative arguments.  Use
37933         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37934         (scalbln_test): Use ALL_RM_TEST.
37936 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37938         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37940 2014-03-18  Will Newton  <will.newton@linaro.org>
37942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37943         inaccurate comment.
37945 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37947         * Makerules [!subdir] (check-abi): Exit with error status if a
37948         test failed.
37950 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37952         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37953         for rint.  Include results for all rounding modes.
37954         (nearbyint_test): Use ALL_RM_TEST.
37955         (rint_test_data): Include all tests used for nearbyint.
37957 2014-03-17  Will Newton  <will.newton@linaro.org>
37959         * nptl/sysdeps/pthread/pthread.h: Revert previous
37960         change.
37962         * sysdeps/generic/ldsodefs.h: Revert previous
37963         change.
37965         * libio/genops.c: Revert previous change.
37966         * libio/libioP.h: Likewise.
37967         * stdio-common/vfprintf.c: Likewise.
37969         * sysdeps/generic/math_private.h: Revert previous
37970         change.
37972         * sysdeps/generic/math_private.h: Check whether
37973         HAVE_RM_CTX is defined with #ifdef rather
37974         than #if.
37976         * argp/argp-fmtstream.h: Check whether
37977         __STRICT_ANSI__ is defined with #ifdef rather
37978         than #if.
37979         * argp/argp.h: Likewise.
37981         * libio/genops.c: Check whether
37982         _IO_JUMPS_OFFSET is defined with #ifdef rather
37983         than #if.
37984         * libio/libioP.h: Likewise.
37985         * stdio-common/vfprintf.c: Likewise.
37987         * sysdeps/generic/ldsodefs.h: Check whether
37988         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37989         than #if.
37991         * nptl/sysdeps/pthread/pthread.h: Check
37992         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37993         its value.
37995 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37997         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37998         setting O_APPEND.
37999         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38000         test case.
38002         [BZ #16680]
38003         * libio/fileops.c (_IO_file_open): Seek to end of file but
38004         don't cache the offset.
38005         (get_file_offset): Remove function.
38006         (do_ftell): Use cached offset when available.
38007         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38008         don't cache the offset.
38009         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38010         case.
38011         (do_one_test): Call it.
38012         (do_ftell_test): Fix up expected old offset for a+ mode.
38013         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38014         available.
38016         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38017         up test status with function return status.
38018         (do_write_test): Likewise.
38019         (do_append_test): Likewise.
38021         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38022         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38023         Remove.
38025 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38027         * math/gen-libm-test.pl (parse_args): Handle results specified for
38028         each rounding mode separately.
38029         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38030         tests and results from lrint_tonearest_test_data,
38031         lrint_towardzero_test_data, lrint_downward_test_data and
38032         lrint_upward_test_data.
38033         (lrint_test): Use ALL_RM_TEST.
38034         (lrint_tonearest_test_data): Remove.
38035         (lrint_test_tonearest): Likewise.
38036         (lrint_towardzero_test_data): Likewise.
38037         (lrint_test_towardzero): Likewise.
38038         (lrint_downward_test_data): Likewise.
38039         (lrint_test_downward): Likewise.
38040         (lrint_upward_test_data): Likewise.
38041         (lrint_test_upward): Likewise.
38042         (llrint_test_data): Merge in per-rounding-mode tests and results
38043         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38044         llrint_downward_test_data and llrint_upward_test_data.
38045         (llrint_test): Use ALL_RM_TEST.
38046         (llrint_tonearest_test_data): Remove.
38047         (llrint_test_tonearest): Likewise.
38048         (llrint_towardzero_test_data): Likewise.
38049         (llrint_test_towardzero): Likewise.
38050         (llrint_downward_test_data): Likewise.
38051         (llrint_test_downward): Likewise.
38052         (llrint_upward_test_data): Likewise.
38053         (llrint_test_upward): Likewise.
38054         (rint_test_data): Merge in per-rounding-mode tests and results
38055         from rint_tonearest_test_data, rint_towardzero_test_data,
38056         rint_downward_test_data and rint_upward_test_data.  Add
38057         per-rounding-mode results for tests not in those arrays.
38058         (rint_test): Use ALL_RM_TEST.
38059         (rint_tonearest_test_data): Remove.
38060         (rint_test_tonearest): Likewise.
38061         (rint_towardzero_test_data): Likewise.
38062         (rint_test_towardzero): Likewise.
38063         (rint_downward_test_data): Likewise.
38064         (rint_test_downward): Likewise.
38065         (rint_upward_test_data): Likewise.
38066         (rint_test_upward): Likewise.
38067         (main): Don't call removed functions.
38069 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38071         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38072         "Compiled on ..." crapola.  It is anti-useful.
38074 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38076         * scripts/evaluate-test.sh: Handle fourth argument to determine
38077         whether test run should stop on failure.
38078         * Makeconfig (stop-on-test-failure): New variable.
38079         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38080         $(stop-on-test-failure).
38081         * Makefile (tests): Give a summary of results from testing and
38082         exit with failure status if they include an ERROR or FAIL.
38083         (xtests): Likewise.
38084         * manual/install.texi (Configuring and compiling): Mention
38085         stop-on-test-failure=y.
38086         * INSTALL: Regenerated.
38088 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38090         * scripts/versionlist.awk: New file.
38091         * Makerules [$(build-shared) = yes]
38092         (postclean-generated): Add Versions.def, not Versions.def.v and
38093         Versions.def.v.i.
38094         ($(common-objpfx)Versions.def.v.i): Target removed.
38095         ($(common-objpfx)Versions.def): New target.
38096         ($(common-objpfx)Versions.all): Depend on that rather that
38097         $(common-objpfx)Versions.def.v.
38098         * Versions.def: File removed.
38100         * Makeconfig (+gccwarn): Add -Wundef.
38101         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38102         a dl-sysdep.h breaking its contract.
38103         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38104         * include/stackinfo.h: New file.
38105         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38106         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38107         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38108         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38109         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38110         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38111         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38112         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38113         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38114         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38115         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38116         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38117         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38118         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38119         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38121 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38123         [BZ #16707]
38124         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38125         implementation.
38126         * math/libm-test.inc (round_test_data): Add more tests.
38128         [BZ #16706]
38129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38130         implementation.
38131         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38133         [BZ #16701]
38134         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38135         implementation.
38136         * math/libm-test.inc (ceil_test_data): Add more tests.
38138         * math/libm-test.inc (trunc_test_data): Add more tests related to
38139         BZ#16414.
38141 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38143         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38144         with #if rather than #ifdef.
38145         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38147 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38149         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38150         first.  Disable AVX-512 GCC support if assembler doesn't support
38151         it.
38152         * sysdeps/x86_64/configure: Regenerated.
38154 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38156         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38157         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38158         (__old_pthread_attr_setstack): Likewise.
38159         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38160         [!_STACK_GROWS_DOWN]: Likewise.
38162 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38164         * config.make.in (have-bash2): Delete.
38165         * configure.ac (libc_cv_have_bash2): Delete.
38166         * configure: Regenerate.
38167         * elf/Makefile (common-ldd-rewrite): Rename to ...
38168         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38169         (sh-ldd-rewrite): Delete.
38170         (bash-ldd-rewrite): Delete.
38171         (have-bash2): Delete checks.
38172         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38173         ldd-rewrite.
38175         * config.make.in (have-ksh): Delete.
38176         (KSH): Delete.
38177         * configure.ac (libc_cv_have_ksh): Delete.
38178         * configure: Regenerate.
38180         * elf/Makefile: Delete $(have-ksh) check.
38181         ($(objpfx)sotruss): Change KSH to BASH.
38182         * elf/sotruss.ksh: Rename to ...
38183         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38184         function style to match POSIX.  Drop ksh vim mode setting.
38186         * manual/time.texi (Specifying the Time Zone with TZ): Change
38187         Tuesday to Thursday.
38189         * debug/tst-longjmp_chk2.c: Update header comment.
38190         (stackoverflow_handler): Add comment.  Call assert on pass value.
38192 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38194         [BZ #16194]
38195         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38196         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38197         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38198         (La_x86_64_vector): Add zmm.
38199         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38200         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38201         ($(objpfx)tst-audit10): New target.
38202         ($(objpfx)tst-audit10.out): Likewise.
38203         (tst-audit10-ENV): New.
38204         (AVX512-CFLAGS): Likewise.
38205         (CFLAGS-tst-audit10.c): Likewise.
38206         (CFLAGS-tst-auditmod10a.c): Likewise.
38207         (CFLAGS-tst-auditmod10b.c): Likewise.
38208         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38209         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38210         * sysdeps/x86_64/configure: Regenerated.
38211         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38212         AVX-512 zmm register support.
38213         (_dl_x86_64_save_sse): Likewise.
38214         (_dl_x86_64_restore_sse): Likewise.
38215         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38216         size vector registers.
38217         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38218         (ZMM_SIZE): Likewise.
38219         * sysdeps/x86_64/tst-audit10.c: New file.
38220         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38221         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38223 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38225         * configure.ac (HAVE_EHDR_START): New check.
38226         * configure: Regenerated.
38227         * config.h.in (HAVE_EHDR_START): New #undef.
38228         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38229         assuming the lowest-addressed segment maps the start of the file.
38231 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38233         * INSTALL: Regenerated.
38235 2014-03-13  Will Newton  <will.newton@linaro.org>
38237         * manual/setjmp.texi (System V contexts): Improve
38238         clarity and grammar of documentation.
38240 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38242         [BZ #16381]
38243         * elf/Makefile (tests): Add tst-pie2.
38244         (tests-pie): Add tst-pie2.
38245         * elf/tst-pie2.c: New file.
38246         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38247         for ET_EXEC.
38248         * elf/rtld.c (map_doit): Load executable as lt_executable.
38249         (dl_main): Likewise.
38251 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38253         [BZ #16642]
38254         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38255         (__ASSUME_PSELECT): Undefine.
38257 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38259         [BZ #16689]
38260         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38261         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38262         static build.
38263         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38264         selector for static builds.
38266 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38268         [BZ #16695]
38269         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38270         key in the buffer.
38272 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38274         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38275         IFUNC selector for static builds.
38277 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38279         * sysdeps/mips/math_private.h [__mips_hard_float]
38280         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38281         libc_feresetround_mips_ctx.
38282         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38283         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38284         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38286         [BZ #16677]
38287         * math/s_nextafter.c (__nextafter): Do not return value from
38288         overflowing computation.
38289         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38290         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38291         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38292         Likewise.
38293         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38294         Likewise.
38295         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38296         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38298 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38300         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38301         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38302         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38303         the new mov targetting sp.
38305 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38307         [BZ #16683]
38308         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38309         Define it for static builds as well.
38310         (NO_BZERO_IMPL): Likewise.
38312 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38314         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38315         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38316         multiarch strspn for PPC64.
38317         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38318         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38320         (__libc_ifunc_impl_list): Likewise.
38321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38322         multiarch optimizations
38323         * string/strspn.c (strspn): Using macro to redefine symbol name.
38325 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38326             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38328         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38329         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38330         multiarch strncat for PPC64.
38331         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38332         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38334         (__libc_ifunc_impl_list): Likewise.
38335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38336         multiarch optimizations
38338 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38340         [BZ #16639]
38341         * nscd/nscd.service: Make service type forking.
38343 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38345         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38346         sign in non default rounding modes.
38347         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38349 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38351         * math/libm-test.inc (ALL_RM_TEST): New macro.
38352         (ceil_test): Use ALL_RM_TEST.
38353         (cimag_test): Likewise.
38354         (conj_test): Likewise.
38355         (copysign_test): Likewise.
38356         (cproj_test): Likewise.
38357         (creal_test): Likewise.
38358         (fabs_test): Likewise.
38359         (floor_test): Likewise.
38360         (fmax_test): Likewise.
38361         (fmin_test): Likewise.
38362         (fmod_test): Likewise.
38363         (fpclassify_test): Likewise.
38364         (frexp_test): Likewise.
38365         (ilogb_test): Likewise.
38366         (isfinite_test): Likewise.
38367         (finite_test): Likewise.
38368         (isgreater_test): Likewise.
38369         (isgreaterequal_test): Likewise.
38370         (isinf_test): Likewise.
38371         (isless_test): Likewise.
38372         (islessequal_test): Likewise.
38373         (islessgreater_test): Likewise.
38374         (isnan_test): Likewise.
38375         (isnormal_test): Likewise.
38376         (issignaling_test): Likewise.
38377         (isunordered_test): Likewise.
38378         (logb_test): Likewise.
38379         (logb_downward_test_data): Remove.
38380         (logb_test_downward): Likewise.
38381         (lround_test): Use ALL_RM_TEST.
38382         (llround_test): Likewise.
38383         (modf_test): Likewise.
38384         (nexttoward_test): Likewise.
38385         (remainder_test): Likewise.
38386         (drem_test): Likewise.
38387         (remainder_tonearest_test_data): Likewise.
38388         (remainder_test_tonearest): Likewise.
38389         (drem_test_tonearest): Likewise.
38390         (remainder_towardzero_test_data): Likewise.
38391         (remainder_test_towardzero): Likewise.
38392         (drem_test_towardzero): Likewise.
38393         (remainder_downward_test_data): Likewise.
38394         (remainder_test_downward): Likewise.
38395         (drem_test_downward): Likewise.
38396         (remainder_upward_test_data): Likewise.
38397         (remainder_test_upward): Likewise.
38398         (drem_test_upward): Likewise.
38399         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38400         (round_test): Use ALL_RM_TEST.
38401         (signbit_test): Likewise.
38402         (trunc_test): Likewise.
38403         (significand_test): Likewise.
38404         (main): Don't call removed functions.
38406 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38408         [BZ #16674]
38409         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38410         || __USE_XOPEN2K8].
38411         (ILL_ILLOPN): Likewise.
38412         (ILL_ILLADR): Likewise.
38413         (ILL_ILLTRP): Likewise.
38414         (ILL_PRVOPC): Likewise.
38415         (ILL_PRVREG): Likewise.
38416         (ILL_COPROC): Likewise.
38417         (ILL_BADSTK): Likewise.
38418         (FPE_INTDIV): Likewise.
38419         (FPE_INTOVF): Likewise.
38420         (FPE_FLTDIV): Likewise.
38421         (FPE_FLTOVF): Likewise.
38422         (FPE_FLTUND): Likewise.
38423         (FPE_FLTRES): Likewise.
38424         (FPE_FLTINV): Likewise.
38425         (FPE_FLTSUB): Likewise.
38426         (SEGV_MAPERR): Likewise.
38427         (SEGV_ACCERR): Likewise.
38428         (BUS_ADRALN): Likewise.
38429         (BUS_ADRERR): Likewise.
38430         (BUS_OBJERR): Likewise.
38431         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38432         (TRAP_TRACE): Likewise.
38433         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38434         __USE_XOPEN2K8].
38435         (CLD_KILLED): Likewise.
38436         (CLD_DUMPED): Likewise.
38437         (CLD_TRAPPED): Likewise.
38438         (CLD_STOPPED): Likewise.
38439         (CLD_CONTINUED): Likewise.
38440         (POLL_IN): Likewise.
38441         (POLL_OUT): Likewise.
38442         (POLL_MSG): Likewise.
38443         (POLL_ERR): Likewise.
38444         (POLL_PRI): Likewise.
38445         (POLL_HUP): Likewise.
38446         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38447         Likewise.
38448         (ILL_ILLOPN): Likewise.
38449         (ILL_ILLADR): Likewise.
38450         (ILL_ILLTRP): Likewise.
38451         (ILL_PRVOPC): Likewise.
38452         (ILL_PRVREG): Likewise.
38453         (ILL_COPROC): Likewise.
38454         (ILL_BADSTK): Likewise.
38455         (FPE_INTDIV): Likewise.
38456         (FPE_INTOVF): Likewise.
38457         (FPE_FLTDIV): Likewise.
38458         (FPE_FLTOVF): Likewise.
38459         (FPE_FLTUND): Likewise.
38460         (FPE_FLTRES): Likewise.
38461         (FPE_FLTINV): Likewise.
38462         (FPE_FLTSUB): Likewise.
38463         (SEGV_MAPERR): Likewise.
38464         (SEGV_ACCERR): Likewise.
38465         (BUS_ADRALN): Likewise.
38466         (BUS_ADRERR): Likewise.
38467         (BUS_OBJERR): Likewise.
38468         (BUS_MCEERR_AR): Likewise.
38469         (BUS_MCEERR_AO): Likewise.
38470         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38471         (TRAP_TRACE): Likewise.
38472         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38473         __USE_XOPEN2K8].
38474         (CLD_KILLED): Likewise.
38475         (CLD_DUMPED): Likewise.
38476         (CLD_TRAPPED): Likewise.
38477         (CLD_STOPPED): Likewise.
38478         (CLD_CONTINUED): Likewise.
38479         (POLL_IN): Likewise.
38480         (POLL_OUT): Likewise.
38481         (POLL_MSG): Likewise.
38482         (POLL_ERR): Likewise.
38483         (POLL_PRI): Likewise.
38484         (POLL_HUP): Likewise.
38485         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38486         (ILL_ILLOPN): Likewise.
38487         (ILL_ILLADR): Likewise.
38488         (ILL_ILLTRP): Likewise.
38489         (ILL_PRVOPC): Likewise.
38490         (ILL_PRVREG): Likewise.
38491         (ILL_COPROC): Likewise.
38492         (ILL_BADSTK): Likewise.
38493         (FPE_INTDIV): Likewise.
38494         (FPE_INTOVF): Likewise.
38495         (FPE_FLTDIV): Likewise.
38496         (FPE_FLTOVF): Likewise.
38497         (FPE_FLTUND): Likewise.
38498         (FPE_FLTRES): Likewise.
38499         (FPE_FLTINV): Likewise.
38500         (FPE_FLTSUB): Likewise.
38501         (SEGV_MAPERR): Likewise.
38502         (SEGV_ACCERR): Likewise.
38503         (BUS_ADRALN): Likewise.
38504         (BUS_ADRERR): Likewise.
38505         (BUS_OBJERR): Likewise.
38506         (BUS_MCEERR_AR): Likewise.
38507         (BUS_MCEERR_AO): Likewise.
38508         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38509         (TRAP_TRACE): Likewise.
38510         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38511         __USE_XOPEN2K8].
38512         (CLD_KILLED): Likewise.
38513         (CLD_DUMPED): Likewise.
38514         (CLD_TRAPPED): Likewise.
38515         (CLD_STOPPED): Likewise.
38516         (CLD_CONTINUED): Likewise.
38517         (POLL_IN): Likewise.
38518         (POLL_OUT): Likewise.
38519         (POLL_MSG): Likewise.
38520         (POLL_ERR): Likewise.
38521         (POLL_PRI): Likewise.
38522         (POLL_HUP): Likewise.
38523         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38524         Likewise.
38525         (ILL_ILLOPN): Likewise.
38526         (ILL_ILLADR): Likewise.
38527         (ILL_ILLTRP): Likewise.
38528         (ILL_PRVOPC): Likewise.
38529         (ILL_PRVREG): Likewise.
38530         (ILL_COPROC): Likewise.
38531         (ILL_BADSTK): Likewise.
38532         (ILL_BADIADDR): Likewise.
38533         (ILL_BREAK): Likewise.
38534         (FPE_INTDIV): Likewise.
38535         (FPE_INTOVF): Likewise.
38536         (FPE_FLTDIV): Likewise.
38537         (FPE_FLTOVF): Likewise.
38538         (FPE_FLTUND): Likewise.
38539         (FPE_FLTRES): Likewise.
38540         (FPE_FLTINV): Likewise.
38541         (FPE_FLTSUB): Likewise.
38542         (FPE_DECOVF): Likewise.
38543         (FPE_DECDIV): Likewise.
38544         (FPE_DECERR): Likewise.
38545         (FPE_INVASC): Likewise.
38546         (FPE_INVDEC): Likewise.
38547         (SEGV_MAPERR): Likewise.
38548         (SEGV_ACCERR): Likewise.
38549         (SEGV_PSTKOVF): Likewise.
38550         (BUS_ADRALN): Likewise.
38551         (BUS_ADRERR): Likewise.
38552         (BUS_OBJERR): Likewise.
38553         (BUS_MCEERR_AR): Likewise.
38554         (BUS_MCEERR_AO): Likewise.
38555         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38556         (TRAP_TRACE): Likewise.
38557         (TRAP_BRANCH): Likewise.
38558         (TRAP_HWBKPT): Likewise.
38559         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38560         __USE_XOPEN2K8].
38561         (CLD_KILLED): Likewise.
38562         (CLD_DUMPED): Likewise.
38563         (CLD_TRAPPED): Likewise.
38564         (CLD_STOPPED): Likewise.
38565         (CLD_CONTINUED): Likewise.
38566         (POLL_IN): Likewise.
38567         (POLL_OUT): Likewise.
38568         (POLL_MSG): Likewise.
38569         (POLL_ERR): Likewise.
38570         (POLL_PRI): Likewise.
38571         (POLL_HUP): Likewise.
38572         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38573         (ILL_ILLOPN): Likewise.
38574         (ILL_ILLADR): Likewise.
38575         (ILL_ILLTRP): Likewise.
38576         (ILL_PRVOPC): Likewise.
38577         (ILL_PRVREG): Likewise.
38578         (ILL_COPROC): Likewise.
38579         (ILL_BADSTK): Likewise.
38580         (FPE_INTDIV): Likewise.
38581         (FPE_INTOVF): Likewise.
38582         (FPE_FLTDIV): Likewise.
38583         (FPE_FLTOVF): Likewise.
38584         (FPE_FLTUND): Likewise.
38585         (FPE_FLTRES): Likewise.
38586         (FPE_FLTINV): Likewise.
38587         (FPE_FLTSUB): Likewise.
38588         (SEGV_MAPERR): Likewise.
38589         (SEGV_ACCERR): Likewise.
38590         (BUS_ADRALN): Likewise.
38591         (BUS_ADRERR): Likewise.
38592         (BUS_OBJERR): Likewise.
38593         (BUS_MCEERR_AR): Likewise.
38594         (BUS_MCEERR_AO): Likewise.
38595         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38596         (TRAP_TRACE): Likewise.
38597         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38598         __USE_XOPEN2K8].
38599         (CLD_KILLED): Likewise.
38600         (CLD_DUMPED): Likewise.
38601         (CLD_TRAPPED): Likewise.
38602         (CLD_STOPPED): Likewise.
38603         (CLD_CONTINUED): Likewise.
38604         (POLL_IN): Likewise.
38605         (POLL_OUT): Likewise.
38606         (POLL_MSG): Likewise.
38607         (POLL_ERR): Likewise.
38608         (POLL_PRI): Likewise.
38609         (POLL_HUP): Likewise.
38610         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38611         (ILL_ILLOPN): Likewise.
38612         (ILL_ILLADR): Likewise.
38613         (ILL_ILLTRP): Likewise.
38614         (ILL_PRVOPC): Likewise.
38615         (ILL_PRVREG): Likewise.
38616         (ILL_COPROC): Likewise.
38617         (ILL_BADSTK): Likewise.
38618         (FPE_INTDIV): Likewise.
38619         (FPE_INTOVF): Likewise.
38620         (FPE_FLTDIV): Likewise.
38621         (FPE_FLTOVF): Likewise.
38622         (FPE_FLTUND): Likewise.
38623         (FPE_FLTRES): Likewise.
38624         (FPE_FLTINV): Likewise.
38625         (FPE_FLTSUB): Likewise.
38626         (SEGV_MAPERR): Likewise.
38627         (SEGV_ACCERR): Likewise.
38628         (BUS_ADRALN): Likewise.
38629         (BUS_ADRERR): Likewise.
38630         (BUS_OBJERR): Likewise.
38631         (BUS_MCEERR_AR): Likewise.
38632         (BUS_MCEERR_AO): Likewise.
38633         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38634         (TRAP_TRACE): Likewise.
38635         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38636         __USE_XOPEN2K8].
38637         (CLD_KILLED): Likewise.
38638         (CLD_DUMPED): Likewise.
38639         (CLD_TRAPPED): Likewise.
38640         (CLD_STOPPED): Likewise.
38641         (CLD_CONTINUED): Likewise.
38642         (POLL_IN): Likewise.
38643         (POLL_OUT): Likewise.
38644         (POLL_MSG): Likewise.
38645         (POLL_ERR): Likewise.
38646         (POLL_PRI): Likewise.
38647         (POLL_HUP): Likewise.
38648         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38649         (ILL_ILLOPN): Likewise.
38650         (ILL_ILLADR): Likewise.
38651         (ILL_ILLTRP): Likewise.
38652         (ILL_PRVOPC): Likewise.
38653         (ILL_PRVREG): Likewise.
38654         (ILL_COPROC): Likewise.
38655         (ILL_BADSTK): Likewise.
38656         (FPE_INTDIV): Likewise.
38657         (FPE_INTOVF): Likewise.
38658         (FPE_FLTDIV): Likewise.
38659         (FPE_FLTOVF): Likewise.
38660         (FPE_FLTUND): Likewise.
38661         (FPE_FLTRES): Likewise.
38662         (FPE_FLTINV): Likewise.
38663         (FPE_FLTSUB): Likewise.
38664         (SEGV_MAPERR): Likewise.
38665         (SEGV_ACCERR): Likewise.
38666         (BUS_ADRALN): Likewise.
38667         (BUS_ADRERR): Likewise.
38668         (BUS_OBJERR): Likewise.
38669         (BUS_MCEERR_AR): Likewise.
38670         (BUS_MCEERR_AO): Likewise.
38671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38672         (TRAP_TRACE): Likewise.
38673         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38674         __USE_XOPEN2K8].
38675         (CLD_KILLED): Likewise.
38676         (CLD_DUMPED): Likewise.
38677         (CLD_TRAPPED): Likewise.
38678         (CLD_STOPPED): Likewise.
38679         (CLD_CONTINUED): Likewise.
38680         (POLL_IN): Likewise.
38681         (POLL_OUT): Likewise.
38682         (POLL_MSG): Likewise.
38683         (POLL_ERR): Likewise.
38684         (POLL_PRI): Likewise.
38685         (POLL_HUP): Likewise.
38686         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38687         (ILL_ILLOPN): Likewise.
38688         (ILL_ILLADR): Likewise.
38689         (ILL_ILLTRP): Likewise.
38690         (ILL_PRVOPC): Likewise.
38691         (ILL_PRVREG): Likewise.
38692         (ILL_COPROC): Likewise.
38693         (ILL_BADSTK): Likewise.
38694         (ILL_DBLFLT): Likewise.
38695         (ILL_HARDWALL): Likewise.
38696         (FPE_INTDIV): Likewise.
38697         (FPE_INTOVF): Likewise.
38698         (FPE_FLTDIV): Likewise.
38699         (FPE_FLTOVF): Likewise.
38700         (FPE_FLTUND): Likewise.
38701         (FPE_FLTRES): Likewise.
38702         (FPE_FLTINV): Likewise.
38703         (FPE_FLTSUB): Likewise.
38704         (SEGV_MAPERR): Likewise.
38705         (SEGV_ACCERR): Likewise.
38706         (BUS_ADRALN): Likewise.
38707         (BUS_ADRERR): Likewise.
38708         (BUS_OBJERR): Likewise.
38709         (BUS_MCEERR_AR): Likewise.
38710         (BUS_MCEERR_AO): Likewise.
38711         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38712         (TRAP_TRACE): Likewise.
38713         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38714         __USE_XOPEN2K8].
38715         (CLD_KILLED): Likewise.
38716         (CLD_DUMPED): Likewise.
38717         (CLD_TRAPPED): Likewise.
38718         (CLD_STOPPED): Likewise.
38719         (CLD_CONTINUED): Likewise.
38720         (POLL_IN): Likewise.
38721         (POLL_OUT): Likewise.
38722         (POLL_MSG): Likewise.
38723         (POLL_ERR): Likewise.
38724         (POLL_PRI): Likewise.
38725         (POLL_HUP): Likewise.
38726         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38727         (ILL_ILLOPN): Likewise.
38728         (ILL_ILLADR): Likewise.
38729         (ILL_ILLTRP): Likewise.
38730         (ILL_PRVOPC): Likewise.
38731         (ILL_PRVREG): Likewise.
38732         (ILL_COPROC): Likewise.
38733         (ILL_BADSTK): Likewise.
38734         (FPE_INTDIV): Likewise.
38735         (FPE_INTOVF): Likewise.
38736         (FPE_FLTDIV): Likewise.
38737         (FPE_FLTOVF): Likewise.
38738         (FPE_FLTUND): Likewise.
38739         (FPE_FLTRES): Likewise.
38740         (FPE_FLTINV): Likewise.
38741         (FPE_FLTSUB): Likewise.
38742         (SEGV_MAPERR): Likewise.
38743         (SEGV_ACCERR): Likewise.
38744         (BUS_ADRALN): Likewise.
38745         (BUS_ADRERR): Likewise.
38746         (BUS_OBJERR): Likewise.
38747         (BUS_MCEERR_AR): Likewise.
38748         (BUS_MCEERR_AO): Likewise.
38749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38750         (TRAP_TRACE): Likewise.
38751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38752         __USE_XOPEN2K8].
38753         (CLD_KILLED): Likewise.
38754         (CLD_DUMPED): Likewise.
38755         (CLD_TRAPPED): Likewise.
38756         (CLD_STOPPED): Likewise.
38757         (CLD_CONTINUED): Likewise.
38758         (POLL_IN): Likewise.
38759         (POLL_OUT): Likewise.
38760         (POLL_MSG): Likewise.
38761         (POLL_ERR): Likewise.
38762         (POLL_PRI): Likewise.
38763         (POLL_HUP): Likewise.
38764         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38765         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38767         [BZ #16670]
38768         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38769         before #include of <time.h>.
38770         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38771         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38772         (test-xfail-UNIX98/sched.h/conform): Likewise.
38774 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38776         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38777         error absence of trapping exception support.
38778         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38780 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38782         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38783         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38784         * timezone/Makefile (testdata): Move definition above include of
38785         Rules.
38786         (test-zones): New variable.
38787         (tests-special): Add zone files.
38788         (build-testdata): Use $(evaluate-test).
38790         * elf/Makefile (tests-special): Rename tests to end with .out.
38791         ($(objpfx)noload-mem): Likewise.
38792         ($(objpfx)tst-leaks1-mem): Likewise.
38793         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38794         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38795         $(objpfx)test-iconvconfig.out.
38796         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38797         set -e inside subshell and redirect output to file.
38798         * iconvdata/Makefile (generated): Rename tests to end with .out.
38799         Correct type.
38800         (tests-special): Rename tests to end with .out.
38801         ($(objpfx)mtrace-tst-loading): Likewise.
38802         * intl/Makefile (generated): Likewise.
38803         (tests-special): Likewise.
38804         ($(objpfx)mtrace-tst-gettext): Likewise.
38805         * misc/Makefile (generated): Likewise.
38806         (tests-special): Likewise.
38807         ($(objpfx)tst-error1-mem): Likewise.
38808         * nptl/Makefile (tests-special): Likewise.
38809         ($(objpfx)tst-stack3-mem): Likewise.
38810         (generated): Likewise.
38811         * posix/Makefile (generated): Likewise.
38812         (tests-special): Likewise.
38813         (xtests-special): Likewise.
38814         ($(objpfx)tst-fnmatch-mem): Likewise.
38815         ($(objpfx)bug-regex2-mem): Likewise.
38816         ($(objpfx)bug-regex14-mem): Likewise.
38817         ($(objpfx)bug-regex21-mem): Likewise.
38818         ($(objpfx)bug-regex31-mem): Likewise.
38819         ($(objpfx)tst-vfork3-mem): Likewise.
38820         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38821         ($(objpfx)tst-pcre-mem): Likewise.
38822         ($(objpfx)tst-boost-mem): Likewise.
38823         ($(objpfx)bug-ga2-mem): Likewise.
38824         ($(objpfx)bug-glob2-mem): Likewise.
38825         * resolv/Makefile (generate): Likewise.
38826         (tests-special): Likewise.
38827         (xtests-special): Likewise.
38828         (generated): Likewise.
38829         ($(objpfx)mtrace-tst-leaks): Likewise.
38830         ($(objpfx)mtrace-tst-leaks2): Likewise.
38832         * scripts/merge-test-results.sh: New file.
38833         * Makefile (tests-special-notdir): New variable.
38834         (tests): Run merge-test-results.sh.
38835         (xtests): Likewise.
38836         * Rules (tests-special-notdir): New variable.
38837         (xtests-special-notdir): Likewise.
38838         (tests): Run merge-test-results.sh
38839         (xtests): Likewise.
38841         * Makeconfig (test-xfail-name): New variable.
38842         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38843         compute variable name for expected failures.
38844         * conform/Makefile (conformtest-headers-data): New variable.
38845         (conformtest-standards): Likewise.
38846         (conformtest-headers-ISO): Likewise.
38847         (conformtest-headers-ISO99): Likewise.
38848         (conformtest-headers-ISO11): Likewise.
38849         (conformtest-headers-POSIX): Likewise.
38850         (conformtest-headers-XPG3): Likewise.
38851         (conformtest-headers-XPG4): Likewise.
38852         (conformtest-headers-UNIX98): Likewise.
38853         (conformtest-headers-XOPEN2K): Likewise.
38854         (conformtest-headers-POSIX2008): Likewise.
38855         (conformtest-headers-XOPEN2K8): Likewise.
38856         (conformtest-header-list-base): Likewise.
38857         (conformtest-header-list-tests): Likewise.
38858         (conformtest-header-base): Likewise.
38859         (conformtest-header-tests): Likewise.
38860         (tests-special): Add $(conformtest-header-list-tests).  If
38861         [$(fast-check) && !$(cross-compiling)], add
38862         $(conformtest-header-tests) instead of
38863         $(objpfx)run-conformtest.out.
38864         (generated): Add $(conformtest-header-list-base).  If
38865         [$(fast-check) && !$(cross-compiling)], add
38866         $(conformtest-header-base).  Remove previous setting.
38867         ($(conformtest-header-list-tests)): New target.
38868         (test-xfail-run-conformtest): Remove variable.
38869         ($(objpfx)run-conformtest.out): Remove target.
38870         (test-xfail-ISO11/complex.h/conform): New variable.
38871         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38872         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38873         (test-xfail-XPG3/varargs.h/conform): Likewise.
38874         (test-xfail-XPG4/varargs.h/conform): Likewise.
38875         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38876         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38877         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38878         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38879         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38880         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38881         (test-xfail-XPG3/ftw.h/conform): Likewise.
38882         (test-xfail-XPG3/grp.h/conform): Likewise.
38883         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38884         (test-xfail-XPG3/limits.h/conform): Likewise.
38885         (test-xfail-XPG3/pwd.h/conform): Likewise.
38886         (test-xfail-XPG3/search.h/conform): Likewise.
38887         (test-xfail-XPG3/signal.h/conform): Likewise.
38888         (test-xfail-XPG3/stdio.h/conform): Likewise.
38889         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38890         (test-xfail-XPG3/string.h/conform): Likewise.
38891         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38892         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38893         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38894         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38895         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38896         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38897         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38898         (test-xfail-XPG3/termios.h/conform): Likewise.
38899         (test-xfail-XPG3/time.h/conform): Likewise.
38900         (test-xfail-XPG3/unistd.h/conform): Likewise.
38901         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38902         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38903         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38904         (test-xfail-XPG4/netdb.h/conform): Likewise.
38905         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38906         (test-xfail-XPG4/signal.h/conform): Likewise.
38907         (test-xfail-XPG4/stdio.h/conform): Likewise.
38908         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38909         (test-xfail-XPG4/stropts.h/conform): Likewise.
38910         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38911         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38912         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38913         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38914         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38915         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38916         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38917         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38918         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38919         (test-xfail-XPG4/termios.h/conform): Likewise.
38920         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38921         (test-xfail-XPG4/unistd.h/conform): Likewise.
38922         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38923         (test-xfail-POSIX/sched.h/conform): Likewise.
38924         (test-xfail-POSIX/signal.h/conform): Likewise.
38925         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38926         (test-xfail-POSIX/tar.h/conform): Likewise.
38927         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38928         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38929         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38930         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38931         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38932         (test-xfail-UNIX98/sched.h/conform): Likewise.
38933         (test-xfail-UNIX98/signal.h/conform): Likewise.
38934         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38935         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38936         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38937         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38938         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38939         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38940         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38941         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38942         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38943         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38944         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38945         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38946         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38947         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38948         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38949         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38950         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38951         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38952         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38953         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38954         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38955         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38956         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38957         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38958         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38959         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38960         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38961         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38962         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38963         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38964         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38965         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38966         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38967         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38968         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38969         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38970         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38971         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38972         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38973         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38974         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38975         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38976         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38977         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38978         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38979         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38980         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38981         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38982         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38983         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38984         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38985         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38986         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38987         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38988         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38989         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38990         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38991         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38992         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38993         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38994         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38995         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38996         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38997         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38998         (conformtest-cc-flags): Likewise.
38999         ($(conformtest-header-tests): New target.
39000         * conform/check-header-lists.sh: New file.
39001         * conform/run-conformtest.sh: Remove.
39003         * conform/conformtest.pl: Allow ' and \ in values given for
39004         constants.
39005         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39006         inclusion.
39007         [POSIX] (sys/types.h): Likewise.
39008         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39009         inclusion.
39010         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39011         inclusion.
39012         * conform/data/signal.h-data (SIGIO): Remove expectation.
39013         [XPG3] (SIGBUS): Do not expect.
39014         [POSIX || XPG3] (SIGPOLL): Likewise.
39015         [POSIX || XPG3] (SIGPROF): Likewise.
39016         [POSIX || XPG3] (SIGSYS): Likewise.
39017         [XPG3] (SIGTRAP): Likewise.
39018         [POSIX || XPG3] (SIGURG): Likewise.
39019         [POSIX || XPG3] (SIGVTALRM): Likewise.
39020         [POSIX || XPG3] (SIGXCPU): Likewise.
39021         [POSIX || XPG3] (SIGXFSZ): Likewise.
39022         [POSIX] (SA_SIGINFO): Expect.
39023         [XPG3] (siginfo_t): Do not expect type or contents.
39024         [POSIX] (si_pid): Do not expect element.
39025         [POSIX] (si_uid): Likewise.
39026         [POSIX] (si_addr): Likewise.
39027         [POSIX] (si_status): Likewise.
39028         [POSIX] (si_band): Likewise.
39029         [XPG4] (si_value): Likewise.
39030         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39031         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39032         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39033         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39034         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39035         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39036         [POSIX || XPG3] (ILL_COPROC): Likewise.
39037         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39038         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39039         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39040         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39041         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39042         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39043         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39044         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39045         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39046         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39047         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39048         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39049         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39050         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39051         [POSIX || XPG3] (CLD_EXITED): Likewise.
39052         [POSIX || XPG3] (CLD_KILLED): Likewise.
39053         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39054         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39055         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39056         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39057         [POSIX || XPG3] (POLL_IN): Likewise.
39058         [POSIX || XPG3] (POLL_OUT): Likewise.
39059         [POSIX || XPG3] (POLL_MSG): Likewise.
39060         [POSIX || XPG3] (POLL_ERR): Likewise.
39061         [POSIX || XPG3] (POLL_PRI): Likewise.
39062         [POSIX || XPG3] (POLL_HUP): Likewise.
39063         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39064         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39065         (SIG*): Do not allow.
39066         [XPG3] (si_*): Likewise.
39067         [XPG3] (SI_*): Likewise.
39068         [XPG3 || XPG4] (sigev_*): Likewise.
39069         [XPG3 || XPG4] (SIGEV_*): Likewise.
39070         [XPG3 || XPG4] (sival_*): Likewise.
39071         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39072         [POSIX || XPG3] (BUS_*): Likewise.
39073         [POSIX || XPG3] (CLD_*): Likewise.
39074         [POSIX || XPG3] (FPE_*): Likewise.
39075         [POSIX || XPG3] (ILL_*): Likewise.
39076         [POSIX || XPG3] (POLL_*): Likewise.
39077         [POSIX || XPG3] (SEGV_*): Likewise.
39078         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39079         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39080         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39081         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39082         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39083         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39084         Specify type and value.
39085         (TVERSLEN): Likewise.
39086         (REGTYPE): Likewise.
39087         (AREGTYPE): Likewise.
39088         (LNKTYPE): Likewise.
39089         (SYMTYPE): Likewise.
39090         (CHRTYPE): Likewise.
39091         (BLKTYPE): Likewise.
39092         (DIRTYPE): Likewise.
39093         (FIFOTYPE): Likewise.
39094         (CONTTYPE): Likewise.
39095         (TSUID): Likewise.
39096         (TSGID): Likewise.
39097         (TSVTX): Likewise.
39098         (TUREAD): Likewise.
39099         (TUWRITE): Likewise.
39100         (TUEXEC): Likewise.
39101         (TGREAD): Likewise.
39102         (TGWRITE): Likewise.
39103         (TGEXEC): Likewise.
39104         (TOREAD): Likewise.
39105         (TOWRITE): Likewise.
39106         (TOEXEC): Likewise.
39107         [POSIX] (TSVTX): Expect constant.
39109 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39111         * Makefile (tests): Change dependencies to ....
39112         (tests-special): ... additions to this variable.
39113         (tests): Depend on $(tests-special).
39114         * Makerules (check-abi-list): New variable.
39115         (check-abi): Depend on $(check-abi-list).
39116         [$(subdir) = elf] (tests-special): Add
39117         $(objpfx)check-abi-libc.out.
39118         [$(build-shared) = yes && subdir] (tests-special): Add
39119         $(check-abi-list).
39120         [$(build-shared) = yes && subdir] (tests): Do not depend on
39121         check-abi.
39122         * Rules (tests): Depend on $(tests-special).
39123         (xtests): Depend on $(xtests-special).
39124         * catgets/Makefile (tests): Change dependencies to ....
39125         (tests-special): ... additions to this variable.
39126         * conform/Makefile (tests): Change dependencies to ....
39127         (tests-special): ... additions to this variable.
39128         * elf/Makefile (tests): Change dependencies to ....
39129         (tests-special): ... additions to this variable.
39130         * grp/Makefile (tests): Change dependencies to ....
39131         (tests-special): ... additions to this variable.
39132         * iconv/Makefile (xtests): Change dependencies to ....
39133         (xtests-special): ... additions to this variable.
39134         * iconvdata/Makefile (tests): Change dependencies to ....
39135         (tests-special): ... additions to this variable.
39136         * intl/Makefile (tests): Change dependencies to ....
39137         (tests-special): ... additions to this variable.  Also add
39138         $(objpfx)tst-gettext.out.
39139         * io/Makefile (tests): Change dependencies to ....
39140         (tests-special): ... additions to this variable.
39141         * libio/Makefile (tests): Change dependencies to ....
39142         (tests-special): ... additions to this variable.
39143         * malloc/Makefile (tests): Change dependencies to ....
39144         (tests-special): ... additions to this variable.
39145         * misc/Makefile (tests): Change dependencies to ....
39146         (tests-special): ... additions to this variable.
39147         * nptl/Makefile (tests): Change dependencies to ....
39148         (tests-special): ... additions to this variable.
39149         * nptl_db/Makefile (tests): Change dependencies to ....
39150         (tests-special): ... additions to this variable.
39151         * posix/Makefile (tests): Change dependencies to ....
39152         (tests-special): ... additions to this variable.
39153         (xtests): Change dependencies to ....
39154         (xtests-special): ... additions to this variable.
39155         * resolv/Makefile (tests): Change dependencies to ....
39156         (tests-special): ... additions to this variable.
39157         (xtests): Change dependencies to ....
39158         (xtests-special): ... additions to this variable.
39159         * stdio-common/Makefile (tests): Change dependencies to ....
39160         (tests-special): ... additions to this variable.
39161         (do-tst-unbputc): Remove target.
39162         (do-tst-printf): Likewise.
39163         * stdlib/Makefile (tests): Change dependencies to ....
39164         (tests-special): ... additions to this variable.
39165         * string/Makefile (tests): Change dependencies to ....
39166         (tests-special): ... additions to this variable.
39167         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39168         (tests-special): ... additions to this variable.
39170         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39171         whole file.
39172         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39173         whole file.
39174         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39175         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39177         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39178         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39179         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39180         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39181         * conform/data/libgen.h-data [XPG3]: Likewise.
39182         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39183         * conform/data/ndbm.h-data [XPG3]: Likewise.
39184         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39185         * conform/data/netdb.h-data [XPG3]: Likewise.
39186         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39187         * conform/data/poll.h-data [XPG3]: Likewise.
39188         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39189         * conform/data/strings.h-data [XPG3]: Likewise.
39190         * conform/data/stropts.h-data [XPG3]: Likewise.
39191         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39192         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39193         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39194         Likewise.
39195         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39196         * conform/data/sys/time.h-data [XPG3]: Likewise.
39197         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39198         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39199         * conform/data/sys/un.h-data [XPG3]: Likewise.
39200         * conform/data/syslog.h-data [XPG3]: Likewise.
39201         * conform/data/ucontext.h-data [XPG3]: Likewise.
39202         * conform/data/utmpx.h-data [XPG3]: Likewise.
39203         * conform/data/varargs.h-data [UNIX98]: Enable file.
39205         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39207         * math/libm-test.inc (struct test_f_f_data): Move expected results
39208         into structure for each rounding mode.
39209         (struct test_ff_f_data): Likewise.
39210         (struct test_ff_f_data_nexttoward): Likewise.
39211         (struct test_fi_f_data): Likewise.
39212         (struct test_fl_f_data): Likewise.
39213         (struct test_if_f_data): Likewise.
39214         (struct test_fff_f_data): Likewise.
39215         (struct test_c_f_data): Likewise.
39216         (struct test_f_f1_data): Likewise.
39217         (struct test_fF_f1_data): Likewise.
39218         (struct test_ffI_f1_data): Likewise.
39219         (struct test_c_c_data): Likewise.
39220         (struct test_cc_c_data): Likewise.
39221         (struct test_f_i_data): Likewise.
39222         (struct test_ff_i_data): Likewise.
39223         (struct test_f_l_data): Likewise.
39224         (struct test_f_L_data): Likewise.
39225         (struct test_fFF_11_data): Likewise.
39226         (RM_): New macro.
39227         (RM_FE_DOWNWARD): Likewise.
39228         (RM_FE_TONEAREST): Likewise.
39229         (RM_FE_TOWARDZERO): Likewise.
39230         (RM_FE_UPWARD): Likewise.
39231         (RUN_TEST_LOOP_f_f): Update references to expected results.
39232         (RUN_TEST_LOOP_2_f): Likewise.
39233         (RUN_TEST_LOOP_fff_f): Likewise.
39234         (RUN_TEST_LOOP_c_f): Likewise.
39235         (RUN_TEST_LOOP_f_f1): Likewise.
39236         (RUN_TEST_LOOP_fF_f1): Likewise.
39237         (RUN_TEST_LOOP_fI_f1): Likewise.
39238         (RUN_TEST_LOOP_ffI_f1): Likewise.
39239         (RUN_TEST_LOOP_c_c): Likewise.
39240         (RUN_TEST_LOOP_cc_c): Likewise.
39241         (RUN_TEST_LOOP_f_i): Likewise.
39242         (RUN_TEST_LOOP_f_i_tg): Likewise.
39243         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39244         (RUN_TEST_LOOP_f_b): Likewise.
39245         (RUN_TEST_LOOP_f_b_tg): Likewise.
39246         (RUN_TEST_LOOP_f_l): Likewise.
39247         (RUN_TEST_LOOP_f_L): Likewise.
39248         (RUN_TEST_LOOP_fFF_11): Likewise.
39249         * math/gen-libm-test.pl (parse_args): Output four copies of
39250         expected results for each test.
39252         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39253         (__ASSUME_UTIMES): Remove.
39254         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39255         (__ASSUME_UTIMES): Likewise.
39257         * math/gen-auto-libm-tests.c: Update comment on output format.
39258         (output_for_one_input_case): Generate before-rounding and
39259         after-rounding information as conditions on output flags not
39260         floating-point format.
39261         * math/auto-libm-test-out: Regenerated.
39262         * math/gen-libm-test.pl (cond_value): New function.
39263         (or_cond_value): Use cond_value.
39264         (generate_testfile): Handle conditional exceptions.
39266 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39268         * math/libm-test.inc (max_valid_error): New variable.
39269         (init_max_error): Take new argument specifying whether function
39270         results are exactly determined.  Set max_valid_error and bound
39271         other variables for errors based on this argument.
39272         (set_max_error): Do not record results above max_valid_error.
39273         (check_float_internal): Only accept errors of up to 0.5ulps if
39274         also at most max_valid_error.
39275         (START): Take new argument EXACT and pass it to init_max_error.
39276         (acos_test): Update call to START.
39277         (acos_test_tonearest): Likewise.
39278         (acos_test_towardzero): Likewise.
39279         (acos_test_downward): Likewise.
39280         (acos_test_upward): Likewise.
39281         (acosh_test): Likewise.
39282         (asin_test): Likewise.
39283         (asin_test_tonearest): Likewise.
39284         (asin_test_towardzero): Likewise.
39285         (asin_test_downward): Likewise.
39286         (asin_test_upward): Likewise.
39287         (asinh_test): Likewise.
39288         (atan_test): Likewise.
39289         (atanh_test): Likewise.
39290         (atan2_test): Likewise.
39291         (cabs_test): Likewise.
39292         (cacos_test): Likewise.
39293         (cacosh_test): Likewise.
39294         (carg_test): Likewise.
39295         (casin_test): Likewise.
39296         (casinh_test): Likewise.
39297         (catan_test): Likewise.
39298         (catanh_test): Likewise.
39299         (cbrt_test): Likewise.
39300         (ccos_test): Likewise.
39301         (ccosh_test): Likewise.
39302         (ceil_test): Likewise.
39303         (cexp_test): Likewise.
39304         (cimag_test): Likewise.
39305         (clog_test): Likewise.
39306         (clog10_test): Likewise.
39307         (conj_test): Likewise.
39308         (copysign_test): Likewise.
39309         (cos_test): Likewise.
39310         (cos_test_tonearest): Likewise.
39311         (cos_test_towardzero): Likewise.
39312         (cos_test_downward): Likewise.
39313         (cos_test_upward): Likewise.
39314         (cosh_test): Likewise.
39315         (cosh_test_tonearest): Likewise.
39316         (cosh_test_towardzero): Likewise.
39317         (cosh_test_downward): Likewise.
39318         (cosh_test_upward): Likewise.
39319         (cpow_test): Likewise.
39320         (cproj_test): Likewise.
39321         (creal_test): Likewise.
39322         (csin_test): Likewise.
39323         (csinh_test): Likewise.
39324         (csqrt_test): Likewise.
39325         (ctan_test): Likewise.
39326         (ctan_test_tonearest): Likewise.
39327         (ctan_test_towardzero): Likewise.
39328         (ctan_test_downward): Likewise.
39329         (ctan_test_upward): Likewise.
39330         (ctanh_test): Likewise.
39331         (ctanh_test_tonearest): Likewise.
39332         (ctanh_test_towardzero): Likewise.
39333         (ctanh_test_downward): Likewise.
39334         (ctanh_test_upward): Likewise.
39335         (erf_test): Likewise.
39336         (erfc_test): Likewise.
39337         (exp_test): Likewise.
39338         (exp_test_tonearest): Likewise.
39339         (exp_test_towardzero): Likewise.
39340         (exp_test_downward): Likewise.
39341         (exp_test_upward): Likewise.
39342         (exp10_test): Likewise.
39343         (exp10_test_tonearest): Likewise.
39344         (exp10_test_towardzero): Likewise.
39345         (exp10_test_downward): Likewise.
39346         (exp10_test_upward): Likewise.
39347         (pow10_test): Likewise.
39348         (exp2_test): Likewise.
39349         (expm1_test): Likewise.
39350         (expm1_test_tonearest): Likewise.
39351         (expm1_test_towardzero): Likewise.
39352         (expm1_test_downward): Likewise.
39353         (expm1_test_upward): Likewise.
39354         (fabs_test): Likewise.
39355         (fdim_test): Likewise.
39356         (floor_test): Likewise.
39357         (fma_test): Likewise.
39358         (fma_test_towardzero): Likewise.
39359         (fma_test_downward): Likewise.
39360         (fma_test_upward): Likewise.
39361         (fmax_test): Likewise.
39362         (fmin_test): Likewise.
39363         (fmod_test): Likewise.
39364         (fpclassify_test): Likewise.
39365         (frexp_test): Likewise.
39366         (hypot_test): Likewise.
39367         (ilogb_test): Likewise.
39368         (isfinite_test): Likewise.
39369         (finite_test): Likewise.
39370         (isgreater_test): Likewise.
39371         (isgreaterequal_test): Likewise.
39372         (isinf_test): Likewise.
39373         (isless_test): Likewise.
39374         (islessequal_test): Likewise.
39375         (islessgreater_test): Likewise.
39376         (isnan_test): Likewise.
39377         (isnormal_test): Likewise.
39378         (issignaling_test): Likewise.
39379         (isunordered_test): Likewise.
39380         (j0_test): Likewise.
39381         (j1_test): Likewise.
39382         (jn_test): Likewise.
39383         (ldexp_test): Likewise.
39384         (lgamma_test): Likewise.
39385         (gamma_test): Likewise.
39386         (lrint_test): Likewise.
39387         (lrint_test_tonearest): Likewise.
39388         (lrint_test_towardzero): Likewise.
39389         (lrint_test_downward): Likewise.
39390         (lrint_test_upward): Likewise.
39391         (llrint_test): Likewise.
39392         (llrint_test_tonearest): Likewise.
39393         (llrint_test_towardzero): Likewise.
39394         (llrint_test_downward): Likewise.
39395         (llrint_test_upward): Likewise.
39396         (log_test): Likewise.
39397         (log10_test): Likewise.
39398         (log1p_test): Likewise.
39399         (log2_test): Likewise.
39400         (logb_test): Likewise.
39401         (logb_test_downward): Likewise.
39402         (lround_test): Likewise.
39403         (llround_test): Likewise.
39404         (modf_test): Likewise.
39405         (nearbyint_test): Likewise.
39406         (nextafter_test): Likewise.
39407         (nexttoward_test): Likewise.
39408         (pow_test): Likewise.
39409         (pow_test_tonearest): Likewise.
39410         (pow_test_towardzero): Likewise.
39411         (pow_test_downward): Likewise.
39412         (pow_test_upward): Likewise.
39413         (remainder_test): Likewise.
39414         (drem_test): Likewise.
39415         (remainder_test_tonearest): Likewise.
39416         (drem_test_tonearest): Likewise.
39417         (remainder_test_towardzero): Likewise.
39418         (drem_test_towardzero): Likewise.
39419         (remainder_test_downward): Likewise.
39420         (drem_test_downward): Likewise.
39421         (remainder_test_upward): Likewise.
39422         (drem_test_upward): Likewise.
39423         (remquo_test): Likewise.
39424         (rint_test): Likewise.
39425         (rint_test_tonearest): Likewise.
39426         (rint_test_towardzero): Likewise.
39427         (rint_test_downward): Likewise.
39428         (rint_test_upward): Likewise.
39429         (round_test): Likewise.
39430         (scalb_test): Likewise.
39431         (scalbn_test): Likewise.
39432         (scalbln_test): Likewise.
39433         (signbit_test): Likewise.
39434         (sin_test): Likewise.
39435         (sin_test_tonearest): Likewise.
39436         (sin_test_towardzero): Likewise.
39437         (sin_test_downward): Likewise.
39438         (sin_test_upward): Likewise.
39439         (sincos_test): Likewise.
39440         (sinh_test): Likewise.
39441         (sinh_test_tonearest): Likewise.
39442         (sinh_test_towardzero): Likewise.
39443         (sinh_test_downward): Likewise.
39444         (sinh_test_upward): Likewise.
39445         (sqrt_test): Likewise.
39446         (sqrt_test_tonearest): Likewise.
39447         (sqrt_test_towardzero): Likewise.
39448         (sqrt_test_downward): Likewise.
39449         (sqrt_test_upward): Likewise.
39450         (tan_test): Likewise.
39451         (tan_test_tonearest): Likewise.
39452         (tan_test_towardzero): Likewise.
39453         (tan_test_downward): Likewise.
39454         (tan_test_upward): Likewise.
39455         (tanh_test): Likewise.
39456         (tgamma_test): Likewise.
39457         (trunc_test): Likewise.
39458         (y0_test): Likewise.
39459         (y1_test): Likewise.
39460         (yn_test): Likewise.
39461         (significand_test): Likewise.
39463         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39464         individual tests in comment.
39465         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39466         (prev_max_error): New variable.
39467         (prev_real_max_error): Likewise.
39468         (prev_imag_max_error): Likewise.
39469         (compare_ulp_data): Don't refer to test names in comment.
39470         (find_test_ulps): Remove function.
39471         (find_function_ulps): Likewise.
39472         (find_complex_function_ulps): Likewise.
39473         (init_max_error): Take function name as argument.  Look up ulps
39474         for that function.
39475         (print_ulps): Remove function.
39476         (print_max_error): Use prev_max_error instead of calling
39477         find_function_ulps.
39478         (print_complex_max_error): Use prev_real_max_error and
39479         prev_imag_max_error instead of calling find_complex_function_ulps.
39480         (check_float_internal): Take max_ulp parameter instead of calling
39481         find_test_ulps.  Don't call print_ulps.
39482         (check_float): Update call to check_float_internal.
39483         (check_complex): Update calls to check_float_internal.
39484         (START): Pass argument to init_max_error.
39485         * math/gen-libm-test.pl (%results): Don't include "kind"
39486         information.
39487         (parse_ulps): Don't handle ulps of individual tests.
39488         (print_ulps_file): Likewise.
39489         (output_ulps): Likewise.
39490         * math/README.libm-test: Update.
39491         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39492         individual tests.
39493         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39494         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39495         * sysdeps/arm/libm-test-ulps: Likewise.
39496         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39497         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39498         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39499         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39500         * sysdeps/microblaze/libm-test-ulps: Likewise.
39501         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39502         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39503         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39504         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39505         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39506         * sysdeps/sh/libm-test-ulps: Likewise.
39507         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39508         * sysdeps/tile/libm-test-ulps: Likewise.
39509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39511 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39513         * math/libm-test.inc (print_complex_max_error): Check separately
39514         whether real and imaginary errors are within allowed range and
39515         pass 0 to print_complex_function_ulps instead of value within
39516         allowed range.
39518 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39520         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39521         formatting.
39522         (get_handles_fopen): Likewise.
39523         (do_write_test): Likewise.
39525         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39527         * libio/fileops.c (do_ftell): Use cached offset when
39528         available.
39529         * libio/iofwide.c (do_ftell_wide): Likewise.
39530         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39531         _IO_file_attach.
39532         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39534         [BZ #16532]
39535         * libio/libioP.h (get_file_offset): New function.
39536         * libio/fileops.c (get_file_offset): Likewise.
39537         (do_ftell): Likewise.
39538         (_IO_new_file_seekoff): Split out ftell logic.
39539         * libio/wfileops.c (do_ftell_wide): Likewise.
39540         (_IO_wfile_seekoff): Split out ftell logic.
39541         * libio/tst-ftell-active-handler.c: New test case.
39542         * libio/Makefile (tests): Add it.
39544 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39546         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39547         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39549 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39551         [BZ #16639]
39552         * nscd/connections.c (nscd_init): Call do_exit.
39553         (start_threads): Call do_exit and notify_parent.
39554         (begin_drop_privileges): Call do_exit.
39555         (finish_drop_privileges): Likewise.
39556         * nscd/selinux.c (preserve_capabilities): Likewise.
39557         (install_real_capabilities): Likewise.
39558         (nscd_selinux_enabled): Likewise.
39559         (avc_create_thread): Likewise.
39560         (avc_alloc_lock): Likewise.
39561         (nscd_avc_init): Likewise.
39562         * nscd/nscd.c (parent_fd): New static variable.
39563         (main): Create a pipe between parent and child processes.
39564         Skip closing parent_fd.
39565         (monitor_child): New function.
39566         (do_exit): Likewise.
39567         (notify_parent): Likewise.
39568         * nscd/nscd.h (notify_parent): Likewise.
39569         (do_exit): Likewise.
39571 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39573         * malloc/malloc.c (__libc_calloc): Revert last change.
39575 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39579 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39581         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39583         implementation.
39584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39585         (__libc_ifunc_impl_list): Likewise.
39586         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39587         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39588         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39589         * string/strrchr.c: Define STRRCHR.
39591 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39593         * benchtest/bench-strtok.c (simple_strtok): Delete.
39594         (strtok_string): Use as benchmark.
39595         * string/strtok (STRTOK): New macro.
39597 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39599         * manual/threads.texi: Add header and standard comments to all
39600         functions.
39602         * elf/dl-lookup.c (check_match): New function.
39603         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39604         (do_lookup_x): Remove nested function check_match. Use non-nested
39605         function check_match.
39607 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39609         * csu/Makefile (generated, before-compile): Use += rather than =.
39610         * catgets/Makefile (generated, generated-dirs): Likewise.
39611         * debug/Makefile (generated): Likewise.
39612         * dlfcn/Makefile (generated): Likewise.
39613         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39614         * iconvdata/Makefile (before-compile, generated): Likewise.
39615         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39616         * libio/Makefile (generated): Likewise.
39617         * malloc/Makefile (generated): Likewise.
39618         * manual/Makefile (generated, generated-dirs): Likewise.
39619         * misc/Makefile (generated): Likewise.
39620         * posix/Makefile (generated): Likewise.
39621         * resolv/Makefile (generated): Likewise.
39622         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39623         * timezone/Makefile (generated, generated-dirs): Likewise.
39625         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39627 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39630         power8 implementation.
39631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39632         file: POWER8 llround ifunc implementation.
39633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39634         (__lllround): Add POWER8 implementation.
39635         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39636         POWER8 llround implementation.
39638         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39639         power8 implementation.
39640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39641         file: POWER8 llrint ifunc implementation.
39642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39643         Add POWER8 implementation.
39644         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39645         POWER8 llrint implementation.
39647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39648         power8 implementation.
39649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39650         file: POWER8 finite ifunc implementation.
39651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39652         Add POWER8 implementation.
39653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39654         Likewise.
39655         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39656         POWER8 finite implementation.
39657         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39660         power8 implementation.
39661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39662         file: POWER8 isinf ifunc implementation.
39663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39664         POWER8 implementation.
39665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39666         Likewise.
39667         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39668         isinf implementation.
39669         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39671         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39672         (INIT_ARCH): Add hwcap2 initialization.
39673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39674         power8 implementation.
39675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39676         file: POWER8 isnan ifunc implementation.
39677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39678         POWER8 implementation.
39679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39680         Likewise.
39681         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39682         isnan implementation.
39683         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39685 2014-02-27  Joey Ye  <joey.ye@arm.com>
39687         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39688         (_FP_NANFRAC_Q): Set to zero.
39690 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39692         [BZ #16623]
39693         * math/auto-libm-test-in: New test inputs.
39694         * math/auto-libm-test-out: Regenerate.
39695         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39696         and DA.
39697         (__cos): Likewise.
39698         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39700 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39702         * scripts/evaluate-test.sh: Take new argument indicating whether
39703         failure is expected.
39704         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39705         indicating whether failure is expected.
39706         * conform/Makefile (test-xfail-run-conformtest): New variable.
39707         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39708         level.
39709         * posix/Makefile (test-xfail-annexc): New variable.
39710         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39712 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39714         * argp/Makefile: Include Makeconfig immediately after defining
39715         subdir.
39716         * assert/Makefile: Likewise.
39717         * benchtests/Makefile: Likewise.
39718         * catgets/Makefile: Likewise.
39719         * conform/Makefile: Likewise.
39720         * crypt/Makefile: Likewise.
39721         * csu/Makefile: Likewise.
39722         (all): Remove target.
39723         * ctype/Makefile: Include Makeconfig immediately after defining
39724         subdir.
39725         * debug/Makefile: Likewise.
39726         * dirent/Makefile: Likewise.
39727         * dlfcn/Makefile: Likewise.
39728         * gmon/Makefile: Likewise.
39729         * gnulib/Makefile: Likewise.
39730         * grp/Makefile: Likewise.
39731         * gshadow/Makefile: Likewise.
39732         * hesiod/Makefile: Likewise.
39733         * hurd/Makefile: Likewise.
39734         (all): Remove target.
39735         * iconvdata/Makefile: Include Makeconfig immediately after
39736         defining subdir.
39737         * inet/Makefile: Likewise.
39738         * intl/Makefile: Likewise.
39739         * io/Makefile: Likewise.
39740         * libio/Makefile: Likewise.
39741         (all): Remove target.
39742         * locale/Makefile: Include Makeconfig immediately after defining
39743         subdir.
39744         * login/Makefile: Likewise.
39745         * mach/Makefile: Likewise.
39746         (all): Remove target.
39747         * malloc/Makefile: Include Makeconfig immediately after defining
39748         subdir.
39749         (all): Remove target.
39750         * manual/Makefile: Include Makeconfig immediately after defining
39751         subdir.
39752         * math/Makefile: Likewise.
39753         * misc/Makefile: Likewise.
39754         * nis/Makefile: Likewise.
39755         * nss/Makefile: Likewise.
39756         * po/Makefile: Likewise.
39757         (all): Remove target.
39758         * posix/Makefile: Include Makeconfig immediately after defining
39759         subdir.
39760         * pwd/Makefile: Likewise.
39761         * resolv/Makefile: Likewise.
39762         * resource/Makefile: Likewise.
39763         * rt/Makefile: Likewise.
39764         * setjmp/Makefile: Likewise.
39765         * shadow/Makefile: Likewise.
39766         * signal/Makefile: Likewise.
39767         * socket/Makefile: Likewise.
39768         * soft-fp/Makefile: Likewise.
39769         * stdio-common/Makefile: Likewise.
39770         * stdlib/Makefile: Likewise.
39771         * streams/Makefile: Likewise.
39772         * string/Makefile: Likewise.
39773         * sunrpc/Makefile: Likewise.
39774         (all): Remove target.
39775         * sysvipc/Makefile: Include Makeconfig immediately after defining
39776         subdir.
39777         * termios/Makefile: Likewise.
39778         * time/Makefile: Likewise.
39779         * timezone/Makefile: Likewise.
39780         (all): Remove target.
39781         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39782         subdir.
39783         * wctype/Makefile: Likewise.
39785 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39787         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39788         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39789         (libc_feholdexcept_setround_mips): Ditto.
39790         (libc_feholdsetround): New.
39791         (libc_feholdsetroundf): New.
39792         (libc_feholdsetroundl): New.
39793         (libc_feupdateenv_test_mips): New.
39794         (libc_feupdateenv_test): New.
39795         (libc_feupdateenv_testf): New.
39796         (libc_feupdateenv_testl): New.
39797         (libc_feresetround): New.
39798         (libc_feresetroundf): New.
39799         (libc_feresetroundl): New.
39800         (libc_fetestexcept_mips): New.
39801         (libc_fetestexcept): New.
39802         (libc_fetestexceptf): New.
39803         (libc_fetestexceptl): New.
39804         (HAVE_RM_CTX): New.
39805         (libc_feholdexcept_setround_mips_ctx): New.
39806         (libc_feholdexcept_setround_ctx): New.
39807         (libc_feholdexcept_setroundf_ctx): New.
39808         (libc_feholdexcept_setroundl_ctx): New.
39809         (libc_fesetenv_mips_ctx): New.
39810         (libc_fesetenv_ctx): New.
39811         (libc_fesetenv_ctxf): New.
39812         (libc_fesetenv_ctxl): New.
39813         (libc_feupdateenv_mips_ctx): New.
39814         (libc_feupdateenv_ctx): New.
39815         (libc_feupdateenvf_ctx): New.
39816         (libc_feupdateenvl_ctx): New.
39817         (libc_feholdsetround_mips_ctx): New.
39818         (libc_feholdsetround_ctx): New.
39819         (libc_feholdsetroundf_ctx): New.
39820         (libc_feholdsetroundl_ctx): New.
39821         (libc_feresetround_mips_ctx): New.
39822         (libc_feresetround_ctx): New.
39823         (libc_feresetroundf_ctx): New.
39824         (libc_feresetroundl_ctx): New.
39826 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39828         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39830         * manual/ipc.texi: New file.
39831         * manual/Makefile (chapters): Add ipc.
39832         * manual/job.texi: Add "Inter-Process Communication" to next.
39833         * manual/process.texi: Add "Inter-Process Communication" to prev.
39835 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39839 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39841         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39843         * manual/arith.texi: Fix spaces after sentences.
39844         * manual/charset.texi: Likewise.
39845         * manual/errno.texi: Likewise.
39846         * manual/install.texi: Likewise.
39847         * manual/llio.texi: Likewise.
39848         * manual/locale.texi: Likewise.
39849         * manual/maint.texi: Likewise.
39850         * manual/math.texi: Likewise.
39851         * manual/memory.texi: Likewise.
39852         * manual/message.texi: Likewise.
39853         * manual/probes.texi: Likewise.
39854         * manual/resource.texi: Likewise.
39855         * manual/signal.texi: Likewise.
39856         * manual/socket.texi: Likewise.
39857         * manual/stdio.texi: Likewise.
39858         * manual/string.texi: Likewise.
39859         * manual/time.texi: Likewise.
39860         * manual/users.texi: Likewise.
39862 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39864         [BZ #16632]
39865         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39866         _DEFAULT_SOURCE is defined.
39868 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39869             Carlos O'Donell  <carlos@redhat.com>
39871         [BZ #16613]
39872         * elf/dl-tls.c (_dl_count_modids): New function.
39873         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39874         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39875         audit library and increment generation counter.
39876         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39877         * elf/tst-audit9.c: New file.
39878         * elf/tst-auditmod9a.c: New file.
39879         * elf/tst-auditmod9b.c: New file.
39880         * elf/Makefile: Add rules to build and run tst-audit9.
39882 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39884         [BZ #15347]
39885         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39887 2014-02-25  Will Newton  <will.newton@linaro.org>
39889         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39890         (__longjmp): Restore sp and lr before restoring callee
39891         saved registers.  Add longjmp and longjmp_target
39892         SystemTap probe point.
39893         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39894         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39895         Define to zero to match jmpbuf layout.
39896         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39897         (__sigsetjmp): Save sp and lr before saving callee
39898         saved registers.  Add setjmp SystemTap probe point.
39900 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39902         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39904 2014-02-24  Andreas Schwab  <schwab@suse.de>
39906         [BZ #15804]
39907         * elf/pldd.c (wait_for_ptrace_stop): New function.
39908         (main): Call it after attaching.
39910 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39912         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39913         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39914         Versions files is now verboten.
39915         * hurd/Versions (libc: GLIBC_2.0):
39916         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39917         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39918         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39919         * mach/Versions: Likewise.
39921         * csu/Versions: Remove unused %include.
39922         * resolv/Versions: Likewise.
39924 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39926         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39927         ($(objpfx)check-local-headers.out): Likewise.
39928         ($(objpfx)begin-end-check.out): Likewise.
39929         * Makerules (check-abi-%.out): Likewise.
39930         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39931         ($(objpfx)test2.cat): Likewise.
39932         ($(objpfx)de/libc.cat): Likewise.
39933         ($(objpfx)test-gencat.out): Likewise.
39934         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39935         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39936         ($(objpfx)noload-mem): Likewise.
39937         ($(objpfx)tst-pathopt.out): Likewise.
39938         ($(objpfx)tst-rtld-load-self.out): Likewise.
39939         ($(objpfx)tst-array1-cmp.out): Likewise.
39940         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39941         ($(objpfx)tst-array2-cmp.out): Likewise.
39942         ($(objpfx)tst-array3-cmp.out): Likewise.
39943         ($(objpfx)tst-array4-cmp.out): Likewise.
39944         ($(objpfx)tst-array5-cmp.out): Likewise.
39945         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39946         ($(objpfx)check-textrel.out): Likewise.
39947         ($(objpfx)check-execstack.out): Likewise.
39948         ($(objpfx)check-localplt.out): Likewise.
39949         ($(objpfx)order2-cmp.out): Likewise.
39950         ($(objpfx)tst-leaks1-mem): Likewise.
39951         ($(objpfx)tst-leaks1-static-mem): Likewise.
39952         ($(objpfx)tst-initorder-cmp.out): Likewise.
39953         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39954         ($(objpfx)tst-unused-dep.out): Likewise.
39955         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39956         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39957         * iconv/Makefile (test-iconvconfig): Likewise.
39958         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39959         ($(objpfx)iconv-test.out): Likewise.
39960         ($(objpfx)tst-tables.out): Likewise.
39961         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39962         ($(objpfx)tst-gettext.out): Likewise.
39963         ($(objpfx)tst-translit.out): Likewise.
39964         ($(objpfx)tst-gettext2.out): Likewise.
39965         ($(objpfx)tst-gettext4.out): Likewise.
39966         ($(objpfx)tst-gettext6.out): Likewise.
39967         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39968         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39969         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39970         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39971         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39972         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39973         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39974         ($(objpfx)wordexp-tst.out): Likewise.
39975         ($(objpfx)annexc.out): Likewise.
39976         ($(objpfx)tst-fnmatch-mem): Likewise.
39977         ($(objpfx)bug-regex2-mem): Likewise.
39978         ($(objpfx)bug-regex14-mem): Likewise.
39979         ($(objpfx)bug-regex21-mem): Likewise.
39980         ($(objpfx)bug-regex31-mem): Likewise.
39981         ($(objpfx)tst-vfork3-mem): Likewise.
39982         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39983         ($(objpfx)tst-pcre-mem): Likewise.
39984         ($(objpfx)tst-boost-mem): Likewise.
39985         ($(objpfx)tst-getconf.out): Likewise.
39986         ($(objpfx)bug-ga2-mem): Likewise.
39987         ($(objpfx)bug-glob2-mem): Likewise.
39988         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39989         ($(objpfx)mtrace-tst-leaks2): Likewise.
39990         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39991         ($(objpfx)tst-printf.out): Likewise.
39992         ($(objpfx)tst-setvbuf1.out): Likewise.
39993         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39994         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39995         ($(objpfx)tst-fmtmsg.out): Likewise.
39996         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39997         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39999         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40000         * bits/sigaction.h [__USE_MISC]: Likewise.
40001         * bits/waitstatus.h: Update #endif comments.
40002         * ctype/ctype.h: Likewise.
40003         * dirent/dirent.h: Likewise.
40004         [__USE_MISC]: Remove redundant conditionals.
40005         * grp/grp.h: Update #endif comments.
40006         [__USE_GNU]: Remove redundant conditionals.
40007         [__USE_MISC]: Likewise.
40008         * inet/netinet/in.h [__USE_GNU]: Likewise.
40009         * io/sys/stat.h [__USE_MISC]: Likewise.
40010         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40011         * libio/bits/stdio.h: Update #endif comments.
40012         [__USE_MISC]: Remove redundant conditionals.
40013         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40014         * libio/stdio.h: Update #endif comments.
40015         [__USE_MISC]: Remove redundant conditionals.
40016         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40017         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40018         * math/math.h: Update #else and #endif comments.
40019         [__USE_MISC]: Remove redundant conditionals.
40020         * misc/sys/uio.h: Update #endif comments.
40021         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40022         * posix/glob.h [__USE_MISC]: Likewise.
40023         * posix/sys/types.h: Update #endif comments.
40024         [__USE_MISC]: Remove redundant conditionals.
40025         * posix/sys/wait.h: Update #endif comments.
40026         [__USE_MISC]: Remove redundant conditionals.
40027         * posix/unistd.h: Update #endif comments.
40028         [__USE_MISC]: Remove redundant conditionals.
40029         * pwd/pwd.h [__USE_GNU]: Likewise.
40030         [__USE_MISC]: Likewise.
40031         * resolv/netdb.h [__USE_GNU]: Likewise.
40032         * signal/signal.h: Update #endif comments.
40033         [__USE_MISC]: Remove redundant conditionals.
40034         * stdlib/stdlib.h: Update #else and #endif comments.
40035         [__USE_MISC]: Remove redundant conditionals.
40036         [__USE_GNU]: Likewise.
40037         * string/bits/string2.h [__USE_MISC]: Likewise.
40038         * string/string.h: Update #endif comments.
40039         [__USE_MISC]: Remove redundant conditionals.
40040         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40041         Likewise.
40042         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40043         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40044         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40045         Likewise.
40046         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40047         Likewise.
40048         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40049         comments.
40050         [__USE_MISC]: Remove redundant conditionals.
40051         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40052         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40053         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40054         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40055         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40056         Likewise.
40057         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40058         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40059         Likewise.
40060         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40061         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40062         Likewise.
40063         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40064         Likewise.
40065         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40066         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40067         Likewise.
40068         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40069         Likewise.
40070         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40071         * sysdeps/x86/bits/string.h: Update #endif comments.
40072         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40073         conditionals.
40074         * time/sys/time.h: Update #endif comments.
40075         * time/time.h: Likewise.
40076         [__USE_MISC]: Remove redundant conditionals.
40078 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40080         [BZ #16600]
40081         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40083 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40085         * Versions.def (librt): Add GLIBC_2.17.
40087 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40089         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40090         synonym for _SYS_AUXV_H to allow direct inclusion.
40091         * sysdeps/sparc/bits/hwcap.h: Likewise.
40092         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40093         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40094         * sysdeps/sparc/sysdep.h: Likewise.
40096 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40098         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40100 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40102         * benchtests/bench-strrchr.c: Print length instead of position.
40104 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40106         [BZ #16611]
40107         * sysdeps/unix/sysv/linux/kernel-features.h
40108         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40109         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40110         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40111         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40112         Likewise.
40113         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40114         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40115         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40116         (__ASSUME_SENDMMSG): Define instead of using previous
40117         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40118         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40119         (__ASSUME_SENDMMSG_SYSCALL): Define.
40120         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40121         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40122         Likewise.
40123         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40124         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40125         Likewise.
40126         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40127         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40128         Likewise.
40129         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40130         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40131         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40132         [__ASSUME_SENDMMSG]: Change conditionals to
40133         [__ASSUME_SENDMMSG_SOCKETCALL].
40134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40135         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40136         Define.
40137         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40138         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40139         Likewise.
40140         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40141         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40142         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40143         [!__ASSUME_SENDMMSG]: Change conditional to
40144         [!__ASSUME_SENDMMSG_SOCKETCALL].
40145         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40146         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40147         Define.
40149         [BZ #16610]
40150         * sysdeps/unix/sysv/linux/kernel-features.h
40151         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40152         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40153         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40154         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40155         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40156         [__i386__ || __sparc__]
40157         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40158         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40159         (__ASSUME_RECVMMSG): Define instead of using previous
40160         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40161         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40162         (__ASSUME_RECVMMSG_SYSCALL): Define.
40163         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40164         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40165         Likewise.
40166         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40167         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40168         Likewise.
40169         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40170         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40171         Likewise.
40172         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40173         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40174         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40175         [__ASSUME_RECVMMSG]: Change condition to
40176         [__ASSUME_RECVMMSG_SOCKETCALL].
40177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40178         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40179         Define.
40180         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40181         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40182         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40183         Likewise.
40184         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40185         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40186         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40187         [!__ASSUME_RECVMMSG]: Change condition to
40188         [!__ASSUME_RECVMMSG_SOCKETCALL].
40189         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40190         (__ASSUME_RECVMMSG_SYSCALL): Define.
40192         [BZ #16609]
40193         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40194         __powerpc__ || __s390__ || __sh__ || __sparc__]
40195         (__ASSUME_SOCKETCALL): Define.
40196         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40197         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40198         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40199         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40200         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40201         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40202         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40203         (__ASSUME_ACCEPT4): Define instead of using previous
40204         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40205         __powerpc__ || __sparc__ || __s390__)] condition.
40206         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40207         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40208         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40209         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40210         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40211         [!__ASSUME_ACCEPT4]: Change condition to
40212         [!__ASSUME_ACCEPT4_SOCKETCALL].
40213         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40214         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40215         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40216         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40217         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40218         __ASSUME_ACCEPT4_SYSCALL.
40219         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40220         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40221         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40222         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40223         __ASSUME_ACCEPT4_SYSCALL.
40224         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40225         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40226         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40227         [__ASSUME_ACCEPT4]: Change condition to
40228         [__ASSUME_ACCEPT4_SOCKETCALL].
40229         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40230         (__ASSUME_SOCKETCALL): Define.
40231         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40232         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40233         (__ASSUME_SOCKETCALL): Define.
40234         (__ASSUME_ACCEPT4): Remove.
40235         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40236         Define.
40237         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40238         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40239         Likewise.
40240         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40241         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40243         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40244         macro.
40245         (HWCAP_ARM_LPAE): Likewise.
40246         (HWCAP_ARM_EVTSTRM): Likewise.
40247         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40248         Add vpfd32, lpae and evtstrm.
40249         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40250         Increase to 22.
40252 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40254         * math/auto-libm-test-in: Add tests of clog10.
40255         * math/auto-libm-test-out: Regenerated.
40256         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40257         * sysdeps/i386/fpu/libm-test-ulps: Update.
40258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40260 2014-02-18  Andreas Schwab  <schwab@suse.de>
40262         [BZ #16574]
40263         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40264         Store non-zero if the second buffer was newly allocated.
40265         (send_dg): Likewise.
40266         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40267         to send_vc and send_dg.
40268         (res_nsend): Pass NULL for ansp2_malloced.
40269         * resolv/res_query.c (__libc_res_nquery): Add parameter
40270         answerp2_malloced and pass it down to __libc_res_nsend.
40271         (res_nquery): Pass additional NULL to __libc_res_nquery.
40272         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40273         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40274         second answer buffer if answerp2_malloced was set.
40275         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40276         (__libc_res_nquerydomain): Add parameter
40277         answerp2_malloced and pass it down to __libc_res_nquery.
40278         (res_nquerydomain): Pass additional NULL to
40279         __libc_res_nquerydomain.
40280         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40281         additional NULL to __libc_res_nsend and __libc_res_nquery.
40282         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40283         additional NULL to __libc_res_nsearch.
40284         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40285         parameter of __libc_res_nsearch to check for separately allocated
40286         second buffer.
40287         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40288         __libc_res_nquery.
40289         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40290         additional NULL to __libc_res_nquery.
40291         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40292         __libc_res_nsearch.
40293         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40294         * include/resolv.h: Update prototypes of __libc_res_nquery,
40295         __libc_res_nsearch, __libc_res_nsend.
40297 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40299         * math/auto-libm-test-in: Add tests of fma.
40300         * math/auto-libm-test-out: Regenerated.
40301         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40302         (fma_towardzero_test_data): Likewise.
40303         (fma_downward_test_data): Likewise.
40304         (fma_upward_test_data): Likewise.
40305         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40306         mpc_mode.
40307         (rounding_modes): Add values for new field.
40308         (func_calc_method): Add value mpfr_fff_f.
40309         (func_calc_desc): Add mpfr_fff_f union field.
40310         (test_function): Add field exact_args.
40311         (FUNC): Add macro argument EXACT_ARGS.
40312         (FUNC_mpfr_f_f): Update call to FUNC.
40313         (FUNC_mpfr_f_f): Likewise.
40314         (FUNC_mpfr_ff_f): Likewise.
40315         (FUNC_mpfr_if_f): Likewise.
40316         (FUNC_mpc_c_f): Likewise.
40317         (FUNC_mpc_c_c): Likewise.
40318         (test_functions): Add fma.  Update calls to FUNC.
40319         (handle_input_arg): Add argument exact_args.
40320         (add_test): Update call to handle_input_arg.
40321         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40322         (output_for_one_input_case): Update call to calc_generic_results.
40323         Recalculate exact zero results in each rounding mode.
40325         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40326         non-negative before setting low bit.
40327         * math/auto-libm-test-in: Mark one asin test possibly having
40328         spurious underflow.
40329         * math/auto-libm-test-out: Regenerated.
40330         * sysdeps/i386/fpu/libm-test-ulps: Update.
40331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40333 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40335         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40336         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40337         ports/sysdeps/unix/sysv/linux/microblaze.
40338         * README: Add missing listing for microblaze*-*-linux-gnu.
40340 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40342         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40343         duplicate code
40345 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40347         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40348         * sysdeps/unix/sysv/linux/ia64: Move directory from
40349         ports/sysdeps/unix/sysv/linux/ia64.
40350         * README: Update listing for ia64-*-linux-gnu.
40352 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40353             Joseph Myers  <joseph@codesourcery.com>
40355         * Makeconfig (test-name): New variable.
40356         (evaluate-test): Likewise.
40357         * Makerules (do-test-clean): Remove .test-result files.
40358         (common-mostlyclean): Likewise.
40359         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40360         * scripts/evaluate-test.sh: New file.
40362 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40364         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40365         separate $(objpfx)tst-fopenloc-cmp.out and
40366         $(objpfx)tst-fopenloc-mem.out targets.
40367         (tests): Update dependencies.
40368         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40369         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40370         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40371         (tst-rxspencer-no-utf8-ARGS): New variable.
40372         (tst-rxspencer-no-utf8-ENV): Likewise.
40373         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40374         instead of $(objpfx)tst-rxspencer-mem.
40375         ($(objpfx)tst-rxspencer-mem): Change target to
40376         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40377         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40378         * posix/tst-rxspencer-no-utf8.c: New file.
40380         * elf/Makefile ($(objpfx)order.out): Remove rule.
40381         [$(run-built-tests) = yes] (tests): Depend on
40382         $(objpfx)order-cmp.out.
40383         ($(objpfx)order-cmp.out): New rule.
40384         [$(run-built-tests) = yes] (tests): Depend on
40385         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40386         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40387         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40388         $(objpfx)tst-array5-static-cmp.out.
40389         ($(objpfx)tst-array1.out): Remove rule.
40390         ($(objpfx)tst-array1-cmp.out): New rule.
40391         ($(objpfx)tst-array1-static.out): Remove rule.
40392         ($(objpfx)tst-array1-static-cmp.out): New rule.
40393         ($(objpfx)tst-array2.out): Remove rule.
40394         ($(objpfx)tst-array2-cmp.out): New rule.
40395         ($(objpfx)tst-array3.out): Remove rule.
40396         ($(objpfx)tst-array3-cmp.out): New rule.
40397         ($(objpfx)tst-array4.out): Remove rule.
40398         ($(objpfx)tst-array4-cmp.out): New rule.
40399         ($(objpfx)tst-array5.out): Remove rule.
40400         ($(objpfx)tst-array5-cmp.out): New rule.
40401         ($(objpfx)tst-array5-static.out): Remove rule.
40402         ($(objpfx)tst-array5-static-cmp.out): New rule.
40403         [$(run-built-tests) = yes] (tests): Depend on
40404         $(objpfx)order2-cmp.out.
40405         ($(objpfx)order2.out): Remove rule.
40406         ($(objpfx)order2-cmp.out): New rule.
40407         ($(objpfx)tst-initorder.out): Remove rule.
40408         [$(run-built-tests) = yes] (tests): Depend on
40409         $(objpfx)tst-initorder-cmp.out.
40410         ($(objpfx)tst-initorder-cmp.out): New rule.
40411         ($(objpfx)tst-initorder2.out): Remove rule.
40412         [$(run-built-tests) = yes] (tests): Depend on
40413         $(objpfx)tst-initorder2-cmp.out.
40414         ($(objpfx)tst-initorder2-cmp.out): New rule.
40415         [$(run-built-tests) = yes] (tests): Depend on
40416         $(objpfx)tst-unused-dep-cmp.out.
40417         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40418         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40419         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40420         on $(objpfx)tst-setvbuf1-cmp.out.
40421         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40422         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40423         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40424         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40425         ($(objpfx)tst-svc.out): Remove rule.
40426         ($(objpfx)tst-svc-cmp.out): New rule.
40428 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40430         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40431         * ctype/ctype.h [__USE_MISC]: Likewise.
40432         * dirent/dirent.h [__USE_MISC]: Likewise.
40433         * grp/grp.h [__USE_MISC]: Likewise.
40434         * io/fcntl.h [__USE_MISC]: Likewise.
40435         * io/sys/stat.h [__USE_MISC]: Likewise.
40436         * libio/stdio.h [__USE_MISC]: Likewise.
40437         * posix/unistd.h [__USE_MISC]: Likewise.
40438         * pwd/pwd.h [__USE_MISC]: Likewise.
40439         * stdlib.h [__USE_MISC]: Likewise.
40440         * string/bits/string2.h [__USE_MISC]: Likewise.
40441         * string/string.h [__USE_MISC]: Likewise.
40442         * time/time.h [__USE_MISC]: Likewise.
40444 2014-02-13  Andreas Schwab  <schwab@suse.de>
40446         [BZ #16574]
40447         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40448         second answer buffer if it was separately allocated.
40450 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40452         * sysdeps/mips/math-tests.h: Include <features.h>.
40453         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40454         (ROUNDING_TESTS_long_double): Do not define.
40455         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40456         (EXCEPTION_TESTS_long_double): Likewise.
40457         * sysdeps/mips/mips64/libm-test-ulps: Update.
40459         * include/features.h (__USE_BSD): Remove macro definitions.
40460         (__USE_SVID): Likewise.
40461         (_BSD_SOURCE): Likewise.
40462         (_SVID_SOURCE): Likewise.
40463         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40464         from definition of _DEFAULT_SOURCE.
40465         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40466         [_DEFAULT_SOURCE].
40467         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40468         * bits/mman.h [__USE_BSD]: Likewise.
40469         * bits/termios.h [__USE_BSD]: Likewise.
40470         * bits/waitstatus.h [__USE_BSD]: Likewise.
40471         * ctype/ctype.h [__USE_SVID]: Likewise.
40472         * dirent/dirent.h [__USE_BSD]: Likewise.
40473         * grp/grp.h [__USE_SVID]: Likewise.
40474         [__USE_BSD]: Likewise.
40475         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40476         * io/fcntl.h [__USE_BSD]: Likewise.
40477         * io/ftw.h [__USE_BSD]: Likewise.
40478         * io/sys/stat.h [__USE_BSD]: Likewise.
40479         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40480         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40481         * libio/stdio.h [__USE_SVID]: Likewise.
40482         [__USE_BSD]: Likewise.
40483         * math/math.h [__USE_SVID]: Likewise.
40484         [__USE_BSD]: Likewise.
40485         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40486         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40487         * misc/search.h [__USE_SVID]: Likewise.
40488         * misc/sys/mman.h [__USE_BSD]: Likewise.
40489         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40490         * misc/sys/uio.h [__USE_BSD]: Likewise.
40491         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40492         * posix/glob.h [__USE_BSD]: Likewise.
40493         * posix/regex.h [__USE_BSD]: Likewise.
40494         * posix/sys/types.h [__USE_BSD]: Likewise.
40495         [__USE_SVID]: Likewise.
40496         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40497         * posix/sys/wait.h [__USE_BSD]: Likewise.
40498         [__USE_SVID]: Likewise.
40499         * posix/unistd.h [__USE_BSD]: Likewise.
40500         [__USE_SVID]: Likewise.
40501         * pwd/pwd.h [__USE_SVID]: Likewise.
40502         * resolv/netdb.h [__USE_BSD]: Likewise.
40503         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40504         * signal/signal.h [__USE_BSD]: Likewise.
40505         [__USE_SVID]: Likewise.
40506         * socket/sys/socket.h [__USE_BSD]: Likewise.
40507         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40508         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40509         [__USE_SVID]: Likewise.
40510         * string/bits/string2.h [__USE_BSD]: Likewise.
40511         [__USE_SVID]: Likewise.
40512         * string/bits/string3.h [__USE_BSD]: Likewise.
40513         * string/endian.h [__USE_BSD]: Likewise.
40514         * string/string.h [__USE_SVID]: Likewise.
40515         [__USE_BSD]: Likewise.
40516         * string/strings.h [__USE_BSD]: Likewise.
40517         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40518         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40519         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40520         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40521         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40522         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40523         Likewise.
40524         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40525         Likewise.
40526         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40527         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40528         Likewise.
40529         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40530         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40531         Likewise.
40532         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40533         Likewise.
40534         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40535         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40536         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40537         Likewise.
40538         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40539         Likewise.
40540         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40541         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40542         * termios/termios.h [__USE_BSD]: Likewise.
40543         * time/sys/time.h [__USE_BSD]: Likewise.
40544         * time/time.h [__USE_BSD]: Likewise.
40545         [__USE_SVID]: Likewise.
40547         * Makefile (subdir_targets): Remove subdir_lint.out.
40549         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40550         (do-tst-printf): Likewise.
40551         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40552         $(objpfx)tst-printf.out.
40554         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40556         * Makerules (check-abi-%): Change target to
40557         $(objpfx)check-abi-%.out.
40558         (check-abi target): Update dependencies.
40559         (check-abi-pattern variable): Redirect output of diff to $@.
40560         (check-abi variable): Likewise.
40561         * elf/Makefile (check-abi): Update dependencies.
40563         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40564         unused.
40565         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40566         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40567         subnormal range.
40568         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40569         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40570         value has largest subnormal exponent.
40571         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40572         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40573         * sysdeps/aarch64/soft-fp/sfp-machine.h
40574         (_FP_TININESS_AFTER_ROUNDING): New macro.
40575         * sysdeps/alpha/soft-fp/sfp-machine.h
40576         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40577         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40578         Likewise.
40579         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40580         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40581         * sysdeps/mips/soft-fp/sfp-machine.h
40582         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40583         * sysdeps/powerpc/soft-fp/sfp-machine.h
40584         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40585         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40586         Likewise.
40587         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40588         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40589         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40590         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40591         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40592         Likewise.
40594 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40596         [BZ #16545]
40597         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40598         model 1.
40600 2014-02-12  Richard Henderson  <rth@redhat.com>
40602         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40603         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40604         * sysdeps/unix/sysv/linux/alpha: Move directory from
40605         ports/sysdeps/unix/sysv/linux/alpha.
40606         * README: Update listing for alpha-*-linux-gnu.
40608 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40610         * include/features.h: Update comment documenting feature test
40611         macros.
40612         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40613         _DEFAULT_SOURCE.
40614         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40615         (_SVID_SOURCE): Likewise.
40616         (_DEFAULT_SOURCE): Update description of default features.
40617         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40618         with _GNU_SOURCE.
40619         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40620         (S_ISVTX): Likewise.
40621         * manual/math.texi (Mathematical Constants): Likewise.
40622         * manual/signal.texi (Interrupted Primitives): Likewise.
40623         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40624         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40625         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40626         Don't refer to _SVID_SOURCE in warning text.
40628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40630         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40631         already defined.
40632         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40633         * sysdeps/mips/dl-lookup.c: Remove.
40634         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40636 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40638         [BZ #16447]
40639         * math/auto-libm-test-in: Add testcase for expl.
40640         * math/auto-libm-test-out: Regenerate.
40641         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40642         calculation of unsafe.
40643         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40645 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40647         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40648         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40649         ports/sysdeps/unix/sysv/linux/aarch64.
40650         * README: Update listing for aarch64*-*-linux-gnu.
40652 2014-02-11  Will Newton  <will.newton@linaro.org>
40654         * manual/probes.texi (Mathematical Function Probes): Use
40655         "triggered" instead of "hit".
40657         * manual/probes.texi (Internal Probes): Add documentation
40658         of setjmp, longjmp and longjmp_target probes.
40660         * include/stap-probe.h: Add comment about probe argument
40661         format.
40663         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40664         definition.  (tr_where, tr_freehook, tr_mallochook,
40665         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40667 2014-02-11  David S. Miller  <davem@davemloft.net>
40669         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40670         processing int_tests.
40672 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40674         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40675         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40676         * sysdeps/unix/sysv/linux/mips: Move directory from
40677         ports/sysdeps/unix/sysv/linux/mips.
40678         * README: Update listing for mips-*-linux-gnu and
40679         mips64-*-linux-gnu.
40681 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40683         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40684         * sysdeps/unix/sysv/linux/m68k: Move directory from
40685         ports/sysdeps/unix/sysv/linux/m68k.
40686         * README: Update listing for m68k-*-linux-gnu.
40688 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40690         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40691         * sysdeps/unix/sysv/linux/generic: Move directory from
40692         ports/sysdeps/unix/sysv/linux/generic.
40693         * sysdeps/unix/sysv/linux/tile: Move directory from
40694         ports/sysdeps/unix/sysv/linux/tile.
40695         * README: Update listing for tile*-*-linux-gnu.
40697 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40699         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40700         __builtin_expect.
40701         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40702         * catgets/open_catalog.c (__open_catalog): Likewise.
40703         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40704         * debug/confstr_chk.c: Likewise.
40705         * debug/fread_chk.c (__fread_chk): Likewise.
40706         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40707         * debug/getgroups_chk.c: Likewise.
40708         * debug/mbsnrtowcs_chk.c: Likewise.
40709         * debug/mbsrtowcs_chk.c: Likewise.
40710         * debug/mbstowcs_chk.c: Likewise.
40711         * debug/memcpy_chk.c: Likewise.
40712         * debug/memmove_chk.c: Likewise.
40713         * debug/mempcpy_chk.c: Likewise.
40714         * debug/memset_chk.c: Likewise.
40715         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40716         * debug/strcat_chk.c (__strcat_chk): Likewise.
40717         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40718         * debug/strncat_chk.c (__strncat_chk): Likewise.
40719         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40720         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40721         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40722         * debug/wcpncpy_chk.c: Likewise.
40723         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40724         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40725         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40726         * debug/wcsncpy_chk.c: Likewise.
40727         * debug/wcsnrtombs_chk.c: Likewise.
40728         * debug/wcsrtombs_chk.c: Likewise.
40729         * debug/wcstombs_chk.c: Likewise.
40730         * debug/wmemcpy_chk.c: Likewise.
40731         * debug/wmemmove_chk.c: Likewise.
40732         * debug/wmempcpy_chk.c: Likewise.
40733         * debug/wmemset_chk.c: Likewise.
40734         * dirent/scandirat.c (SCANDIRAT): Likewise.
40735         * dlfcn/dladdr1.c (dladdr1): Likewise.
40736         * dlfcn/dladdr.c (dladdr): Likewise.
40737         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40738         * dlfcn/dlerror.c (__dlerror): Likewise.
40739         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40740         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40741         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40742         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40743         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40744         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40745         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40746         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40747         Likewise.
40748         * elf/dl-conflict.c: Likewise.
40749         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40750         * elf/dl-dst.h: Likewise.
40751         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40752         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40753         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40754         * elf/dl-init.c (call_init, _dl_init): Likewise.
40755         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40756         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40757         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40758         Likewise.
40759         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40760         Likewise.
40761         * elf/dl-minimal.c (__libc_memalign): Likewise.
40762         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40763         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40764         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40765         * elf/dl-sym.c (do_sym): Likewise.
40766         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40767         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40768         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40769         * elf/dl-writev.h (_dl_writev): Likewise.
40770         * elf/ldconfig.c (search_dir): Likewise.
40771         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40772         (dl_main): Likewise.
40773         * elf/setup-vdso.h (setup_vdso): Likewise.
40774         * grp/compat-initgroups.c (compat_call): Likewise.
40775         * grp/fgetgrent.c (fgetgrent): Likewise.
40776         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40777         * grp/putgrent.c (putgrent): Likewise.
40778         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40779         Likewise.
40780         * hurd/hurdinit.c: Likewise.
40781         * iconvdata/8bit-gap.c (struct): Likewise.
40782         * iconvdata/ansi_x3.110.c : Likewise.
40783         * iconvdata/big5.c : Likewise.
40784         * iconvdata/big5hkscs.c : Likewise.
40785         * iconvdata/cp1255.c: Likewise.
40786         * iconvdata/cp1258.c : Likewise.
40787         * iconvdata/cp932.c : Likewise.
40788         * iconvdata/euc-cn.c: Likewise.
40789         * iconvdata/euc-jisx0213.c : Likewise.
40790         * iconvdata/euc-jp.c: Likewise.
40791         * iconvdata/euc-jp-ms.c : Likewise.
40792         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40793         * iconvdata/gb18030.c : Likewise.
40794         * iconvdata/gbbig5.c (const): Likewise.
40795         * iconvdata/gbgbk.c: Likewise.
40796         * iconvdata/gbk.c : Likewise.
40797         * iconvdata/ibm1364.c : Likewise.
40798         * iconvdata/ibm930.c : Likewise.
40799         * iconvdata/ibm932.c: Likewise.
40800         * iconvdata/ibm933.c : Likewise.
40801         * iconvdata/ibm935.c : Likewise.
40802         * iconvdata/ibm937.c : Likewise.
40803         * iconvdata/ibm939.c : Likewise.
40804         * iconvdata/ibm943.c: Likewise.
40805         * iconvdata/iso_11548-1.c: Likewise.
40806         * iconvdata/iso-2022-cn.c : Likewise.
40807         * iconvdata/iso-2022-cn-ext.c : Likewise.
40808         * iconvdata/iso-2022-jp-3.c: Likewise.
40809         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40810         * iconvdata/iso-2022-kr.c : Likewise.
40811         * iconvdata/iso646.c (gconv_end): Likewise.
40812         * iconvdata/iso_6937-2.c : Likewise.
40813         * iconvdata/iso_6937.c : Likewise.
40814         * iconvdata/iso8859-1.c: Likewise.
40815         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40816         * iconvdata/shift_jisx0213.c : Likewise.
40817         * iconvdata/sjis.c : Likewise.
40818         * iconvdata/t.61.c : Likewise.
40819         * iconvdata/tcvn5712-1.c : Likewise.
40820         * iconvdata/tscii.c: Likewise.
40821         * iconvdata/uhc.c : Likewise.
40822         * iconvdata/unicode.c (gconv_end): Likewise.
40823         * iconvdata/utf-16.c (gconv_end): Likewise.
40824         * iconvdata/utf-32.c (gconv_end): Likewise.
40825         * iconvdata/utf-7.c (base64): Likewise.
40826         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40827         * iconv/gconv_close.c (__gconv_close): Likewise.
40828         * iconv/gconv_open.c (__gconv_open): Likewise.
40829         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40830         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40831         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40832         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40833         (ucs4le_internal_loop_single): Likewise.
40834         * iconv/iconv.c (iconv): Likewise.
40835         * iconv/iconv_close.c: Likewise.
40836         * iconv/loop.c (SINGLE): Likewise.
40837         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40838         * include/atomic.h: Likewise.
40839         * inet/inet6_option.c (option_alloc): Likewise.
40840         * intl/bindtextdom.c (set_binding_values): Likewise.
40841         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40842         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40843         * intl/localealias.c (read_alias_file): Likewise.
40844         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40845         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40846         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40847         * libio/fmemopen.c (fmemopen): Likewise.
40848         * libio/iofgets.c (_IO_fgets): Likewise.
40849         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40850         * libio/iofgetws.c (fgetws): Likewise.
40851         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40852         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40853         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40854         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40855         * locale/findlocale.c (_nl_find_locale): Likewise.
40856         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40857         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40858         Likewise.
40859         * locale/setlocale.c (setlocale): Likewise.
40860         * login/programs/pt_chown.c (main): Likewise.
40861         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40862         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40863         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40864         (mmap, mmap64, mremap, munmap): Likewise.
40865         * math/e_exp2l.c: Likewise.
40866         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40867         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40868         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40869         * math/s_catan.c (__catan): Likewise.
40870         * math/s_catanf.c (__catanf): Likewise.
40871         * math/s_catanh.c (__catanh): Likewise.
40872         * math/s_catanhf.c (__catanhf): Likewise.
40873         * math/s_catanhl.c (__catanhl): Likewise.
40874         * math/s_catanl.c (__catanl): Likewise.
40875         * math/s_ccosh.c (__ccosh): Likewise.
40876         * math/s_ccoshf.c (__ccoshf): Likewise.
40877         * math/s_ccoshl.c (__ccoshl): Likewise.
40878         * math/s_cexp.c (__cexp): Likewise.
40879         * math/s_cexpf.c (__cexpf): Likewise.
40880         * math/s_cexpl.c (__cexpl): Likewise.
40881         * math/s_clog10.c (__clog10): Likewise.
40882         * math/s_clog10f.c (__clog10f): Likewise.
40883         * math/s_clog10l.c (__clog10l): Likewise.
40884         * math/s_clog.c (__clog): Likewise.
40885         * math/s_clogf.c (__clogf): Likewise.
40886         * math/s_clogl.c (__clogl): Likewise.
40887         * math/s_csin.c (__csin): Likewise.
40888         * math/s_csinf.c (__csinf): Likewise.
40889         * math/s_csinh.c (__csinh): Likewise.
40890         * math/s_csinhf.c (__csinhf): Likewise.
40891         * math/s_csinhl.c (__csinhl): Likewise.
40892         * math/s_csinl.c (__csinl): Likewise.
40893         * math/s_csqrt.c (__csqrt): Likewise.
40894         * math/s_csqrtf.c (__csqrtf): Likewise.
40895         * math/s_csqrtl.c (__csqrtl): Likewise.
40896         * math/s_ctan.c (__ctan): Likewise.
40897         * math/s_ctanf.c (__ctanf): Likewise.
40898         * math/s_ctanh.c (__ctanh): Likewise.
40899         * math/s_ctanhf.c (__ctanhf): Likewise.
40900         * math/s_ctanhl.c (__ctanhl): Likewise.
40901         * math/s_ctanl.c (__ctanl): Likewise.
40902         * math/w_pow.c: Likewise.
40903         * math/w_powf.c: Likewise.
40904         * math/w_powl.c: Likewise.
40905         * math/w_scalb.c (sysv_scalb): Likewise.
40906         * math/w_scalbf.c (sysv_scalbf): Likewise.
40907         * math/w_scalbl.c (sysv_scalbl): Likewise.
40908         * misc/error.c (error_tail): Likewise.
40909         * misc/pselect.c (__pselect): Likewise.
40910         * nis/nis_callback.c (__nis_create_callback): Likewise.
40911         * nis/nis_call.c (__nisfind_server): Likewise.
40912         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40913         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40914         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40915         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40916         * nis/nis_lookup.c (nis_lookup): Likewise.
40917         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40918         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40919         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40920         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40921         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40922         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40923         * nis/nss_compat/compat-initgroups.c (add_group)
40924         (internal_getgrent_r): Likewise.
40925         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40926         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40927         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40928         (internal_getspnam_r): Likewise.
40929         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40930         (_nss_nis_getaliasbyname_r): Likewise.
40931         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40932         (_nss_nis_getntohost_r): Likewise.
40933         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40934         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40935         (_nss_nis_getgrgid_r): Likewise.
40936         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40937         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40938         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40939         (_nss_nis_gethostbyname4_r): Likewise.
40940         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40941         (initgroups_netid): Likewise.
40942         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40943         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40944         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40945         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40946         (_nss_nis_getprotobynumber_r): Likewise.
40947         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40948         (_nss_nis_getsecretkey): Likewise.
40949         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40950         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40951         (_nss_nis_getpwuid_r): Likewise.
40952         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40953         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40954         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40955         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40956         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40957         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40958         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40959         Likewise.
40960         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40961         (_nss_nisplus_getntohost_r): Likewise.
40962         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40963         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40964         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40965         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40966         Likewise.
40967         * nis/nss_nisplus/nisplus-initgroups.c
40968         (_nss_nisplus_initgroups_dyn): Likewise.
40969         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40970         (_nss_nisplus_getnetbyaddr_r): Likewise.
40971         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40972         (_nss_nisplus_getprotobynumber_r): Likewise.
40973         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40974         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40975         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40976         Likewise.
40977         * nis/nss_nisplus/nisplus-service.c
40978         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40979         (_nss_nisplus_getservbyport_r): Likewise.
40980         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40981         (_nss_nisplus_getspnam_r): Likewise.
40982         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40983         Likewise.
40984         * nscd/aicache.c (addhstaiX): Likewise.
40985         * nscd/cache.c (cache_search, prune_cache): Likewise.
40986         * nscd/connections.c (register_traced_file, send_ro_fd)
40987         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40988         (main_loop_epoll): Likewise.
40989         * nscd/grpcache.c (addgrbyX): Likewise.
40990         * nscd/hstcache.c (addhstbyX): Likewise.
40991         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40992         * nscd/mem.c (gc, mempool_alloc): Likewise.
40993         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40994         (addinnetgrX): Likewise.
40995         * nscd/nscd-client.h (__nscd_acquire_maplock)
40996         (__nscd_drop_map_ref): Likewise.
40997         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40998         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40999         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41000         Likewise.
41001         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41002         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41003         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41004         (__nscd_get_map_ref): Likewise.
41005         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41006         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41007         Likewise.
41008         * nscd/pwdcache.c (addpwbyX): Likewise.
41009         * nscd/selinux.c (preserve_capabilities): Likewise.
41010         * nscd/servicescache.c (addservbyX): Likewise.
41011         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41012         * posix/fnmatch.c (fnmatch): Likewise.
41013         * posix/getopt.c (_getopt_internal_r): Likewise.
41014         * posix/glob.c (glob, glob_in_dir): Likewise.
41015         * posix/wordexp.c (exec_comm_child): Likewise.
41016         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41017         (getanswer_r, gaih_getanswer_slice): Likewise.
41018         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41019         * resolv/res_init.c: Likewise.
41020         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41021         * resolv/res_query.c (__libc_res_nquery): Likewise.
41022         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41023         Likewise.
41024         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41025         * stdio-common/perror.c (perror): Likewise.
41026         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41027         * stdio-common/tmpnam.c (tmpnam): Likewise.
41028         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41029         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41030         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41031         Likewise.
41032         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41033         * stdlib/putenv.c (putenv): Likewise.
41034         * stdlib/setenv.c (__add_to_environ): Likewise.
41035         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41036         * stdlib/strtol_l.c (INTERNAL): Likewise.
41037         * string/memmem.c (memmem): Likewise.
41038         * string/strerror.c (strerror): Likewise.
41039         * string/strnlen.c (__strnlen): Likewise.
41040         * string/test-memmem.c (simple_memmem): Likewise.
41041         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41042         * sunrpc/pm_getport.c (__get_socket): Likewise.
41043         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41044         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41045         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41046         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41047         Likewise.
41048         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41049         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41050         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41051         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41052         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41053         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41054         Likewise.
41055         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41056         Likewise.
41057         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41058         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41059         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41060         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41061         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41063         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41064         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41065         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41066         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41067         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41068         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41069         Likewise.
41070         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41071         Likewise.
41072         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41073         Likewise.
41074         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41075         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41076         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41077         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41078         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41079         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41080         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41081         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41082         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41083         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41084         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41085         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41086         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41087         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41089         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41090         Likewise.
41091         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41092         Likewise.
41093         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41094         Likewise.
41095         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41096         Likewise.
41097         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41099         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41100         Likewise.
41101         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41102         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41103         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41104         * sysdeps/posix/sleep.c: Likewise.
41105         * sysdeps/posix/tempname.c: Likewise.
41106         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41107         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41108         Likewise.
41109         * sysdeps/powerpc/powerpc32/dl-machine.h
41110         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41111         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41112         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41113         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41114         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41115         Likewise.
41116         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41117         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41118         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41119         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41120         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41121         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41122         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41123         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41124         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41125         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41126         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41127         (elf_machine_lazy_rel): Likewise.
41128         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41129         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41130         (elf_machine_lazy_rel): Likewise.
41131         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41132         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41133         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41134         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41135         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41136         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41137         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41138         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41139         Likewise.
41140         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41141         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41142         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41143         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41144         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41145         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41146         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41147         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41148         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41149         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41150         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41151         Likewise.
41152         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41153         (__posix_fallocate64_l64): Likewise.
41154         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41155         (posix_fallocate): Likewise.
41156         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41157         Likewise.
41158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41159         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41160         (getifaddrs_internal): Likewise.
41161         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41162         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41163         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41164         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41165         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41166         (__posix_fallocate64_l64): Likewise.
41167         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41168         Likewise.
41169         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41170         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41171         (__get_clockfreq): Likewise.
41172         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41173         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41174         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41175         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41177         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41178         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41179         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41180         Likewise.
41181         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41182         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41183         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41184         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41185         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41186         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41187         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41188         Likewise.
41189         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41190         (posix_fallocate): Likewise.
41191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41192         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41193         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41194         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41195         (elf_machine_rela, elf_machine_rela_relative)
41196         (elf_machine_lazy_rel): Likewise.
41197         * time/asctime.c (asctime_internal): Likewise.
41198         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41199         * time/tzset.c (__tzset_parse_tz): Likewise.
41200         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41201         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41202         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41203         * wcsmbs/wcsmbsload.h: Likewise.
41205         [BZ #15894]
41206         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41208         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41209         (arena_get2): Remove THREAD_STATS conditionals.
41210         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41211         (__malloc_stats, int): Likewise.
41213 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41215         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41216         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41218         * manual/setjmp.texi: Fix typos/grammar errors.
41220         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41221         Only return early when n is <= 0.  Delete unused return statement.
41223         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41224         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41225         * debug/tst-longjmp_chk3.c: New file.
41227         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41228         (test_main): Replace code with set_fortify_handler call.
41229         * debug/test-strcpy_chk.c: Likewise.
41230         * debug/tst-chk1.c: Likewise.
41231         * debug/tst-longjmp_chk.c: Likewise.
41232         * test-skeleton.c: Include fcntl.h & paths.h
41233         (set_fortify_handler): Define.
41235         * debug/tst-longjmp_chk.c: Add header comment and include
41236         ../test-skeleton.c.
41237         (do_test): Mark static.
41238         (TEST_FUNCTION): Define.
41240         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41241         (IP_PMTUDISC_INTERFACE): Likewise.
41242         (IP_MULTICAST_IF): Likewise.
41243         (IP_MULTICAST_TTL): Likewise.
41244         (IP_MULTICAST_LOOP): Likewise.
41245         (IP_ADD_MEMBERSHIP): Likewise.
41246         (IP_DROP_MEMBERSHIP): Likewise.
41247         (IP_UNBLOCK_SOURCE): Likewise.
41248         (IP_BLOCK_SOURCE): Likewise.
41249         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41250         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41251         (IP_MSFILTER): Likewise.
41252         (MCAST_JOIN_GROUP): Likewise.
41253         (MCAST_BLOCK_SOURCE): Likewise.
41254         (MCAST_UNBLOCK_SOURCE): Likewise.
41255         (MCAST_LEAVE_GROUP): Likewise.
41256         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41257         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41258         (MCAST_MSFILTER): Likewise.
41259         (IP_MULTICAST_ALL): Likewise.
41260         (IP_UNICAST_IF): Likewise.
41262         * timezone/Makefile: Delete $(have-ksh) check.
41263         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41264         * timezone/tzselect.ksh: Add +x mode bits.
41266         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41267         (ANON_INODE_FS_MAGIC): Likewise.
41268         (BDEVFS_MAGIC): Likewise.
41269         (BINFMTFS_MAGIC): Likewise.
41270         (BTRFS_TEST_MAGIC): Likewise.
41271         (CRAMFS_MAGIC_WEND): Likewise.
41272         (DEBUGFS_MAGIC): Likewise.
41273         (ECRYPTFS_SUPER_MAGIC): Likewise.
41274         (EXT3_SUPER_MAGIC): Likewise.
41275         (EXT4_SUPER_MAGIC): Likewise.
41276         (FUTEXFS_SUPER_MAGIC): Likewise.
41277         (HOSTFS_SUPER_MAGIC): Likewise.
41278         (HUGETLBFS_MAGIC): Likewise.
41279         (MINIX3_SUPER_MAGIC): Likewise.
41280         (MTD_INODE_FS_MAGIC): Likewise.
41281         (NILFS_SUPER_MAGIC): Likewise.
41282         (OPENPROM_SUPER_MAGIC): Likewise.
41283         (PIPEFS_MAGIC): Likewise.
41284         (PSTOREFS_MAGIC): Likewise.
41285         (QNX6_SUPER_MAGIC): Likewise.
41286         (RAMFS_MAGIC): Likewise.
41287         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41288         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41289         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41290         (SECURITYFS_MAGIC): Likewise.
41291         (SELINUX_MAGIC): Likewise.
41292         (SMACK_MAGIC): Likewise.
41293         (SOCKFS_MAGIC): Likewise.
41294         (SQUASHFS_MAGIC): Likewise.
41295         (STACK_END_MAGIC): Likewise.
41296         (TMPFS_MAGIC): Likewise.
41297         (USBDEVICE_SUPER_MAGIC): Likewise.
41298         (V9FS_MAGIC): Likewise.
41299         (XENFS_SUPER_MAGIC): Likewise.
41300         (CRAMFS_MAGIC): Fix typo in comment.
41301         (EXT2_SUPER_MAGIC): Update comment.
41302         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41304 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41306         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41307         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41308         * sysdeps/unix/sysv/linux/arm: Move directory from
41309         ports/sysdeps/unix/sysv/linux/arm.
41310         * README: Update listing for arm-*-linux-gnueabi.
41312         * README: Remove mention of am33.
41314 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41316         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41317         than the comma operator, to avoid "rhs of comma has no effect"
41318         compiler warnings.
41319         (__sigfillset, __sigandset, __sigorset): Likewise.
41320         * include/signal.h (__sigemptyset): Likewise.
41321         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41323 2014-02-07  Allan McRae  <allan@archlinux.org>
41325         * version.h (RELEASE): Set to "development".
41326         (VERSION): Set to "2.19.90"
41327         * NEWS: Add 2.20 section.
41329 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41331         [BZ #16529]
41332         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41334 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41336         * manual/contrib.texi: Update entry for Carlos O'Donell,
41337         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41339 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41341         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41343         * sysdeps/unix/sysv/linux/kernel-features.h
41344         [__LINUX_KERNEL_VERSION >= 0x020621]
41345         (__ASSUME_PROC_PID_TASK_COMM): Define.
41347 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41349         [BZ #16398]
41350         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41351         conversion when destination buffer does not have enough space.
41352         * libio/tst-ftell-partial-wide.c: New test case.
41353         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41355         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41356         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41357         Leonard and Allan McRae.
41359 2014-02-04  David S. Miller  <davem@davemloft.net>
41361         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41362         32-bit.
41364 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41367         New file
41368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41369         New file
41370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41371         New file.
41372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41373         New file.
41374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41375         New file.
41376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41377         New file.
41378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41379         New file.
41380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41381         New file.
41382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41383         New file.
41384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41385         New file.
41386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41387         New file.
41388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41389         New file.
41390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41391         New file.
41393 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41395         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41396         * shlib-versions: Likewise.
41398 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41399             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41401         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41402         (abilist-pattern): New variable, set to %-le.abilist.
41404         * Makerules (abilist-pattern): New variable.
41405         (vpath): Use $(abilist-pattern) in place of %.abilist.
41406         (check-abi-% pattern rule): Likewise.
41407         (check-abi, update-abi): Likewise.
41409 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41413 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41415         * manual/startup.texi: Add next, previous, and top entries for
41416         the `Program Arguments' and `Environment Variables' nodes.
41418 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41420         * manual/macros.texi: Add comments before MTASC-safety macros.
41422         * manual/users.texi: Document MTASC-safety properties.
41424         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41425         (pthread_getspecific, pthread_setspecific): Format with
41426         @deftypefun, and add @safety note.
41427         * manual/signal.texi: Move comments that analyze the above
41428         functions to their home place.
41430 2014-02-03  Allan McRae  <allan@archlinux.org>
41432         * po/sl.po: Update Slovenian translation from translation project.
41434 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41436         * manual/time.texi (timegm): Add missing blank after @c.
41437         Reported by Joseph Myers <joseph@codesourcery.com>.
41439 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41441         * manual/check-safety.sh: New.
41442         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41444         * manual/terminal.texi: Document MTASC-safety properties.
41446         * manual/filesys.texi: Document MTASC-safety properties.
41448         * manual/errno.texi: Document MTASC-safety properties.
41450         * manual/intro.texi: Document safety identifiers and
41451         conditionals.
41453         * manual/string.texi (wcstok): Fix prototype.
41454         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41456         * manual/time.texi: Document MTASC-safety properties.
41458         * manual/string.texi: Document MTASC-safety properties.
41460         * manual/threads.texi: Document MTASC-safety properties.
41462         * manual/stdio.texi: Document MTASC-safety properties.
41464         * manual/syslog.texi: Document MTASC-safety properties.
41466         * manual/sysinfo.texi: Document MTASC-safety properties.
41468         * manual/startup.texi: Document MTASC-safety properties.
41470         * manual/socket.texi: Document MTASC-safety properties.
41472         * manual/signal.texi: Document MTASC-safety properties.
41474 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41476         * manual/setjmp.texi: Document MTASC-safety properties.
41478         * manual/search.texi: Document MTASC-safety properties.
41480         * manual/resource.texi: Document MTASC-safety properties.
41482         * manual/process.texi: Document MTASC-safety properties.
41484         * manual/platform.texi: Document MTASC-safety properties.
41486         * manual/pipe.texi: Document MTASC-safety properties.
41488         * manual/pattern.texi: Document MTASC-safety properties.
41490         * manual/message.texi: Document MTASC-safety properties.
41492         [BZ #12751]
41493         * manual/memory.texi: Document MTASC-safety properties.
41495         * manual/math.texi: Document MTASC-safety properties.
41497         * manual/locale.texi: Document MTASC-safety properties.
41499         * manual/llio.texi: Document MTASC-safety properties.
41501         * manual/libdl.texi: New.
41503         * manual/lang.texi: Document MTASC-safety properties.
41505         * manual/job.texi: Document MTASC-safety properties.
41507         * manual/getopt.texi: Document MTASC-safety properties.
41509         * manual/ctype.texi: Document MTASC-safety properties.
41511 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41513         [BZ #16046]
41514         * csu/libc-tls.c (static_map): Remove variable.
41515         (__libc_setup_tls): Use main executable's link map for TLS data.
41516         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41517         casing for LM_ID_BASE and GL(dl_nns).
41518         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41519         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41520         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41521         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41522         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41523         member.
41524         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41525         l_phnum members.
41527 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41529         * manual/debug.texi: Document MTASC-safety properties.
41531 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41533         [BZ #16510]
41534         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41535         of __x86_64__ when disabling x87 inline functions.
41537 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41539         * manual/charset.texi: Document MTASC-safety properties.
41541         * manual/crypt.texi: Document MTASC-safety properties.
41543         * manual/conf.texi: Document MTASC-safety properties.
41545         * manual/arith.texi: Document MTASC-safety properties.
41547         * manual/argp.texi: Document MTASC-safety properties.
41549         * manual/macros.texi: Introduce macros to document multi
41550         thread, asynchronous signal and asynchronous cancellation
41551         safety properties.
41552         * manual/intro.texi: Introduce the properties themselves.
41554 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41556         * sysdeps/sh/sh4/Makefile: New file.
41558 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41560         * math/gen-libm-test.pl ($srcdir): New variable.
41561         ($auto_input): Use it.
41563 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41565         [BZ #16506]
41566         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41567         access beyond array bounds when parsing netgroups file.
41569         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41570         the old buffer before realloc.
41572 2014-01-27  Allan McRae  <allan@archlinux.org>
41574         * po/fr.po: Update French translation from translation project.
41576 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41578         * sysdeps/sh/libm-test-ulps: Regenerate.
41580 2014-01-24  David S. Miller  <davem@davemloft.net>
41582         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41584 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41586         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41587         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41589 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41591         [BZ #16474]
41592         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41593         string pointers after reallocation.
41595 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41597         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41598         __SH4A__ instead of __SH_FPU_ANY__.
41600 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41602         * sysdeps/sh/fpu_control.h: New file.
41603         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41604         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41605         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41606         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41607         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41608         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41609         * sysdeps/sh/sys/ucontext.h: Remove.
41610         * sysdeps/sh/sys: Remove directory.
41612 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41614         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41615         s390/sys/ucontext.h.
41616         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41617         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41619 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41621         [BZ #15605]
41622         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41624 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41626         [BZ#16431]
41627         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41628         Adjust the vDSO correctly for internal calls.
41629         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41631 2014-01-20  Allan McRae  <allan@archlinux.org>
41633         * po/ca.po: Update Catalan translation from translation project.
41635 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41637         * sysdeps/s390/sotruss-lib.c: New file.
41639 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41641         [BZ#16430]
41642         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41643         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41644         local calls issues by not having a PLT stub required for IFUNC calls.
41645         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41647 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41649         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41650         * math/test-fpucw-static.c: Likewise.
41652 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41654         [BZ #16453]
41655         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41657 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41659         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41660         implementation for powerpc.
41662 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41664         [BZ #14782]
41665         * sysdeps/posix/system.c (__libc_system): Do not enable
41666         asynchronous cancellation.
41668 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41670         [BZ #16427]
41671         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41672         handling only for numbers special also in the IEEE case.
41674 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41676         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41678 2014-01-11  Allan McRae  <allan@archlinux.org>
41680         * po/bg.po: Update Bulgarian translation from translation project.
41682         * po/de.po: Update German translation from translation project.
41684 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41686         * sysdeps/generic/gcc-compat.h: New file.
41688 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41690         * benchtests/asin-inputs: Correct slow inputs.
41691         * benchtests/acos-inputs: Likewise.
41693 2014-01-10  Allan McRae  <allan@archlinux.org>
41695         * po:sv.po: Update Swedish translation from translation project.
41697         * po/vi.po: Update Vietnamese translation from translation project.
41699         * po/eo.po: Update Esperanto translation from translation project.
41701         * po/cs.po: Update Czech translation from translation project.
41703         * po/nl.po: Update Dutch translation from translation project.
41705         * po/pl.po: Update Polish translation from translation project.
41707         * po/ru.po: Update Russian translation from translation project.
41709         * po/uk.po: Update Ukrainian translation from translation project.
41711 2014-01-08  Brooks Moses  <bmoses@google.com>
41713         * elf/dl-load.c: Fix comment typo.
41715 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41717         * po/header.pot: Rename to...
41718         * po/pot.header: ... this.
41719         * po/Makefile: Use pot.header.
41721 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41722             Maxim Kuvyrkov  <maxim@kugelworks.com>
41724         [BZ #16394]
41725         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41726         SRC and DEST against LEN.
41728 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41730         [BZ #16414]
41731         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41732         implementation.
41733         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41735 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41739 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41741         [BZ #16408]
41742         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41743         for large positive arguments.
41745 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41747         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41749         * math/auto-libm-test-in: Mark various tests with
41750         xfail-rounding:ldbl-128ibm.
41751         * math/auto-libm-test-out: Regenerated.
41753         [BZ #16407]
41754         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41755         Increase overflow threshold.
41757 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41759         [BZ #14286]
41760         * stdio-common/vfprintf.c: Check for integer overflow.
41762 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41764         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41765         the first argument and return value of __tls_get_addr_internal.
41767 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41769         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41770         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41772 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41774         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41775         * sysdeps/s390/rtld-global-offsets.sym: New file.
41776         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41777         GLIBC_2.19 symbol.
41778         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41780         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41781         ... this.
41782         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41783         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41784         ... this.
41785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41786         Regenerate.
41787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41788         Regenerate.
41789         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41790         halfs of GPRs for high_gprs contexts.
41791         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41792         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41793         field.
41794         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41795         uc_flags field.
41796         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41797         64 bit versions:
41798         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41799         for high GPRs (uc_high_gprs) and for future extensions
41800         (__reserved).
41801         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41802         for future extensions (__reserved).
41803         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41804         64 bit versions:
41805         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41806         SC_HIGHGPRS offset definition.
41807         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41808         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41810         * Versions.def: Add GLIBC_2.19 for libpthread.
41811         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41812         siglongjmp for libpthread with GLIBC_2.19 symver.
41813         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41814         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41815         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41816         * sysdeps/s390/__longjmp.c: New file.
41817         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41818         * sysdeps/s390/longjmp.c: New file.
41819         * sysdeps/s390/setjmp.S: New file.
41820         * sysdeps/s390/sigjmp.S: New file.
41821         * sysdeps/s390/v1-longjmp.c: New file.
41822         * sysdeps/s390/v1-setjmp.h: New file.
41823         * sysdeps/s390/v1-sigjmp.c: New file.
41824         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41825         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41826         GLIBC_2.19 version.
41827         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41828         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41829         versioned symbols for ____longjmp_chk.
41830         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41831         Likewise.
41832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41833         Regenerate.
41834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41835         Regenerate.
41836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41837         Regenerate.
41838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41839         Regenerate.
41840         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41841         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41842         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41843         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41844         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41845         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41846         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41847         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41848         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41849         * sysdeps/s390/rtld-__longjmp.c: New file.
41850         * sysdeps/s390/rtld-setjmp.S: New file.
41852 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41854         [BZ #16400]
41855         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41856         Return -__logl (x) for small positive arguments without evaluating
41857         a polynomial.
41859 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41861         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41862         Rename to ...
41863         (__ptrace_peeksiginfo_args): ... this.
41864         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41865         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41866         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41868 2014-01-06  Allan McRae  <allan@archlinux.org>
41870         * inet/netinet/in.h: Fix typo in comment.
41872 2014-01-05  Andreas Jaeger  <aj@suse.de>
41874         * sysdeps/i386/fpu/libm-test-ulps: Update.
41876 2014-01-05  Allan McRae  <allan@archlinux.org>
41878         * po/libc.pot: Regenerated.
41880         * malloc/memusagestat.c: Fix gettext call formatting.
41882 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41884         * nscd/nscd.c: Improve usage() output.
41886 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41888         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41889         * sysdeps/unix/sysv/linux/configure: Regenerated.
41890         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41891         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41893 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41895         [BZ #16390]
41896         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41897         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41899 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41901         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41902         extra tokens at end of #undef directive.
41903         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41904         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41905         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41907 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41909         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41911         * math/auto-libm-test-in: Mark various tests with
41912         xfail-rounding:ldbl-128ibm.
41913         * math/auto-libm-test-out: Regenerated.
41915 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41917         [BZ #16386]
41918         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41919         numbers with subnormal high part when calculating exponent.
41921         [BZ #16385]
41922         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41923         fabs.
41925         [BZ #16384]
41926         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41927         M_LN2l.
41928         (__ieee754_acoshl): Use __log1pl not __log1p.
41930 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41932         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41933         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41934         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41935         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41936         (reused_arena, arena_get2): Convert to GNU style.
41937         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41938         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41939         (memalign_check, __malloc_set_state): Likewise.
41940         * malloc/mallocbug.c (main): Likewise.
41941         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41942         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41943         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41944         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41945         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41946         (__posix_memalign, malloc_info): Likewise.
41947         * malloc/malloc.h: Likewise.
41948         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41949         (mallochook, memalignhook, reallochook, mabort): Likewise.
41950         * malloc/mcheck.h: Likewise.
41951         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41952         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41953         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41954         * malloc/morecore.c (__default_morecore): Likewise.
41955         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41956         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41957         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41958         (print_and_abort): Likewise.
41959         * malloc/obstack.h: Likewise.
41960         * malloc/set-freeres.c (__libc_freeres): Likewise.
41961         * malloc/tst-mallocstate.c (main): Likewise.
41962         * malloc/tst-mtrace.c (main): Likewise.
41963         * malloc/tst-realloc.c (do_test): Likewise.
41965 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41967         [BZ #16366]
41968         * nscd/netgroupcache.c (do_notfound): New function.
41969         (addgetnetgrentX): Use it.
41971         [BZ # 16365]
41972         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41973         NSS_STATUS_NOTFOUND.
41975 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41977         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41980 2014-01-01  Allan McRae  <allan@archlinux.org>
41982         * scripts/update-copyrights: Update configure input file suffix.
41984         * NEWS: Update copyright year.
41985         * catgets/gencat.c: Likewise.
41986         * csu/version.c: Likewise.
41987         * debug/catchsegv.sh: Likewise.
41988         * debug/pcprofiledump.c: Likewise.
41989         * debug/xtrace.sh: Likewise.
41990         * elf/ldconfig.c: Likewise.
41991         * elf/ldd.bash.in: Likewise.
41992         * elf/pldd.c: Likewise.
41993         * elf/sotruss.ksh: Likewise.
41994         * elf/sprof.c: Likewise.
41995         * iconv/iconv_prog.c: Likewise.
41996         * iconv/iconvconfig.c: Likewise.
41997         * locale/programs/locale.c: Likewise.
41998         * locale/programs/localedef.c: Likewise.
41999         * login/programs/pt_chown.c: Likewise.
42000         * malloc/memusage.sh: Likewise.
42001         * malloc/memusagestat.c: Likewise.
42002         * malloc/mtrace.pl: Likewise.
42003         * manual/libc.texinfo: Likewise.
42004         * nscd/nscd.c: Likewise.
42005         * nss/getent.c: Likewise.
42006         * nss/makedb.c: Likewise.
42007         * posix/getconf.c: Likewise.
42008         * scripts/test-installation.pl: Likewise.
42010         * All files with FSF copyright notices: Update copyright dates
42011         using scripts/update-copyrights.
42012         * intl/plural.c: Regenerated.
42013         * locale/programs/charmap-kw.h: Likewise.
42014         * locale/programs/locfile-kw.h: Likewise.
42016 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42018         * sysdeps/unix/sysv/linux/configure: Regenerated.
42019         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42020         the linux/fanotify.h header.
42021         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42022         HAVE_LINUX_FANOTIFY_H is defined.
42024 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42026         * benchtests/cos-inputs: New inputs.
42027         * benchtests/sin-inputs: Likewise.
42029         * benchtests/atan-inputs: New inputs. Fix name of multiple
42030         precision fallback inputs.
42032         * benchtests/atanh-inputs: New inputs.
42033         * benchtests/tanh-inputs: Likewise.
42035         * benchtests/acosh-inputs: New inputs.
42036         * benchtests/asinh-inputs: Likewise.
42038         * benchtests/cosh-inputs: New inputs.
42039         * benchtests/sinh-inputs: Likewise.
42041         * benchtests/acos-inputs: Add more inputs.
42042         * benchtests/asin-inputs: Likewise.
42044 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42046         [BZ #16375]
42047         * manual/arith.texi: Fix spelling.
42048         * manual/charset.texi: Likewise.
42049         * manual/errno.texi: Likewise.
42050         * manual/filesys.texi: Likewise.
42051         * manual/lang.texi: Likewise.
42052         * manual/llio.texi: Likewise.
42053         * manual/locale.texi: Likewise.
42054         * manual/message.texi: Likewise.
42055         * manual/resource.texi: Likewise.
42056         * manual/search.texi: Likewise.
42057         * manual/setjmp.texi: Likewise.
42058         * manual/stdio.texi: Likewise.
42059         * manual/string.texi: Likewise.
42060         * manual/sysinfo.texi: Likewise.
42061         * manual/time.texi: Likewise.
42063 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42065         * po/sl.po: New file.
42067 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42069         * .gitignore: Add core/.gdbinit/.gdb_history.
42071 2013-12-27  Allan McRae  <allan@archlinux.org>
42073         [BZ #16369]
42074         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42075         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42077 2013-12-24  Brooks Moses  <bmoses@google.com>
42079         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42080         all compilers that claim C++98 compliance, not just GCC.
42081         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42082         Likewise.
42084 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42086         * NEWS: Restore accidentally deleted bug-fix entries.
42088 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42089             Ondřej Bílka  <neleai@seznam.cz>
42091         [BZ #15073]
42092         * malloc/malloc.c (_int_free): Perform sanity check only if we
42093         have_lock.
42095 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42097         [BZ #12986]
42098         * manual/stdio.texi (String Input Conversions): Clarify that character
42099         classes are not supported.
42101 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42105 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42107         [BZ #16337]
42108         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42109         Calculate results for small negative arguments directly rather
42110         than using reflection formula with special underflow handling.
42112         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42113         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42114         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42115         (fchflags): Likewise.
42116         (revoke): Likewise.
42117         (setlogin): Likewise.
42118         (sigaltstack): Likewise.
42119         (wait4): Likewise.
42120         (sigblock): Remove.
42121         (sigsetmask): Likewise.
42122         (wait3): Likewise.
42123         (waitpid): Likewise.
42124         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42125         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42126         file.
42127         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42128         * sysdeps/unix/bsd/Makefile: ... here.
42129         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42130         * sysdeps/unix/bsd/Versions: ... here.
42131         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42132         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42133         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42134         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42135         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42136         * sysdeps/unix/bsd/sigblock.c: ... here.
42137         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42138         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42139         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42140         * sysdeps/unix/bsd/sigvec.c: ... here.
42141         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42142         * sysdeps/unix/bsd/tcdrain.c: ... here.
42143         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42144         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42145         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42146         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42147         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42148         * sysdeps/unix/bsd/wait.c: ... here.
42149         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42150         * sysdeps/unix/bsd/wait3.c: ... here.
42151         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42152         * sysdeps/unix/bsd/waitpid.c: ... here.
42154 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42156         [BZ #16356]
42157         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42158         round-to-nearest for [!USE_AS_EXPM1L].
42159         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42160         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42161         more tests of exp and exp10.  Expect some exp10 tests to miss
42162         exceptions or fail in directed rounding modes.
42163         * math/auto-libm-test-out: Regenerated.
42164         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42165         (exp10_test_tonearest): New function.
42166         (exp10_towardzero_test_data): New array.
42167         (exp10_test_towardzero): New function.
42168         (exp10_downward_test_data): New array.
42169         (exp10_test_downward): New function.
42170         (exp10_upward_test_data): New array.
42171         (exp10_test_upward): New function.
42172         (main): Call the new functions.
42173         * sysdeps/i386/fpu/libm-test-ulps: Update.
42174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42176 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42178         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42179         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42180         * math/auto-libm-test-out: Regenerated.
42181         * math/libm-test.inc (acosh_test_data): Add more tests.
42182         (atanh_test_data): Likewise.
42183         (ceil_test_data): Likewise.
42184         (copysign_test_data): Likewise.
42185         * sysdeps/i386/fpu/libm-test-ulps: Update.
42186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42188         * timezone/checktab.awk: Update from tzcode 2013i.
42189         * timezone/private.h: Likewise.
42190         * timezone/scheck.c: Likewise.
42191         * timezone/tzfile.h: Likewise.
42192         * timezone/tzselect.ksh: Likewise.
42193         * timezone/zdump.c: Likewise.
42194         * timezone/zic.c: Likewise.
42196         * math/auto-libm-test-in: Add tests of cpow.
42197         * math/auto-libm-test-out: Regenerated.
42198         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42199         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42200         mpc_cc_c.
42201         (func_calc_desc): Add mpc_cc_c union field.
42202         (test_functions): Add cpow.
42203         (special_fill_2pi): New function.
42204         (special_real_inputs): Add 2pi.
42205         (calc_generic_results): Handle mpc_cc_c.
42206         * sysdeps/i386/fpu/libm-test-ulps: Update.
42207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42209         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42210         csqrt, ctan and ctanh.
42211         * math/auto-libm-test-out: Regenerated.
42212         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42213         (TEST_COND_x86): Likewise.
42214         (ccos_test_data): Use AUTO_TESTS_c_c.
42215         (ccosh_test_data): Likewise.
42216         (cexp_test_data): Likewise.
42217         (clog_test_data): Likewise.
42218         (csqrt_test_data): Likewise.
42219         (ctan_test_data): Likewise.
42220         (ctan_tonearest_test_data): Likewise.
42221         (ctan_towardzero_test_data): Likewise.
42222         (ctan_downward_test_data): Likewise.
42223         (ctan_upward_test_data): Likewise.
42224         (ctanh_test_data): Likewise.
42225         (ctanh_tonearest_test_data): Likewise.
42226         (ctanh_towardzero_test_data): Likewise.
42227         (ctanh_downward_test_data): Likewise.
42228         (ctanh_upward_test_data): Likewise.
42229         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42230         mpc_c_c.
42231         (func_calc_desc): Add mpc_c_c union field.
42232         (FUNC_mpc_c_c): New macro.
42233         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42234         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42235         ctanh.
42236         (special_fill_min_subnorm_p120): New function.
42237         (special_real_inputs): Add min_subnorm_p120.
42238         (calc_generic_results): Handle mpc_c_c.
42239         * sysdeps/i386/fpu/libm-test-ulps: Update.
42240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42242 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42244         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42245         (do_sin_slow): New functions.
42246         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42247         (cslow2, csloww1, csloww2): Use the new functions.
42249         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42250         Use M to change sign of result instead of X.  Assume X is
42251         positive.
42252         (csloww1): Likewise.
42253         (__sin): Adjust.
42254         (__cos): Adjust.
42256         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42257         arguments A and DA.
42258         (__sin): Adjust.
42259         (__cos): Likewise.
42261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42262         (__cos): Likewise.
42263         (sloww1): Don't adjust sign of DX.
42264         (csloww1): Likewise.
42265         (sloww2): Use X directly and don't adjust sign of DX.
42266         (csloww2): Likewise.
42268 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42270         * math/auto-libm-test-in: Add tests of cabs and carg.
42271         * math/auto-libm-test-out: Regenerated.
42272         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42273         (carg_test_data): Likewise.
42274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42275         mpc_c_f.
42276         (func_calc_desc): Add mpc_c_f union field.
42277         (test_functions): Add cabs and carg.
42278         (calc_generic_results): Handle mpc_c_f.
42280         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42281         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42282         as a macro and a compat symbol.
42283         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42284         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42285         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42286         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42287         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42288         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42289         not use .hidden.
42290         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42291         Likewise.
42292         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42293         Likewise.
42294         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42295         Likewise.
42296         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42297         Likewise.
42298         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42299         Likewise.
42300         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42301         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42302         from GLIBC_2.3.2.
42304 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42308 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42310         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42311         trailing whitespace removed.
42312         * scripts/config.guess: Update to version 2013-11-29.
42313         * scripts/config.sub: Update to version 2013-10-01.
42315         * math/auto-libm-test-in: Add tests of sincos.
42316         * math/auto-libm-test-out: Regenerated.
42317         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42318         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42319         mpfr_f_11.
42320         (func_calc_desc): Add mpfr_f_11 union field.
42321         (test_functions): Add sincos.
42322         (calc_generic_results): Handle mpfr_f_11.
42323         * sysdeps/i386/fpu/libm-test-ulps: Update.
42324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42326 2013-12-19  Andreas Schwab  <schwab@suse.de>
42328         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42329         CALL_MCOUNT.
42330         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42331         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42332         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42334 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42336         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42337         * sysdeps/i386/fpu/libm-test-ulps: Update.
42338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42340         [BZ #16293]
42341         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42342         round-to-nearest mode when using frndint.
42343         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42344         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42345         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42346         Likewise.
42347         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42348         sinh test to fail.
42349         * math/auto-libm-test-out: Regenerated.
42350         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42351         (TEST_COND_x86): Likewise.
42352         (expm1_tonearest_test_data): New array.
42353         (expm1_test_tonearest): New function.
42354         (expm1_towardzero_test_data): New array.
42355         (expm1_test_towardzero): New function.
42356         (expm1_downward_test_data): New array.
42357         (expm1_test_downward): New function.
42358         (expm1_upward_test_data): New array.
42359         (expm1_test_upward): New function.
42360         (main): Run the new test functions.
42361         * sysdeps/i386/fpu/libm-test-ulps: Update.
42362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42364         * include/features.h: Update comment documenting feature test
42365         macros.  Mention _DEFAULT_SOURCE in comment.
42366         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42367         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42368         _BSD_SOURCE and _SVID_SOURCE.
42369         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42370         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42371         !_SVID_SOURCE]: Likewise.
42372         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42373         (__USE_POSIX_IMPLICITLY): Define.
42374         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42375         (_POSIX_SOURCE): Undefine and redefine.
42376         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42377         (_POSIX_C_SOURCE): Likewise.
42378         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42379         (Feature Test Macros): Update documentation of default features.
42381 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42383         * benchtests/Makefile: Add bench-strtok.
42384         * benchtests/bench-strtok.c: New file: strtok benchtest.
42386 2013-12-19  Allan McRae  <allan@archlinux.org>
42388         * manual/install.texi: Suppress menu for plain text output.
42389         * INSTALL: Regenerated.
42391 2013-12-18  Brooks Moses  <bmoses@google.com>
42393         [BZ #15846]
42394         * misc/getauxval.c: Include errno.h.
42395         (__getauxval): Set errno to ENOENT if the requested type is not
42396         found.
42397         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42398         don't declare with __attribute_const__.
42399         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42400         * manual/startup.texi: Document that getauxval sets errno.
42402 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42404         * math/auto-libm-test-in: Add tests of jn and yn.
42405         * math/auto-libm-test-out: Regenerated.
42406         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42407         (yn_test_data): Likewise.
42408         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42409         mpfr_if_f.
42410         (func_calc_desc): Add mpfr_if_f union field.
42411         (FUNC_mpfr_if_f): New macro.
42412         (test_functions): Add jn and yn.
42413         (calc_generic_results): Assert type of second input for
42414         mpfr_ff_f.  Handle mpfr_if_f.
42415         (output_for_one_input_case): Disable all checking for arguments
42416         fitting floating-point types in case of an integer argument.
42417         * sysdeps/i386/fpu/libm-test-ulps: Update.
42418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42421         Don't expect fegetround reference in libm.so.
42423 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42425         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42426         $(config-cflags-nofma).
42428 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42430         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42431         * math/auto-libm-test-out: Regenerated.
42433         [BZ #16338]
42434         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42435         to determine exponent and adjust argument to have exponent of -1.
42436         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42437         log2.
42438         * math/auto-libm-test-out: Regenerated.
42439         * sysdeps/i386/fpu/libm-test-ulps: Update.
42440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42442 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42444         * manual/probes.texi: Remove cases when per-thread arenas are
42445         disabled.
42447 2013-12-18  Andreas Schwab  <schwab@suse.de>
42449         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42450         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42451         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42452         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42453         * sysdeps/i386/i686/multiarch/Makefile: Update.
42454         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42456 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42458         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42459         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42461 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42463         [BZ #15968]
42464         Support TZ transition times < 00:00:00.
42465         This is needed for version-3 tz-format files; it supports time
42466         stamps past 2037 for America/Godthab (the only entry in the tz
42467         database for which this change is relevant).
42468         * manual/time.texi (TZ Variable): Document transition times
42469         from -167:59:59 through -00:00:01.
42470         * time/tzset.c (tz_rule): Time of day is now signed.
42471         (__tzset_parse_tz): Parse negative time of day.
42473         Document TZ transition times >= 25:00:00.
42474         * manual/time.texi (TZ Variable): Document transition times from
42475         25:00:00 through 167:59:59.  These are already supported, and this
42476         support will help with version-3 tz-format files.
42478         * manual/time.texi (TZ Variable): Modernize North America example
42479         to reflect current (i.e., 2007-and-later) daylight saving rules.
42481         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42483 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42485         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42486         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42487         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42488         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42489         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42490         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42491         * sysdeps/unix/bsd/clock.c: Likewise.
42492         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42493         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42494         * sysdeps/unix/bsd/init-posix.c: Likewise.
42495         * sysdeps/unix/bsd/poll.c: Likewise.
42496         * sysdeps/unix/bsd/ptsname.c: Likewise.
42497         * sysdeps/unix/bsd/seekdir.c: Likewise.
42498         * sysdeps/unix/bsd/setegid.c: Likewise.
42499         * sysdeps/unix/bsd/seteuid.c: Likewise.
42500         * sysdeps/unix/bsd/setgid.c: Likewise.
42501         * sysdeps/unix/bsd/setrgid.c: Likewise.
42502         * sysdeps/unix/bsd/setruid.c: Likewise.
42503         * sysdeps/unix/bsd/setsid.c: Likewise.
42504         * sysdeps/unix/bsd/setuid.c: Likewise.
42505         * sysdeps/unix/bsd/sigaction.c: Likewise.
42506         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42507         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42508         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42509         * sysdeps/unix/bsd/telldir.c: Likewise.
42510         * sysdeps/unix/bsd/times.c: Likewise.
42511         * sysdeps/unix/bsd/usleep.c: Likewise.
42513         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42514         ($(objpfx)libbsd-compat.a): Remove rule.
42516         * include/features.h (__FAVOR_BSD): Do not define.
42517         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42518         features conflicting with POSIX.
42519         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42520         (_BSD_SOURCE): Remove description of not being a subset of other
42521         feature test macros.
42522         * manual/job.texi (getpgrp): Do not document BSD version.
42523         (getpgid): Do not document by reference to BSD getpgrp.
42524         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42525         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42526         * signal/signal.h [__FAVOR_BSD]: Likewise.
42527         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42528         instead of making contents conditional on [__FAVOR_BSD].
42529         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42531 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42535 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42537         [BZ #16314]
42538         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42539         values below 2**-450, not 2**-500.
42540         * math/auto-libm-test-in: Don't allow spurious underflow from
42541         hypot.
42542         * math/auto-libm-test-out: Regenerated.
42544         [BZ #16316]
42545         [BZ #16330]
42546         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42547         values of ha and hb and sort them after adjusting subnormal
42548         arguments.
42549         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42550         Likewise.
42551         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42552         values of ea and eb and sort them after adjusting subnormal
42553         arguments.
42554         * math/auto-libm-test-in: Do not expect some hypot tests of
42555         subnormals to fail.  Add more hypot tests.
42556         * math/auto-libm-test-out: Regenerated.
42558 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42560         [BZ #13304]
42561         * sysdeps/sh/s_fma.c: New file.
42562         * sysdeps/sh/s_fmaf.c: New file.
42563         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42564         version.
42565         * sysdeps/sh/Implies: Add sh/soft-fp.
42567 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42569         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42570         level of indirection to members `objname', `errstring', `malloced'.
42571         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42572         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42573         it as the __longjmp argument (just pass 1 instead).
42574         (_dl_catch_error): Initialize C with argument pointers and address of
42575         volatile local ERRCODE rather than copying values out of C at return.
42577 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42579         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42580         * math/auto-libm-test-out: Regenerated.
42581         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42582         (hypot_test_data): Likewise.
42583         (pow_test_data): Likewise.
42584         (pow_tonearest_test_data): Likewise.
42585         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42586         mpfr_ff_f.
42587         (func_calc_desc): Add mpfr_ff_f union field.
42588         (FUNC_mpfr_ff_f): New macro.
42589         (test_functions): Add atan2, hypot and pow.
42590         (special_fill_min): New function.
42591         (special_fill_minus_min): Likewise.
42592         (special_fill_min_subnorm): Likewise.
42593         (special_fill_minus_min_subnorm): Likewise.
42594         (special_real_inputs): Add min, -min, min_subnorm and
42595         -min_subnorm.
42596         (calc_generic_results): Handle mpfr_ff_f.
42597         * sysdeps/i386/fpu/libm-test-ulps: Update.
42598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42600 2013-12-16  Will Newton  <will.newton@linaro.org>
42602         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42603         (Aligned Memory Blocks): Add documentation for aligned_alloc
42604         and suggest it as an alternative to posix_memalign.
42605         (Hooks for Malloc): Document __memalign_hook is also called
42606         for aligned_alloc.  (Summary of Malloc): Add summary for
42607         aligned alloc.  Document __memalign_hook is also called
42608         for aligned_alloc.
42610 2013-12-16  Will Newton  <will.newton@linaro.org>
42612         * manual/memory.texi (Malloc Examples): Clarify default
42613         alignment documentation.  Suggest posix_memalign rather
42614         than memalign or valloc.
42615         (Aligned Memory Blocks): Remove suggestion to use memalign
42616         or valloc.  Remove obsolete comment about BSD.
42617         Document memalign errno values and mark the function obsolete.
42618         Document posix_memalign returned error codes.  Mark valloc
42619         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42620         called for posix_memalign and valloc.
42621         (Summary of Malloc): Add posix_memalign to function summary.
42622         __memalign_hook is also called for posix_memalign and valloc.
42624 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42626         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42627         TAYLOR_SIN.
42628         (__sin): Adjust.
42629         (__cos): Likewise.
42630         (sloww): Use mynumber union.  Expand ternary operator into
42631         if-else statements.
42632         (cslow): use mynumber union.
42634 2013-12-16  Allan McRae  <allan@archlinux.org>
42636         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42637         * configure: Regenerated.
42639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42641         [BZ #14120]
42642         * configure.ac: Added --enable-maintainer-mode. Check for
42643         autoconf when enabled.
42644         * configure: Regenerated.
42646         * nscd/nscd.service: New file.
42647         * nscd/nscd.tmpfiles: New file.
42649 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42651         [BZ #12100]
42652         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42653         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42654         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42655         (strstr): Add __strstr_sse2_unaligned ifunc.
42656         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42657         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42658         (strcasestr): Remove __strcasestr_sse42 ifunc.
42659         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42663 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42665         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42666         * sysdeps/sh/bits/fenv.h: ... here.
42667         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42669 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42671         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42674         hypotf multiarch implementations.
42675         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42676         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42677         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42678         multiarch hypot for PPC64.
42679         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42680         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42682         multiarch hypotf for PPC64.
42684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42685         modff multiarch implementations.
42686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42689         multiarch modf for PPC64.
42690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42693         multiarch modff for PPC64.
42695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42696         and logl multiarch implementations.
42697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42700         multiarch logb for PPC64.
42701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42704         multiarch logb for PPC64.
42705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42708         multiarch logb for PPC64.
42710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42711         isinff multiarch implementation.
42712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42713         file.
42714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42716         multiarch isinf for PPC64.
42717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42718         file.
42719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42720         multiarch isinff for PPC64.
42722         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42723         finitef multiarch implementation.
42724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42725         file.
42726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42728         multiarch finite for PPC64.
42729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42730         file.
42731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42732         multiarch finitef for PPC64.
42734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42735         lrint multiarch implementation.
42736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42737         file.
42738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42740         multiarch llrint for PPC64.
42741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42742         multiarch lrint for PPC64.
42744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42745         copysignf multiarch implementation.
42746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42747         file.
42748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42749         file.
42750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42751         multiarch copysign for PPC64.
42752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42753         multiarch copysignf for PPC64.
42755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42756         multiarch implementation.
42757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42758         file.
42759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42760         file.
42761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42762         file.
42763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42764         file.
42765         multiarch llround for PPC64.
42766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42767         multiarch trunc for PPC64.
42768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42769         multiarch truncf for PPC64.
42771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42772         multiarch implementation.
42773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42774         file.
42775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42776         file.
42777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42778         file.
42779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42780         file.
42781         multiarch llround for PPC64.
42782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42783         multiarch round for PPC64.
42784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42785         multiarch roundf for PPC64.
42787         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42788         multiarch implementation.
42789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42790         file.
42791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42792         file.
42793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42794         file.
42795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42796         file.
42797         multiarch llround for PPC64.
42798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42799         multiarch floor for PPC64.
42800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42801         multiarch floorf for PPC64.
42803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42804         multiarch implementation.
42805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42806         file.
42807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42808         file.
42809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42810         file.
42811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42812         file.
42813         multiarch llround for PPC64.
42814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42815         multiarch ceil for PPC64.
42816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42817         multiarch ceilf for PPC64.
42819         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42820         multiarch implementation.
42821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42822         file.
42823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42824         file.
42825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42826         file.
42827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42828         multiarch llround for PPC64.
42829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42830         multiarch lround for PPC64.
42832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42833         multiarch implementation.
42834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42837         file.
42838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42841         multiarch isnan for PPC64.
42842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42843         multiarch isnanf for PPC64.
42845         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42846         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42847         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42848         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42849         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42852         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42853         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42854         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42855         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42858         multiarch implementations.
42859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42860         (__libc_ifunc_impl_list): Likewise.
42861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42862         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42863         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42864         multiarch stpcpy for PPC64.
42866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42867         multiarch implementations.
42868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42869         (__libc_ifunc_impl_list): Likewise.
42870         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42871         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42872         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42873         multiarch strcpy for PPC64.
42875         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42876         redefine function name.
42877         (_wordcopy_fwd_dest_aligned): Likewise.
42878         (_wordcopy_bwd_aligned): Likewise.
42879         (_wordcopy_bwd_dest_aligned): Likewise.
42880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42881         multiarch implementations.
42882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42883         (__libc_ifunc_impl_list): Likewise.
42884         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42885         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42886         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42887         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42888         multiarch wcscpy for PPC64.
42890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42891         multiarch implementations.
42892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42893         (__libc_ifunc_impl_list): Likewise.
42894         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42895         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42896         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42897         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42898         multiarch wcscpy for PPC64.
42900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42901         multiarch implementations.
42902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42903         (__libc_ifunc_impl_list): Likewise.
42904         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42905         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42906         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42907         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42908         multiarch wcsrchr for PPC64.
42910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42911         multiarch implementations.
42912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42913         (__libc_ifunc_impl_list): Likewise.
42914         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42915         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42916         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42917         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42918         multiarch wcschr for PPC64.
42920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42921         multiarch implementations.
42922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42923         (__libc_ifunc_impl_list): Likewise.
42924         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42925         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42926         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42927         multiarch strchrnul for PPC64.
42929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42930         implementations.
42931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42932         (__libc_ifunc_impl_list): Likewise.
42933         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42934         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42935         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42936         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42937         strchr for PPC64.
42939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42940         implementations.
42941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42942         (__libc_ifunc_impl_list): Likewise.
42943         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42944         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42945         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42946         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42947         strncmp for PPC64.
42949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42950         multiarch implementations.
42951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42952         (__libc_ifunc_impl_list): Likewise.
42953         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42954         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42955         strncasecmp for PPC64.
42956         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42957         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42958         multiarch strncasecmp_l for PPC64.
42960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42961         multiarch implementations.
42962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42963         (__libc_ifunc_impl_list): Likewise.
42964         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42965         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42966         multiarch strcasecmp for PPC64.
42967         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42968         file.
42969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42970         multiarch strcasecmp_l for PPC64.
42972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42973         implementations.
42974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42975         (__libc_ifunc_impl_list): Likewise.
42976         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42977         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42978         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42979         strnlen for PPC64.
42981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42982         implementations.
42983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42984         (__libc_ifunc_impl_list): Likewise.
42985         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42986         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42987         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42988         strlen for PPC64.
42990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42991         implementations.
42992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42993         (__libc_ifunc_impl_list): Likewise.
42994         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42995         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42996         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42997         rawmemrchr for PPC64.
42999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43000         implementation.
43001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43002         (__libc_ifunc_impl_list): Likewise.
43003         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43004         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43005         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43006         memrchr for PPC64.
43008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43009         implementation.
43010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43011         (__libc_ifunc_impl_list): Likewise.
43012         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43013         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43014         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43015         memchr for PPC64.
43017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43018         implementation.
43019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43020         (__libc_ifunc_impl_list): Likewise.
43021         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43022         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43023         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43024         mempcpy for PPC64.
43026         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43027         avoid cretion of __bzero symbol.
43028         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43029         Likewise.
43030         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43031         Likewise.
43032         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43033         Likewise.
43034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43035         multiarch implementations.
43036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43037         (__libc_ifunc_impl_list): Likewise.
43038         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43039         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43040         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43041         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43042         bzero for PPC32.
43043         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43044         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43045         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43046         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43047         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43048         memset for PPC64.
43049         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43051         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43053         implementations.
43054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43055         (__libc_ifunc_impl_list): Likewise.
43056         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43057         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43058         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43059         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43060         memcmp for PPC64.
43062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43063         multiarch for POWER/PPC64.
43064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43065         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43066         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43067         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43068         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43069         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43070         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43071         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43072         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43073         memcpy for PPC64.
43075         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43076         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43077         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43078         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43079         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43080         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43081         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43082         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43083         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43084         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43085         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43086         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43087         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43088         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43089         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43098 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43100         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43102 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43104         * benchtests/Makefile (bench): Add exp2 and log2.
43105         (LDLIBS-bench-exp2): Add -lm.
43106         (LDLIBS-bench-log2): Likewise.
43107         * benchtests/exp2-inputs: New inputs file.
43108         * benchtests/log2-inputs: New inputs file.
43109         * benchtests/log-inputs: Add new inputs.
43110         * benchtests/tan-inputs: Likewise.
43112 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43114         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43115         definition...
43116         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43117         (csloww2): ... from here.
43119         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43120         instead of structures.
43121         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43122         (POLYNOMIAL): Likewise.
43123         (TAYLOR_SLOW): Likewise.
43124         (__sin): Likewise.
43125         (__cos): Likewise.
43126         (slow1): Likewise.
43127         (slow2): Likewise.
43128         (sloww): Likewise.
43129         (sloww1); Likewise.
43130         (sloww2): Likewise.
43131         (bsloww1): Likewise.
43132         (bsloww2): Likewise.
43133         (cslow2): Likewise.
43134         (csloww): Likewise.
43135         (csloww1): Likewise.
43136         (csloww2): Likewise.
43138 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43140         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43141         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43142         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43143         * malloc/hooks.c (realloc_check): Likewise.
43145         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43146         * malloc/arena.c: Remove PER_THREAD conditional.
43147         [!PER_THREAD]: Remove code.
43148         (ptmalloc_unlock_all2): Likewise.
43149         (ptmalloc_init): Likewise.
43150         (_int_new_arena): Likewise.
43151         (arena_get2): Likewise.
43152         * malloc/hooks.c (__malloc_get_state): Likewise.
43153         (__malloc_set_state): Likewise.
43154         * malloc/malloc.c: Likewise.
43155         (struct malloc_state): Likewise.
43156         (struct malloc_par): Likewise.
43157         (__libc_realloc): Likewise.
43158         (__libc_mallopt): Likewise.
43160 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43162         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43164 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43166         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43167         macro to a function.  Check for zero perturb_byte.
43168         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43170         * malloc/malloc.c: (force_reg): Remove.
43171         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43172         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43173         force_reg by atomic_forced_read.
43174         * malloc/arena.c (ptmalloc_init): Likewise.
43175         * malloc/hooks.c (top_check): Likewise.
43177 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43181 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43185 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43187         * math/auto-libm-test-in: Add tests of lgamma.
43188         * math/auto-libm-test-out: Regenerated.
43189         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43190         (M_LOG_2_SQRT_PIl): Likewise.
43191         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43192         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43193         mpfr_f_f1.
43194         (func_calc_desc): Add mpfr_f_f1 union field.
43195         (ARGS1): New macro.
43196         (ARGS2): Likewise.
43197         (ARGS3): Likewise.
43198         (ARGS4): Likewise.
43199         (RET1): Likewise.
43200         (RET2): Likewise.
43201         (CALC): Likewise.
43202         (FUNC): Likewise.
43203         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43204         (test_functions): Add lgamma.
43205         (calc_generic_results): Handle mpfr_f_f1.
43206         * sysdeps/i386/fpu/libm-test-ulps: Update.
43207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43209 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43211         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43212         __mpn_add_n for PowerPC64/POWER7.
43213         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43214         __mpn_sub_n for PowerPC64/POWER7.
43216         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43217         __mpn_addmul_1 for PowerPC64.
43218         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43219         __mpn_submul_1 for PowerPC64.
43220         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43221         for PowerPC64.
43222         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43223         for PowerPC64.
43225 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43227         [BZ #15089]
43228         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43230 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43232         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43234         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43235         add multiarch folders.
43236         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43237         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43238         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43239         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43240         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43241         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43242         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43243         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43244         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43245         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43246         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43255         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43257         New file.
43258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43259         New file.
43260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43261         multiarch __ieee754_hypot for PowerPC32.
43262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43263         New file.
43264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43265         New file.
43266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43267         multiarch __ieee754_hypotf for PowerPC32.
43269         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43270         long_double_symbol only if __logbl is defined.
43271         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43272         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43273         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43274         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43276         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43277         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43278         path for implementation.
43279         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43280         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43282         logb, and logbl multiarch implementations for PowerPC32.
43283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43284         file.
43285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43286         file.
43287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43288         multiarch logb for PowerPC32.
43289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43290         file.
43291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43292         file.
43293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43294         multiarch logbf for PowerPC32.
43295         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43297         file.
43298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43299         multiarch logbl implementation for PowerPC32.
43301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43302         and modff multiarch implementations.
43303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43304         New file.
43305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43306         New file.
43307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43308         multiarch modf for PowerPC32.
43309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43310         New file.
43311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43312         New file.
43313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43314         multiarch modff for PowerPC32.
43316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43317         and lrintf multiarch implementations.
43318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43319         New file.
43320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43321         New file.
43322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43323         multiarch lrint for PowerPC32.
43324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43325         file: multiarch lrintf for PowerPC32.
43327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43328         and lroundf multiarch implementations.
43329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43330         New file.
43331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43332         New file.
43333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43334         New file.
43335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43336         multiarch lround for PowerPC32.
43337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43338         file: multiarch lroundf for PowerPC32.
43340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43341         copysign and copysignf multiarch implementations.
43342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43343         New file.
43344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43345         New file.
43346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43347         file: multiarch copysign for PowerPC32.
43348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43349         file: multiarch copysignf for PowerPC32.
43351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43352         and truncf multiarch implementations.
43353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43354         New file.
43355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43356         file.
43357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43358         multiarch trunc for PowerPC32.
43359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43360         New file.
43361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43362         New file.
43363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43364         multiarch truncf for PowerPC32.
43366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43367         and roundf multiarch implementations.
43368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43369         New file.
43370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43371         file.
43372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43373         multiarch round for PowerPC32.
43374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43375         New file.
43376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43377         New file.
43378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43379         multiarch roundf for PowerPC32.
43381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43382         and floorf multiarch implementations.
43383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43384         New file.
43385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43386         file.
43387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43388         multiarch floor for PowerPC32.
43389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43390         New file.
43391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43392         New file.
43393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43394         multiarch floorf for PowerPC32.
43396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43397         and ceilf multiarch implementations.
43398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43399         New file.
43400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43401         file.
43402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43403         multiarch ceil for PowerPC32.
43404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43405         New file.
43406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43407         file.
43408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43409         multiarch ceilf for PowerPC32.
43411         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43412         is defined.
43413         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43414         FINITEF is defined.
43415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43416         and finitef multiarch implementations.
43417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43418         New file.
43419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43420         file.
43421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43422         multiarch finite for PowerPC32.
43423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43424         New file.
43425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43426         file: multiarch finitef for PowerPC32.
43428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43429         and isinff multiarch implementations.
43430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43431         file.
43432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43433         file.
43434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43435         multiarch isinf for PowerPC32.
43436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43437         New file.
43438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43439         multiarch isinff for PowerPC32.
43441         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43442         alias when __isnan is defined.
43443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43444         and isnanf multiarch implementations.
43445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43446         file.
43447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43448         file.
43449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43450         file.
43451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43452         file.
43453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43454         multiarch isnan for PowerPC32.
43455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43456         New file.
43457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43458         New file.
43459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43460         multiarch isnanf for PowerPC32.
43462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43463         and sqrtf multiarch implementations.
43464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43465         file.
43466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43467         file.
43468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43469         multiarch sqrt for PowerPC32.
43470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43471         file.
43472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43473         file.
43474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43475         multiarch sqrtf for PowerPC32.
43477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43478         and llroundf multiarch implementations.
43479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43480         New file.
43481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43482         New file.
43483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43484         New file.
43485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43486         file: multiarch llround for PowerPC32.
43487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43488         file: multiarch llroundf for PowerPC32.
43490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43491         multiarch PowerPC32 fpu implementations.
43492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43493         New file.
43494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43495         New file.
43496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43497         multiarch llrint for PowerPC32.
43498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43499         New file.
43500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43501         New file.
43502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43503         file.
43505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43507         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43508         file.
43509         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43510         file.
43511         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43512         file.
43513         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43514         multiarch wordcopy for PPC32.
43515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43516         wordcopy objects.
43517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43518         (__libc_ifunc_impl_list): Likewise.
43519         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43520         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43521         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43522         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43523         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43524         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43526         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43527         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43528         file.
43529         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43530         file.
43531         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43532         file.
43533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43534         multiarch wcscpy for PPC32.
43535         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43536         multiarch objects.
43537         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43538         (__libc_ifunc_impl_list): Likewise.
43539         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43540         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43541         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43542         sysdeps/powerpc/power6/wcscpy.c.
43544         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43546         file.
43547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43548         file.
43549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43550         file.
43551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43552         multiarch wcsrchr for PPC32.
43553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43554         multiarch objects.
43555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43556         (__libc_ifunc_impl_list): Likewise.
43557         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43558         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43559         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43560         sysdeps/powerpc/power6/wcsrchr.c.
43562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43563         file.
43564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43565         file.
43566         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43567         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43568         multiarch wcschr for PPc32.
43569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43570         multiarch objects.
43571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43572         (__libc_ifunc_impl_list): Likewise.
43573         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43574         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43575         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43576         sysdeps/powerpc/power6/wcschr.c.
43578         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43579         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43580         file.
43581         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43582         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43583         file: multiarch strchr for PPC32.
43584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43585         multiarch objects.
43586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43587         (__libc_ifunc_impl_list): Likewise.
43589         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43590         name.
43591         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43592         file.
43593         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43594         file.
43595         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43596         multiarch strchrnul for PPC32.
43597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43598         multiarch objects.
43599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43600         (__libc_ifunc_impl_list): Likewise.
43602         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43603         file.
43604         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43605         multiarch strncasecmp for PPC32.
43606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43607         file.
43608         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43609         multiarch strncasecmp_l for PPC32.
43610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43611         strncasecmp multiarch objects.
43612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43613         (__libc_ifunc_impl_list): Likewise.
43615         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43616         file.
43617         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43618         multiarch strncasecmp for PPC32.
43619         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43620         New file.
43621         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43622         multiarch strcasecmp_l for PPC32.
43623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43624         multiarch objects.
43625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43626         (__libc_ifunc_impl_list): Likewise.
43628         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43629         file.
43630         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43631         file.
43632         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43633         multiarch strncmp for PPC32.
43634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43635         multiarch objects.
43636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43637         (__libc_ifunc_impl_list): Likewise.
43639         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43640         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43641         file.
43642         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43643         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43644         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43645         multiarch objects.
43646         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43647         (__libc_ifunc_impl_list): Likewise.
43649         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43650         file.
43651         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43652         file.
43653         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43655         multiarch objects.
43656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43657         (__libc_ifunc_impl_list): Likewise.
43659         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43660         file.
43661         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43662         file.
43663         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43664         multiarch rawmemchr for PPC32.
43665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43666         multiarch objects.
43667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43668         (__libc_ifunc_impl_list): Likewise.
43670         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43671         file.
43672         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43673         file.
43674         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43675         file: memrchr multiarch for PPC32.
43676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43677         multiarch objects.
43678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43679         (__libc_ifunc_impl_list): Likewise.
43681         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43682         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43683         file.
43684         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43685         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43686         multiarch memchr for PPC32.
43687         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43688         multiarch objects.
43689         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43690         (__libc_ifunc_impl_list): Likewise.
43692         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43693         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43694         file.
43695         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43696         file.
43697         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43698         file: multiarch mempcpy for PPC32.
43699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43700         multiarch objects.
43701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43702         (__libc_ifunc_impl_list): Likewise.
43704         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43705         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43706         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43707         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43708         multiarch bzero for PPC32.
43709         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43710         file.
43711         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43712         file.
43713         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43714         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43715         file: multiarch memset for PPC32.
43716         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43718         memset multiarch objects.
43719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43720         (__libc_ifunc_impl_list): Likewise.
43722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43723         file.
43724         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43725         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43726         memcmp for PPC32.
43727         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43729         multiarch objects.
43730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43731         (__libc_ifunc_impl_list): Likewise.
43733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43734         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43735         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43736         file.
43737         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43738         file.
43739         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43740         file.
43741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43742         multiarch memcpy for PPC32.
43743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43744         multiarch objects.
43745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43746         (__libc_ifunc_impl_list): Likewise.
43748         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43749         support multiarch for POWER/PPC32.
43750         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43751         Likewise.
43752         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43754         Implies file to make multiarch folder appers before the fpu and
43755         default folder for power4 configuration.
43757 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43759         * scripts/bench.pl: Append volatile keyword to type.
43761 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43763         * sysdeps/sh/sotruss-lib.c: New file.
43764         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43766 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43770 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43772         [BZ #6810]
43773         * math/w_tgamma.c: Include <errno.h>.
43774         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43775         * math/w_tgammaf.c: Include <errno.h>.
43776         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43777         * math/w_tgammal.c: Include <errno.h>.
43778         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43779         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43780         underflow.  Add more tgamma tests.
43781         * math/auto-libm-test-out: Regenerated.
43782         * sysdeps/i386/fpu/libm-test-ulps: Update.
43783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43785         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43786         sin, sinh, tan, tanh, tgamma, y0 and y1.
43787         * math/auto-libm-test-out: Regenerated.
43788         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43789         (TEST_COND_x86): Likewise.
43790         (M_E2l): Remove macro.
43791         (M_E3l): Likewise.
43792         (M_2_SQRT_PIl): Likewise.
43793         (M_SQRT_PIl): Likewise.
43794         (M_1_DIV_El): Likewise.
43795         (log_test_data): Use AUTO_TESTS_f_f.
43796         (log10_test_data): Likewise.
43797         (log1p_test_data): Likewise.
43798         (log2_test_data): Likewise.
43799         (sin_test_data): Likewise.
43800         (sin_tonearest_test_data): Likewise.
43801         (sin_towardzero_test_data): Likewise.
43802         (sin_downward_test_data): Likewise.
43803         (sin_upward_test_data): Likewise.
43804         (sinh_test_data): Likewise.
43805         (sinh_tonearest_test_data): Likewise.
43806         (sinh_towardzero_test_data): Likewise.
43807         (sinh_downward_test_data): Likewise.
43808         (sinh_upward_test_data): Likewise.
43809         (tan_test_data): Likewise.
43810         (tan_tonearest_test_data): Likewise.
43811         (tan_towardzero_test_data): Likewise.
43812         (tan_downward_test_data): Likewise.
43813         (tan_upward_test_data): Likewise.
43814         (tanh_test_data): Likewise.
43815         (tgamma_test_data): Likewise.
43816         (y0_test_data): Likewise.
43817         (y1_test_data): Likewise.
43818         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43819         (special_real_inputs): Add pi/4.
43820         * sysdeps/i386/fpu/libm-test-ulps: Update.
43821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43823 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43825         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43826         "longjmp_target" static probes.
43827         (__longjmp): Rename to __longjmp_symbol.
43828         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43829         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43830         on which longjmp to generate.
43831         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43832         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43833         probe.
43834         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43835         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43836         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43837         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43838         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43839         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43841         __longjmp_symbol based on which __longjmp to generate.
43842         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43843         probe.
43844         (setjmp): Rename to setjmp_symbol.
43845         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43846         (_setjmp): Rename to _setjmp_symbol.
43847         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43848         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43849         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43850         which setjmp to generate.
43851         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43852         "longjmp_target" static probes.
43854 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43856         * benchtests/README: Add note about output arguments.
43857         * benchtests/bench-sincos.c: Remove file.
43858         * benchtests/sincos-inputs: New file.
43859         * scripts/bench.pl: Identify output arguments and define
43860         static variables for them.
43862         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43864         [BZ #15941]
43865         * Makefile (INSTALL): Add install-plain.texi as the primary
43866         dependency.
43867         * manual/install-plain.texi: New file.
43868         * manual/install.texi: Include node directive only for
43869         non-plaintext output.
43871 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43873         * stdlib/longlong.h: Update from GCC.
43875         [BZ #6807]
43876         [BZ #15901]
43877         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43878         * math/w_j0f.c (y0f): Likewise.
43879         * math/w_j0l.c (__y0l): Likewise.
43880         * math/w_j1.c (y1): Likewise.
43881         * math/w_j1f.c (y1f): Likewise.
43882         * math/w_j1l.c (__y1l): Likewise.
43883         * math/w_jn.c (yn): Likewise.
43884         * math/w_jnf.c (ynf): Likewise.
43885         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43886         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43887         value for Bessel function domain errors outside _SVID_ mode.
43888         Adjust sign of return value for yn (negative integer, 0).
43889         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43890         by zero in return for negative x and set sign appropriately for
43891         negative n.
43892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43894         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43895         expectations in error cases.
43896         (y1_test_data): Likewise.
43897         (yn_test_data): Likewise.
43898         * sysdeps/i386/fpu/libm-test-ulps: Update.
43899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43901 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43903         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43904         "64" to "64-v1".  Add "64-v2".
43905         (abi-64-options): Rename to ...
43906         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43907         (abi-64-condition): Rename to ...
43908         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43909         (abi-64-ld-soname): Rename to ...
43910         (abi-64-v1-ld-soname): ... this.
43911         (abi-64-v2-options): Define.
43912         (abi-64-v2-condition): Likewise.
43913         (abi-64-v2-ld-soname): Likewise.
43914         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43915         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43920 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43921             Alan Modra  <amodra@gmail.com>
43923         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43924         New versions for use with the ELFv2 ABI.
43925         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43926         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43927         declaration.
43928         (struct La_ppc64v2_retval): Likewise.
43929         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43930         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43931         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43932         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43933         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43934         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43935         Do not save or restore CR.
43936         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43937         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43938         return values for ELFv2 ABI.  Fix location of FPR return registers.
43939         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43940         updated values for _CALL_ELF == 2.
43941         (La_regs, La_retval, int_retval): Likewise.
43943 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43945         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43946         (FRAME_MIN_SIZE_PARM): Likewise.
43947         (FRAME_BACKCHAIN): Likewise.
43948         (FRAME_CR_SAVE): Likewise.
43949         (FRAME_LR_SAVE): Likewise.
43950         (FRAME_TOC_SAVE): Likewise.
43951         (FRAME_PARM_SAVE): Likewise.
43952         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43953         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43954         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43955         (call_mcount_parm_offset): New macro.
43956         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43957         (PROF): Use symbolic stack frame offsets.
43958         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43959         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43960         Redefine in terms of FRAME_MIN_SIZE.
43961         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43962         (_dl_profile_resolve): Likewise.  Update comment.
43963         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43964         symbols stack frame offsets.
43965         (__sigsetjmp): Likewise.
43966         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43967         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43968         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43969         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43972         (FRAME_BACKCHAIN): Remove.
43973         (FRAME_CR_SAVE): Likewise.
43974         (FRAME_LR_SAVE): Likewise.
43975         (FRAME_COMPILER_DW): Likewise.
43976         (FRAME_LINKER_DW): Likewise.
43977         (FRAME_TOC_SAVE): Likewise.
43978         (FRAME_PARM_SAVE): Likewise.
43979         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43980         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43981         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43983         (CHECK_SP): Use symbolic stack frame offsets.
43984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43985         zone" instead of caller's parameter save area for temp storage.
43986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43987         Likewise.  Also, use symbolic stack frame offsets.
43988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43989         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43990         our own stack frame instead of the caller's.
43991         (__socket): Use symbolic stack frame offsets.
43993 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43994             Alan Modra  <amodra@gmail.com>
43996         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43997         Define.
43998         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43999         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44000         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44001         New function.
44002         (elf_machine_fixup_plt): Call it.
44003         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44004         reloc arguments.
44005         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44006         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44007         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44008         r2 before calling target.
44010 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44011             Alan Modra  <amodra@gmail.com>
44013         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44014         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44015         versions of macros to support ELFv2 ABI.
44016         (LOCALENTRY): New macro.
44017         (ENTRY, EALIGN): Use it.
44018         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44019         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44020         fall through into ENTRY entry point.
44021         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44022         Only define if _CALL_ELF != 2.
44024         (elf_machine_matches_host): Verify ABI version matches.
44025         (RTLD_START): Use LOCALENTRY.
44026         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44027         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44028         (PLT_ENTRY_WORDS): New macro.
44029         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44030         (elf_machine_runtime_setup): Support ELFv2 ABI.
44031         (elf_machine_fixup_plt): Likewise.
44032         (elf_machine_plt_conflict): Likewise.
44033         (resolve_ifunc): Likewise.
44034         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44035         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44036         Likewise.
44037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44038         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44040         (makecontext): Support ELFv2 ABI.
44041         * elf/elf.h (EF_PPC64_ABI): Define.
44043 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44045         * sysdeps/powerpc/powerpc64/sysdep.h
44046         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44047         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44048         (ENTRY) [ASSEMBLER]: ... but instead here ...
44049         (EALIGN) [ASSEMBLER]: ... and here.
44050         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44051         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44052         (ENTRY_2) [!ASSEMBLER]: Use it.
44053         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44054         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44055         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44056         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44057         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44059         Use PPC64_LOAD_FUNCPTR.
44061         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44063 2013-12-04  Alan Modra  <amodra@gmail.com>
44065         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44066         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44067         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44068         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44070         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44071         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44072         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44073         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44074         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44075         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44077 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44080         (__makecontext): Fix incorrect CFI when backtracing out of
44081         context created via makecontext.
44082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44083         (__setcontext): Fix incorrect CFI during switch to new context.
44084         (__novec_setcontext): Likewise.
44086 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44088         [BZ #4772]
44089         * time/strptime_l.c (__strptime_internal): Allow modifiers
44090         in strptime.
44091         * time/tst-strptime.c (day_tests): Add testcase.
44093 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44095         * scripts/bench.pl: Skip over blank lines.
44097 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44099         [BZ #926]
44100         * manual/time.texi (Calendar Time): Clarify what timezone functions
44101         use.
44103 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44107 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44109         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44110         implementation.
44111         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44112         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44113         * debug/memset_chk.c (__memset_chk): Likewise.
44114         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44115         * debug/strncpy_chk.c: Likewise.
44117 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44119         [BZ #15268]
44120         [BZ #15425]
44121         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44122         (__ieee754_exp): For possibly underflowing results, check size of
44123         result and force underflow exception if required.
44124         * math/auto-libm-test-in: Add more tests of exp.
44125         * math/auto-libm-test-out: Regenerated.
44126         * sysdeps/i386/fpu/libm-test-ulps: Update.
44127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44129         [BZ #16283]
44130         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44131         * math/w_exp2f.c (__exp2f): Likewise.
44132         * math/w_exp2l.c (__exp2l): Likewise.
44133         * math/auto-libm-test-in: Do not allow missing errno on exp2
44134         underflow.
44135         * math/auto-libm-test-out: Regenerated.
44137 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44139         [BZ #16274]
44140         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44141         handle filename validation.
44142         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44143         (do_open): Delete.
44145 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44147         [BZ #6786]
44148         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44149         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44150         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44151         <float.h>.
44152         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44153         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44154         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44155         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44156         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44157         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44158         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44159         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44160         Add more erfc tests.
44161         * math/auto-libm-test-out: Regenerated.
44162         * sysdeps/i386/fpu/libm-test-ulps: Update.
44163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44165         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44166         exp2, expm1, j0 and j1.
44167         * math/auto-libm-test-out: Regenerated.
44168         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44169         (erfc_test_data): Likewise.
44170         (exp_test_data): Likewise.
44171         (exp_tonearest_test_data): Likewise.
44172         (exp_towardzero_test_data): Likewise.
44173         (exp_downward_test_data): Likewise.
44174         (exp_upward_test_data): Likewise.
44175         (exp10_test_data): Likewise.
44176         (exp2_test_data): Likewise.
44177         (expm1_test_data): Likewise.
44178         (j0_test_data): Likewise.
44179         (j1_test_data): Likewise.
44180         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44181         (input_flag_type): Add flag_xfail_rounding.
44182         (input_flags): Add xfail-rounding.
44183         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44184         (output_for_one_input_case): Handle flag_xfail_rounding.
44185         * sysdeps/i386/fpu/libm-test-ulps: Update.
44186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44188 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44190         [BZ #16289]
44191         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44192         division by 0.
44194 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44196         [BZ #16195]
44197         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44198         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44199         (STAP_PROBE0): New macro.
44200         (STAP_PROBE1): Likewise.
44201         (STAP_PROBE2): Likewise.
44202         (STAP_PROBE3): Likewise.
44203         (STAP_PROBE4): Likewise.
44205 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44207         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44209 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44211         * benchtests/Makefile (bench): Add sqrt.
44212         (LDLIBS-bench-sqrt): New.
44213         * benchtests/sqrt-input: New.
44215 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44217         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44218         (GAIH_EAI): Likewise.
44219         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44220         (gaih_inet): Likewise.
44221         (getaddrinfo): Don't use GAIH_EAI.
44223         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44224         (struct gaih): Remove definition.
44226 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44228         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44229         Use HERRNOP directly.
44231 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44235 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44237         * math/gen-auto-libm-tests.c (test_functions): Add more
44238         single-argument functions.
44239         (special_fill_pi_2): New function.
44240         (special_fill_minus_pi_2): Likewise.
44241         (special_fill_pi_6): Likewise.
44242         (special_fill_minus_pi_6): Likewise.
44243         (special_fill_pi_3): Likewise.
44244         (special_fill_2pi_3): Likewise.
44245         (special_fill_e): Likewise.
44246         (special_fill_1_e): Likewise.
44247         (special_fill_e_minus_1): Likewise.
44248         (special_real_inputs): Add more special inputs.
44249         (output_for_one_input_case): Do not require ERANGE on underflow to
44250         zero if round-to-nearest result does not underflow to zero, unless
44251         exact results required.
44252         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44253         atan, atanh, cbrt, cos and cosh.
44254         * math/auto-libm-test-out: Regenerated.
44255         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44256         (acos_tonearest_test_data): Likewise.
44257         (acos_towardzero_test_data): Likewise.
44258         (acos_downward_test_data): Likewise.
44259         (acos_upward_test_data): Likewise.
44260         (acosh_test_data): Likewise.
44261         (asin_test_data): Likewise.
44262         (asin_tonearest_test_data): Likewise.
44263         (asin_towardzero_test_data): Likewise.
44264         (asin_upward_test_data): Likewise.
44265         (asinh_test_data): Likewise.
44266         (atan_test_data): Likewise.
44267         (atanh_test_data): Likewise.
44268         (cbrt_test_data): Likewise.
44269         (cos_test_data): Likewise.
44270         (cos_tonearest_test_data): Likewise.
44271         (cos_towardzero_test_data): Likewise.
44272         (cos_downward_test_data): Likewise.
44273         (cos_upward_test_data): Likewise.
44274         (cosh_test_data): Likewise.
44275         (cosh_tonearest_test_data): Likewise.
44276         (cosh_towardzero_test_data): Likewise.
44277         (cosh_downward_test_data): Likewise.
44278         (cosh_upward_test_data): Likewise.
44279         * sysdeps/i386/fpu/libm-test-ulps: Update.
44280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44282 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44284         [BZ #6787]
44285         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44286         * math/w_exp10f.c (__exp10f): Likewise.
44287         * math/w_exp10l.c (__exp10l): Likewise.
44288         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44289         errno settings in existing tests.
44291         [BZ #14032]
44292         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44293         precision control set to double precision.
44294         * sysdeps/i386/fpu/w_sqrt.c: New file.
44295         * math/auto-libm-test-in: Add more tests.
44296         * math/auto-libm-test-out: Update.
44298         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44299         (sqrt_test_tonearest): New function.
44300         (sqrt_towardzero_test_data): New variable.
44301         (sqrt_test_towardzero): New function.
44302         (sqrt_downward_test_data): New variable.
44303         (sqrt_test_downward): New function.
44304         (sqrt_upward_test_data): New variable.
44305         (sqrt_test_upward): New function.
44306         (main): Call the new functions.
44308         * math/gen-auto-libm-tests.c: New file.
44309         * math/auto-libm-test-in: Likewise.
44310         * math/auto-libm-test-out: New generated file.
44311         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44312         variables.
44313         (%beautify): Add generated representations of zero.
44314         (top level): Set $auto_input and call parse_auto_input.
44315         (beautify): Remove trailing "f" from hex float constants.
44316         (parse_args): Handle XFAIL_TEST.
44317         (convert_condition): New function.
44318         (or_value): Likewise.
44319         (or_cond_value): Likewise.
44320         (generate_testfile): Handle AUTO_TESTS_* lines.
44321         (parse_auto_input): New function.
44322         * math/libm-test.inc (XFAIL_TEST): New macro.
44323         (ERRNO_UNCHANGED): Update value.
44324         (ERRNO_EDOM): Likewise.
44325         (ERRNO_ERANGE): Likewise.
44326         (IGNORE_RESULT): Likewise.
44327         (TEST_COND_flt_32): New macro.
44328         (TEST_COND_dbl_64): Likewise.
44329         (TEST_COND_ldbl_96_intel): Likewise.
44330         (TEST_COND_ldbl_96_m68k): Likewise.
44331         (TEST_COND_ldbl_128): Likewise.
44332         (TEST_COND_ldbl_128ibm): Likewise.
44333         (TEST_COND_long32): Likewise.
44334         (TEST_COND_long64): Likewise.
44335         (TEST_COND_before_rounding): Likewise.
44336         (TEST_COND_after_rounding): Likewise.
44337         (enable_test): Handle XFAIL_TEST flag.
44338         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44339         with finite results.
44340         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44341         auto-libm-test-out.
44343 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44344             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44346         [BZ #16214]
44347         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44348         __tls_get_addr_internal instead of __tls_get_offset in order to
44349         avoid GOT pointer dependency.  Make rtld export
44350         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44351         __tls_get_addr since we are a __tls_get_offset platform.
44352         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44353         GOT pointer being set up before.
44354         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44356 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44358         * manual/math.texi (Errors in Math Functions): Document accuracy
44359         goals.
44361         [BZ #15004]
44362         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44363         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44364         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44365         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44366         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44367         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44368         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44369         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44370         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44371         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44372         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44373         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44374         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44375         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44376         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44377         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44379         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44380         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44381         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44382         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44383         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44384         Likewise.
44385         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44386         Likewise.
44387         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44388         Likewise.
44389         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44390         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44391         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44392         atomic-feupdateenv and flt-rounds.
44393         * sysdeps/powerpc/nofpu/Versions (libc): Add
44394         __atomic_feholdexcept, __atomic_feclearexcept,
44395         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44396         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44397         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44398         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44399         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44400         here.
44401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44402         Update.
44404         * manual/arith.texi (FP Exceptions): Document that exceptions may
44405         not be raised when matherr is used.
44406         (Math Error Reporting): Document overflow in directed rounding
44407         modes.  Document that errno may not be set when finite values are
44408         returned on overflow.  Document intent to set errno on underflow
44409         only for underflow to zero.
44411         [BZ #16271]
44412         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44413         round-to-nearest then adjust result for other rounding modes.
44414         * include/fenv.h (fegetround): Use libm_hidden_proto.
44415         * math/fegetround.c (fegetround): Use libm_hidden_def.
44416         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44417         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44418         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44419         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44420         Likewise.
44421         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44422         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44423         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44424         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44426 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44428         [BZ #16077]
44429         * nss/Versions (libnss_files): Add
44430         _nss_files_gethostbyname3_r.
44431         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44432         New function.
44433         (HOST_DB_LOOKUP): Remove macro.
44434         (_nss_files_gethostbyname_r): Implement function without the
44435         HOST_DB_LOOKUP macro.
44436         (_nss_files_gethostbyname2_r): Likewise.
44438 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44440         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44442 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44444         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44445         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44446         warning.
44448 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44450         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44451         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44452         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44453         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44454         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44455         __fe_nomask_env_priv and attribute_hidden.
44456         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44457         (libc_feupdateenv_test_ppc): Likewise.
44458         (libc_feresetround_ppc): Likewise.
44459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44460         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44461         compat_symbol macro.
44462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44463         (__fe_nomask_env): Likewise.
44464         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44466 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44468         * string/Makefile: Remove ifunc tests.
44469         * string/test-string.h: Define TEST_IFUNC.
44470         * string/test-bcopy-ifunc.c: Remove.
44471         * string/test-bzero-ifunc.c: Likewise.
44472         * string/test-memccpy-ifunc.c: Likewise.
44473         * string/test-memchr-ifunc.c: Likewise.
44474         * string/test-memcmp-ifunc.c: Likewise.
44475         * string/test-memcpy-ifunc.c: Likewise.
44476         * string/test-memmem-ifunc.c: Likewise.
44477         * string/test-memmove-ifunc.c: Likewise.
44478         * string/test-mempcpy-ifunc.c: Likewise.
44479         * string/test-memrchr-ifunc.c: Likewise.
44480         * string/test-memset-ifunc.c: Likewise.
44481         * string/test-rawmemchr-ifunc.c: Likewise.
44482         * string/test-stpcpy-ifunc.c: Likewise.
44483         * string/test-stpncpy-ifunc.c: Likewise.
44484         * string/test-strcasecmp-ifunc.c: Likewise.
44485         * string/test-strcasestr-ifunc.c: Likewise.
44486         * string/test-strcat-ifunc.c: Likewise.
44487         * string/test-strchr-ifunc.c: Likewise.
44488         * string/test-strchrnul-ifunc.c: Likewise.
44489         * string/test-strcmp-ifunc.c: Likewise.
44490         * string/test-strcpy-ifunc.c: Likewise.
44491         * string/test-strcspn-ifunc.c: Likewise.
44492         * string/test-strlen-ifunc.c: Likewise.
44493         * string/test-strncasecmp-ifunc.c: Likewise.
44494         * string/test-strncat-ifunc.c: Likewise.
44495         * string/test-strncmp-ifunc.c: Likewise.
44496         * string/test-strncpy-ifunc.c: Likewise.
44497         * string/test-strnlen-ifunc.c: Likewise.
44498         * string/test-strpbrk-ifunc.c: Likewise.
44499         * string/test-strrchr-ifunc.c: Likewise.
44500         * string/test-strspn-ifunc.c: Likewise.
44501         * string/test-strstr-ifunc.c: Likewise.
44503 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44505         * benchtests/Makefile: Remove ifunc tests.
44506         * benchtests/bench-string.h: Define TEST_IFUNC.
44507         * benchtests/bench-bcopy-ifunc.c: Remove.
44508         * benchtests/bench-bzero-ifunc.c: Likewise.
44509         * benchtests/bench-memccpy-ifunc.c: Likewise.
44510         * benchtests/bench-memchr-ifunc.c: Likewise.
44511         * benchtests/bench-memcmp-ifunc.c: Likewise.
44512         * benchtests/bench-memcpy-ifunc.c: Likewise.
44513         * benchtests/bench-memmem-ifunc.c: Likewise.
44514         * benchtests/bench-memmove-ifunc.c: Likewise.
44515         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44516         * benchtests/bench-memrchr-ifunc.c: Likewise.
44517         * benchtests/bench-memset-ifunc.c: Likewise.
44518         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44519         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44520         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44521         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44522         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44523         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44524         * benchtests/bench-strcat-ifunc.c: Likewise.
44525         * benchtests/bench-strchr-ifunc.c: Likewise.
44526         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44527         * benchtests/bench-strcmp-ifunc.c: Likewise.
44528         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44529         * benchtests/bench-strcpy-ifunc.c: Likewise.
44530         * benchtests/bench-strcspn-ifunc.c: Likewise.
44531         * benchtests/bench-strlen-ifunc.c: Likewise.
44532         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44533         * benchtests/bench-strncat-ifunc.c: Likewise.
44534         * benchtests/bench-strncmp-ifunc.c: Likewise.
44535         * benchtests/bench-strncpy-ifunc.c: Likewise.
44536         * benchtests/bench-strnlen-ifunc.c: Likewise.
44537         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44538         * benchtests/bench-strrchr-ifunc.c: Likewise.
44539         * benchtests/bench-strsep-ifunc.c: Likewise.
44540         * benchtests/bench-strspn-ifunc.c: Likewise.
44541         * benchtests/bench-strstr-ifunc.c: Likewise.
44543 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44545         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44547 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44549         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44550         * rt/aio.h: Likewise.
44551         * sysdeps/gnu/bits/utmp.h: Likewise.
44552         * sysdeps/gnu/bits/utmpx.h: Likewise.
44553         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44554         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44555         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44556         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44557         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44558         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44559         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44560         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44561         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44562         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44563         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44564         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44565         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44567         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44568         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44569         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44570         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44571         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44572         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44573         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44574         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44575         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44576         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44577         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44579         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44580         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44581         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44582         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44583         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44584         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44585         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44586         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44587         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44588         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44589         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44590         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44591         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44592         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44593         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44594         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44596 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44598         [BZ #16245]
44599         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44600         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44602 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44604         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44605         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44606         Likewise.
44608 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44610         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44611         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44612         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44613         (__fesetround): Remove define.
44614         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44615         rounding and exceptions handling.
44616         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44617         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44618         (__fe_nomask_env): Likewise.
44619         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44620         __fegetround instead of fegetround.
44621         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44622         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44624 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44626         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44627         it's there.
44629         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44631 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44633         [BZ #11157]
44634         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44635         (encrypt_r): Likewise.
44636         * malloc/obstack.h (obstack_free): Likewise.
44637         * posix/unistd.h (encrypt): Likewise.
44639 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44641         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44642         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44643         DL_CALL_DT_FINI() that call the functions directly.
44644         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44645         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44646         * elf/dl-fini.c: Likewise.
44648 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44650         * malloc/hooks.c (memalign_check): Add alignment rounding.
44651         * malloc/malloc.c (_mid_memalign): New function.
44652         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44653         Implement by calling _mid_memalign.
44654         * manual/probes.texi (Memory Allocation Probes): Remove
44655         memory_valloc_retry and memory_pvalloc_retry.
44657 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44659         * locale/programs/locarchive.c (open_archive): Add const
44660         qualifier to ARCHIVEFNAME and copy default fname to
44661         DEFAULT_FNAME.
44663         [BZ #15601]
44664         * libio/tst-widetext.input: Rename Oriya to Odia.
44665         * locale/iso-639.def: Likewise.
44667         * manual/probes.texi (Mathematical Function Probes): Add
44668         documentation for sin, cos, asin and acos probes.
44669         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44670         (__sin32): Add slowasin probe.
44671         (__cos32): Add slowacos probe.
44672         (__mpsin): Add slowsin probe.
44673         (__mpcos): Add slowcos probe.
44675 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44677         [BZ #15483]
44678         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44679         thread-local __sim_exceptions_thread and global
44680         __sim_exceptions_global.
44681         (__sim_disabled_exceptions): Change to thread-local
44682         __sim_disabled_exceptions_thread and global
44683         __sim_disabled_exceptions_global.
44684         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44685         and global __sim_round_mode_global.
44686         (__simulate_exceptions): Use thread-local floating-point state and
44687         set global state from it as needed.
44688         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44689         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44690         __sim_round_mode_thread.
44691         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44692         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44693         and global __sim_exceptions_global.
44694         (__sim_disabled_exceptions): Change to thread-local
44695         __sim_disabled_exceptions_thread and global
44696         __sim_disabled_exceptions_global.
44697         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44698         and global __sim_round_mode_global.
44699         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44700         (SIM_SET_GLOBAL): Likewise.
44701         * sysdeps/powerpc/soft-fp/sfp-machine.h
44702         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44703         __sim_round_mode_thread.
44704         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44705         __sim_disabled_exceptions_thread.
44706         (__sim_exceptions): Change to __sim_exceptions_thread.
44707         (__sim_disabled_exceptions): Change to
44708         __sim_disabled_exceptions_thread.
44709         (__sim_round_mode): Change to __sim_round_mode_thread.
44710         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44711         thread-local floating-point state and set global state from it as
44712         needed.
44713         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44714         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44715         (__sim_disabled_exceptions): Remove extern declaration.
44716         (feenableexcept): Use thread-local floating-point state and set
44717         global state from it as needed.
44718         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44719         extern declaration.
44720         (__sim_disabled_exceptions): Likewise.
44721         (__sim_round_mode): Likewise.
44722         (__fegetenv): Use thread-local floating-point state.
44723         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44724         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44725         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44726         floating-point state and set global state from it as needed.
44727         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44728         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44729         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44730         Likewise.
44731         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44732         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44733         Likewise.
44734         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44735         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44736         Use __sim_round_mode_thread.
44737         * math/test-fenv-tls.c: New file.
44738         * math/Makefile (tests): Add test-fenv-tls.
44739         ($(objpfx)test-fenv-tls): Depend on
44740         $(common-objpfx)nptl/libpthread.so.
44742 2013-11-19  Andreas Schwab  <schwab@suse.de>
44744         * locale/programs/locale.c (show_info): Decode wordarray elements.
44745         * locale/categories.def (LC_MONETARY): Add element for
44746         _NL_MONETARY_CRNCYSTR.
44747         * locale/C-monetary.c (conversion_rate): New variable.
44748         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44749         element.
44751 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44753         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44754         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44756 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44758         * elf/Makefile (tst-auxv): New test.
44759         * elf/tst-auxv.c: New
44760         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44762 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44764         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44765         (hidden_proto): Caller changed.
44766         (hidden_tls_proto): New macro.
44767         (libc_hidden_tls_proto): Likewise.
44768         (rtld_hidden_tls_proto): Likewise.
44769         (libm_hidden_tls_proto): Likewise.
44770         (libresolv_hidden_tls_proto): Likewise.
44771         (librt_hidden_tls_proto): Likewise.
44772         (libdl_hidden_tls_proto): Likewise.
44773         (libnss_files_hidden_tls_proto): Likewise.
44774         (libnsl_hidden_tls_proto): Likewise.
44775         (libnss_nisplus_hidden_tls_proto): Likewise.
44776         (libutil_hidden_tls_proto): Likewise.
44778 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44780         [BZ #10253]
44781         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44782         (decompose_rpath): Defer expansion to fillin_rpath.
44783         (_dl_init_paths): Pass linkmap to fillin_rpath.
44785 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44787         * benchtests/Makefile: Add strsep.
44788         * benchtests/bench-strsep.c: New file: strsep benchtest.
44789         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44791 2013-11-18  Andreas Schwab  <schwab@suse.de>
44793         * locale/programs/locale.c (show_info) [case byte]: Check for
44794         '\377' instead of '\177'.
44795         * locale/C-monetary.c (not_available): Always use "\377".
44796         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44797         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44798         detect unavailable sign_posn locale elements.
44799         * locale/localeconv.c (__localeconv): For grouping and
44800         mon_grouping handle "\177" and "\377" like no grouping.
44801         (INT_ELEM): New macro.  Use it to set all numeric members.
44802         * locale/programs/ld-monetary.c (monetary_read)
44803         <tok_mon_grouping>: Normalize single -1 to the empty string.
44804         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44805         Likewise.
44807 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44809         [BZ #16055]
44810         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44811         when we match (nil).
44812         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44814 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44816         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44817         (NO_TEST_INLINE): Update value.
44818         (ERRNO_UNCHANGED): Likewise.
44819         (ERRNO_EDOM): Likewise.
44820         (ERRNO_ERANGE): Likewise.
44821         (IGNORE_RESULT): Likewise.
44822         (check_float_internal): Check signs of NaN results if
44823         TEST_NAN_SIGN used.
44824         (check_complex): Pass TEST_NAN_SIGN flag through to second
44825         check_float_internal call.
44826         (copysign_test_data): Add tests with quiet NaNs as second
44827         argument.  Use TEST_NAN_SIGN.
44828         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44829         TEST_NAN_SIGN.
44830         (signbit_test_data): Add tests of quiet NaN argument.
44831         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44833         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44834         $ignore_result.
44835         (parse_args): Handle function results specified as IGNORE.
44836         * math/libm-test.inc (IGNORE_RESULT): New macro.
44837         (check_float_internal): Do not check numerical result if flag
44838         IGNORE_RESULT set.
44839         (check_complex): Pass through IGNORE_RESULT to second
44840         check_float_internal call.
44841         (check_int): Do not check numerical result if flag IGNORE_RESULT
44842         set.
44843         (check_long): Likewise.
44844         (check_bool): Likewise.
44845         (check_longlong): Likewise.
44846         (lrint_test_data): Add tests of infinite and NaN arguments.
44847         (lrint_tonearest_test_data): Likewise.
44848         (lrint_towardzero_test_data): Likewise.
44849         (lrint_downward_test_data): Likewise.
44850         (lrint_upward_test_data): Likewise.
44851         (llrint_test_data): Likewise.
44852         (llrint_tonearest_test_data): Likewise.
44853         (llrint_towardzero_test_data): Likewise.
44854         (llrint_downward_test_data): Likewise.
44855         (llrint_upward_test_data): Likewise.
44856         (lround_test_data): Likewise.
44857         (llround_test_data): Likewise.
44859         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44860         (ERRNO_UNCHANGED): Update value.
44861         (ERRNO_EDOM): Likewise.
44862         (ERRNO_ERANGE): Likewise.
44863         (NO_TEST_INLINE_FLOAT): New macro.
44864         (NO_TEST_INLINE_DOUBLE): Likewise.
44865         (enable_test): New function.
44866         (RUN_TEST_f_f): Check enable_test before running test.
44867         (RUN_TEST_2_f): Likewise.
44868         (RUN_TEST_fff_f): Likewise.
44869         (RUN_TEST_c_f): Likewise.
44870         (RUN_TEST_f_f1): Likewise.
44871         (RUN_TEST_fF_f1): Likewise.
44872         (RUN_TEST_fI_f1): Likewise.
44873         (RUN_TEST_ffI_f1): Likewise.
44874         (RUN_TEST_c_c): Likewise.
44875         (RUN_TEST_cc_c): Likewise.
44876         (RUN_TEST_f_i): Likewise.
44877         (RUN_TEST_f_i_tg): Likewise.
44878         (RUN_TEST_ff_i_tg): Likewise.
44879         (RUN_TEST_f_b): Likewise.
44880         (RUN_TEST_f_b_tg): Likewise.
44881         (RUN_TEST_f_l): Likewise.
44882         (RUN_TEST_f_L): Likewise.
44883         (RUN_TEST_fFF_11): Likewise.
44884         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44885         conditionals.
44886         (cosh_test_data): Likewise.
44887         (exp_test_data): Likewise.
44888         (expm1_test_data): Likewise.
44889         (hypot_test_data): Likewise.
44890         (pow_test_data): Likewise.
44891         (sinh_test_data): Likewise.
44892         (tanh_test_data): Likewise.
44893         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44894         flags argument.
44896         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44897         tests with quiet NaN input and output.
44898         (acosh_test_data): Likewise.
44899         (asin_test_data): Likewise.
44900         (asinh_test_data): Likewise.
44901         (atan_test_data): Likewise.
44902         (atanh_test_data): Likewise.
44903         (atan2_test_data): Likewise.
44904         (cbrt_test_data): Likewise.
44905         (cos_test_data): Likewise.
44906         (cosh_test_data): Likewise.
44907         (erf_test_data): Likewise.
44908         (erfc_test_data): Likewise.
44909         (exp_test_data): Likewise.
44910         (exp10_test_data): Likewise.
44911         (exp2_test_data): Likewise.
44912         (expm1_test_data): Likewise.
44913         (hypot_test_data): Likewise.
44914         (j0_test_data): Likewise.
44915         (j1_test_data): Likewise.
44916         (jn_test_data): Likewise.
44917         (lgamma_test_data): Likewise.
44918         (log_test_data): Likewise.
44919         (log10_test_data): Likewise.
44920         (log1p_test_data): Likewise.
44921         (log2_test_data): Likewise.
44922         (pow_test_data): Likewise.
44923         (scalb_test_data): Likewise.
44924         (sin_test_data): Likewise.
44925         (sincos_test_data): Likewise.
44926         (sinh_test_data): Likewise.
44927         (tan_test_data): Likewise.
44928         (tanh_test_data): Likewise.
44929         (tgamma_test_data): Likewise.
44930         (y0_test_data): Likewise.
44931         (y1_test_data): Likewise.
44932         (yn_test_data): Likewise.
44934         [BZ #16167]
44935         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44936         argument being NaN and avoid computations with second argument in
44937         that case.
44938         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44939         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44940         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44942 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44944         * locale/iso-639.def: Add Chitwani Tharu (the).
44946 2013-11-14  Andreas Schwab  <schwab@suse.de>
44948         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44949         word instead of empty string.
44951 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44954         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44956         (__fe_nomask_env): Likewise.
44958 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44960         * benchtests/bench-timing.h: Include time.h.
44962 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44964         [BZ #15997]
44965         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44966         to 3.4.0 for x32.
44967         * sysdeps/unix/sysv/linux/configure: Regenerated.
44969 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44971         [BZ #16151]
44972         * stdlib/strtod_l.c (round_and_return): Do not consider
44973         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44974         exponent one less than half the least subnormal exponent.
44975         * stdlib/test-strtod-round-data: Add more tests.
44976         * stdlib/tst-strtod-round.c (tests): Regenerated.
44978 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44980         [BZ #14143]
44981         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44982         (__fe_mask_env): Likewise.
44983         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44984         libm_hidden_proto and add function prototype.
44985         (__fe_mask_env): Add function prototype.
44986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44987         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44989         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44991         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44993 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44995         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44996         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44998 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45000         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45001         of htab_find_slot().
45003 2013-11-11  David S. Miller  <davem@davemloft.net>
45005         [BZ #16150]
45006         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45007         symbol in the non-vis3 case in static builds.
45008         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45009         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45010         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45011         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45013 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45015         [BZ #387]
45016         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45017         it is empty.
45019 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45021         * benchtests/Makefile: Add bench-strtod.
45022         * benchtests/bench-strtod.c: New file: strtod benchtest
45024 2013-11-11  Andreas Schwab  <schwab@suse.de>
45026         [BZ #16153]
45027         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45028         terminating NUL in key length.
45030 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45032         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45033         Add artificial ODP entry for vDSO symbol for PPC64.
45034         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45035         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45037 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45039         [BZ #15374]
45040         * nss/getent.c (services_keys): Recognize services starting with digit.
45042 2013-11-06  David S. Miller  <davem@davemloft.net>
45044         [BZ #15985]
45045         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45046         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45048 2013-11-06  Will Newton  <will.newton@linaro.org>
45050         * manual/memory.texi (Malloc Examples): Remove register
45051         keyword from examples.
45053 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45055         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45057 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45059         [BZ #6981]
45060         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45061         depending on [__GCC_IEC_559 > 0].
45062         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45063         depending on [__GCC_IEC_559_COMPLEX > 0].
45065 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45067         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45068         to iso-639.def.
45070 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45072         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45074 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45076         [BZ #16112]
45077         * malloc/malloc (malloc_info): Do not handle first bin as
45078         special case.
45080 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45082         * locale/iso-639.def: Add Central Nahuatl (nhn).
45084 2013-11-01  Bruno Haible  <bruno@clisp.org>
45086         [BZ #7003]
45087         * manual/math.texi (BSD Random): Specify range upper bound as
45088         in POSIX.
45090 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45092         * locale/iso-639.def: Add Meadow Mari (mhr).
45094 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45096         [BZ #14752], [BZ #15763]
45097         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45098         Validate name.
45099         * rt/tst_shm.c: Add test for escaping directory.
45101 2013-10-31  Andreas Schwab  <schwab@suse.de>
45103         [BZ #15917]
45104         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45105         followed by 'x' as part of digit sequence.
45106         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45108 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45110         [BZ #16037]
45111         * configure.ac: allow GNU Make 4.0 and greater.
45112         * configure: Regenerated.
45114 2013-10-30  Will Newton  <will.newton@linaro.org>
45116         [BZ #16038]
45117         * malloc/hooks.c (memalign_check): Limit alignment to the
45118         maximum representable power of two.
45119         * malloc/malloc.c (__libc_memalign): Likewise.
45120         * malloc/tst-memalign.c (do_test): Add test for very
45121         large alignment values.
45122         * malloc/tst-posix_memalign.c (do_test): Likewise.
45124 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45126         [BZ #11087]
45127         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45128         (munmap_chunk): Likewise.
45129         (mremap_chunk): Likewise.
45131 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45133         [BZ #15799]
45134         * stdlib/div.c (div): Remove obsolete code.
45135         * stdlib/ldiv.c (ldiv): Likewise.
45136         * stdlib/lldiv.c (lldiv): Likewise.
45138 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45140         [BZ #16071]
45141         * nss/nss_files/files-XXX.c (get_contents_ret): New
45142         enumerator.
45143         (get_contents): New function.
45144         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45146 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45148         * configure.in: Moved to ...
45149         * configure.ac: ... here. Change reference to configure.in
45150         to configure.ac.
45151         * sysdeps/arm/preconfigure.ac: ... here.
45152         configure.in to configure.ac.
45153         * sysdeps/gnu/configure.in: Moved to ...
45154         * sysdeps/gnu/configure.ac: ... here.
45155         * sysdeps/i386/configure.in: Moved to ...
45156         * sysdeps/i386/configure.ac: ... here.
45157         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45158         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45159         * sysdeps/mach/configure.in: Moved to ...
45160         * sysdeps/mach/configure.ac: ... here.
45161         * sysdeps/mach/hurd/configure.in: Moved to ...
45162         * sysdeps/mach/hurd/configure.ac: ... here.
45163         * sysdeps/powerpc/configure.in: Moved to ...
45164         * sysdeps/powerpc/configure.ac: ... here.
45165         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45166         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45167         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45168         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45169         * sysdeps/s390/s390-32/configure.in: Moved to ...
45170         * sysdeps/s390/s390-32/configure.ac: ... here.
45171         * sysdeps/s390/s390-64/configure.in: Moved to ...
45172         * sysdeps/s390/s390-64/configure.ac: ... here.
45173         * sysdeps/sh/configure.in: Moved to ...
45174         * sysdeps/sh/configure.ac: ... here.
45175         * sysdeps/sparc/configure.in: Moved to ...
45176         * sysdeps/sparc/configure.ac: ... here.
45177         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45178         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45179         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45180         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45181         * sysdeps/x86_64/configure.in: Moved to ...
45182         * sysdeps/x86_64/configure.ac: ... here.
45183         * sysdeps/x86_64/preconfigure.in: Moved to ...
45184         * sysdeps/x86_64/preconfigure.ac: ... here.
45185         * aclocal.m4: Change reference to configure.in to configure.ac.
45186         * config.h.in: Likewise.
45187         * manual/install.texi: Likewise.
45188         * manual/maint.texi: Likewise.
45189         * Makefile: Likewise.
45190         * malloc/Makefile: Likewise.
45191         * nscd/Makefile: Likewise.
45192         * Makeconfig: Change reference to configure.in and
45193         preconfigure.in to configure.ac and preconfigure.ac
45194         respectively.
45195         * INSTALL: Regenerated.
45196         * configure: Likewise.
45197         * sysdeps/gnu/configure: Likewise.
45198         * sysdeps/i386/configure: Likewise.
45199         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45200         * sysdeps/mach/configure: Likewise.
45201         * sysdeps/mach/hurd/configure: Likewise.
45202         * sysdeps/powerpc/configure: Likewise.
45203         * sysdeps/powerpc/powerpc32/configure: Likewise.
45204         * sysdeps/powerpc/powerpc64/configure: Likewise.
45205         * sysdeps/s390/s390-32/configure: Likewise.
45206         * sysdeps/s390/s390-64/configure: Likewise.
45207         * sysdeps/sh/configure: Likewise.
45208         * sysdeps/sparc/configure: Likewise.
45209         * sysdeps/unix/sysv/linux/configure: Likewise.
45210         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45211         * sysdeps/x86_64/configure: Likewise.
45212         * sysdeps/x86_64/preconfigure: Likewise.
45214 2013-10-29  Andreas Schwab  <schwab@suse.de>
45216         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45218 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45220         * benchtests/pow-inputs: Add new inputs.
45222         * benchtests/exp-inputs: Add new inputs.
45224         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45225         conditional check for return value.
45226         (__cos32): Likewise.
45228 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45230         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45231         to provide a boost for large inputs with word alignment.
45232         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45233         implementation based on optimized PPC64 strcpy.
45234         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45235         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45236         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45237         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45239 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45241         [BZ #2801]
45242         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45244 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45246         [BZ #14876]
45247         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45248         * time/tst-strptime.c (day_tests): Add testcase.
45250 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45252         [BZ #14029]
45253         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45255 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45257         [BZ #16074]
45258         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45259         MAP_FAILED on error.
45261 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45263         [BZ #16072]
45264         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45265         heap for large requests.
45267 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45269         [BZ #9954]
45270         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45271         result if the result has no associated interface.
45272         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45273         interface for all 127.X.Y.Z addresses.
45275 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45277         * locale/iso-639.def: Add Ligurian (lij)
45279 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45281         [BZ #15825]
45282         * sunrpc/rpc_main.c: Document rpcgen -5.
45284 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45286         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45288 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45290         [BZ #10278]
45291         * posix/glob.c: Match only directories when trailing slash is present.
45292         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45293         (main): Add testcase.
45295 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45297         [BZ #15670]
45298         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45300 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45302         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45303         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45304         AUTH_DES and cindex for FIPS 140-2.
45305         (DES Encryption): Add cindex FIPS 46-3.
45307         * locale/locarchive.h (struct locarhandle): Add fname.
45308         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45309         if an optional argument was specified to --list-archive,
45310         otherwise NULL.
45311         * locale/programs/locarchive.c (show_archive_content): Take new
45312         argument fname and pass it via ah.fname to open_archive.
45313         * locale/programs/localedef.h: Update decl.
45314         (open_archive): If AH->fname is non-null, open that file
45315         rather than the default file name, and don't ignore ENOENT.
45316         (create_archive): Set AH.fname to NULL.
45317         (delete_locales_from_archive): Likewise.
45318         (add_locales_to_archive): Likewise.
45319         * locale/programs/locfile.c (write_all_categories): Likewise.
45321 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45322             Aldy Hernandez  <aldyh@redhat.com>
45324         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45325         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45326         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45327         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45328         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45329         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45330         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45331         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45332         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45333         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45334         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45335         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45336         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45337         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45338         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45339         Likewise.
45340         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45341         Likewise.
45342         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45343         Likewise.
45344         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45345         Likewise.
45346         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45347         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45348         Likewise.
45349         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45350         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45351         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45352         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45353         Likewise.
45354         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45355         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45356         * sysdeps/powerpc/preconfigure: Likewise.
45357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45358         Likewise.
45359         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45360         Replace contents of file by #include of <fenv_libc.h>.
45361         * sysdeps/powerpc/soft-fp/sfp-machine.h
45362         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45363         and <sys/prctl.h>.
45364         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45365         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45366         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45367         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45368         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45369         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45371         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45372         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45374         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45375         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45377         Allow copysignl PLT reference to be missing.
45379 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45380             Joseph Myers  <joseph@codesourcery.com
45382         [BZ #15948]
45383         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45384         single character.
45385         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45387 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45389         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45390         * elf/tst-tls1.c: Likewise.
45391         * elf/tst-tls10.h: Likewise.
45392         * elf/tst-tls14.c: Likewise.
45393         * elf/tst-tls2.c: Likewise.
45394         * elf/tst-tls3.c: Likewise.
45395         * elf/tst-tls4.c: Likewise.
45396         * elf/tst-tls5.c: Likewise.
45397         * elf/tst-tls6.c: Likewise.
45398         * elf/tst-tls7.c: Likewise.
45399         * elf/tst-tls8.c: Likewise.
45400         * elf/tst-tls9.c: Likewise.
45401         * elf/tst-tlsmod1.c: Likewise.
45402         * elf/tst-tlsmod13.c: Likewise.
45403         * elf/tst-tlsmod13a.c: Likewise.
45404         * elf/tst-tlsmod14a.c: Likewise.
45405         * elf/tst-tlsmod16a.c: Likewise.
45406         * elf/tst-tlsmod16b.c: Likewise.
45407         * elf/tst-tlsmod2.c: Likewise.
45408         * elf/tst-tlsmod3.c: Likewise.
45409         * elf/tst-tlsmod4.c: Likewise.
45410         * elf/tst-tlsmod5.c: Likewise.
45411         * elf/tst-tlsmod6.c: Likewise.
45413 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45415         [BZ #12486]
45416         * malloc/malloc.c: remove checks for statistics.
45418 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45420         [BZ #15277]
45421         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45422         * inet/tst-network.c: Add testcase.
45424 2013-10-17  Andreas Schwab  <schwab@suse.de>
45426         [BZ #15218]
45427         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45428         to determine canonical name.
45430 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45432         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45433         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45435         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45436         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45437         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45438         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45439         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45440         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45441         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45442         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45443         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45444         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45445         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45446         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45447         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45448         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45449         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45450         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45451         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45452         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45453         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45454         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45455         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45456         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45457         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45458         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45459         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45460         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45461         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45462         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45463         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45464         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45465         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45466         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45467         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45468         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45469         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45470         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45471         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45472         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45473         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45474         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45475         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45476         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45477         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45478         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45479         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45480         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45481         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45482         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45483         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45484         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45485         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45486         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45487         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45488         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45489         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45491 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45493         [BZ #16041]
45494         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45495         make result into a quiet NaN.
45497 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45499         * soft-fp/adddf3.c: Fix horizontal whitespace.
45500         * soft-fp/addsf3.c: Likewise.
45501         * soft-fp/addtf3.c: Likewise.
45502         * soft-fp/divdf3.c: Likewise.
45503         * soft-fp/divsf3.c: Likewise.
45504         * soft-fp/divtf3.c: Likewise.
45505         * soft-fp/double.h: Likewise.
45506         * soft-fp/eqdf2.c: Likewise.
45507         * soft-fp/eqsf2.c: Likewise.
45508         * soft-fp/eqtf2.c: Likewise.
45509         * soft-fp/extenddftf2.c: Likewise.
45510         * soft-fp/extended.h: Likewise.
45511         * soft-fp/extendsfdf2.c: Likewise.
45512         * soft-fp/extendsftf2.c: Likewise.
45513         * soft-fp/extendxftf2.c: Likewise.
45514         * soft-fp/fixdfdi.c: Likewise.
45515         * soft-fp/fixdfsi.c: Likewise.
45516         * soft-fp/fixdfti.c: Likewise.
45517         * soft-fp/fixsfdi.c: Likewise.
45518         * soft-fp/fixsfsi.c: Likewise.
45519         * soft-fp/fixsfti.c: Likewise.
45520         * soft-fp/fixtfdi.c: Likewise.
45521         * soft-fp/fixtfsi.c: Likewise.
45522         * soft-fp/fixtfti.c: Likewise.
45523         * soft-fp/fixunsdfdi.c: Likewise.
45524         * soft-fp/fixunsdfsi.c: Likewise.
45525         * soft-fp/fixunsdfti.c: Likewise.
45526         * soft-fp/fixunssfdi.c: Likewise.
45527         * soft-fp/fixunssfsi.c: Likewise.
45528         * soft-fp/fixunssfti.c: Likewise.
45529         * soft-fp/fixunstfdi.c: Likewise.
45530         * soft-fp/fixunstfsi.c: Likewise.
45531         * soft-fp/fixunstfti.c: Likewise.
45532         * soft-fp/floatdidf.c: Likewise.
45533         * soft-fp/floatdisf.c: Likewise.
45534         * soft-fp/floatditf.c: Likewise.
45535         * soft-fp/floatsidf.c: Likewise.
45536         * soft-fp/floatsisf.c: Likewise.
45537         * soft-fp/floatsitf.c: Likewise.
45538         * soft-fp/floattidf.c: Likewise.
45539         * soft-fp/floattisf.c: Likewise.
45540         * soft-fp/floattitf.c: Likewise.
45541         * soft-fp/floatundidf.c: Likewise.
45542         * soft-fp/floatundisf.c: Likewise.
45543         * soft-fp/floatunditf.c: Likewise.
45544         * soft-fp/floatunsidf.c: Likewise.
45545         * soft-fp/floatunsisf.c: Likewise.
45546         * soft-fp/floatunsitf.c: Likewise.
45547         * soft-fp/floatuntidf.c: Likewise.
45548         * soft-fp/floatuntisf.c: Likewise.
45549         * soft-fp/floatuntitf.c: Likewise.
45550         * soft-fp/fmadf4.c: Likewise.
45551         * soft-fp/fmasf4.c: Likewise.
45552         * soft-fp/fmatf4.c: Likewise.
45553         * soft-fp/gedf2.c: Likewise.
45554         * soft-fp/gesf2.c: Likewise.
45555         * soft-fp/getf2.c: Likewise.
45556         * soft-fp/ledf2.c: Likewise.
45557         * soft-fp/lesf2.c: Likewise.
45558         * soft-fp/letf2.c: Likewise.
45559         * soft-fp/muldf3.c: Likewise.
45560         * soft-fp/mulsf3.c: Likewise.
45561         * soft-fp/multf3.c: Likewise.
45562         * soft-fp/negdf2.c: Likewise.
45563         * soft-fp/negsf2.c: Likewise.
45564         * soft-fp/negtf2.c: Likewise.
45565         * soft-fp/op-1.h: Likewise.
45566         * soft-fp/op-2.h: Likewise.
45567         * soft-fp/op-4.h: Likewise.
45568         * soft-fp/op-8.h: Likewise.
45569         * soft-fp/op-common.h: Likewise.
45570         * soft-fp/quad.h: Likewise.
45571         * soft-fp/single.h: Likewise.
45572         * soft-fp/soft-fp.h: Likewise.
45573         * soft-fp/sqrtdf2.c: Likewise.
45574         * soft-fp/sqrtsf2.c: Likewise.
45575         * soft-fp/sqrttf2.c: Likewise.
45576         * soft-fp/subdf3.c: Likewise.
45577         * soft-fp/subsf3.c: Likewise.
45578         * soft-fp/subtf3.c: Likewise.
45579         * soft-fp/truncdfsf2.c: Likewise.
45580         * soft-fp/trunctfdf2.c: Likewise.
45581         * soft-fp/trunctfsf2.c: Likewise.
45582         * soft-fp/trunctfxf2.c: Likewise.
45583         * soft-fp/unorddf2.c: Likewise.
45584         * soft-fp/unordsf2.c: Likewise.
45585         * soft-fp/unordtf2.c: Likewise.
45587 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45589         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45590         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45592 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45594         * elf/dl-libc.c: Clear initfini list after freeing.
45596 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45598         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45599         * soft-fp/addsf3.c: Likewise.
45600         * soft-fp/addtf3.c: Likewise.
45601         * soft-fp/divdf3.c: Likewise.
45602         * soft-fp/divsf3.c: Likewise.
45603         * soft-fp/divtf3.c: Likewise.
45604         * soft-fp/double.h: Likewise.
45605         * soft-fp/eqdf2.c: Likewise.
45606         * soft-fp/eqsf2.c: Likewise.
45607         * soft-fp/eqtf2.c: Likewise.
45608         * soft-fp/extenddftf2.c: Likewise.
45609         * soft-fp/extended.h: Likewise.
45610         * soft-fp/extendsfdf2.c: Likewise.
45611         * soft-fp/extendsftf2.c: Likewise.
45612         * soft-fp/extendxftf2.c: Likewise.
45613         * soft-fp/fixdfdi.c: Likewise.
45614         * soft-fp/fixdfsi.c: Likewise.
45615         * soft-fp/fixdfti.c: Likewise.
45616         * soft-fp/fixsfdi.c: Likewise.
45617         * soft-fp/fixsfsi.c: Likewise.
45618         * soft-fp/fixsfti.c: Likewise.
45619         * soft-fp/fixtfdi.c: Likewise.
45620         * soft-fp/fixtfsi.c: Likewise.
45621         * soft-fp/fixtfti.c: Likewise.
45622         * soft-fp/fixunsdfdi.c: Likewise.
45623         * soft-fp/fixunsdfsi.c: Likewise.
45624         * soft-fp/fixunsdfti.c: Likewise.
45625         * soft-fp/fixunssfdi.c: Likewise.
45626         * soft-fp/fixunssfsi.c: Likewise.
45627         * soft-fp/fixunssfti.c: Likewise.
45628         * soft-fp/fixunstfdi.c: Likewise.
45629         * soft-fp/fixunstfsi.c: Likewise.
45630         * soft-fp/fixunstfti.c: Likewise.
45631         * soft-fp/floatdidf.c: Likewise.
45632         * soft-fp/floatdisf.c: Likewise.
45633         * soft-fp/floatditf.c: Likewise.
45634         * soft-fp/floatsidf.c: Likewise.
45635         * soft-fp/floatsisf.c: Likewise.
45636         * soft-fp/floatsitf.c: Likewise.
45637         * soft-fp/floattidf.c: Likewise.
45638         * soft-fp/floattisf.c: Likewise.
45639         * soft-fp/floattitf.c: Likewise.
45640         * soft-fp/floatundidf.c: Likewise.
45641         * soft-fp/floatundisf.c: Likewise.
45642         * soft-fp/floatunsidf.c: Likewise.
45643         * soft-fp/floatunsisf.c: Likewise.
45644         * soft-fp/floatuntidf.c: Likewise.
45645         * soft-fp/floatuntisf.c: Likewise.
45646         * soft-fp/floatuntitf.c: Likewise.
45647         * soft-fp/fmadf4.c: Likewise.
45648         * soft-fp/fmasf4.c: Likewise.
45649         * soft-fp/fmatf4.c: Likewise.
45650         * soft-fp/gedf2.c: Likewise.
45651         * soft-fp/gesf2.c: Likewise.
45652         * soft-fp/getf2.c: Likewise.
45653         * soft-fp/ledf2.c: Likewise.
45654         * soft-fp/lesf2.c: Likewise.
45655         * soft-fp/letf2.c: Likewise.
45656         * soft-fp/muldf3.c: Likewise.
45657         * soft-fp/mulsf3.c: Likewise.
45658         * soft-fp/multf3.c: Likewise.
45659         * soft-fp/negdf2.c: Likewise.
45660         * soft-fp/negsf2.c: Likewise.
45661         * soft-fp/negtf2.c: Likewise.
45662         * soft-fp/op-1.h: Likewise.
45663         * soft-fp/op-2.h: Likewise.
45664         * soft-fp/op-4.h: Likewise.
45665         * soft-fp/op-8.h: Likewise.
45666         * soft-fp/op-common.h: Likewise.
45667         * soft-fp/quad.h: Likewise.
45668         * soft-fp/single.h: Likewise.
45669         * soft-fp/soft-fp.h: Likewise.
45670         * soft-fp/sqrtdf2.c: Likewise.
45671         * soft-fp/sqrtsf2.c: Likewise.
45672         * soft-fp/sqrttf2.c: Likewise.
45673         * soft-fp/subdf3.c: Likewise.
45674         * soft-fp/subsf3.c: Likewise.
45675         * soft-fp/subtf3.c: Likewise.
45676         * soft-fp/truncdfsf2.c: Likewise.
45677         * soft-fp/trunctfdf2.c: Likewise.
45678         * soft-fp/trunctfsf2.c: Likewise.
45679         * soft-fp/trunctfxf2.c: Likewise.
45680         * soft-fp/unorddf2.c: Likewise.
45681         * soft-fp/unordsf2.c: Likewise.
45682         * soft-fp/unordtf2.c: Likewise.
45684 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45686         [BZ #15672]
45687         * misc/error.c (error_tail): Fix possible buffer overflow.
45689 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45691         [BZ #13028]
45692         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45693         address.
45695 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45697         [BZ #832]
45698         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45699         testing pipefail option.
45701 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45703         * soft-fp/double.h: Indent preprocessor directives inside #if.
45704         * soft-fp/extended.h: Likewise.
45705         * soft-fp/op-2.h: Likewise.
45706         * soft-fp/op-4.h: Likewise.
45707         * soft-fp/op-common.h: Likewise.
45708         * soft-fp/quad.h: Likewise.
45709         * soft-fp/single.h: Likewise.
45710         * soft-fp/soft-fp.h: Likewise.
45712 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45714         * iconv/iconv_prog.c: Fix typos.
45715         * stdio-common/psiginfo-data.h: Likewise.
45717 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45719         [BZ #15764]
45720         * locale/setlocale.c: Fix typo.
45722 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45724         [BZ #16036]
45725         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45726         signaling NaN arguments.
45727         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45728         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45730         [BZ #14910]
45731         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45732         unordered operands.
45733         * soft-fp/gesf2.c (__gesf2): Likewise.
45734         * soft-fp/getf2.c (__getf2): Likewise.
45735         * soft-fp/ledf2.c (__ledf2): Likewise.
45736         * soft-fp/lesf2.c (__lesf2): Likewise.
45737         * soft-fp/letf2.c (__letf2): Likewise.
45739         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45740         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45741         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45742         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45743         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45744         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45745         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45746         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45747         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45748         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45749         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45750         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45751         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45752         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45753         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45754         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45755         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45756         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45757         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45758         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45759         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45760         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45761         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45762         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45763         * soft-fp/floattidf.c (__floattidf): Likewise.
45764         * soft-fp/floattisf.c (__floattisf): Likewise.
45765         * soft-fp/floattitf.c (__floattitf): Likewise.
45766         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45767         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45768         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45769         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45770         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45771         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45772         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45773         * soft-fp/gesf2.c (__gesf2): Likewise.
45774         * soft-fp/getf2.c (__getf2): Likewise.
45775         * soft-fp/ledf2.c (__ledf2): Likewise.
45776         * soft-fp/lesf2.c (__lesf2): Likewise.
45777         * soft-fp/letf2.c (__letf2): Likewise.
45779         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45780         Undefine and redefine.
45781         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45782         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45783         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45784         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45785         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45786         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45787         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45788         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45789         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45790         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45791         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45792         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45793         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45794         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45795         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45797         [BZ #16032]
45798         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45799         without decrementing exponent if mantissa >= that for the
45800         denominator, not >.
45801         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45802         denominator, not >.  Decrement exponent in < case instead of
45803         incrementing in >= case.
45804         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45805         without decrementing exponent if mantissa >= that for the
45806         denominator, not >.
45808         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45809         computing saturated result for unsigned overflow.
45811 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45812             Jeff Law  <law@redhat.com>
45814         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45815         (atan2Mp): Add systemtap probe marker.
45816         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45817         (__ieee754_log): Add systemtap probe marker.
45818         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45819         (atanMp): Add systemtap probe marker.
45820         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45821         (tanMp): Add systemtap probe marker.
45822         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45823         (__slowexp): Add systemtap probe marker.
45824         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45825         (__slowpow): Add systemtap probe marker.
45826         * manual/probes.texi: Document probes.
45828 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45830         [BZ #15362]
45831         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45832         written.
45833         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45834         written.
45835         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45836         written to buffer but not flushed.
45837         * libio/iofwrite_u.c:  Likewise.
45838         * libio/iopadn.c:  Return bytes returned even if EOF was
45839         encountered.
45840         * libio/iowpadn.c:  Likewise.
45841         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45842         if _IO_padn does not write the whole buffer.
45843         [!COMPILE_WPRINTF] (PAD): Likewise.
45845 2013-10-10  David S. Miller  <davem@davemloft.net>
45847         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45848         directory block.
45850 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45852         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45853         instead of FSF address.
45854         * soft-fp/fixdfti.c: Likewise.
45855         * soft-fp/fixsfti.c: Likewise.
45856         * soft-fp/fixtfti.c: Likewise.
45857         * soft-fp/fixunsdfti.c: Likewise.
45858         * soft-fp/fixunssfti.c: Likewise.
45859         * soft-fp/fixunstfti.c: Likewise.
45860         * soft-fp/floattidf.c: Likewise.
45861         * soft-fp/floattisf.c: Likewise.
45862         * soft-fp/floattitf.c: Likewise.
45863         * soft-fp/floatuntidf.c: Likewise.
45864         * soft-fp/floatuntisf.c: Likewise.
45865         * soft-fp/floatuntitf.c: Likewise.
45866         * soft-fp/trunctfxf2.c: Likewise.
45868         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45869         * soft-fp/fixdfti.c: Likewise.
45870         * soft-fp/fixsfti.c: Likewise.
45871         * soft-fp/fixtfti.c: Likewise.
45872         * soft-fp/fixunsdfti.c: Likewise.
45873         * soft-fp/fixunssfti.c: Likewise.
45874         * soft-fp/fixunstfti.c: Likewise.
45875         * soft-fp/floattidf.c: Likewise.
45876         * soft-fp/floattisf.c: Likewise.
45877         * soft-fp/floattitf.c: Likewise.
45878         * soft-fp/floatuntidf.c: Likewise.
45879         * soft-fp/floatuntisf.c: Likewise.
45880         * soft-fp/floatuntitf.c: Likewise.
45881         * soft-fp/trunctfxf2.c: Likewise.
45883 2013-10-10  David S. Miller  <davem@davemloft.net>
45885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45887 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45889         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45890         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45891         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45892         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45893         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45894         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45895         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45897         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45898         for NaNs before doing comparisons on argument.
45899         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45900         Likewise.
45902 2013-10-10  Will Newton  <will.newton@linaro.org>
45904         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45905         passed to _int_memalign does not overflow.
45907 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45909         * scripts/bench.pl: Add include-sources directive.
45910         * benchtests/README: Update documentation.
45912 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45914         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45915         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45916         instead of FP_INIT_ROUNDMODE.
45917         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45918         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45920         [BZ #16034]
45921         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45922         copy class of input value.
45923         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45924         not handle exceptions.
45925         * soft-fp/negsf2.c (__negsf2): Likewise.
45926         * soft-fp/negtf2.c (__negtf2): Likewise.
45927         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45929 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45931         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45932         semicolon.  From Linux kernel.
45934 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45936         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45938 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45940         [BZ #156]
45941         * manual/socket.texi: Added statement about buffer
45942         for gethostbyname2_r.
45944 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45946         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45947         Use .p2align directive instead, throughout.
45948         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45949         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45950         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45951         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45952         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45953         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45954         * sysdeps/x86_64/strchr.S: Likewise.
45955         * sysdeps/x86_64/strrchr.S: Likewise.
45957 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45959         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45961         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45963         * sysdeps/generic/math_private.h (__mpsin1): Remove
45964         declaration.
45965         (__mpcos1): Likewise.
45966         (__mpsin): New argument __range_reduce.
45967         (__mpcos): Likewise.
45968         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45969         (slow): Use __mpsin and __mpcos.
45970         (slow1): Likewise.
45971         (slow2): Likewise.
45972         (sloww): Likewise.
45973         (sloww1): Likewise.
45974         (sloww2): Likewise.
45975         (bsloww): Likewise.
45976         (bsloww1): Likewise.
45977         (bsloww2): Likewise.
45978         (cslow2): Likewise.
45979         (csloww): Likewise.
45980         (csloww1): Likewise.
45981         (csloww2): Likewise.
45982         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45983         range_reduce.  Merge in __mpsin1.
45984         (__mpcos): Likewise.
45985         (__mpsin1): Remove.
45986         (__mpcos1): Likewise.
45988 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45990         * locale/loadlocale.c (_nl_intern_locale_data): Use
45991         LOCFILE_ALIGNED_P.
45992         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45993         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45994         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45995         obstack data is appropriately aligned.
45996         (obstack_int32_grow_fast): Likewise.
45997         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45998         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45999         (add_locale_uint32_array): Likewise.
46001 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46003         * benchtests/Makefile: Remove ARGLIST and RET variables.
46004         ($(objpfx)bench-%.c): Pass only function name to the script.
46005         * benchtests/README: Update documentation.
46006         * benchtests/acos-inputs: Add new directives.
46007         * benchtests/acosh-inputs: Likewise.
46008         * benchtests/asin-inputs: Likewise.
46009         * benchtests/asinh-inputs: Likewise.
46010         * benchtests/atan-inputs: Likewise.
46011         * benchtests/atanh-inputs: Likewise.
46012         * benchtests/cos-inputs: Likewise.
46013         * benchtests/cosh-inputs: Likewise.
46014         * benchtests/exp-inputs: Likewise.
46015         * benchtests/log-inputs: Likewise.
46016         * benchtests/pow-inputs: Likewise.
46017         * benchtests/rint-inputs: Likewise.
46018         * benchtests/sin-inputs: Likewise.
46019         * benchtests/sinh-inputs: Likewise.
46020         * benchtests/tan-inputs: Likewise.
46021         * benchtests/tanh-inputs: Likewise.
46022         * scripts/bench.pl: Add support for new directives.
46024 2013-10-07  Alan Modra  <amodra@gmail.com>
46026         * README: Fix careless merge.
46028 2013-10-05  Alan Modra  <amodra@gmail.com>
46030         * NEWS: Mention powerpc64le support and bugs fixed.
46031         * README: Both big-endian and little-endian powerpc64 supported.
46033 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46035         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46036         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46037         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46038         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46040 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46042         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46043         match prototype.
46045 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46047         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46048         Move -mhard-float appending from
46049         ports/sysdeps/powerpc/powerpc32/Makefile.
46050         [$(with-fp) = yes] (ASFLAGS): Likewise.
46051         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46052         * sysdeps/powerpc/nofpu: Move directory from
46053         ports/sysdeps/powerpc/nofpu.
46054         * sysdeps/powerpc/soft-fp: Move directory from
46055         ports/sysdeps/powerpc/soft-fp.
46056         * sysdeps/powerpc/powerpc32/405: Move directory from
46057         ports/sysdeps/powerpc/powerpc32/405.
46058         * sysdeps/powerpc/powerpc32/440: Move directory from
46059         ports/sysdeps/powerpc/powerpc32/440.
46060         * sysdeps/powerpc/powerpc32/464: Move directory from
46061         ports/sysdeps/powerpc/powerpc32/464.
46062         * sysdeps/powerpc/powerpc32/476: Move directory from
46063         ports/sysdeps/powerpc/powerpc32/476.
46064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46065         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46067         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46069         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46071         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46073         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46074         * README: Update for powerpc-*-linux-gnu software floating point
46075         support in libc.
46077         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46078         case to powerpc/powerpc32*.
46079         * sysdeps/unix/sysv/linux/configure: Regenerated.
46081         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46082         (_FPU_MASK_OM): Define as 0x04.
46083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46085         0x00c10080.
46086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46087         0x0000003c.
46088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46091         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46092         getcontext_e500.
46093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46094         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46095         setcontext_e500.
46096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46097         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46098         and setcontext_e500.
46100 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46102         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46104 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46106         * manual/threads.texi (Default Thread Attributes): Fix typo.
46108 2013-10-04  Will Newton  <will.newton@linaro.org>
46110         * malloc/Makefile: Add tst-memalign.
46111         * malloc/tst-memalign.c: New file.
46113         * malloc/tst-posix_memalign.c: Add comments.
46114         (do_test): Add comments and call free on all potentially
46115         allocated pointers. Add space after cast.
46117         * malloc/tst-pvalloc.c: Add comments.
46118         (do_test): Add comments and call free on all potentially
46119         allocated pointers. Remove duplicate check for NULL pointer.
46120         Add space after cast.
46122         * malloc/tst-valloc.c: Add comments.
46123         (do_test): Add comments and call free on all potentially
46124         allocated pointers. Remove duplicate check for NULL pointer.
46125         Add space after cast.
46127 2013-10-04  Alan Modra  <amodra@gmail.com>
46129         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46130         Use stdint types in rather than __attribute__((mode())).
46131         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46133 2013-10-04  Alan Modra  <amodra@gmail.com>
46135         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46136         Correct handling of unaligned relocs for little-endian.
46137         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46139 2013-10-04  Alan Modra  <amodra@gmail.com>
46141         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46142         * configure: Regenerate.
46143         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46144         * shlib-versions: Likewise.
46146 2013-10-04  Alan Modra  <amodra@gmail.com>
46148         * string/tester.c (test_memrchr): Increment reported test cycle.
46150 2013-10-04  Alan Modra  <amodra@gmail.com>
46152         * string/test-memcpy.c (do_one_test): When reporting errors, print
46153         string address and don't overrun end of string.
46155 2013-10-04  Alan Modra  <amodra@gmail.com>
46157         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46158         insrdi.  Make better use of reg selection to speed exit slightly.
46159         Schedule entry path a little better.  Remove useless "are we done"
46160         checks on entry to main loop.  Handle wrapping around zero address.
46161         Correct main loop count.  Handle single left-over word from main
46162         loop inline rather than by using loop_small.  Remove extra word
46163         case in loop_small caused by wrong loop count.  Add little-endian
46164         support.
46165         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46166         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46167         cache hint.
46168         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46169         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46170         support.  Avoid rlwimi.
46171         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46173 2013-10-04  Alan Modra  <amodra@gmail.com>
46175         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46176         insrdi.  Formatting.
46177         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46178         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46179         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46180         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46181         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46182         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46184 2013-10-04  Alan Modra  <amodra@gmail.com>
46186         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46187         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46188         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46189         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46190         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46191         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46192         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46193         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46194         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46195         use of regs.  Use power7 mtocrf.  Tidy function tails.
46197 2013-10-04  Alan Modra  <amodra@gmail.com>
46199         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46200         Formatting.  Consistently use rXXX register defines or rN defines.
46201         Use early exit labels that avoid restoring unused non-volatile regs.
46202         Make cr field use more consistent with rWORDn compares.  Rename
46203         regs used as shift registers for unaligned loop, using rN defines
46204         for short lifetime/multiple use regs.
46205         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46206         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46207         addi 1,1,64 to pop stack frame.  Simplify return value code.
46208         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46210 2013-10-04  Alan Modra  <amodra@gmail.com>
46212         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46213         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46214         rather than rlwimi.
46215         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46216         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46217         little-endian support.  Correct typos.
46218         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46219         rather than rlwimi.
46220         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46221         in loop and entry code to keep "and." results.
46222         (strchr): Add little-endian support.  Comment.  Move cntlzd
46223         earlier in tail.
46224         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46226 2013-10-04  Alan Modra  <amodra@gmail.com>
46228         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46229         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46230         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46231         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46233 2013-10-04  Alan Modra  <amodra@gmail.com>
46235         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46236         (rTMP): Define as r11.
46237         (strcmp): Add little-endian support.  Optimise tail.
46238         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46239         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46240         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46241         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46242         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46243         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46244         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46246 2013-10-04  Alan Modra  <amodra@gmail.com>
46248         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46249         little-endian support.  Remove unnecessary "are we done" tests.
46250         Handle "s" wrapping around zero and extremely large "size".
46251         Correct main loop count.  Handle single left-over word from main
46252         loop inline rather than by using small_loop.  Correct comments.
46253         Delete "zero" tail, use "end_max" instead.
46254         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46256 2013-10-04  Alan Modra  <amodra@gmail.com>
46258         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46259         support.  Don't branch over align.
46260         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46261         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46262         support.  Rearrange tmp reg use to suit.  Comment.
46263         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46265 2013-10-04  Alan Modra  <amodra@gmail.com>
46267         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46269 2013-10-04  Alan Modra  <amodra@gmail.com>
46271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46272         conditional form of branch and link when obtaining pc.
46273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46275 2013-10-04  Alan Modra  <amodra@gmail.com>
46277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46278         HIWORD/LOWORD.
46279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46282 2013-10-04  Alan Modra  <amodra@gmail.com>
46284         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46285         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46286         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46287         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46288         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46289         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46290         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46291         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46292         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46293         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46295 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46296             Alistair Popple <alistair@ozlabs.au.ibm.com>
46297             Alan Modra <amodra@gmail.com>
46299         [BZ #15723]
46300         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46301         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46302         _dl_hwcap access for little-endian.
46303         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46304         destroy vmx regs when saving unaligned.
46305         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46306         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46307         destroy vmx regs when saving unaligned.
46309 2013-10-04  Alan Modra  <amodra@gmail.com>
46311         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46312         Don't use a union to pack hi/low value.
46314 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46316         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46317         for little-endian.
46318         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46319         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46320         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46321         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46322         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46324 2013-10-04  Alan Modra  <amodra@gmail.com>
46326         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46327         constants to usual value for .cst8 section, and remove redundant
46328         high address load.
46329         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46330         constant for 0x1p52.  Load little-endian words of double from
46331         correct stack offsets.
46333 2013-10-04  Alan Modra  <amodra@gmail.com>
46335         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46336         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46337         words of double from correct stack offsets.
46338         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46339         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46340         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46341         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46342         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46343         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46344         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46345         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46346         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46347         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46348         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46349         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46350         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46351         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46352         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46353         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46354         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46356 2013-10-04  Alan Modra  <amodra@gmail.com>
46358         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46359         64-bit int/double union.
46360         (_FPU_SETCW): Likewise.
46361         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46362         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46364 2013-10-04  Alan Modra  <amodra@gmail.com>
46366         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46367         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46369 2013-10-04  Alan Modra  <amodra@gmail.com>
46371         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46372         use vector int constants.
46373         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46375 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46377         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46378         array with long long.
46379         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46380         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46381         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46382         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46383         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46384         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46385         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46386         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46387         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46388         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46389         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46390         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46391         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46393 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46395         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46396         (__signbit): Likewise.  Correct for little-endian.
46397         (__signbitl): Call __signbit.
46398         (lrint): Correct for little-endian.
46399         (lrintf): Call lrint.
46401 2013-10-04  Alan Modra  <amodra@gmail.com>
46403         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46404         union 32-bit int array member with 64-bit int array.
46405         (t515, tm256): Double rather than long double.
46406         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46408 2013-10-04  Alan Modra  <amodra@gmail.com>
46410         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46411         Delete.
46412         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46413         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46414         version of math_ldbl.h.
46416 2013-10-04  Alan Modra  <amodra@gmail.com>
46418         [BZ #15734], [BZ #15735]
46419         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46420         all uses of ieee875 long double macros and unions.  Simplify test
46421         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46422         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46423         normalize after ldbl_extract_mantissa, and don't add hidden bit
46424         already handled.  Don't treat low word of ieee854 mantissa like
46425         low word of IBM long double and mask off bit when testing for
46426         zero.
46427         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46428         all uses of ieee875 long double macros and unions.  Simplify tests
46429         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46430         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46431         two1022, instead use their values.  Recognise that tests for large
46432         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46433         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46434         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46435         test for 0.0L and nan.  Correct negation.
46436         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46437         ieee875 long double macros and unions.  Correct output for large
46438         magnitude x.  Correct absolute value calculation.
46439         (__erfcl): Likewise.
46440         * math/libm-test.inc: Add tests for errors discovered in IBM long
46441         double versions of fmodl, remainderl, erfl and erfcl.
46443 2013-10-04  Alan Modra  <amodra@gmail.com>
46445         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46446         all uses of ieee854 long double macros and unions.  Simplify tests
46447         for long doubles that are fully specified by the high double.
46448         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46449         Likewise.
46450         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46451         Remove dead code too.
46452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46453         (__ieee754_ynl): Likewise.
46454         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46455         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46456         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46457         Remove dead code too.
46458         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46459         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46460         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46461         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46462         Simplify.
46463         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46464         Simplify.
46465         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46466         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46467         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46468         Comment on variable precision.
46469         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46470         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46471         Likewise.
46472         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46473         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46474         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46475         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46476         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46478 2013-10-04  Alan Modra  <amodra@gmail.com>
46480         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46481         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46482         all uses of ieee854 long double macros and unions.
46483         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46484         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46485         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46486         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46487         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46488         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46489         Likewise.
46490         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46491         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46492         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46493         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46494         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46495         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46496         Simplify sign and nan test too.
46497         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46498         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46499         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46500         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46501         Likewise.
46502         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46503         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46504         Likewise.
46505         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46506         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46507         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46508         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46509         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46510         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46512 2013-10-04  Alan Modra  <amodra@gmail.com>
46514         * stdio-common/printf_size.c (__printf_size): Don't use
46515         union ieee854_long_double in fpnum union.
46516         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46517         signbit macro to retrieve sign from long double.
46518         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46519         retrieve sign from long double.
46520         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46521         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46522         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46523         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46524         * math/test-misc.c (main): Don't use union ieee854_long_double.
46526 2013-10-04  Alan Modra  <amodra@gmail.com>
46528         [BZ #15680]
46529         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46530         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46531         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46532         calculation.  Remove unnecessary test for denormal exponent.
46533         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46534         Correct handling of denormals.  Avoid undefined shift behaviour.
46535         Correct normalisation of low mantissa when low double is denormal.
46536         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46537         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46538         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46539         Correct normalisation of low mantissa.  Test for overflow of high
46540         mantissa and normalise.
46541         (ldbl_nearbyint): Use more readable constant for two52.
46542         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46543         (__mpn_construct_long_double): Fix test for overflow of high
46544         mantissa and correct normalisation.  Avoid undefined shift.
46546 2013-10-04  Alan Modra  <amodra@gmail.com>
46548         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46549         (union ibm_extended_long_double): Define as an array of ieee754_double.
46550         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46551         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46552         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46553         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46554         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46555         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46557         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46558         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46559         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46560         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46562 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46564         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46565         page size instead of calling getpagesize.
46567         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46568         (LOCFILE_ALIGN_MASK): Likewise.
46569         (LOCFILE_ALIGN_UP): Likewise.
46570         (LOCFILE_ALIGNED_P): Likewise.
46571         * locale/programs/ld-collate.c (collate_output): Use the new
46572         macros instead of __alignof__ (int32_t).
46573         * locale/weight.h (findidx): Likewise.
46575 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46577         [BZ #431]
46578         * manual/string.texi: Fix strncat and wcsncat.
46580 2013-10-03  Brooks Moses  <bmoses@google.com>
46582         [BZ #15915]
46583         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46584         * Makerules: ...here, and adjust associated comments.
46586 2013-10-02  Will Newton  <will.newton@linaro.org>
46588         * malloc/Makefile: Add tst-pvalloc.
46589         * malloc/tst-pvalloc.c: New file.
46591 2013-10-02  Will Newton  <will.newton@linaro.org>
46593         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46594         improve test coverage.
46596 2013-10-02  Will Newton  <will.newton@linaro.org>
46598         * malloc/Makefile: Add tst-posix_memalign.
46599         * malloc/tst-posix_memalign.c: New file.
46601 2013-10-01  Eric Blake  <eblake@redhat.com>
46603         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46604         Use __THROWNL rather than __THROW on static functions.
46606 2013-09-30  Petr Machata  <pmachata@redhat.com>
46608         * elf/elf.h (R_AARCH64_ABS16): New macro.
46609         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46610         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46611         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46612         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46613         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46614         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46615         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46616         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46617         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46618         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46619         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46620         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46621         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46622         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46623         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46624         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46625         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46626         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46627         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46628         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46629         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46630         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46631         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46632         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46633         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46634         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46635         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46636         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46637         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46638         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46639         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46640         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46641         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46642         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46643         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46644         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46645         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46646         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46647         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46648         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46649         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46650         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46651         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46652         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46653         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46654         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46655         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46656         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46657         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46658         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46659         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46660         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46661         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46662         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46663         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46664         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46665         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46666         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46667         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46668         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46669         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46670         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46671         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46672         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46673         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46674         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46675         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46676         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46677         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46678         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46679         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46680         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46681         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46682         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46683         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46684         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46685         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46686         (R_AARCH64_TLSDESC_LDR): Likewise.
46687         (R_AARCH64_TLSDESC_ADD): Likewise.
46688         (R_AARCH64_TLSDESC_CALL): Likewise.
46690 2013-09-30  Andreas Schwab  <schwab@suse.de>
46692         [BZ #15048]
46693         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46694         the nss database lookup.
46695         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46698 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46700         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46702 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46704         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46705         ${Bash-specific parameter/pattern/string} parameter expansion.
46706         * sysdeps/unix/make-syscalls.sh: Likewise.
46708 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46710         * sysdeps/sh/stackguard-macros.h: New file.
46712 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46716         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46717         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46718         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46719         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46721 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46723         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46724         Fix thread ID register.
46726 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46728         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46729         [POSIX || UNIX98]: Require rather than permitting all symbols from
46730         <time.h>.
46731         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46732         element of struct sched_param.
46733         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46734         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46735         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46736         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46737         constant.
46739 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46741         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46742         argument calculation.
46744 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46746         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46747         Expect macro.
46748         [POSIX] (pthread_attr_t): Do not require type.
46749         [POSIX] (pthread_cond_t): Likewise.
46750         [POSIX] (pthread_condattr_t): Likewise.
46751         [POSIX] (pthread_key_t): Likewise.
46752         [POSIX] (pthread_mutex_t): Likewise.
46753         [POSIX] (pthread_mutexattr_t): Likewise.
46754         [POSIX] (pthread_once_t): Likewise.
46755         [POSIX] (pthread_t): Likewise.
46756         [POSIX-based standards] (pthread_atfork): Expect function.
46758 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46759             Richard Sandiford  <richard@codesourcery.com>
46761         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46762         (swap_endianness_p): New extern variable.
46763         (set_big_endian): New inline function.
46764         (maybe_swap_uint32): Likewise.
46765         (maybe_swap_uint32_array): Likewise.
46766         (maybe_swap_uint32_obstack): Likewise.
46767         * locale/programs/locfile.c: Include <stdbool.h>.
46768         (swap_endianness_p): New variable.
46769         (add_locale_uint32): Call maybe_swap_uint32.
46770         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46771         (write_locale_data): Call maybe_swap_uint32_array.
46772         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46773         maybe_swap_uint32.
46774         (obstack_int32_grow_fast): Likewise.
46775         (output_weightwc): Call maybe_swap_uint32_obstack.
46776         (collate_output): Likewise.
46777         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46778         (OPT_LITTLE_ENDIAN): Likewise.
46779         (options): Add --little-endian and --big-endian options.
46780         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46781         * locale/programs/locarchive.c: Include "locfile.h".
46782         (GET): New macro.
46783         (SET): Likewise.
46784         (INC): Likewise.
46785         (create_archive): Use the new macros to access fields of
46786         structures directly mapped from or written to locale archives.
46787         (oldlocrecentcmp): Likewise.
46788         (enlarge_archive): Likewise.
46789         (insert_name): Likewise.
46790         (add_alias): Likewise.
46791         (add_locale): Likewise.
46792         (delete_locales_from_archive): Likewise.
46793         (show_archive_content): Likewise.
46794         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46795         locale data.
46797 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46799         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46800         http://www.gnu.org/doc/freemanuals.texi.
46801         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46803 2013-09-24  Will Newton  <will.newton@linaro.org>
46805         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46806         macro.
46808 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46810         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46811         unsigned char.
46813 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46815         * manual/threads.texi (POSIX Threads): Fix a typo.
46817 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46819         [BZ #14547]
46820         * string/tst-strcoll-overflow.c: New test case.
46821         * string/Makefile (xtests): Add tst-strcoll-overflow.
46822         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46823         cache if string sizes may cause integer overflow.
46825         [BZ #14547]
46826         * string/strcoll_l.c (coll_seq): New members rule, idx,
46827         save_idx and back_us.
46828         (get_next_seq_nocache): New function.
46829         (do_compare_nocache): New function.
46830         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46831         when malloc fails.
46833 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46835         [BZ #15754]
46836         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46837         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46838         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46840         [BZ #15754]
46841         * elf/Makefile (tests): Add tst-ptrguard1.
46842         (tests-static): Add tst-ptrguard1-static.
46843         (tst-ptrguard1-ARGS): Define.
46844         (tst-ptrguard1-static-ARGS): Define.
46845         * elf/tst-ptrguard1.c: New file.
46846         * elf/tst-ptrguard1-static.c: New file.
46847         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46848         * sysdeps/i386/stackguard-macros.h: Likewise.
46849         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46850         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46851         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46852         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46853         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46854         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46856 2013-09-23  Hector Marco  <hecmargi@upv.es>
46857             Ismael Ripoll  <iripoll@disca.upv.es>
46858             Carlos O'Donell  <carlos@redhat.com>
46860         [BZ #15754]
46861         * sysdeps/generic/stackguard-macros.h: Define
46862         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46863         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46864         Define __pointer_chk_guard_local.
46865         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46866         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46868 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46870         [BZ #15859]
46871         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46873 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46875         * include/string.h (__ffs): Declare as hidden.
46876         * string/ffs.c (__ffs): Define as hidden.
46877         * sysdeps/i386/ffs.c (__ffs): Likewise.
46878         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46879         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46880         * sysdeps/s390/ffs.c (__ffs): Likewise.
46881         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46883 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46885         * NEWS: Mention malloc probes.
46887         * malloc/arena.c (new_heap): New memory_heap_new probe.
46888         (grow_heap): New memory_heap_more probe.
46889         (shrink_heap): New memory_heap_less probe.
46890         (heap_trim): New memory_heap_free probe.
46891         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46892         (systrim): New memory_sbrk_less probe.
46893         * manual/probes.texi: Document them.
46895         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46896         * manual/probes.texi: Document it.
46898         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46899         (__libc_realloc): Add memory_realloc_retry probe.
46900         (__libc_memalign): Add memory_memalign_retry probe.
46901         (__libc_valloc): Add memory_valloc_retry probe.
46902         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46903         (__libc_calloc): Add memory_calloc_retry probe.
46904         * manual/probes.texi: Document them.
46906         * malloc/arena.c (get_free_list): Add probe
46907         memory_arena_reuse_free_list.
46908         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46909         and memory_arena_reuse.
46910         (arena_get2) [!PER_THREAD]: Likewise.
46911         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46912         memory_arena_reuse_realloc.
46913         * manual/probes.texi: Document them.
46915         * malloc/malloc.c (__libc_free): Add
46916         memory_mallopt_free_dyn_thresholds probe.
46917         (__libc_mallopt): Add multiple memory_mallopt probes.
46918         * manual/probes.texi: Document them.
46920         * malloc/malloc.c: Include stap-probe.h.
46921         (__libc_mallopt): Add memory_mallopt probe.
46922         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46923         * manual/probes.texi: New.
46924         * manual/Makefile (chapters): Add probes.
46925         * manual/threads.texi: Set next node.
46927 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46929         [BZ #15963, #13985]
46930         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46931         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46932         Add `Chinese' to `nan' entry name.
46934 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46936         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46937         (POLYNOMIAL): Likewise.
46938         (TAYLOR_SINCOS): Likewise.
46939         (TAYLOR_SLOW): Likewise.
46940         (__sin): Use TAYLOR_SINCOS.
46941         (__cos): Likewise.
46942         (slow): Use TAYLOR_SLOW.
46943         (sloww): Likewise.
46944         (bsloww): Likewise.
46945         (csloww): Likewise.
46947 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46949         * stdlib/strtod_l.c: Fix buffer overrun.
46951 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46953         * benchtests/Makefile (bench): Add sincos.
46954         * benchtests/bench-sincos.c: New file.
46956         * math/libm-test.inc (cos_test_data): New test inputs.
46957         (sin_test_data): Likewise.
46959         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46960         macro.
46961         (__sin): Use it.
46962         (__cos): Likewise.
46963         (slow1): Likewise.
46964         (slow2): Likewise.
46965         (sloww1): Likewise.
46966         (sloww2): Likewise.
46967         (bsloww1): Likewise.
46968         (bsloww2): Likewise.
46969         (cslow2): Likewise.
46970         (csloww1): Likewise.
46971         (csloww2): Likewise.
46973         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46974         function.
46975         (__sin): Use it.
46976         (__cos): Likewise.
46978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46979         gotos.
46980         (__cos): Likewise.
46982 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46984         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46985         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46986         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46987         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46988         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46989         * elf/cache.c (print_entry): Handle the new cache flags.
46991 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46992             Aldy Hernandez  <aldyh@redhat.com>
46994         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46995         Change condition to [_SOFT_FLOAT].
46996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46997         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46999         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47008         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47011         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47012         declaration.
47014 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47016         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47017         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47018         (__longjmp): Use LOAD_GP to load saved GPRs.
47019         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47020         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47021         (__sigsetjmp): Use SAVE_GP to save GPRs.
47023         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47024         Do not append -msoft-float.
47025         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47027 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47029         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47031 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47033         [BZ #15966]
47034         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47035         (_FPU_GETCW): Use initial "__" on variable and field names but not
47036         on macro parameter name.
47037         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47038         parentheses around reference to macro parameter.
47040 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47042         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47043         prototype.
47044         (ctype_startup): Use uint32_t in cast and sizeof for
47045         ctype->charnames.
47047 2013-09-11  Jia Liu  <proljc@gmail.com>
47049         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47050         __daddr_t_defined.
47051         [__FreeBSD__]: Likewise.
47053 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47056         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47057         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47058         (strchr): Remove __strchr_sse42 ifunc selection.
47059         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47060         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47062 2013-09-11  Will Newton  <will.newton@linaro.org>
47064         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47065         parameter to RES. Remove hardcoded 1000 value.
47066         * benchtests/bench-skeleton.c (main): Pass RES parameter
47067         to TIMING_INIT and multiply result by 1000.
47069 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47073 2013-09-11  Andreas Schwab  <schwab@suse.de>
47075         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47076         if not defined.
47077         (O_TMPFILE) [__USE_GNU]: Define.
47078         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47079         Define.
47081 2013-09-11  Will Newton  <will.newton@linaro.org>
47083         [BZ #15857]
47084         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47085         does not overflow.
47087 2013-09-11  Will Newton  <will.newton@linaro.org>
47089         [BZ #15856]
47090         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47091         does not overflow.
47093 2013-09-11  Will Newton  <will.newton@linaro.org>
47095         [BZ #15855]
47096         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47097         does not overflow.
47099 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47101         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47102         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47103         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47104         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47105         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47107 2013-09-10  Allan McRae  <allan@archlinux.org>
47109         [BZ #15748]
47110         * manual/arith.texi (Parsing of Floats): Clarify
47111         cross-reference.
47113         [BZ #15849]
47114         * manual/install.texi (Running make install): Mention
47115         --enable-pt-chown.
47116         * INSTALL: Regenerated.
47118 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47120         * csu/init-first.c (_init): Remove the !SHARED condition around
47121         FPU control word initialization.
47122         * elf/dl-support.c (_dl_fpu_control): New variable.
47123         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47124         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47125         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47126         * math/test-fpucw-static.c: New file.
47127         * math/test-fpucw-ieee.c: New file.
47128         * math/test-fpucw-ieee-static.c: New file.
47129         * math/Makefile (tests): Add `test-fpucw-ieee' and
47130         `$(tests-static)'.
47131         (tests-static): New variable.
47132         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47133         dependency to...
47134         [($(build-shared),yes)]
47135         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47136         ... this.
47137         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47138         New dependency.
47140 2013-09-09  Allan McRae  <allan@archlinux.org>
47142         [BZ #15939]
47143         * manual/string.texi (Collation Functions): Fix typo in
47144         strcoll example.
47145         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47147         [BZ #15893]
47148         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47150         [BZ #15892]
47151         * libio/memstream.c (open_memstream): Fix memory leak.
47152         * libio/wmemstream.c (open_wmemstream): Likewise.
47154         [BZ #15895]
47155         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47157 2013-09-09  Will Newton  <will.newton@linaro.org>
47159         * malloc/Makefile: Add tst-realloc to tests.
47160         * malloc/tst-realloc.c: New file.
47162 2013-09-09  Allan McRae  <allan@archlinux.org>
47164         [BZ #15844]
47165         * COPYING: Update from GNU website to fix FSF address.
47166         * COPYING.LIB: Likewise.
47168 2013-09-06  David S. Miller  <davem@davemloft.net>
47170         * po/zh_TW.po: Update Chinese (traditional) translation from
47171         translation project.
47173 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47174             Joseph Myers  <joseph@codesourcery.com>
47176         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47177         "localeinfo.h".
47178         (obstack_chunk_alloc): New macro.
47179         (obstack_chunk_free): Likewise.
47180         (record_offset): New function.
47181         (init_locale_data): Likewise.
47182         (align_locale_data): Likewise.
47183         (add_locale_empty): Likewise.
47184         (add_locale_raw_data): Likewise.
47185         (add_locale_raw_obstack): Likewise.
47186         (add_locale_string): Likewise.
47187         (add_locale_wstring): Likewise.
47188         (add_locale_uint32): Likewise.
47189         (add_locale_uint32_array): Likewise.
47190         (add_locale_char): Likewise.
47191         (start_locale_structure): Likewise.
47192         (end_locale_structure): Likewise.
47193         (start_locale_prelude): Likewise.
47194         (end_locale_prelude): Likewise.
47195         (write_locale_data): Take locale_file structure rather than an
47196         iovec.
47197         * locale/programs/locfile.h: Include "obstack.h".
47198         (struct locale_file): Change to store locale file contents instead
47199         of header.
47200         (init_locale_data): New prototype.
47201         (align_locale_data): Likewise.
47202         (add_locale_empty): Likewise.
47203         (add_locale_raw_data): Likewise.
47204         (add_locale_raw_obstack): Likewise.
47205         (add_locale_string): Likewise.
47206         (add_locale_wstring): Likewise.
47207         (add_locale_uint32): Likewise.
47208         (add_locale_uint32_array): Likewise.
47209         (add_locale_char): Likewise.
47210         (start_locale_structure): Likewise.
47211         (end_locale_structure): Likewise.
47212         (start_locale_prelude): Likewise.
47213         (end_locale_prelude): Likewise.
47214         (write_locale_data): Update prototype.
47215         * locale/programs/3level.h (struct TABLE): Remove result field.
47216         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47217         Use new locale_file interface.
47218         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47219         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47220         * locale/programs/ld-address.c (address_output): Use new
47221         locale_file interface.
47222         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47223         NO_ADD_LOCALE.
47224         (collate_finish): Don't call collseq_table_finalize.
47225         (collate_output): Use new locale_file interface.
47226         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47227         in file.
47228         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47229         (TABLE): Move defines earlier in file.
47230         (ELEMENT): Likewise.
47231         (DEFAULT): Likewise.
47232         (wctrans_table_add): Move macro and inline function earlier in
47233         file.
47234         (struct wctype_table): Move type earlier in file.
47235         (add_locale_wctype_table): New static prototype.
47236         (struct locale_ctype_t): Use logical types instead of struct iovec
47237         pointers for members.
47238         (ctype_output): Use new locale_file interface.
47239         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47240         new locale_file interface.
47241         (allocate_arrays): Update for use of new locale_file interface.
47242         * locale/programs/ld-identification.c (identification_output): Use
47243         new locale_file interface.
47244         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47245         * locale/programs/ld-messages.c (messages_output): Likewise.
47246         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47247         * locale/programs/ld-name.c (name_output): Likewise.
47248         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47249         * locale/programs/ld-paper.c (paper_output): Likewise.
47250         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47251         * locale/programs/ld-time.c (time_output): Likewise.
47253 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47255         * benchtests/Makefile: Add memrchr benchmark.
47256         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47257         benchmark as memrchr.
47258         * benchtests/bench-memrchr-ifunc.c: New file.
47259         * benchtests/bench-memrchr.c: New file.
47261 2013-09-06   Will Newton  <will.newton@linaro.org>
47263         * benchtests/Makefile (string-bench): Add memcpy.
47265 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47266             Cong Wang  <amwang@redhat.com>
47268         [BZ #15850]
47269         * sysdeps/unix/sysv/linux/bits/in.h
47270         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47271         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47272         before __USE_KERNEL_IPV6_DEFS uses.
47273         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47274         IPPROTO_BEETPH.
47275         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47276         sockaddr_in6, or ipv6_mreq.
47278 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47280         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47281         memory access for final bytes in some large inputs.
47282         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47284 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47286         * string/test-memrchr.c: New file.
47287         * string/test-memrchr-ifunc.c: New file.
47288         * string/Makefile: Add new memrchr testcase.
47290 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47292         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47293         fanotify_init returns EPERM.
47295 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47297         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47298         errors.
47299         (top level): Treat second token from macro or constant entries for
47300         allowed headers as allowed.
47301         * include/complex.h: Condition internal declarations on
47302         [!_ISOMAC].
47303         * include/fenv.h: Condition include of <stdbool.h> and internal
47304         declarations on [!_ISOMAC].
47306 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47308         [BZ #15923]
47309         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47311 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47313         * configure.in (--enable-versioning): Remove configure option.
47314         (libc_cv_asm_symver_directive): Remove configure test.
47315         (libc_cv_ld_version_script_option): Likewise.
47316         (VERSIONING): Remove variable and AC_SUBST.
47317         (DO_VERSIONING): Remove AC_DEFINE.
47318         * configure: Regenerated.
47319         * config.h.in (DO_VERSIONING): Remove macro.
47320         * Makerules [$(versioning) = yes]: Change conditionals to
47321         [$(build-shared) = yes].
47322         * config.make.in (versioning): Remove variable.
47323         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47324         [$(build-shared) = yes].
47325         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47326         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47327         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47328         [$(build-shared) = yes].
47329         * extra-lib.mk [$(versioning) = yes]: Likewise.
47330         * hurd/Makefile [$(versioning) = yes]: Likewise.
47331         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47332         [SHARED].
47333         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47334         [SHARED].
47335         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47336         [SHARED && !NO_HIDDEN].
47337         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47338         [SHARED].
47339         [SHARED && DO_VERSIONING]: Likewise..
47340         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47341         [$(build-shared) = yes].
47342         * manual/install.texi (--disable-versioning): Remove
47343         documentation.
47344         * INSTALL: Regenerated.
47345         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47346         to [SHARED].
47347         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47348         [$(build-shared) = yes].
47349         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47350         * sysdeps/i386/i686/multiarch/strstr-c.c
47351         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47352         [SHARED && !NO_HIDDEN].
47353         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47354         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47355         * sysdeps/powerpc/powerpc32/dl-machine.c
47356         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47357         * sysdeps/powerpc/powerpc32/sysdep.h
47358         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47359         to [SHARED && PIC && !NO_HIDDEN].
47360         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47361         conditional to [SHARED].
47363 2013-09-04   Will Newton  <will.newton@linaro.org>
47365         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47366         * benchtests/bench-string.h: Include bench-timing.h instead
47367         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47368         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47369         call to HP_TIMING_DIFF_INIT.
47370         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47371         instead of hp-timing.h macros.
47372         * benchtests/bench-memchr.c: Likewise.
47373         * benchtests/bench-memcmp.c: Likewise.
47374         * benchtests/bench-memcpy.c: Likewise.
47375         * benchtests/bench-memmem.c: Likewise.
47376         * benchtests/bench-memmove.c: Likewise.
47377         * benchtests/bench-memset.c: Likewise.
47378         * benchtests/bench-rawmemchr.c: Likewise.
47379         * benchtests/bench-strcasecmp.c: Likewise.
47380         * benchtests/bench-strcasestr.c: Likewise.
47381         * benchtests/bench-strcat.c: Likewise.
47382         * benchtests/bench-strchr.c: Likewise.
47383         * benchtests/bench-strcmp.c: Likewise.
47384         * benchtests/bench-strcpy.c: Likewise.
47385         * benchtests/bench-strcpy_chk.c: Likewise.
47386         * benchtests/bench-strlen.c: Likewise.
47387         * benchtests/bench-strncasecmp.c: Likewise.
47388         * benchtests/bench-strncat.c: Likewise.
47389         * benchtests/bench-strncmp.c: Likewise.
47390         * benchtests/bench-strncpy.c: Likewise.
47391         * benchtests/bench-strnlen.c: Likewise.
47392         * benchtests/bench-strpbrk.c: Likewise.
47393         * benchtests/bench-strrchr.c: Likewise.
47394         * benchtests/bench-strspn.c: Likewise.
47395         * benchtests/bench-strstr.c: Likewise.
47397 2013-09-04  Will Newton  <will.newton@linaro.org>
47399         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47401 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47403         [BZ #15427]
47404         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47405         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47406         * math/libm-test.inc (lgamma_test_data): Add more tests.
47407         * sysdeps/i386/fpu/libm-test-ulps: Update.
47408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47410 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47412         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47414         Add ifunc.
47415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47416         Add strcmp-sse2-unaligned
47417         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47419 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47421         * Versions.def (libc): Add GLIBC_2.19.
47423 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47425         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47426         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47428 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47430         [BZ #14155]
47431         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47432         intermediate calculations in recurrence.
47433         (__ieee754_ynf): Likewise.
47434         * math/libm-test.inc (jn_test_data): Do not allow spurious
47435         underflow exception.  Add more tests.
47436         (yn_test_data): Add more tests.
47437         * sysdeps/i386/fpu/libm-test-ulps: Update.
47438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47440 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47442         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47444 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47446         * csu/init-first.c: Fix then/than typos.
47447         * locale/programs/ld-collate.c: Likewise.
47448         * locale/programs/linereader.h: Likewise.
47449         * manual/charset.texi: Likewise.
47450         * manual/filesys.texi: Likewise.
47451         * manual/stdio.texi: Likewise.
47452         * manual/string.texi: Likewise.
47453         * stdlib/fmtmsg.c: Likewise.
47454         * sysdeps/i386/stpncpy.S: Likewise.
47455         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47456         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47457         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47458         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47460 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47462         * elf/dl-open.c: Fix typos.
47463         * iconvdata/gbbig5.c: Likewise.
47464         * iconvdata/iso-2022-jp.c: Likewise.
47465         * iconv/gconv_int.h: Likewise.
47466         * iconv/loop.c: Likewise.
47467         * nis/rpcsvc/nis.h: Likewise.
47468         * resolv/ns_name.c: Likewise.
47469         * stdio-common/vfscanf.c: Likewise.
47470         * streams/stropts.h: Likewise.
47471         * sunrpc/rpc_thread.c: Likewise.
47472         * sysdeps/i386/strpbrk.S: Likewise.
47473         * sysdeps/ieee754/k_standard.c: Likewise.
47474         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47475         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47476         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47477         * sysdeps/mach/hurd/profil.c: Likewise.
47478         * sysdeps/s390/dl-procinfo.h: Likewise.
47479         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47480         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47481         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47482         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47483         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47485 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47487         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47490 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47492         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47493         aix specific files.
47494         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47495         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47496         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47497         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47498         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47499         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47500         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47501         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47503 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47504             Roland McGrath  <roland@hack.frob.com>
47506         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47507         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47509 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47511         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47512         __executable_start symbol instead of _start.
47514 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47516         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47517         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47518         Move macros to...
47519         * sysdeps/gnu/ldsodefs.h: ... this new file.
47521         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47522         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47523         instead of ELFOSABI_LINUX.
47525         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47526         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47527         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47528         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47529         Likewise.
47530         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47531         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47532         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47533         Likewise.
47534         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47535         (ibm_extended_long_double): Add ieee_nan member.
47536         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47537         (do_test): New function.
47539         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47540         TEST_TRUNC.
47541         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47542         functions, renamed from truncdfsf_test, trunctfsf_test,
47543         trunctfdf_test.
47544         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47545         functions.
47546         (do_test): Run all these.
47548 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47550         * argp/argp-help.c: Fix typos.
47551         * argp/argp-parse.c: Likewise.
47552         * debug/backtracesyms.c: Likewise.
47553         * elf/elf.h: Likewise.
47554         * malloc/malloc.c: Likewise.
47555         * nis/nis_print.c: Likewise.
47556         * resolv/res_comp.c: Likewise.
47557         * stdlib/stdlib.h: Likewise.
47558         * sunrpc/clnt_tcp.c: Likewise.
47559         * sunrpc/clnt_udp.c: Likewise.
47560         * sunrpc/clnt_unix.c: Likewise.
47561         * sysdeps/unix/bsd/ptsname.c: Likewise.
47562         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47563         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47565         Likewise.
47566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47567         Likewise.
47568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47569         Likewise.
47570         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47572 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47574         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47577 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47579         [BZ #15897]
47580         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47581         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47582         ($(objpfx)bug-dl-leaf): New rule.
47583         ($(objpfx)bug-dl-leaf.so): Likewise.
47584         ($(objpfx)bug-dl-leaf.out): Likewise.
47585         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47586         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47587         * dlfcn/bug-dl-leaf.c: New test.
47588         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47589         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47590         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47591         (dlclose): Likewise.
47592         (dlmopen): Likewise.
47594 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47596         * include/netdb.h [!_ISOMAC]:
47597         Don't include <tls.h>.
47598         (h_errno, __libc_h_errno): Move declaration and macros out of
47599         [_LIBC_REENTRANT].
47601         * include/resolv.h [_RESOLV_H_]:
47602         Don't include <tls.h>.
47603         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47604         * resolv/res_libc.c: Don't include <tls.h>.
47605         (_res): Use __attribute__ ((nocommon)) in place of
47606         __attribute__ ((section (".bss"))).
47608         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47609         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47611         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47613         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47614         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47616         * resolv/res_mkquery.c: Include <sys/time.h>.
47618         * inet/ifreq.c: Moved to ...
47619         * sysdeps/unix/ifreq.c: ... here.
47620         * inet/ifreq.c: New file, true stub version.
47622         * socket/sa_len.c: New file.
47623         * socket/Makefile (aux): Add it.
47624         * sysdeps/unix/sysv/linux/Makefile
47625         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47626         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47627         and #include <socket/sa_len.c>.
47628         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47629         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47631         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47632         * bits/socket.h: ... here.
47634         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47635         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47636         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47638 2013-08-27  Andreas Schwab  <schwab@suse.de>
47640         [BZ #15736]
47641         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47642         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47643         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47644         * string/test-strcasecmp.c (test_main): Run tests in several
47645         locales.
47646         * string/test-strncasecmp.c (test_main): Likewise.
47648         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47649         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47650         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47651         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47652         (__strncasecmp_ssse3) [PIC]: Likewise.
47654 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47656         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47658         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47659         instead of explicitly declaring xdecrypt.
47660         * nis/nss_nis/nis-publickey.c: Likewise.
47662 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47664         [BZ #15890]
47665         * nscd/aicache.c: Include res_hconf.h.
47666         (addhstaiX): Initialize res_hconf.
47668 2013-08-26  Andreas Schwab  <schwab@suse.de>
47670         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47671         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47673 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47675         * nscd/aicache.c (addhstaiX): Fix indentation.
47677 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47679         * configure.ac: Quote $build_pt_chown test.
47680         * configure: Regenerated.
47682 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47684         [BZ #15532]
47685         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47686         * math/s_cexpf.c (__cexpf): Likewise.
47687         * math/s_cexpl.c (__cexpl): Likewise.
47688         * math/libm-test.inc (cexp_test_data): Correct expected return
47689         value for NaN + i0.  Add another test.
47691 2013-08-22  David S. Miller  <davem@davemloft.net>
47693         * po/ca.po: Update Catalan translation from translation project.
47694         * po/uk.po: Add Ukrainian translations from translation project.
47696 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47698         [BZ #15797]
47699         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47700         is infinite, not alongside NaN test.
47701         * math/s_fdimf.c (__fdimf): Likewise.
47702         * math/s_fdiml.c (__fdiml): Likewise.
47703         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47704         errno is unchanged.
47706 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47708         * argp/argp-help.c: Fix typos.
47709         * crypt/speeds.c: Likewise.
47710         * csu/check_fds.c: Likewise.
47711         * elf/dl-load.c: Likewise.
47712         * elf/dl-open.c: Likewise.
47713         * elf/reldep3.c: Likewise.
47714         * elf/reldep.c: Likewise.
47715         * elf/sprof.c: Likewise.
47716         * iconv/iconv_charmap.c: Likewise.
47717         * iconv/skeleton.c: Likewise.
47718         * iconv/strtab.c: Likewise.
47719         * io/lockf64.c: Likewise.
47720         * libio/libioP.h: Likewise.
47721         * resolv/gai_notify.c: Likewise.
47722         * resolv/ns_name.c: Likewise.
47723         * resolv/ns_samedomain.c: Likewise.
47724         * resolv/res_send.c: Likewise.
47725         * stdlib/random.c: Likewise.
47726         * sunrpc/rpc/xdr.h: Likewise.
47727         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47728         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47729         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47730         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47731         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47732         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47733         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47734         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47735         * sysdeps/mach/hurd/check_fds.c: Likewise.
47736         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47737         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47738         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47739         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47740         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47741         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47742         * sysdeps/pthread/aio_notify.c: Likewise.
47743         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47744         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47745         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47746         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47747         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47749 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47751         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47752         version if bit_Slow_SSE4_2 is set.
47753         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47754         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47756 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47758         [BZ #15867]
47759         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47760         trampoline stack frame information.
47761         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47763         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47764         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47765         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47766         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47767         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47768         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47769         sa_flags value.
47770         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47771         interrupting a syscall and set with option SA_SIGINFO.
47773 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47775         [BZ #15531]
47776         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47777         argument is infinite.
47778         * math/s_cprojf.c (__cprojf): Likewise.
47779         * math/s_cprojl.c (__cprojl): Likewise.
47780         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47781         * math/libm-test.inc (cproj_test_data): Add more tests.
47783         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47785         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47786         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47787         size.  Use __ffs to determine corresponding shift.
47789 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47790             Roland McGrath  <roland@hack.frob.com>
47792         * Makefile (INSTALL): Remove trailing blank lines from output of
47793         makeinfo.
47795 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47797         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47798         Align 32 bit compat elf_greg to 8 bytes.
47800 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47802         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47804 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47806         * string/strcoll_l.c (coll_seq): New structure.
47807         (get_next_seq_cached): New function.
47808         (get_next_seq): New function.
47809         (do_compare): New function.
47810         (STRCOLL): Use GNU style definition.  Simplify implementation
47811         by using get_next_seq, get_next_seq_cached and do_compare.
47813 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47815         [BZ #14699]
47816         CVE-2013-4237
47817         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47818         member.
47819         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47820         member.
47821         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47822         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47823         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47824         conditional.
47825         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47826         GETDENTS_64BIT_ALIGNED.
47827         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47828         * manual/filesys.texi (Reading/Closing Directory): Document
47829         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47830         strongly.
47831         * manual/conf.texi (Limits for Files): Add portability note to
47832         NAME_MAX, PATH_MAX.
47833         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47835 2013-08-13  Andreas Schwab  <schwab@suse.de>
47837         [BZ #15749]
47838         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47839         of fabs.
47840         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47841         LDBL_MAX_EXP >= 16384]: Add tests for it.
47843 2013-08-12  David S. Miller  <davem@davemloft.net>
47845         * version.h (RELEASE): Set to "development".
47846         (VERSION): Set to "2.18.90".
47847         * NEWS: Add 2.19 section.
47849 2013-08-03  David S. Miller  <davem@davemloft.net>
47851         * po/ko.po: Update Korean translation from translation project.
47853 2013-08-01  David S. Miller  <davem@davemloft.net>
47855         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47856         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47857         Bilka.
47859 2013-07-30  David S. Miller  <davem@davemloft.net>
47861         * po/fr.po: Update French translation from translation project.
47863 2013-07-28  David S. Miller  <davem@davemloft.net>
47865         * po/cs.po: Update Czech translation from translation project.
47867         * po/sv.po: Update Swedish translation from translation project.
47869 2013-07-27  David S. Miller  <davem@davemloft.net>
47871         * po/eo.po: Update Esperanto translation from translation project.
47873         * po/vi.po: Update Vietnamese translation from translation project.
47875         * po/de.po: Update German translation from translation project.
47877 2013-07-26  David S. Miller  <davem@davemloft.net>
47879         * po/bg.po: Update Bulgarian translation from translation project.
47881         * po/nl.po: Update Dutch translation from translation project.
47882         * po/pl.po: Update Polish translation from translation project.
47883         * po/ru.po: Update Russian translation from translation project.
47885 2013-07-24  David S. Miller  <davem@davemloft.net>
47887         * po/libc.pot: Update.
47889 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47891         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47892         variable page size.
47893         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47894         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47895         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47897 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47899         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47901 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47902             Andreas Schwab  <schwab@suse.de>
47903             Roland McGrath  <roland@hack.frob.com>
47904             Joseph Myers  <joseph@codesourcery.com>
47905             Carlos O'Donell  <carlos@redhat.com>
47907         [BZ #15755]
47908         * config.h.in: Define HAVE_PT_CHOWN.
47909         * config.make.in (build-pt-chown): New variable.
47910         * configure.in (--enable-pt_chown): New configure option.
47911         * configure: Regenerate.
47912         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47913         build-pt-chown is enabled.
47914         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47915         pt_chown to fix pty ownership.
47916         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47917         CLOSE_ALL_FDS.
47918         * manual/install.texi (Configuring and compiling): Mention
47919         --enable-pt_chown. Add @findex for grantpt.
47920         * INSTALL: Regenerate.
47922 2013-07-20  David S. Miller  <davem@davemloft.net>
47924         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47925         difference between 32-bit and 64-bit.
47927 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47929         [BZ #15711]
47930         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47931         Avoid system header dependency with -ffreestanding.
47932         ($(objpfx)bits/syscall%d): Likewise.
47934 2013-07-13  David S. Miller  <davem@davemloft.net>
47936         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47937         underflows from atanl/atan2l due to bug 15319.
47938         (casinh_test_data): Likewise.
47940 2013-07-07  David S. Miller  <davem@davemloft.net>
47942         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47944 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47946         * sysdeps/i386/fpu/libm-test-ulps: Update.
47947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47949 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47951         * configure.in (--enable-lock-elision): Fix message text.
47952         * INSTALL: Regenerate.
47953         * configure: Regenerate.
47955 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47959 2013-07-03  Andreas Jaeger  <aj@suse.de>
47961         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47962         define.
47963         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47964         (ptrace_peeksiginfo_args): Add.
47965         (__ptrace_peeksiginfo_flags): Add.
47966         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47968         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47970 2013-07-03  Allan McRae  <allan@archlinux.org>
47972         * sysdeps/i386/fpu/libm-test-ulps: Update.
47974 2013-07-02  David S. Miller  <davem@davemloft.net>
47976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47978 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47982 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47984         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47987 2013-07-02  Andi Kleen <ak@linux.intel.com>
47989         * config.h.in (ENABLE_LOCK_ELISION): Add.
47990         * configure.in (--enable-lock-elision): Add option.
47991         * manual/install.texi: Document --enable lock elision.
47992         * configure: Regenerate
47993         * INSTALL: Regenerate.
47995 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47997         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47998         SSE4.2 strcasecmp for libc.a.
47999         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48001 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48003         [BZ #13304]
48004         * soft-fp/op-common.h (_FP_FMA): New macro.
48005         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48006         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48007         (_FP_MUL_MEAT_1_imm): ... here.
48008         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48009         (_FP_MUL_MEAT_1_wide): ... here.
48010         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48011         (_FP_MUL_MEAT_1_hard): ... here.
48012         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48013         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48014         (_FP_MUL_MEAT_2_wide): ... here.
48015         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48016         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48017         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48018         (_FP_MUL_MEAT_2_gmp): ... here.
48019         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48020         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48021         (_FP_MUL_MEAT_4_wide): ... here.
48022         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48023         (_FP_MUL_MEAT_4_gmp): ... here.
48024         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48025         (_FP_WFRACBITS_DW_S): Likewise.
48026         (_FP_WFRACXBITS_DW_S): Likewise.
48027         (_FP_HIGHBIT_DW_S): Likewise.
48028         (FP_FMA_S): Likewise.
48029         (_FP_FRAC_HIGH_DW_S): Likewise.
48030         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48031         (_FP_WFRACBITS_DW_D): Likewise.
48032         (_FP_WFRACXBITS_DW_D): Likewise.
48033         (_FP_HIGHBIT_DW_D): Likewise.
48034         (FP_FMA_D): Likewise.
48035         (_FP_FRAC_HIGH_DW_D): Likewise.
48036         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48037         (_FP_WFRACBITS_DW_E): Likewise.
48038         (_FP_WFRACXBITS_DW_E): Likewise.
48039         (_FP_HIGHBIT_DW_E): Likewise.
48040         (FP_FMA_E): Likewise.
48041         (_FP_FRAC_HIGH_DW_E): Likewise.
48042         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48043         (_FP_WFRACBITS_DW_Q): Likewise.
48044         (_FP_WFRACXBITS_DW_Q): Likewise.
48045         (_FP_HIGHBIT_DW_Q): Likewise.
48046         (FP_FMA_Q): Likewise.
48047         (_FP_FRAC_HIGH_DW_Q): Likewise.
48048         * soft-fp/fmasf4.c: New file.
48049         * soft-fp/fmadf4.c: Likewise.
48050         * soft-fp/fmatf4.c: Likewise.
48052 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48055         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48056         Silvermont.
48057         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48058         macro.
48059         (index_Slow_SSE4_2): Likewise.
48060         (index_Prefer_PMINUB_for_stringop): Likewise.
48061         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48062         bit_Slow_SSE4_2 is set.
48063         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48064         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48066 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48068         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48069         rtld_global._dl_hwcap2.
48070         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48071         POWER8.
48072         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48073         POWER8 feature descriptions defined in _dl_hwcap2.
48074         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48075         string handling for POWER8 feature bits.
48076         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48077         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48078         _dl_powerpc_cap_flags.
48079         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48080         * sysdeps/powerpc/rtld-global-offsets.sym
48081         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48082         _dl_hwcap2 in the rtld_global_ro structure.
48084 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48086         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48087         hardware capabilities in support of AT_HWCAP2.
48088         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48089         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48090         GLRO(dl_hwcap2).
48091         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48092         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48093         explicitly the unknown a_type display mechanism is used.
48094         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48095         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48096         struct member.
48097         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48098         to macro prototype for AT_HWCAP2 support.
48099         * sysdeps/i386/dl-procinfo.h: Likewise.
48100         * sysdeps/s390/dl-procinfo.h: Likewise.
48101         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48102         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48103         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48104         return -1 for unknown a_type display fallback.
48105         * sysdeps/sparc/dl-procinfo.h: Likewise.
48106         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48107         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48109 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48111         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48112         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48114 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48116         [BZ #12492]
48117         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48118         mprotect making __stack_prot writable.
48120 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48121             Joseph Myers  <joseph@codesourcery.com>
48123         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48124         as being properly aligned.
48126 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48128         * dlfcn/modstatic5.c: New file.
48129         * dlfcn/tststatic5.c: New file.
48130         * dlfcn/Makefile (tests): Add tststatic5.
48131         (tests-static): Likewise.
48132         (modules-names): Add modstatic5.
48133         (tststatic5-ENV): New variable.
48134         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48136         [BZ #15022]
48137         * elf/dl-support.c (_dl_main_map): New variable.
48138         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48139         (_dl_nns, _dl_load_adds): Set to 1.
48140         (_dl_initial_searchlist): Refer to _dl_main_map.
48141         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48142         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48143         call to _dl_get_origin.
48144         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48145         around call_map.
48146         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48147         * dlfcn/modstatic3.c: New file.
48148         * dlfcn/tststatic3.c: New file.
48149         * dlfcn/tststatic4.c: New file.
48150         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48151         (tests-static): Likewise.
48152         (modules-names): Add modstatic3.
48153         (tststatic3-ENV, tststatic4-ENV): New variables.
48154         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48155         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48157 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48159         * configure.in (CC): Require GCC version 4.4 or later.
48160         * configure: Regenerated.
48161         * manual/install.texi (Tools for Compilation): Update GCC version
48162         requirement.
48163         * INSTALL: Regenerated.
48165 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48167         [BZ #15674]
48168         * string/test-memcmp.c (check2): New.
48169         (main): Call check2.
48171         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48173 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48175         [BZ #15022]
48176         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48177         over to...
48178         (dl_open_worker) [!SHARED]: ... here.
48180 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48182         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48184 2013-06-25  Richard Henderson  <rth@redhat.com>
48186         * locale/programs/locarchive.c: Include <libc-internal.h>
48188 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48190         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48191         trailing whitespace removed.
48193 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48195         [BZ #10283]
48196         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48197         * locale/programs/locarchive.c: Include libc-mmap.h.
48198         (prepare_address_space): Take two new outputs (the mmap base and len).
48199         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48200         values.
48201         (create_archive): Declare new mmap base and len values for
48202         prepare_address_space, and store the result in ah.
48203         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48204         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48205         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48206         Declare new mmap base and len values for
48207         prepare_address_space, and store the result in new_ah.
48208         (open_archive): Declare new mmap base and len values for
48209         prepare_address_space, and store the result in ah.
48210         (close_archive): If ah->mmap_base is not NULL, use that and
48211         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48212         * sysdeps/generic/libc-mmap.h: New file.
48214 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48216         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48217         (ALIGN_UP): Likewise.
48218         (PTR_ALIGN_DOWN): Likewise.
48219         (PTR_ALIGN_UP): Likewise.
48221 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48223         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48224         entry mapped to PPC_PLATFORM_POWER8.
48225         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48226         POWER8.
48227         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48228         (_dl_string_platform): Add case for exporting platform position for
48229         POWER8.
48230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48231         search path to sysdeps/powerpc/powerpc32/power8 directory.
48232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48233         search path to sysdeps/powerpc/powerpc64/power8 directory.
48234         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48235         power7 directories.
48236         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48237         power7 directories.
48239 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48241         * INSTALL: Regenerate.
48243         * nscd/connections.c (nscd_init): Fix comment.
48245 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48247         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48249         [BZ #15667]
48250         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48251         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48253 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48255         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48256         DL_DST_REQ_STATIC.
48257         (DL_DST_REQ_STATIC): Remove macro.
48259 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48261         [BZ #7006]
48262         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48263         with a shift of 0 bits.
48265 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48267         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48268         $(tststatic-ENV).
48270 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48272         [BZ #15655]
48273         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48275 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48277         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48278         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48279         accepts -fno-tree-loop-distribute-patterns.
48280         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48281         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48282         recursive call.
48283         * string/memset.c (memset): Likewise.
48284         * string/test-memmove.c (simple_memmove): Disable loop transformation
48285         to library calls.
48286         * string/test-memset.c (simple_memset): Likewise.
48287         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48288         * benchtests/bench-memset.c (simple_memset): Likewise.
48289         * configure: Regenerated.
48291 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48293         * math/test-misc.c (main): Ignore fesetround failure when failures
48294         of subsequent rounding tests would be ignored.
48296         [BZ #15654]
48297         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48298         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48299         * math/fegetenv.c (__fegetenv): Return 0.
48300         * math/fegetexcept.c (fegetexcept): Return 0.
48301         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48302         FE_TONEAREST.
48303         * math/feholdexcpt.c (feholdexcept): Return 0.
48304         * math/fesetenv.c (__fesetenv): Return 0.
48305         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48306         argument FE_TONEAREST.
48307         * math/feupdateenv.c (__feupdateenv): Return 0.
48308         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48310 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48312         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48313         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48314         ($(objpfx)rtld-%.os rules): Use them.
48316 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48318         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48319         fields.
48321 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48323         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48324         length of target pattern, then descending length of dependency pattern.
48325         * configure.in (AWK): Require gawk 3.1.2 or newer.
48326         * manual/install.texi (Tools for Compilation): Say that we do.
48327         * configure: Regenerated.
48329         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48330         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48331         * scripts/sysd-rules.awk: ... this new script.
48332         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48333         than a glob-style pattern.
48335 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48337         * math/test-misc.c (main): Do not treat incorrectly rounded
48338         conversions as failure unless ROUNDING_TESTS passes.
48340 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48342         [BZ #15631]
48343         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48344         restore exception state around main square root computation, then
48345         check for inexactness explicitly.
48347         * math/libm-test.inc (fma_test_data): Add another test.
48349 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48351         * manual/threads.texi (Non-POSIX Extensions): New document
48352         node.  Document pthread_getattr_default_np and
48353         pthread_setattr_default_np.
48355         * Versions.def (libpthread): Add GLIBC_2.18.
48356         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48358         Likewise.
48359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48360         Likewise.
48361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48362         Likewise.
48363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48364         Likewise.
48365         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48366         Likewise.
48367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48368         Likewise.
48369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48370         Likewise.
48371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48372         Likewise.
48373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48374         Likewise.
48376 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48379         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48381 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48382             H.J. Lu  <hjl.tools@gmail.com>
48384         [BZ #15627]
48385         * sysdeps/x86_64/rtld-memset.c: Remove file.
48386         * sysdeps/x86_64/rtld-memset.S: New file.
48388 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48390         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48391         (test_in_one_mode): Take arguments for whether the rounding mode
48392         is supported for each floating-point type.
48393         (do_test): Pass new arguments to test_in_one_mode using
48394         ROUNDING_TESTS.
48396 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48398         * posix/tst-waitid.c (do_test): Distinguish different instances of
48399         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48400         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48401         before entering the kernel for waitpid.
48403 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48405         * NEWS: Fix note on clock function precision.  Text by Roland
48406         McGrath.
48408 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48410         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48411         it into place only when and if the sanity check passes.
48413 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48415         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48416         output for whether conversion result is exact.  Take argument
48417         indicating whether type is IBM long double.
48418         (round_for_all): Change need_exact field to ibm_ld.
48419         * stdlib/tst-strtod-round.c (struct exactness): New type.
48420         (struct test): Change bool ld_ok field to struct exactness exact.
48421         (TEST): Update all definitions for change to field.
48422         (tests): Regenerate array contents.
48423         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48424         field value.  Check for IBM long double here.
48425         (do_test): Update calls to test_in_one_mode.
48427 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48429         [BZ #12515]
48430         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48431         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48433 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48435         [BZ #15605]
48436         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48437         generated by the compiler on loop optimizations.
48438         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48439         general definitions.
48441 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48443         * math/bug-nextafter.c: Include <math-tests.h>.
48444         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48445         the relevant type.
48446         * math/bug-nexttoward.c: Include <math-tests.h>.
48447         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48448         the relevant type.
48449         * math/test-misc.c: Include <math-tests.h>.
48450         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48451         the relevant type.
48453 2013-06-12  Andreas Jaeger  <aj@suse.de>
48455         * po/ia.po: Update Interlingua translation from translation
48456         project.
48458 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48460         * include/fenv.h: Include stdbool.h.
48461         (struct rm_ctx): New structure.
48462         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48463         Define macro.
48464         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48465         (SET_RESTORE_ROUNDF): Likewise.
48466         (SET_RESTORE_ROUNDL): Likewise.
48467         (SET_RESTORE_ROUND_NOEX): Likewise.
48468         (SET_RESTORE_ROUND_NOEXF): Likewise.
48469         (SET_RESTORE_ROUND_NOEXL): Likewise.
48470         (SET_RESTORE_ROUND_53BIT): Likewise.
48471         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48472         (libc_feresetround_noexf_ctx): Likewise.
48473         (libc_feresetround_noexl_ctx): Likewise.
48474         (libc_feholdsetround_53bit_ctx): Likewise.
48475         (libc_feresetround_53bit_ctx): Likewise.
48476         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48477         (libc_feholdexcept_setround_sse_ctx): New function.
48478         (libc_fesetenv_sse_ctx): Likewise.
48479         (libc_feupdateenv_sse_ctx): Likewise.
48480         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48481         (libc_feholdexcept_setround_387_ctx): Likewise.
48482         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48483         (libc_feholdsetround_387_prec_ctx): Likewise.
48484         (libc_feholdsetround_387_ctx): Likewise.
48485         (libc_feholdsetround_387_53bit_ctx): Likewise.
48486         (libc_feholdsetround_sse_ctx): Likewise.
48487         (libc_feresetround_sse_ctx): Likewise.
48488         (libc_feresetround_387_ctx): Likewise.
48489         (libc_feupdateenv_387_ctx): Likewise.
48490         (libc_feholdexcept_setroundf_ctx): Define macro.
48491         (libc_fesetenvf_ctx): Likewise.
48492         (libc_feupdateenvf_ctx): Likewise.
48493         (libc_feholdsetroundf_ctx): Likewise.
48494         (libc_feresetroundf_ctx): Likewise.
48495         (libc_feholdexcept_setround_ctx): Likewise.
48496         (libc_fesetenv_ctx): Likewise.
48497         (libc_feupdateenv_ctx): Likewise.
48498         (libc_feholdsetround_ctx): Likewise.
48499         (libc_feresetround_ctx): Likewise.
48500         (libc_feholdexcept_setroundl_ctx): Likewise.
48501         (libc_feupdateenvl_ctx): Likewise.
48502         (libc_feholdsetroundl_ctx): Likewise.
48503         (libc_feresetroundl_ctx): Likewise.
48504         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48505         (libc_feresetround_53bit_ctx): Likewise.
48507 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48509         * locale/iso-639.def: Convert to UTF-8.
48511 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48513         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48514         (EXCEPTION_TESTS_double): Likewise.
48515         (EXCEPTION_TESTS_long_double): Likewise.
48516         (EXCEPTION_TESTS): Likewise.
48517         * math/libm-test.inc (test_exceptions): Only test exceptions if
48518         EXCEPTION_TESTS (FLOAT).
48520 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48522         * benchtests/Makefile (string-bench): Add strcpy_chk and
48523         stpcpy_chk.
48524         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48525         * benchtests/bench-stpcpy_chk.c: New file.
48526         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48527         * benchtests/bench-strcpy_chk.c: New file.
48528         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48529         code.
48530         (do_test): Likewise.
48532 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48534         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48535         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48536         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48537         with tabs where appropriate.
48538         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48539         dl-procinfo.h.
48540         [PPC_PLATFORM_PPC440]: Likewise.
48541         [PPC_PLATFORM_PPC464]: Likewise.
48542         [PPC_PLATFORM_PPC476]: Likewise.
48543         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48544         ppc464, and ppc476 platform strings merging from ports/
48545         dl-procinfo.h.
48547 2013-06-11  Andreas Schwab  <schwab@suse.de>
48549         [BZ #14991]
48550         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48551         (from_ucs4_idx): Regenerate.
48552         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48553         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48554         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48555         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48556         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48557         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48558         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48559         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48560         from FROM_LOOP and TO_LOOP specific macros.
48561         (BODY): Handle combining characters.
48562         * iconvdata/BIG5HKSCS.irreversible: Update.
48563         * iconvdata/BIG5HKSCS.precomposed: New file.
48564         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48565         characters.
48566         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48568 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48570         * include/sys/time.h: Fix indentation and add copyright header.
48572         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48573         (do_test): Likewise.
48574         * string/test-memchr.c (do_one_test): Likewise.
48575         (do_test): Likewise.
48576         * string/test-memcmp.c (do_one_test): Likewise.
48577         (do_test): Likewise.
48578         * string/test-memcpy.c (do_one_test): Likewise.
48579         (do_test): Likewise.
48580         * string/test-memmem.c (do_one_test): Likewise.
48581         (do_test): Likewise.
48582         (do_random_tests): Likewise.
48583         * string/test-memmove.c (do_one_test): Likewise.
48584         (do_test): Likewise.
48585         * string/test-memset.c (do_one_test): Likewise.
48586         (do_test): Likewise.
48587         * string/test-rawmemchr.c (do_one_test): Likewise.
48588         (do_test): Likewise.
48589         * string/test-strcasecmp.c (do_one_test): Likewise.
48590         (do_test): Likewise.
48591         * string/test-strcasestr.c (do_one_test): Likewise.
48592         (do_test): Likewise.
48593         * string/test-strcat.c (do_one_test): Likewise.
48594         (do_test): Likewise.
48595         * string/test-strchr.c (do_one_test): Likewise.
48596         (do_test): Likewise.
48597         * string/test-strcmp.c (do_one_test): Likewise.
48598         (do_test): Likewise.
48599         * string/test-strcpy.c (do_one_test): Likewise.
48600         (do_test): Likewise.
48601         * string/test-string.h: Likewise.
48602         (test_init): Likewise.
48603         * string/test-strlen.c (do_one_test): Likewise.
48604         (do_test): Likewise.
48605         * string/test-strncasecmp.c (do_one_test): Likewise.
48606         (do_test): Likewise.
48607         * string/test-strncat.c (do_one_test): Likewise.
48608         (do_test): Likewise.
48609         * string/test-strncmp.c (do_one_test): Likewise.
48610         (do_test_limit): Likewise.
48611         (do_test): Likewise.
48612         * string/test-strncpy.c (do_one_test): Likewise.
48613         (do_test): Likewise.
48614         * string/test-strnlen.c (do_one_test): Likewise.
48615         (do_test): Likewise.
48616         * string/test-strpbrk.c (do_one_test): Likewise.
48617         (do_test): Likewise.
48618         * string/test-strrchr.c (do_one_test): Likewise.
48619         (do_test): Likewise.
48620         * string/test-strspn.c (do_one_test): Likewise.
48621         (do_test): Likewise.
48622         * string/test-strstr.c (do_one_test): Likewise.
48623         (do_test): Likewise.
48625         * benchtests/Makefile (string-bench): Add string benchmarks.
48626         * benchtests/bench-bcopy-ifunc.c: New file.
48627         * benchtests/bench-bcopy.c: New file.
48628         * benchtests/bench-bzero-ifunc.c: New file.
48629         * benchtests/bench-bzero.c: New file.
48630         * benchtests/bench-memccpy-ifunc.c: New file.
48631         * benchtests/bench-memccpy.c: New file.
48632         * benchtests/bench-memchr-ifunc.c: New file.
48633         * benchtests/bench-memchr.c: New file.
48634         * benchtests/bench-memcmp-ifunc.c: New file.
48635         * benchtests/bench-memcmp.c: New file.
48636         * benchtests/bench-memmem-ifunc.c: New file.
48637         * benchtests/bench-memmem.c: New file.
48638         * benchtests/bench-memmove-ifunc.c: New file.
48639         * benchtests/bench-memmove.c: New file.
48640         * benchtests/bench-mempcpy-ifunc.c: New file.
48641         * benchtests/bench-mempcpy.c: New file.
48642         * benchtests/bench-memset-ifunc.c: New file.
48643         * benchtests/bench-memset.c: New file.
48644         * benchtests/bench-rawmemchr-ifunc.c: New file.
48645         * benchtests/bench-rawmemchr.c: New file.
48646         * benchtests/bench-stpcpy-ifunc.c: New file.
48647         * benchtests/bench-stpcpy.c: New file.
48648         * benchtests/bench-stpncpy-ifunc.c: New file.
48649         * benchtests/bench-stpncpy.c: New file.
48650         * benchtests/bench-strcasecmp-ifunc.c: New file.
48651         * benchtests/bench-strcasecmp.c: New file.
48652         * benchtests/bench-strcasestr-ifunc.c: New file.
48653         * benchtests/bench-strcasestr.c: New file.
48654         * benchtests/bench-strcat-ifunc.c: New file.
48655         * benchtests/bench-strcat.c: New file.
48656         * benchtests/bench-strchr-ifunc.c: New file.
48657         * benchtests/bench-strchr.c: New file.
48658         * benchtests/bench-strchrnul-ifunc.c: New file.
48659         * benchtests/bench-strchrnul.c: New file.
48660         * benchtests/bench-strcmp-ifunc.c: New file.
48661         * benchtests/bench-strcmp.c: New file.
48662         * benchtests/bench-strcpy-ifunc.c: New file.
48663         * benchtests/bench-strcpy.c: New file.
48664         * benchtests/bench-strcspn-ifunc.c: New file.
48665         * benchtests/bench-strcspn.c: New file.
48666         * benchtests/bench-strlen-ifunc.c: New file.
48667         * benchtests/bench-strlen.c: New file.
48668         * benchtests/bench-strncasecmp-ifunc.c: New file.
48669         * benchtests/bench-strncasecmp.c: New file.
48670         * benchtests/bench-strncat-ifunc.c: New file.
48671         * benchtests/bench-strncat.c: New file.
48672         * benchtests/bench-strncmp-ifunc.c: New file.
48673         * benchtests/bench-strncmp.c: New file.
48674         * benchtests/bench-strncpy-ifunc.c: New file.
48675         * benchtests/bench-strncpy.c: New file.
48676         * benchtests/bench-strnlen-ifunc.c: New file.
48677         * benchtests/bench-strnlen.c: New file.
48678         * benchtests/bench-strpbrk-ifunc.c: New file.
48679         * benchtests/bench-strpbrk.c: New file.
48680         * benchtests/bench-strrchr-ifunc.c: New file.
48681         * benchtests/bench-strrchr.c: New file.
48682         * benchtests/bench-strspn-ifunc.c: New file.
48683         * benchtests/bench-strspn.c: New file.
48684         * benchtests/bench-strstr-ifunc.c: New file.
48685         * benchtests/bench-strstr.c: New file.
48687         * benchtests/Makefile: Disable parallel execution of targets.
48688         (string-bench): Add memcpy.
48689         (benchset): New variable to store a list of benchmark sets.
48690         (bench-func): Renamed from bench.
48691         (bench-set): New target.
48692         (bench): Depend on bench-func and bench-set.
48693         * benchtests/README: Add section on benchmark sets.
48694         * benchtests/bench-memcpy-ifunc.c: New file.
48695         * benchtests/bench-memcpy.c: New file.
48696         * benchtests/bench-string.h: New file.
48698 2013-06-11  Andreas Schwab  <schwab@suse.de>
48700         [BZ #15577]
48701         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48702         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48703         values in the triple.
48704         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48705         terminator in the group key.
48707 2013-06-11  Andreas Jaeger  <aj@suse.de>
48709         * po/zh_TW.po: Update Chinese (traditional) translation from
48710         translation project.
48712 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48714         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48715         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48716         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48717         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48718         (clock_getcpuclockid): Likewise.
48719         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48720         Add weak_alias and libc_hidden_def.
48721         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48722         * rt/clock_gettime.c (clock_gettime): Rename to
48723         __clock_gettime.  Add weak_alias and libc_hidden_def.
48724         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48725         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48726         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48727         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48728         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48729         Likewise.
48730         * rt/clock_settime.c (clock_settime): Rename to
48731         __clock_settime.  Add weak_alias and libc_hidden_def.
48732         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48734 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48736         * mach/err_boot.sub: Remove trailing whitespace.
48737         * mach/err_ipc.sub: Likewise.
48738         * mach/err_mach.sub: Likewise.
48740         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48741         (ROUNDING_TESTS_double): Likewise.
48742         (ROUNDING_TESTS_long_double): Likewise.
48743         (ROUNDING_TESTS): Likewise.
48744         * math/libm-test.inc: Include <math-tests.h>.
48745         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48746         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48747         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48748         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48750 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48752         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48753         of assigning.
48755 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48757         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48758         otherwise empty TRANS lines.
48759         * sysdeps/gnu/errlist.c: Regenerated.
48761         * catgets/gencat.c (error_print): Use (void) in function
48762         definition.
48763         * crypt/crypt_util.c (__init_des): Likewise.
48764         * crypt/speeds.c (Stop): Likewise.
48765         (main): Likewise.
48766         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48767         * inet/ruserpass.c (token): Likewise.
48768         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48769         * intl/localealias.c (extend_alias_table): Likewise.
48770         * intl/plural-exp.c (init_germanic_plural): Likewise.
48771         * libio/fcloseall.c (__fcloseall): Likewise.
48772         * libio/genops.c (_IO_flush_all): Likewise.
48773         (_IO_flush_all_linebuffered): Likewise.
48774         (_IO_cleanup): Likewise.
48775         (_IO_iter_begin): Likewise.
48776         (_IO_iter_end): Likewise.
48777         (_IO_list_lock): Likewise.
48778         (_IO_list_unlock): Likewise.
48779         (_IO_list_resetlock): Likewise.
48780         * libio/getchar.c (getchar): Likewise.
48781         * libio/getchar_u.c (getchar_unlocked): Likewise.
48782         * libio/getwchar.c (getwchar): Likewise.
48783         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48784         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48785         * login/getpt.c (__getpt): Likewise.
48786         * login/tst-utmp.c (main): Likewise.
48787         * malloc/hooks.c (__malloc_check_init): Likewise.
48788         * malloc/malloc.c (__malloc_stats): Likewise.
48789         * malloc/mtrace.c (tr_break): Likewise.
48790         (mtrace): Likewise.
48791         (muntrace): Likewise.
48792         * misc/fstab.c (endfsent): Likewise.
48793         * misc/getclktck.c (__getclktck): Likewise.
48794         * misc/getdtsz.c (__getdtablesize): Likewise.
48795         * misc/gethostid.c (gethostid): Likewise.
48796         * misc/getpagesize.c (__getpagesize): Likewise.
48797         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48798         (__get_nprocs): Likewise.
48799         (__get_phys_pages): Likewise.
48800         (__get_avphys_pages): Likewise.
48801         * misc/getttyent.c (getttyent): Likewise.
48802         (setttyent): Likewise.
48803         (endttyent): Likewise.
48804         * misc/getusershell.c (getusershell): Likewise.
48805         (endusershell): Likewise.
48806         (setusershell): Likewise.
48807         (initshells): Likewise.
48808         * misc/hsearch.c (__hdestroy): Likewise.
48809         * misc/sync.c (sync): Likewise.
48810         * misc/syslog.c (closelog_internal): Likewise.
48811         (closelog): Likewise.
48812         * misc/ttyslot.c (ttyslot): Likewise.
48813         * misc/vhangup.c (vhangup): Likewise.
48814         * posix/fork.c (__fork): Likewise.
48815         * posix/getegid.c (__getegid): Likewise.
48816         * posix/geteuid.c (__geteuid): Likewise.
48817         * posix/getgid.c (__getgid): Likewise.
48818         * posix/getpid.c (__getpid): Likewise.
48819         * posix/getppid.c (__getppid): Likewise.
48820         * posix/getuid.c (__getuid): Likewise.
48821         * posix/pause.c (pause): Likewise.
48822         * posix/setpgrp.c (setpgrp): Likewise.
48823         * posix/setsid.c (__setsid): Likewise.
48824         * posix/test-vfork.c (noop): Likewise.
48825         * resolv/gethnamaddr.c (_endhtent): Likewise.
48826         (_gethtent): Likewise.
48827         (ht_endhostent): Likewise.
48828         (gethostent): Likewise.
48829         (dns_service): Likewise.
48830         * stdlib/drand48.c (drand48): Likewise.
48831         * stdlib/lrand48.c (lrand48): Likewise.
48832         * stdlib/mrand48.c (mrand48): Likewise.
48833         * stdlib/rand.c (rand): Likewise.
48834         * stdlib/random.c (__random): Likewise.
48835         * stdlib/setenv.c (clearenv): Likewise.
48836         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48837         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48838         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48839         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48840         (__get_nprocs): Likewise.
48841         (__get_phys_pages): Likewise.
48842         (__get_avphys_pages): Likewise.
48843         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48844         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48845         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48846         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48847         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48848         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48849         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48850         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48851         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48852         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48853         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48854         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48855         * sysdeps/posix/clock.c (clock): Likewise.
48856         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48857         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48858         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48859         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48860         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48861         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48862         (__get_nprocs_conf): Likewise.
48863         (__get_phys_pages): Likewise.
48864         (__get_avphys_pages): Likewise.
48865         * time/clock.c (clock): Likewise.
48866         * time/tzset.c (__tzname_max): Likewise.
48868 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48870         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48871         (__bswap_32): Do not use "register".
48872         * crypt/crypt.c (_ufc_doit_r): Likewise.
48873         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48874         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48875         * gmon/gmon.c (__monstartup): Likewise.
48876         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48877         * hurd/hurdmalloc.c (more_memory): Likewise.
48878         (malloc): Likewise.
48879         (free): Likewise.
48880         (realloc): Likewise.
48881         (malloc_fork_prepare): Likewise.
48882         (malloc_fork_parent): Likewise.
48883         (malloc_fork_child): Likewise.
48884         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48885         (_svcauth_des): Likewise.
48886         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48887         * inet/inet_net.c (inet_network): Likewise.
48888         * inet/inet_netof.c (inet_netof): Likewise.
48889         * inet/rcmd.c (__validuser2_sa): Likewise.
48890         * io/fts.c (fts_open): Likewise.
48891         (fts_load): Likewise.
48892         (fts_close): Likewise.
48893         (fts_read): Likewise.
48894         (fts_children): Likewise.
48895         (fts_build): Likewise.
48896         (fts_stat): Likewise.
48897         (fts_sort): Likewise.
48898         (fts_alloc): Likewise.
48899         (fts_lfree): Likewise.
48900         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48901         (_IO_file_xsgetn): Likewise.
48902         (_IO_file_xsgetn_mmap): Likewise.
48903         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48904         (_IO_cookie_write): Likewise.
48905         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48906         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48907         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48908         * malloc/obstack.c (_obstack_begin): Likewise.
48909         (_obstack_begin_1): Likewise.
48910         (_obstack_newchunk): Likewise.
48911         (_obstack_allocated_p): Likewise.
48912         (obstack_free): Likewise.
48913         (_obstack_memory_used): Likewise.
48914         * misc/getttyent.c (getttynam): Likewise.
48915         (getttyent): Likewise.
48916         (skip): Likewise.
48917         (value): Likewise.
48918         * misc/getusershell.c (initshells): Likewise.
48919         * misc/syslog.c (__vsyslog_chk): Likewise.
48920         * misc/ttyslot.c (ttyslot): Likewise.
48921         * nis/nis_hash.c (__nis_hash): Likewise.
48922         * posix/fnmatch_loop.c (FCT): Likewise.
48923         * posix/getconf.c (print_all): Likewise.
48924         (main): Likewise.
48925         * posix/getopt.c (exchange): Likewise.
48926         * posix/glob.c (globfree): Likewise.
48927         (prefix_array): Likewise.
48928         (__glob_pattern_type): Likewise.
48929         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48930         (NS_GET32): Likewise.
48931         (NS_PUT16): Likewise.
48932         (NS_PUT32): Likewise.
48933         * resolv/gethnamaddr.c (getanswer): Likewise.
48934         (gethostbyname2): Likewise.
48935         (gethostbyaddr): Likewise.
48936         (_gethtent): Likewise.
48937         (_gethtbyname2): Likewise.
48938         (_gethtbyaddr): Likewise.
48939         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48940         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48941         * resolv/res_init.c (__res_vinit): Likewise.
48942         (net_mask): Likewise.
48943         * resolv/res_mkquery.c (outchar): Likewise.
48944         (PRINT): Likewise.
48945         * stdio-common/printf_fp.c (outchar): Likewise.
48946         (PRINT): Likewise.
48947         * stdio-common/printf_fphex.c (outchar): Likewise.
48948         (PRINT): Likewise.
48949         * stdio-common/printf_size.c (outchar): Likewise.
48950         (PRINT): Likewise.
48951         * stdio-common/test_rdwr.c (main): Likewise.
48952         * stdio-common/tfformat.c (matches): Likewise.
48953         * stdio-common/vfprintf.c (outchar): Likewise.
48954         (printf_unknown): Likewise.
48955         (buffered_vfprintf): Likewise.
48956         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48957         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48958         (ReadFile): Likewise.
48959         * stdlib/qsort.c (SWAP): Likewise.
48960         (_quicksort): Likewise.
48961         * stdlib/setenv.c (__add_to_environ): Likewise.
48962         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48963         * stdlib/strtol_l.c (__strtol_l): Likewise.
48964         * stdlib/tst-strtod.c (main): Likewise.
48965         * stdlib/tst-strtol.c (main): Likewise.
48966         * stdlib/tst-strtoll.c (main): Likewise.
48967         * string/bits/string2.h (__strcmp_cc): Likewise.
48968         (__strcmp_cg): Likewise.
48969         (__strcspn_c1): Likewise.
48970         (__strcspn_c2): Likewise.
48971         (__strcspn_c3): Likewise.
48972         (__strspn_c1): Likewise.
48973         (__strspn_c2): Likewise.
48974         (__strspn_c3): Likewise.
48975         (__strsep_1c): Likewise.
48976         (__strsep_2c): Likewise.
48977         (__strsep_3c): Likewise.
48978         * string/memccpy.c (__memccpy): Likewise.
48979         * string/stpcpy.c (__stpcpy): Likewise.
48980         * string/strcmp.c (strcmp): Likewise.
48981         * string/strrchr.c (strrchr): Likewise.
48982         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48983         Likewise.
48984         * sysdeps/mach/hurd/getcwd.c
48985         (_hurd_canonicalize_directory_name_internal): Likewise.
48986         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48987         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48988         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48989         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48990         Likewise, in both definitions.
48991         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48992         definitions.
48993         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48994         64] (__bswap_64): Likewise.
48995         * time/test_time.c (main): Likewise.
48996         * time/tzfile.c (__tzfile_read): Likewise.
48997         (__tzfile_compute): Likewise.
48998         * time/tzset.c (__tzset_parse_tz): Likewise.
48999         (tzset_internal): Likewise.
49000         (compute_change): Likewise.
49001         * wcsmbs/wcscat.c (__wcscat): Likewise.
49002         * wcsmbs/wcschr.c (wcschr): Likewise.
49003         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49004         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49005         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49006         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49007         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49008         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49009         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49010         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49011         * wcsmbs/wmemset.c (wmemset): Likewise.
49013 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49015         * scripts/config.guess: Update to version 2013-05-16.
49016         * scripts/config.sub: Update to version 2013-04-24.
49017         * scripts/install-sh: Update to version 2011-11-20.07.
49018         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49019         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49021 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49023         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49024         * elf/sln.c: Likewise.
49025         * hurd/hurd/ioctl.h: Likewise.
49026         * hurd/hurdmalloc.c: Likewise.
49027         * hurd/xattr.c: Likewise.
49028         * include/shlib-compat.h: Likewise.
49029         * inet/ruserpass.c: Likewise.
49030         * libio/iofgets_u.c: Likewise.
49031         * libio/iofgetws_u.c: Likewise.
49032         * locale/programs/ld-identification.c: Likewise.
49033         * locale/programs/ld-time.c: Likewise.
49034         * mach/msg-destroy.c: Likewise.
49035         * nss/nss_files/files-netgrp.c: Likewise.
49036         * resolv/res_data.c: Likewise.
49037         * soft-fp/op-1.h: Likewise.
49038         * soft-fp/op-2.h: Likewise.
49039         * soft-fp/op-4.h: Likewise.
49040         * soft-fp/op-common.h: Likewise.
49041         * stdio-common/printf_fphex.c: Likewise.
49042         * stdlib/strtod_l.c: Likewise.
49043         * sunrpc/rpc/clnt.h: Likewise.
49044         * sysdeps/generic/framestate.c: Likewise.
49045         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49046         * sysdeps/i386/bsd-setjmp.S: Likewise.
49047         * sysdeps/i386/__longjmp.S: Likewise.
49048         * sysdeps/i386/setjmp.S: Likewise.
49049         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49050         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49051         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49052         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49053         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49054         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49055         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49056         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49057         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49058         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49059         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49060         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49061         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49062         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49063         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49064         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49065         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49066         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49067         * sysdeps/ieee754/support.c: Likewise.
49068         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49069         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49070         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49071         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49072         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49073         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49074         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49075         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49076         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49077         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49078         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49079         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49080         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49081         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49082         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49083         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49084         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49087 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49089         * posix/transbug.c: Remove executable mode.
49091 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49093         * crypt/speeds.c: Remove trailing whitespace.
49094         * dlfcn/default.c: Likewise.
49095         * elf/ifuncdep2.c: Likewise.
49096         * elf/ifuncmain1.c: Likewise.
49097         * elf/ifuncmain1vis.c: Likewise.
49098         * elf/testobj.h: Likewise.
49099         * elf/tst-stackguard1.c: Likewise.
49100         * gmon/sys/gmon.h: Likewise.
49101         * hurd/hurdmsg.c: Likewise.
49102         * hurd/new-fd.c: Likewise.
49103         * hurd/ports-get.c: Likewise.
49104         * iconvdata/ibm1008_420.c: Likewise.
49105         * inet/tst-getni1.c: Likewise.
49106         * inet/tst-getni2.c: Likewise.
49107         * libio/ioungetc.c: Likewise.
49108         * libio/wfiledoalloc.c: Likewise.
49109         * manual/libm-err-tab.pl: Likewise.
49110         * math/w_dremf.c: Likewise.
49111         * misc/ftruncate.c: Likewise.
49112         * posix/bug-glob2.c: Likewise.
49113         * posix/tst-pcre.c: Likewise.
49114         * posix/wait4.c: Likewise.
49115         * resolv/README: Likewise.
49116         * resolv/res_debug.h: Likewise.
49117         * resolv/tst-inet_ntop.c: Likewise.
49118         * setjmp/bug269-setjmp.c: Likewise.
49119         * soft-fp/extended.h: Likewise.
49120         * soft-fp/op-1.h: Likewise.
49121         * soft-fp/op-2.h: Likewise.
49122         * soft-fp/op-4.h: Likewise.
49123         * soft-fp/op-8.h: Likewise.
49124         * soft-fp/testit.c: Likewise.
49125         * stdio-common/bug16.c: Likewise.
49126         * stdlib/random.c: Likewise.
49127         * sunrpc/rpcsvc/rquota.x: Likewise.
49128         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49129         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49130         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49131         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49132         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49133         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49134         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49135         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49136         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49137         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49138         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49139         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49140         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49141         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49142         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49143         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49144         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49145         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49146         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49147         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49148         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49149         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49150         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49151         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49152         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49153         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49154         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49155         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49156         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49157         * sysdeps/ieee754/s_lib_version.c: Likewise.
49158         * sysdeps/mach/hurd/check_fds.c: Likewise.
49159         * sysdeps/mach/hurd/getsockname.c: Likewise.
49160         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49161         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49162         * sysdeps/powerpc/bits/link.h: Likewise.
49163         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49164         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49165         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49166         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49167         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49168         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49169         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49170         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49171         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49172         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49173         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49174         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49175         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49176         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49177         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49178         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49179         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49180         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49181         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49182         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49183         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49184         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49185         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49186         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49187         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49188         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49189         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49190         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49191         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49192         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49193         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49194         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49195         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49196         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49197         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49198         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49199         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49200         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49201         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49202         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49203         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49204         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49205         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49206         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49207         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49208         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49209         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49210         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49211         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49212         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49213         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49214         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49215         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49216         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49217         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49218         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49219         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49220         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49221         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49222         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49223         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49224         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49225         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49226         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49227         * sysdeps/powerpc/sysdep.h: Likewise.
49228         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49229         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49230         * sysdeps/sh/dl-trampoline.S: Likewise.
49231         * sysdeps/sh/memset.S: Likewise.
49232         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49233         * sysdeps/sh/strlen.S: Likewise.
49234         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49235         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49236         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49237         * sysdeps/sparc/sparc32/rem.S: Likewise.
49238         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49239         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49240         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49241         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49242         * sysdeps/sparc/sparc32/urem.S: Likewise.
49243         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49244         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49245         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49246         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49247         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49248         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49249         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49250         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49251         * sysdeps/unix/bsd/times.c: Likewise.
49252         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49253         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49257         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49258         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49259         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49260         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49261         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49262         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49263         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49264         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49265         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49266         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49267         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49268         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49269         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49270         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49271         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49272         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49273         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49274         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49275         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49276         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49277         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49278         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49279         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49280         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49281         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49282         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49283         * sysdeps/x86_64/strcspn.S: Likewise.
49285 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49287         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49288         generated file.  Regenerate properly from gen-translit.pl.
49289         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49290         locale/C-translit.h.
49292 2013-06-05  Andreas Schwab  <schwab@suse.de>
49294         [BZ #15100]
49295         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49296         week as 6 instead of -1.
49297         * time/tst-strptime.c (day_tests): Add test case.
49299 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49301         * sysdeps/generic/math_private.h
49302         (libc_feholdexcept_setround_53bit): Replace with
49303         libc_feholdsetround_53bit.
49304         (libc_feupdateenv_53bit): Replace with
49305         libc_feresetround_53bit.
49306         (SET_RESTORE_ROUND_53BIT): Adjust.
49308 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49310         * string/test-strchrnul.c: Add copyright header.
49312         * posix/tst-getaddrinfo4.c: Increase test timeout.
49314 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49316         [BZ #15536]
49317         * math/libm-test.inc (MAX_EXP): Remove
49318         (MIN_EXP): Define.
49319         (ulp): Use MIN_EXP - MANT_DIG.
49320         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49322 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49324         * po/be.po: Revert last change.
49325         * po/zh_CN.po: Likewise.
49326         * po/header.pot: Likewise.
49328 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49330         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49331         link-libc-deps to empty as target-specific variable.
49332         * Makerules (link-libc-args): New variable.
49333         (libc-for-link): Likewise.
49334         (link-libc-deps): Likewise.
49335         (lib%.so): Depend on $(link-libc-deps).  Link with
49336         $(link-libc-args).
49337         (build-module): Link with $(link-libc-args).
49338         (build-module-asneeded): Likewise.
49339         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49340         list of objects.
49341         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49342         target-specific variable.
49343         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49344         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49345         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49346         libc.
49347         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49348         libc and ld.so.
49349         ($(objpfx)libpcprofile.so): Likewise.
49350         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49351         libc_nonshared.a.
49352         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49353         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49354         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49355         $(link-libc-deps).
49356         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49357         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49358         * login/Makefile ($(objpfx)libutil.so): Likewise.
49359         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49360         * math/Makefile ($(objpfx)libm.so): Likewise.
49361         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49362         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49363         variable instead of depending directly on libc.
49364         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49365         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49366         $(link-libc-deps).
49367         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49368         libc.
49369         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49370         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49371         ($(objpfx)libanl.so): Likewise.
49372         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49373         ld.so.
49374         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49375         $(link-libc-deps).
49376         * sysdeps/i386/fpu/Makefile: Remove file.
49377         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49378         ($(objpfx)libm.so): Remove dependency on ld.so.
49380 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49382         [BZ # 15553]
49383         * nis/yp_xdr.c (XDRMAXNAME): Define.
49384         (XDRMAXRECORD): Define.
49385         (xdr_domainname): Use XDRMAXNAME.
49386         (xdr_mapname): Likewise.
49387         (xdr_peername): Likewise.
49388         (xdr_keydat): Use XDRMAXRECORD.
49389         (xdr_valdat): Likewise.
49391 2013-05-30  Jeff Law  <law@redhat.com>
49393         [BZ #14256]
49394         * manual/errno.texi (ESTALE): Update to account for more than
49395         just NFS file systems.
49396         * sysdeps/gnu/errlist.c: Regenerated.
49398 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49400         [BZ #15465]
49401         * elf/Makefile (tests): Add tst-null-argv.
49402         (modules-names):  Add tst-null-argv-lib.
49403         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49404         (tst-null-argv-ENV): Set environment for tst-null-argv.
49405         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49406         (RTLD_PROGNAME): New macro.
49407         * elf/tst-null-argv.c: New test case.
49408         * elf/tst-null-argv-lib.c: Library for test case.
49409         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49410         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49411         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49412         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49413         * elf/dl-init.c (call_init): Likewise.
49414         (_dl_init): Likewise.
49415         * elf/dl-load.c (print_search_path): Likewise.
49416         (_dl_map_object): Likewise.
49417         * elf/dl-lookup.c (do_lookup_x): Likewise.
49418         (add_dependency): Likewise.
49419         (_dl_lookup_symbol_x): Likewise.
49420         (_dl_debug_bindings): Likewise.
49421         * elf/dl-open.c (_dl_show_scope): Likewise.
49422         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49423         * elf/dl-version.c (match_symbol): Likewise.
49424         (_dl_check_map_versions): Likewise.
49425         * elf/rtld.c (dl_main): Likewise.
49426         (print_unresolved): Use RTLD_PROGNAME.
49427         (print_missing_version): Likewise.
49428         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49429         (elf_machine_rela): Likewise.
49430         * sysdeps/powerpc/powerpc32/dl-machine.c
49431         (__process_machine_rela): Likewise.
49432         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49433         Likewise.
49434         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49435         Likewise.
49436         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49437         Likewise.
49438         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49439         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49440         Likewise.
49441         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49442         Likewise.
49443         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49445 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49447         * po/be.po: Add descriptive title.
49448         * po/zh_CN.po: Likewise.
49449         * po/header.pot: Likewise.
49451 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49453         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49454         error message.
49455         (enlarge_archive): Likewise.
49457 2013-05-28  Ben North  <ben@redfrontdoor.org>
49459         * manual/arith.texi (frexp): It is the magnitude of the return
49460         value which lies in [0.5, 1), not the return value itself.
49462 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49466 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49468         * stdio-common/bug26.c (main): Correct fscanf template.
49470         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49471         declare _dl_skip_args.
49473         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49474         Don't declare.
49476         * manual/platform.texi: Add missing @end deftypefun.
49478 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49480         [BZ #15529]
49481         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49482         bit of mantissa of 2^16382.
49483         * math/libm-test.inc (hypot_test_data): Add more tests.
49485         * math/libm-test.inc: Add drem and pow10 to list of tested
49486         functions.
49487         (pow10_test): New function.
49488         (drem_test): Likewise.
49489         (drem_test_tonearest): Likewise.
49490         (drem_test_towardzero): Likewise.
49491         (drem_test_downward): Likewise.
49492         (drem_test_upward): Likewise.
49493         (main): Call the new functions.
49495         * math/libm-test.inc (finite_test_data): Remove.
49496         (finite_test): Run tests from isfinite_test_data.
49497         (gamma_test_data): Remove.
49498         (gamma_test): Run tests from lgamma_test_data.
49499         * sysdeps/i386/fpu/libm-test-ulps: Update.
49500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49502 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49504         * manual/platform.texi: Add PowerPC PPR function set documentation.
49505         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49506         implementation.
49508 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49510         * math/libm-test.inc (MAX_EXP): Define.
49511         (ULPDIFF): Define.
49512         (ulp): New function.
49513         (check_float_internal): Use ULPDIFF.
49514         (cpow_test): Disable failing test.
49515         (check_ulp): Test ulp() implemetnation.
49516         (main): Call check_ulp before starting tests.
49518 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49520         * math/gen-libm-test.pl (generate_testfile): Do not handle
49521         START_DATA and END_DATA.
49522         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49523         END_DATA.
49524         (acos_tonearest_test_data): Likewise.
49525         (acos_towardzero_test_data): Likewise.
49526         (acos_downward_test_data): Likewise.
49527         (acos_upward_test_data): Likewise.
49528         (acosh_test_data): Likewise.
49529         (asin_test_data): Likewise.
49530         (asin_tonearest_test_data): Likewise.
49531         (asin_towardzero_test_data): Likewise.
49532         (asin_downward_test_data): Likewise.
49533         (asin_upward_test_data): Likewise.
49534         (asinh_test_data): Likewise.
49535         (atan_test_data): Likewise.
49536         (atanh_test_data): Likewise.
49537         (atan2_test_data): Likewise.
49538         (cabs_test_data): Likewise.
49539         (cacos_test_data): Likewise.
49540         (cacosh_test_data): Likewise.
49541         (carg_test_data): Likewise.
49542         (casin_test_data): Likewise.
49543         (casinh_test_data): Likewise.
49544         (catan_test_data): Likewise.
49545         (catanh_test_data): Likewise.
49546         (cbrt_test_data): Likewise.
49547         (ccos_test_data): Likewise.
49548         (ccosh_test_data): Likewise.
49549         (ceil_test_data): Likewise.
49550         (cexp_test_data): Likewise.
49551         (cimag_test_data): Likewise.
49552         (clog_test_data): Likewise.
49553         (clog10_test_data): Likewise.
49554         (conj_test_data): Likewise.
49555         (copysign_test_data): Likewise.
49556         (cos_test_data): Likewise.
49557         (cos_tonearest_test_data): Likewise.
49558         (cos_towardzero_test_data): Likewise.
49559         (cos_downward_test_data): Likewise.
49560         (cos_upward_test_data): Likewise.
49561         (cosh_test_data): Likewise.
49562         (cosh_tonearest_test_data): Likewise.
49563         (cosh_towardzero_test_data): Likewise.
49564         (cosh_downward_test_data): Likewise.
49565         (cosh_upward_test_data): Likewise.
49566         (cpow_test_data): Likewise.
49567         (cproj_test_data): Likewise.
49568         (creal_test_data): Likewise.
49569         (csin_test_data): Likewise.
49570         (csinh_test_data): Likewise.
49571         (csqrt_test_data): Likewise.
49572         (ctan_test_data): Likewise.
49573         (ctan_tonearest_test_data): Likewise.
49574         (ctan_towardzero_test_data): Likewise.
49575         (ctan_downward_test_data): Likewise.
49576         (ctan_upward_test_data): Likewise.
49577         (ctanh_test_data): Likewise.
49578         (ctanh_tonearest_test_data): Likewise.
49579         (ctanh_towardzero_test_data): Likewise.
49580         (ctanh_downward_test_data): Likewise.
49581         (ctanh_upward_test_data): Likewise.
49582         (erf_test_data): Likewise.
49583         (erfc_test_data): Likewise.
49584         (exp_test_data): Likewise.
49585         (exp_tonearest_test_data): Likewise.
49586         (exp_towardzero_test_data): Likewise.
49587         (exp_downward_test_data): Likewise.
49588         (exp_upward_test_data): Likewise.
49589         (exp10_test_data): Likewise.
49590         (exp2_test_data): Likewise.
49591         (expm1_test_data): Likewise.
49592         (fabs_test_data): Likewise.
49593         (fdim_test_data): Likewise.
49594         (finite_test_data): Likewise.
49595         (floor_test_data): Likewise.
49596         (fma_test_data): Likewise.
49597         (fma_towardzero_test_data): Likewise.
49598         (fma_downward_test_data): Likewise.
49599         (fma_upward_test_data): Likewise.
49600         (fmax_test_data): Likewise.
49601         (fmin_test_data): Likewise.
49602         (fmod_test_data): Likewise.
49603         (fpclassify_test_data): Likewise.
49604         (frexp_test_data): Likewise.
49605         (gamma_test_data): Likewise.
49606         (hypot_test_data): Likewise.
49607         (ilogb_test_data): Likewise.
49608         (isfinite_test_data): Likewise.
49609         (isgreater_test_data): Likewise.
49610         (isgreaterequal_test_data): Likewise.
49611         (isinf_test_data): Likewise.
49612         (isless_test_data): Likewise.
49613         (islessequal_test_data): Likewise.
49614         (islessgreater_test_data): Likewise.
49615         (isnan_test_data): Likewise.
49616         (isnormal_test_data): Likewise.
49617         (issignaling_test_data): Likewise.
49618         (isunordered_test_data): Likewise.
49619         (j0_test_data): Likewise.
49620         (j1_test_data): Likewise.
49621         (jn_test_data): Likewise.
49622         (ldexp_test_data): Likewise.
49623         (lgamma_test_data): Likewise.
49624         (lrint_test_data): Likewise.
49625         (lrint_tonearest_test_data): Likewise.
49626         (lrint_towardzero_test_data): Likewise.
49627         (lrint_downward_test_data): Likewise.
49628         (lrint_upward_test_data): Likewise.
49629         (llrint_test_data): Likewise.
49630         (llrint_tonearest_test_data): Likewise.
49631         (llrint_towardzero_test_data): Likewise.
49632         (llrint_downward_test_data): Likewise.
49633         (llrint_upward_test_data): Likewise.
49634         (log_test_data): Likewise.
49635         (log10_test_data): Likewise.
49636         (log1p_test_data): Likewise.
49637         (log2_test_data): Likewise.
49638         (logb_test_data): Likewise.
49639         (logb_downward_test_data): Likewise.
49640         (lround_test_data): Likewise.
49641         (llround_test_data): Likewise.
49642         (modf_test_data): Likewise.
49643         (nearbyint_test_data): Likewise.
49644         (nextafter_test_data): Likewise.
49645         (nexttoward_test_data): Likewise.
49646         (pow_test_data): Likewise.
49647         (pow_tonearest_test_data): Likewise.
49648         (pow_towardzero_test_data): Likewise.
49649         (pow_downward_test_data): Likewise.
49650         (pow_upward_test_data): Likewise.
49651         (remainder_test_data): Likewise.
49652         (remainder_tonearest_test_data): Likewise.
49653         (remainder_towardzero_test_data): Likewise.
49654         (remainder_downward_test_data): Likewise.
49655         (remainder_upward_test_data): Likewise.
49656         (remquo_test_data): Likewise.
49657         (rint_test_data): Likewise.
49658         (rint_tonearest_test_data): Likewise.
49659         (rint_towardzero_test_data): Likewise.
49660         (rint_downward_test_data): Likewise.
49661         (rint_upward_test_data): Likewise.
49662         (round_test_data): Likewise.
49663         (scalb_test_data): Likewise.
49664         (scalbn_test_data): Likewise.
49665         (scalbln_test_data): Likewise.
49666         (signbit_test_data): Likewise.
49667         (sin_test_data): Likewise.
49668         (sin_tonearest_test_data): Likewise.
49669         (sin_towardzero_test_data): Likewise.
49670         (sin_downward_test_data): Likewise.
49671         (sin_upward_test_data): Likewise.
49672         (sincos_test_data): Likewise.
49673         (sinh_test_data): Likewise.
49674         (sinh_tonearest_test_data): Likewise.
49675         (sinh_towardzero_test_data): Likewise.
49676         (sinh_downward_test_data): Likewise.
49677         (sinh_upward_test_data): Likewise.
49678         (sqrt_test_data): Likewise.
49679         (tan_test_data): Likewise.
49680         (tan_tonearest_test_data): Likewise.
49681         (tan_towardzero_test_data): Likewise.
49682         (tan_downward_test_data): Likewise.
49683         (tan_upward_test_data): Likewise.
49684         (tanh_test_data): Likewise.
49685         (tgamma_test_data): Likewise.
49686         (trunc_test_data): Likewise.
49687         (y0_test_data): Likewise.
49688         (y1_test_data): Likewise.
49689         (yn_test_data): Likewise.
49690         (significand_test_data): Likewise.
49692         * math/gen-libm-test.pl (@functions): Remove variable.
49693         (generate_testfile): Don't handle START and END lines.
49694         * math/libm-test.inc (START): New macro.
49695         (END): Likewise.
49696         (END_COMPLEX): Likewise.
49697         (acos_test): Use END macro without arguments.
49698         (acos_test_tonearest): Likewise.
49699         (acos_test_towardzero): Likewise.
49700         (acos_test_downward): Likewise.
49701         (acos_test_upward): Likewise.
49702         (acosh_test): Likewise.
49703         (asin_test): Likewise.
49704         (asin_test_tonearest): Likewise.
49705         (asin_test_towardzero): Likewise.
49706         (asin_test_downward): Likewise.
49707         (asin_test_upward): Likewise.
49708         (asinh_test): Likewise.
49709         (atan_test): Likewise.
49710         (atanh_test): Likewise.
49711         (atan2_test): Likewise.
49712         (cabs_test): Likewise.
49713         (cacos_test): Use END_COMPLEX macro without arguments.
49714         (cacosh_test): Likewise.
49715         (carg_test): Use END macro without arguments.
49716         (casin_test): Use END_COMPLEX macro without arguments.
49717         (casinh_test): Likewise.
49718         (catan_test): Likewise.
49719         (catanh_test): Likewise.
49720         (cbrt_test): Use END macro without arguments.
49721         (ccos_test): Use END_COMPLEX macro without arguments.
49722         (ccosh_test): Likewise.
49723         (ceil_test): Use END macro without arguments.
49724         (cexp_test): Use END_COMPLEX macro without arguments.
49725         (cimag_test): Use END macro without arguments.
49726         (clog_test): Use END_COMPLEX macro without arguments.
49727         (clog10_test): Likewise.
49728         (conj_test): Likewise.
49729         (copysign_test): Use END macro without arguments.
49730         (cos_test): Likewise.
49731         (cos_test_tonearest): Likewise.
49732         (cos_test_towardzero): Likewise.
49733         (cos_test_downward): Likewise.
49734         (cos_test_upward): Likewise.
49735         (cosh_test): Likewise.
49736         (cosh_test_tonearest): Likewise.
49737         (cosh_test_towardzero): Likewise.
49738         (cosh_test_downward): Likewise.
49739         (cosh_test_upward): Likewise.
49740         (cpow_test): Use END_COMPLEX macro without arguments.
49741         (cproj_test): Likewise.
49742         (creal_test): Use END macro without arguments.
49743         (csin_test): Use END_COMPLEX macro without arguments.
49744         (csinh_test): Likewise.
49745         (csqrt_test): Likewise.
49746         (ctan_test): Likewise.
49747         (ctan_test_tonearest): Likewise.
49748         (ctan_test_towardzero): Likewise.
49749         (ctan_test_downward): Likewise.
49750         (ctan_test_upward): Likewise.
49751         (ctanh_test): Likewise.
49752         (ctanh_test_tonearest): Likewise.
49753         (ctanh_test_towardzero): Likewise.
49754         (ctanh_test_downward): Likewise.
49755         (ctanh_test_upward): Likewise.
49756         (erf_test): Use END macro without arguments.
49757         (erfc_test): Likewise.
49758         (exp_test): Likewise.
49759         (exp_test_tonearest): Likewise.
49760         (exp_test_towardzero): Likewise.
49761         (exp_test_downward): Likewise.
49762         (exp_test_upward): Likewise.
49763         (exp10_test): Likewise.
49764         (exp2_test): Likewise.
49765         (expm1_test): Likewise.
49766         (fabs_test): Likewise.
49767         (fdim_test): Likewise.
49768         (finite_test): Likewise.
49769         (floor_test): Likewise.
49770         (fma_test): Likewise.
49771         (fma_test_towardzero): Likewise.
49772         (fma_test_downward): Likewise.
49773         (fma_test_upward): Likewise.
49774         (fmax_test): Likewise.
49775         (fmin_test): Likewise.
49776         (fmod_test): Likewise.
49777         (fpclassify_test): Likewise.
49778         (frexp_test): Likewise.
49779         (gamma_test): Likewise.
49780         (hypot_test): Likewise.
49781         (ilogb_test): Likewise.
49782         (isfinite_test): Likewise.
49783         (isgreater_test): Likewise.
49784         (isgreaterequal_test): Likewise.
49785         (isinf_test): Likewise.
49786         (isless_test): Likewise.
49787         (islessequal_test): Likewise.
49788         (islessgreater_test): Likewise.
49789         (isnan_test): Likewise.
49790         (isnormal_test): Likewise.
49791         (issignaling_test): Likewise.
49792         (isunordered_test): Likewise.
49793         (j0_test): Likewise.
49794         (j1_test): Likewise.
49795         (jn_test): Likewise.
49796         (ldexp_test): Likewise.
49797         (lgamma_test): Likewise.
49798         (lrint_test): Likewise.
49799         (lrint_test_tonearest): Likewise.
49800         (lrint_test_towardzero): Likewise.
49801         (lrint_test_downward): Likewise.
49802         (lrint_test_upward): Likewise.
49803         (llrint_test): Likewise.
49804         (llrint_test_tonearest): Likewise.
49805         (llrint_test_towardzero): Likewise.
49806         (llrint_test_downward): Likewise.
49807         (llrint_test_upward): Likewise.
49808         (log_test): Likewise.
49809         (log10_test): Likewise.
49810         (log1p_test): Likewise.
49811         (log2_test): Likewise.
49812         (logb_test): Likewise.
49813         (logb_test_downward): Likewise.
49814         (lround_test): Likewise.
49815         (llround_test): Likewise.
49816         (modf_test): Likewise.
49817         (nearbyint_test): Likewise.
49818         (nextafter_test): Likewise.
49819         (nexttoward_test): Likewise.
49820         (pow_test): Likewise.
49821         (pow_test_tonearest): Likewise.
49822         (pow_test_towardzero): Likewise.
49823         (pow_test_downward): Likewise.
49824         (pow_test_upward): Likewise.
49825         (remainder_test): Likewise.
49826         (remainder_test_tonearest): Likewise.
49827         (remainder_test_towardzero): Likewise.
49828         (remainder_test_downward): Likewise.
49829         (remainder_test_upward): Likewise.
49830         (remquo_test): Likewise.
49831         (rint_test): Likewise.
49832         (rint_test_tonearest): Likewise.
49833         (rint_test_towardzero): Likewise.
49834         (rint_test_downward): Likewise.
49835         (rint_test_upward): Likewise.
49836         (round_test): Likewise.
49837         (scalb_test): Likewise.
49838         (scalbn_test): Likewise.
49839         (scalbln_test): Likewise.
49840         (signbit_test): Likewise.
49841         (sin_test): Likewise.
49842         (sin_test_tonearest): Likewise.
49843         (sin_test_towardzero): Likewise.
49844         (sin_test_downward): Likewise.
49845         (sin_test_upward): Likewise.
49846         (sincos_test): Likewise.
49847         (sinh_test): Likewise.
49848         (sinh_test_tonearest): Likewise.
49849         (sinh_test_towardzero): Likewise.
49850         (sinh_test_downward): Likewise.
49851         (sinh_test_upward): Likewise.
49852         (sqrt_test): Likewise.
49853         (tan_test): Likewise.
49854         (tan_test_tonearest): Likewise.
49855         (tan_test_towardzero): Likewise.
49856         (tan_test_downward): Likewise.
49857         (tan_test_upward): Likewise.
49858         (tanh_test): Likewise.
49859         (tgamma_test): Likewise.
49860         (trunc_test): Likewise.
49861         (y0_test): Likewise.
49862         (y1_test): Likewise.
49863         (yn_test): Likewise.
49864         (significand_test): Likewise.
49866 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49868         [BZ #15381]
49869         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49871 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49873         [BZ #14894]
49874         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49875         __ppc_mdoio and __ppc_mdoom.
49876         * manual/platform.texi: Document new functions __ppc_yield,
49877         __ppc_mdoio and __ppc_mdoom.
49879 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49881         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49882         (main): Mention "tls" pseudo-hwcap is legacy.
49883         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49885 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49887         * math/gen-libm-test.pl (parse_args): Output only string of
49888         arguments as text for test name, not full call or descriptions of
49889         tests for extra outputs.
49890         (generate_testfile): Do not pass function name to parse_args.
49891         Generate this_func variable from START.
49892         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49893         field to arg_str.
49894         (struct test_ff_f_data): Likewise.
49895         (test_ff_f_data_nexttoward): Likewise.
49896         (struct test_fi_f_data): Likewise.
49897         (struct test_fl_f_data): Likewise.
49898         (struct test_if_f_data): Likewise.
49899         (struct test_fff_f_data): Likewise.
49900         (struct test_c_f_data): Likewise.
49901         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49902         (struct test_fF_f1_data): Likewise.
49903         (struct test_ffI_f1_data): Likewise.
49904         (struct test_c_c_data): Rename test_name field to arg_str.
49905         (struct test_cc_c_data): Likewise.
49906         (struct test_f_i_data): Likewise.
49907         (struct test_ff_i_data): Likewise.
49908         (struct test_f_l_data): Likewise.
49909         (struct test_f_L_data): Likewise.
49910         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49911         and extra2_name.
49912         (COMMON_TEST_SETUP): New macro.
49913         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49914         (COMMON_TEST_CLEANUP): Likewise.
49915         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49916         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49917         macros.
49918         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49919         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49920         macros.
49921         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49922         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49923         cleanup macros.
49924         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49925         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49926         macros.
49927         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49928         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49929         macros.
49930         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49931         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49932         cleanup macros.
49933         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49934         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49935         cleanup macros.
49936         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49937         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49938         cleanup macros.
49939         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49940         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49941         macros.
49942         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49943         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49944         macros.
49945         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49946         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49947         macros.
49948         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49949         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49950         cleanup macros.
49951         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49952         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49953         cleanup macros.
49954         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49955         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49956         macros.
49957         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49958         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49959         cleanup macros.
49960         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49961         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49962         macros.
49963         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49964         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49965         macros.
49966         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49967         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49968         cleanup macros.
49969         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49971 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49973         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49974         to _sifields.sigfault.
49975         (si_addr_lsb): Define new macro.
49976         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49977         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49978         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49980 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49982         [BZ #15441]
49983         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49984         returns -1.
49985         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49986         null return -1.
49987         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49988         loading the domain.
49990 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49992         * math/gen-libm-test.pl (parse_args): Do not include expected
49993         result in test name.
49994         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49995         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49996         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49997         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49998         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50001 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50003         * benchtests/Makefile: Sort function entries.
50005         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50006         tanh, asinh, acosh, atanh.
50007         * benchtests/acos-inputs: New file.
50008         * benchtests/acosh-inputs: New file.
50009         * benchtests/asin-inputs: New file.
50010         * benchtests/asinh-inputs: New file.
50011         * benchtests/atanh-inputs: New file.
50012         * benchtests/cosh-inputs: New file.
50013         * benchtests/log-inputs: New file.
50014         * benchtests/sinh-inputs: New file.
50015         * benchtests/tanh-inputs: New file.
50017 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50019         [BZ #15339]
50020         * posix/tst-getaddrinfo4.c: New test.
50021         * posix/Makefile (tests): Add it.
50023 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50025         [BZ #15339]
50026         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50027         when no services were used.
50028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50029         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50031 2013-05-21  Andreas Schwab  <schwab@suse.de>
50033         [BZ #15014]
50034         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50035         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50036         successful.
50037         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50038         redundant variable declarations and reallocation of buffer when
50039         parsing as IPv6 address.  Always set NSS status when called from
50040         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50041         buffer too small.  Correct computation of needed size.
50042         * nss/Makefile (tests): Add test-digits-dots.
50043         * nss/test-digits-dots.c: New test.
50045 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50047         * benchtests/Makefile: Remove instructions for adding
50048         benchmark tests.
50049         * benchtests/README: New file to explain how to execute and
50050         enhance the benchmark tests.
50052 2013-05-21  Andreas Schwab  <schwab@suse.de>
50054         [BZ #15493]
50055         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50056         * setjmp/tst-sigsetjmp.c: New test.
50058 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50060         * sysdeps/x86_64/memset.S (memset): New implementation.
50061         (__bzero): Likewise.
50062         (__memset_tail): New function.
50064 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50066         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50067         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50068         __memcpy_sse2_unaligned ifunc selection.
50069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50070         Add memcpy-sse2-unaligned.S.
50071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50072         Add: __memcpy_sse2_unaligned.
50074 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50076         [BZ #15490]
50077         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50078         math_force_eval before restoring floating-point envrionment.
50079         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50080         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50081         Likewise.
50082         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50083         <math_private.h>.
50084         (__nearbyintl): Use math_force_eval before restoring
50085         floating-point environment.
50086         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50088         * math/gen-libm-test.pl (special_functions): Remove.
50089         (parse_args): Don't handle TEST_extra.  Handle functions with no
50090         return value.
50091         * math/libm-test.inc (struct test_sincos_data): Replace with
50092         struct test_fFF_11_data.
50093         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50094         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50095         (sincos_test_data): Change element type to struct
50096         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50097         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50098         RUN_TEST_LOOP_sincos.
50099         * math/README.libm-test: Don't mention special handling of
50100         individual functions.
50101         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50102         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50103         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50104         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50105         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50108         * math/gen-libm-test.pl (get_variable): Remove function.
50109         (parse_args): Don't show pointer parameters to call in test
50110         names.  Use "extra output N" in test names for extra outputs
50111         rather than naming variables.
50113 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50115         [BZ #15488]
50116         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50117         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50118         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50119         double tests.
50120         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50121         disable.
50122         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50123         check_long_double.
50125         * math/gen-libm-test.pl (@tests): Remove variable.
50126         ($count): Likewise.
50127         (new_test): Remove function.
50128         (show_exceptions): New function.
50129         (special_functions): Use show_exceptions instead of new_test.
50130         (parse_args): Likewise.
50131         (generate_testfile): Pass only function name in generated call to
50132         print_max_error or print_complex_max_error.
50133         (get_ulps): Do not handle complex tests specially.
50134         (output_test): Rename to ...
50135         (get_all_ulps_for_test): ... this.  Return a string rather than
50136         printing to a file.  Require ulps to be present.
50137         (output_ulps): Generate arrays rather than #defines.
50138         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50139         (struct ulp_data): New type.
50140         (BUILD_COMPLEX_ULP): Remove macro.
50141         (compare_ulp_data): New function.
50142         (find_ulps): Likewise.
50143         (find_test_ulps): Likewise.
50144         (find_function_ulps): Likewise.
50145         (find_complex_function_ulps): Likewise.
50146         (print_max_error): Determine allowed ulps using
50147         find_function_ulps.
50148         (print_complex_max_error): Determine allowed ulps using
50149         find_complex_function_ulps.
50150         (check_float_internal): Determine max ulps using find_test_ulps.
50151         (check_float): Do not take max_ulp parameter.  Update call to
50152         check_float_internal.
50153         (check_complex): Likewise.
50154         (check_int): Do not take max_ulp parameter.
50155         (check_long): Likewise.
50156         (check_bool): Likewise.
50157         (check_longlong): Likewise.
50158         (struct test_f_f_data): Remove max_ulp field.
50159         (struct test_ff_f_data): Likewise.
50160         (struct test_ff_f_data_nexttoward): Likewise.
50161         (struct test_fi_f_data): Likewise.
50162         (struct test_fl_f_data): Likewise.
50163         (struct test_if_f_data): Likewise.
50164         (struct test_fff_f_data): Likewise.
50165         (struct test_c_f_data): Likewise.
50166         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50167         (struct test_fF_f1_data): Likewise.
50168         (struct test_ffI_f1_data): Likewise.
50169         (struct test_c_c_data): Remove max_ulp field.
50170         (struct test_cc_c_data): Likewise.
50171         (struct test_f_i_data): Likewise.
50172         (struct test_ff_i_data): Likewise.
50173         (struct test_f_l_data): Likewise.
50174         (struct test_f_L_data): Likewise.
50175         (struct test_sincos_data): Likewise.
50176         (RUN_TEST_f_f): Do not handle ulps.
50177         (RUN_TEST_LOOP_f_f): Likewise.
50178         (RUN_TEST_2_f): Likewise.
50179         (RUN_TEST_LOOP_2_f): Likewise.
50180         (RUN_TEST_fff_f): Likewise.
50181         (RUN_TEST_LOOP_fff_f): Likewise.
50182         (RUN_TEST_c_f): Likewise.
50183         (RUN_TEST_LOOP_c_f): Likewise.
50184         (RUN_TEST_f_f1): Likewise.
50185         (RUN_TEST_LOOP_f_f1): Likewise.
50186         (RUN_TEST_fF_f1): Likewise.
50187         (RUN_TEST_LOOP_fF_f1): Likewise.
50188         (RUN_TEST_fI_f1): Likewise.
50189         (RUN_TEST_LOOP_fI_f1): Likewise.
50190         (RUN_TEST_ffI_f1): Likewise.
50191         (RUN_TEST_LOOP_ffI_f1): Likewise.
50192         (RUN_TEST_c_c): Likewise.
50193         (RUN_TEST_LOOP_c_c): Likewise.
50194         (RUN_TEST_cc_c): Likewise.
50195         (RUN_TEST_LOOP_cc_c): Likewise.
50196         (RUN_TEST_f_i): Likewise.
50197         (RUN_TEST_LOOP_f_i): Likewise.
50198         (RUN_TEST_f_i_tg): Likewise.
50199         (RUN_TEST_LOOP_f_i_tg): Likewise.
50200         (RUN_TEST_ff_i_tg): Likewise.
50201         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50202         (RUN_TEST_f_b): Likewise.
50203         (RUN_TEST_LOOP_f_b): Likewise.
50204         (RUN_TEST_f_b_tg): Likewise.
50205         (RUN_TEST_LOOP_f_b_tg): Likewise.
50206         (RUN_TEST_f_l): Likewise.
50207         (RUN_TEST_LOOP_f_l): Likewise.
50208         (RUN_TEST_f_L): Likewise.
50209         (RUN_TEST_LOOP_f_L): Likewise.
50210         (RUN_TEST_sincos): Likewise.
50211         (RUN_TEST_LOOP_sincos): Likewise.
50213 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50215         [BZ #15480]
50216         [BZ #15485]
50217         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50218         main case of finite arguments, set rounding mode to FE_TONEAREST
50219         and discard exceptions.
50220         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50221         exceptions.
50222         (remainder_tonearest_test_data): New variable.
50223         (remainder_test_tonearest): New function.
50224         (remainder_towardzero_test_data): New variable.
50225         (remainder_test_towardzero): New function.
50226         (remainder_downward_test_data): New variable.
50227         (remainder_test_downward): New function.
50228         (remainder_upward_test_data): New variable.
50229         (remainder_test_upward): New function.
50230         (main): Call the new test functions.
50232         * math/libm-test.inc (struct test_f_f1_data): Remove field
50233         extra_init.
50234         (struct test_fF_f1_data): Likewise.
50235         (struct test_ffI_f1_data): Likewise.
50236         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50237         based on value of EXTRA_EXPECTED.
50238         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50239         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50240         EXTRA_VAR based on value of EXTRA_EXPECTED.
50241         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50242         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50243         EXTRA_VAR based on value of EXTRA_EXPECTED.
50244         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50245         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50246         EXTRA_VAR based on value of EXTRA_EXPECTED.
50247         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50248         * math/gen-libm-test.pl (parse_args): Don't output initializers
50249         for extra output values.
50251         * math/libm-test.inc (check_int): Expect result to be exactly
50252         equal to expected value and do not handle ulps.
50253         (check_long): Likewise.
50254         (check_longlong): Likewise.
50256         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50257         exceptions.
50258         (cimag_test_data): Likewise.
50259         (conj_test_data): Likewise.
50260         (copysign_test_data): Likewise.
50261         (cproj_test_data): Likewise.
50262         (creal_test_data): Likewise.
50263         (fabs_test_data): Likewise.
50264         (fdim_test_data): Likewise.
50265         (finite_test_data): Likewise.
50266         (floor_test_data): Likewise.
50267         (fmax_test_data): Likewise.
50268         (fmin_test_data): Likewise.
50269         (fmod_test_data): Likewise.
50270         (fpclassify_test_data): Likewise.
50271         (frexp_test_data): Likewise.
50272         (ilogb_test_data): Likewise.
50273         (isfinite_test_data): Likewise.
50274         (isgreater_test_data): Likewise.
50275         (isgreaterequal_test_data): Likewise.
50276         (isinf_test_data): Likewise.
50277         (isless_test_data): Likewise.
50278         (islessequal_test_data): Likewise.
50279         (islessgreater_test_data): Likewise.
50280         (isnan_test_data): Likewise.
50281         (isnormal_test_data): Likewise.
50282         (issignaling_test_data): Likewise.
50283         (isunordered_test_data): Likewise.
50284         (ldexp_test_data): Likewise.
50285         (lrint_test_data): Likewise.
50286         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50287         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50288         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50289         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50290         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50291         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50292         test input.
50293         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50294         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50295         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50296         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50297         that test input.
50298         (lrint_downward_test_data): Test for "inexact" exceptions.
50299         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50300         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50301         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50302         test input.
50303         (lrint_upward_test_data): Test for "inexact" exceptions.
50304         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50305         test input.
50306         (llrint_test_data): Test for "inexact" exceptions.
50307         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50308         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50309         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50310         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50311         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50312         (llrint_downward_test_data): Test for "inexact" exceptions.
50313         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50314         (llrint_upward_test_data): Test for "inexact" exceptions.
50315         (logb_test_data): Likewise.
50316         (logb_downward_test_data): Likewise.
50317         (nextafter_test_data): Likewise.
50318         (nexttoward_test_data): Likewise.
50319         (remainder_test_data): Likewise.
50320         (remquo_test_data): Likewise.
50321         (scalbn_test_data): Likewise.
50322         (scalbln_test_data): Likewise.
50323         (signbit_test_data): Likewise.
50324         (sqrt_test_data): Likewise.
50325         (significand_test_data): Likewise.
50327 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50329         [BZ #15424]
50330         * benchtests/bench-modf.c (struct args): Mark arg0 as
50331         volatile.
50332         * scripts/bench.pl: Mark members of struct args as volatile.
50334 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50336         [BZ # 15497]
50337         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50338         negative infinity on POWER6 or lower.
50339         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50341 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50343         [BZ #15442]
50344         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50345         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50346         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50347         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50348         (_FP_SETQNAN): New macro.
50349         (_FP_SETQNAN_SEMIRAW): Likewise.
50350         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50351         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50352         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50353         (FP_EXTEND): Use _FP_FRAC_SNANP.
50354         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50355         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50356         into account.
50357         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50358         New macro.
50359         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50360         Likewise.
50362 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50364         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50365         with DIVIDE_BY_ZERO_EXCEPTION.
50366         (gamma_test_data): Likewise.
50367         (lgamma_test_data): Likewise.
50368         (log_test_data): Likewise.
50369         (log10_test_data): Likewise.
50370         (log2_test_data): Likewise.
50371         (tgamma_test_data): Likewise.
50373         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50374         (acos_test_tonearest): Likewise.
50375         (acos_test_towardzero): Likewise.
50376         (acos_test_downward): Likewise.
50377         (acos_test_upward): Likewise.
50378         (acosh_test): Likewise.
50379         (asin_test): Likewise.
50380         (asin_test_tonearest): Likewise.
50381         (asin_test_towardzero): Likewise.
50382         (asin_test_downward): Likewise.
50383         (asin_test_upward): Likewise.
50384         (asinh_test): Likewise.
50385         (atan_test): Likewise.
50386         (atanh_test): Likewise.
50387         (atan2_test): Likewise.
50388         (cabs_test): Likewise.
50389         (cacos_test): Likewise.
50390         (cacosh_test): Likewise.
50391         (casin_test): Likewise.
50392         (casinh_test): Likewise.
50393         (catan_test): Likewise.
50394         (catanh_test): Likewise.
50395         (cbrt_test): Likewise.
50396         (ccos_test): Likewise.
50397         (ccosh_test): Likewise.
50398         (cexp_test): Likewise.
50399         (clog_test): Likewise.
50400         (clog10_test): Likewise.
50401         (cos_test): Likewise.
50402         (cos_test_tonearest): Likewise.
50403         (cos_test_towardzero): Likewise.
50404         (cos_test_downward): Likewise.
50405         (cos_test_upward): Likewise.
50406         (cosh_test): Likewise.
50407         (cosh_test_tonearest): Likewise.
50408         (cosh_test_towardzero): Likewise.
50409         (cosh_test_downward): Likewise.
50410         (cosh_test_upward): Likewise.
50411         (cpow_test): Likewise.
50412         (csin_test): Likewise.
50413         (csinh_test): Likewise.
50414         (csqrt_test): Likewise.
50415         (ctan_test): Likewise.
50416         (ctan_test_tonearest): Likewise.
50417         (ctan_test_towardzero): Likewise.
50418         (ctan_test_downward): Likewise.
50419         (ctan_test_upward): Likewise.
50420         (ctanh_test): Likewise.
50421         (ctanh_test_tonearest): Likewise.
50422         (ctanh_test_towardzero): Likewise.
50423         (ctanh_test_downward): Likewise.
50424         (ctanh_test_upward): Likewise.
50425         (erf_test): Likewise.
50426         (erfc_test): Likewise.
50427         (exp_test): Likewise.
50428         (exp_test_tonearest): Likewise.
50429         (exp_test_towardzero): Likewise.
50430         (exp_test_downward): Likewise.
50431         (exp_test_upward): Likewise.
50432         (exp10_test): Likewise.
50433         (exp2_test): Likewise.
50434         (expm1_test): Likewise.
50435         (fmod_test): Likewise.
50436         (gamma_test): Likewise.
50437         (hypot_test): Likewise.
50438         (j0_test): Likewise.
50439         (j1_test): Likewise.
50440         (jn_test): Likewise.
50441         (lgamma_test): Likewise.
50442         (log_test): Likewise.
50443         (log10_test): Likewise.
50444         (log1p_test): Likewise.
50445         (log2_test): Likewise.
50446         (logb_test_downward): Likewise.
50447         (pow_test): Likewise.
50448         (pow_test_tonearest): Likewise.
50449         (pow_test_towardzero): Likewise.
50450         (pow_test_downward): Likewise.
50451         (pow_test_upward): Likewise.
50452         (remainder_test): Likewise.
50453         (remquo_test): Likewise.
50454         (sin_test): Likewise.
50455         (sin_test_tonearest): Likewise.
50456         (sin_test_towardzero): Likewise.
50457         (sin_test_downward): Likewise.
50458         (sin_test_upward): Likewise.
50459         (sincos_test): Likewise.
50460         (sinh_test): Likewise.
50461         (sinh_test_tonearest): Likewise.
50462         (sinh_test_towardzero): Likewise.
50463         (sinh_test_downward): Likewise.
50464         (sinh_test_upward): Likewise.
50465         (sqrt_test): Likewise.
50466         (tan_test): Likewise.
50467         (tan_test_tonearest): Likewise.
50468         (tan_test_towardzero): Likewise.
50469         (tan_test_downward): Likewise.
50470         (tan_test_upward): Likewise.
50471         (tanh_test): Likewise.
50472         (tgamma_test): Likewise.
50473         (y0_test): Likewise.
50474         (y1_test): Likewise.
50475         (yn_test): Likewise.
50477         * math/gen-libm-test.pl (adjust_arg): Remove function.
50478         (special_function): Remove argument $in_func.  Only handle
50479         generating output for tables of tests, not inside functions.
50480         (parse_args): Likewise.
50481         (generate_testfile): Remove variable $in_func.  Update call to
50482         parse_args.
50483         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50484         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50485         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50486         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50487         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50488         (MAX_VALUE_INIT): Rename macro to max_value.
50489         (MIN_VALUE_INIT): Rename macro to min_value.
50490         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50491         (plus_zero): Remove variable.
50492         (minus_zero): Likewise.
50493         (plus_infty): Likewise.
50494         (minus_infty): Likewise.
50495         (qnan_value): Likewise.
50496         (max_value): Likewise.
50497         (min_value): Likewise.
50498         (min_subnorm_value): Likewise.
50500 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50502         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50503         uint64_t or uint32_t usage.
50504         * crypt/sha256-block.c: Likewise.
50505         * crypt/sha256-crypt.c: Likewise.
50506         * crypt/sha256.c: Likewise.
50507         * crypt/sha512-block.c: Likewise.
50508         * crypt/sha512-crypt.c: Likewise.
50509         * crypt/sha512.c: Likewise.
50510         * debug/backtrace-tst.c: Likewise.
50511         * debug/pcprofiledump.c: Likewise.
50512         * elf/cache.c: Likewise.
50513         * elf/dl-cache.c: Likewise.
50514         * elf/dl-misc.c: Likewise.
50515         * elf/dl-profile.c: Likewise.
50516         * elf/dl-support.c: Likewise.
50517         * elf/ldconfig.c: Likewise.
50518         * elf/sprof.c: Likewise.
50519         * iconv/dummy-repertoire.c: Likewise.
50520         * iconv/iconv_charmap.c: Likewise.
50521         * iconv/skeleton.c: Likewise.
50522         * iconvdata/8bit-generic.c: Likewise.
50523         * iconvdata/cp737.h: Likewise.
50524         * iconvdata/cp775.h: Likewise.
50525         * iconvdata/ibm1008.h: Likewise.
50526         * iconvdata/ibm1025.h: Likewise.
50527         * iconvdata/ibm1046.h: Likewise.
50528         * iconvdata/ibm1097.h: Likewise.
50529         * iconvdata/ibm1112.h: Likewise.
50530         * iconvdata/ibm1122.h: Likewise.
50531         * iconvdata/ibm1123.h: Likewise.
50532         * iconvdata/ibm1124.h: Likewise.
50533         * iconvdata/ibm1129.h: Likewise.
50534         * iconvdata/ibm1130.h: Likewise.
50535         * iconvdata/ibm1132.h: Likewise.
50536         * iconvdata/ibm1133.h: Likewise.
50537         * iconvdata/ibm1137.h: Likewise.
50538         * iconvdata/ibm1140.h: Likewise.
50539         * iconvdata/ibm1141.h: Likewise.
50540         * iconvdata/ibm1142.h: Likewise.
50541         * iconvdata/ibm1143.h: Likewise.
50542         * iconvdata/ibm1144.h: Likewise.
50543         * iconvdata/ibm1145.h: Likewise.
50544         * iconvdata/ibm1146.h: Likewise.
50545         * iconvdata/ibm1147.h: Likewise.
50546         * iconvdata/ibm1148.h: Likewise.
50547         * iconvdata/ibm1149.h: Likewise.
50548         * iconvdata/ibm1153.h: Likewise.
50549         * iconvdata/ibm1154.h: Likewise.
50550         * iconvdata/ibm1155.h: Likewise.
50551         * iconvdata/ibm1156.h: Likewise.
50552         * iconvdata/ibm1157.h: Likewise.
50553         * iconvdata/ibm1158.h: Likewise.
50554         * iconvdata/ibm1160.h: Likewise.
50555         * iconvdata/ibm1161.h: Likewise.
50556         * iconvdata/ibm1162.h: Likewise.
50557         * iconvdata/ibm1163.h: Likewise.
50558         * iconvdata/ibm1164.h: Likewise.
50559         * iconvdata/ibm1166.h: Likewise.
50560         * iconvdata/ibm1167.h: Likewise.
50561         * iconvdata/ibm12712.h: Likewise.
50562         * iconvdata/ibm1390.h: Likewise.
50563         * iconvdata/ibm1399.h: Likewise.
50564         * iconvdata/ibm16804.h: Likewise.
50565         * iconvdata/ibm4517.h: Likewise.
50566         * iconvdata/ibm4899.h: Likewise.
50567         * iconvdata/ibm4909.h: Likewise.
50568         * iconvdata/ibm4971.h: Likewise.
50569         * iconvdata/ibm5347.h: Likewise.
50570         * iconvdata/ibm803.h: Likewise.
50571         * iconvdata/ibm856.h: Likewise.
50572         * iconvdata/ibm901.h: Likewise.
50573         * iconvdata/ibm902.h: Likewise.
50574         * iconvdata/ibm9030.h: Likewise.
50575         * iconvdata/ibm9066.h: Likewise.
50576         * iconvdata/ibm921.h: Likewise.
50577         * iconvdata/ibm922.h: Likewise.
50578         * iconvdata/ibm9448.h: Likewise.
50579         * iconvdata/isiri-3342.h: Likewise.
50580         * iconvdata/jis0201.h: Likewise.
50581         * include/link.h: Likewise.
50582         * include/netdb.h: Likewise.
50583         * inet/check_native.c: Likewise.
50584         * inet/check_pf.c: Likewise.
50585         * inet/getipv4sourcefilter.c: Likewise.
50586         * inet/getnameinfo.c: Likewise.
50587         * inet/getsourcefilter.c: Likewise.
50588         * inet/htonl.c: Likewise.
50589         * inet/setipv4sourcefilter.c: Likewise.
50590         * inet/setsourcefilter.c: Likewise.
50591         * inet/test-inet6_opt.c: Likewise.
50592         * inet/tst-network.c: Likewise.
50593         * locale/C-collate.c: Likewise.
50594         * locale/C-ctype.c: Likewise.
50595         * locale/C-time.c: Likewise.
50596         * locale/C-translit.h: Likewise.
50597         * locale/loadarchive.c: Likewise.
50598         * locale/programs/3level.h: Likewise.
50599         * locale/programs/charmap.c: Likewise.
50600         * locale/programs/charmap.h: Likewise.
50601         * locale/programs/ld-address.c: Likewise.
50602         * locale/programs/ld-collate.c: Likewise.
50603         * locale/programs/ld-ctype.c: Likewise.
50604         * locale/programs/ld-identification.c: Likewise.
50605         * locale/programs/ld-measurement.c: Likewise.
50606         * locale/programs/ld-messages.c: Likewise.
50607         * locale/programs/ld-monetary.c: Likewise.
50608         * locale/programs/ld-name.c: Likewise.
50609         * locale/programs/ld-numeric.c: Likewise.
50610         * locale/programs/ld-paper.c: Likewise.
50611         * locale/programs/ld-telephone.c: Likewise.
50612         * locale/programs/ld-time.c: Likewise.
50613         * locale/programs/linereader.c: Likewise.
50614         * locale/programs/locale.c: Likewise.
50615         * locale/programs/locarchive.c: Likewise.
50616         * locale/programs/locfile.h: Likewise.
50617         * locale/programs/repertoire.c: Likewise.
50618         * locale/programs/simple-hash.c: Likewise.
50619         * locale/programs/simple-hash.h: Likewise.
50620         * malloc/memusage.c: Likewise.
50621         * malloc/memusagestat.c: Likewise.
50622         * nis/nis_defaults.c: Likewise.
50623         * nis/nis_hash.c: Likewise.
50624         * nis/nis_print.c: Likewise.
50625         * nis/nis_xdr.c: Likewise.
50626         * nscd/connections.c: Likewise.
50627         * nscd/hstcache.c: Likewise.
50628         * nscd/nscd_gethst_r.c: Likewise.
50629         * nscd/nscd_getserv_r.c: Likewise.
50630         * nscd/nscd_helper.c: Likewise.
50631         * nscd/servicescache.c: Likewise.
50632         * nss/makedb.c: Likewise.
50633         * nss/nss_db/db-XXX.c: Likewise.
50634         * nss/nss_db/db-initgroups.c: Likewise.
50635         * nss/nss_db/db-netgrp.c: Likewise.
50636         * nss/nss_files/files-network.c: Likewise.
50637         * nss/nss_files/files-parse.c: Likewise.
50638         * posix/bug-regex5.c: Likewise.
50639         * posix/fnmatch_loop.c: Likewise.
50640         * posix/regcomp.c: Likewise.
50641         * posix/regexec.c: Likewise.
50642         * posix/tst-rfc3484-2.c: Likewise.
50643         * posix/tst-rfc3484-3.c: Likewise.
50644         * posix/tst-rfc3484.c: Likewise.
50645         * resolv/nss_dns/dns-canon.c: Likewise.
50646         * resolv/nss_dns/dns-network.c: Likewise.
50647         * resolv/res_init.c: Likewise.
50648         * resolv/res_mkquery.c: Likewise.
50649         * resolv/tst-aton.c: Likewise.
50650         * stdlib/cxa_atexit.c: Likewise.
50651         * stdlib/cxa_finalize.c: Likewise.
50652         * stdlib/gen-fpioconst.c: Likewise.
50653         * stdlib/strtol_l.c: Likewise.
50654         * string/tst-endian.c: Likewise.
50655         * sunrpc/auth_des.c: Likewise.
50656         * sunrpc/clnt_udp.c: Likewise.
50657         * sunrpc/rtime.c: Likewise.
50658         * sunrpc/svcauth_des.c: Likewise.
50659         * sunrpc/xdr.c: Likewise.
50660         * sunrpc/xdr_intXX_t.c: Likewise.
50661         * sunrpc/xdr_rec.c: Likewise.
50662         * sysdeps/generic/ldconfig.h: Likewise.
50663         * sysdeps/generic/ldsodefs.h: Likewise.
50664         * sysdeps/generic/memusage.h: Likewise.
50665         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50666         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50667         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50668         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50669         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50670         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50671         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50672         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50673         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50674         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50675         * sysdeps/posix/getaddrinfo.c: Likewise.
50676         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50677         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50678         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50679         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50680         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50681         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50682         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50683         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50684         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50685         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50686         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50687         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50688         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50689         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50690         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50691         * sysdeps/x86_64/dl-tls.h: Likewise.
50692         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50693         * time/alt_digit.c: Likewise.
50694         * time/era.c: Likewise.
50695         * wcsmbs/tst-c16c32-1.c: Likewise.
50697 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50699         * math/libm-test.inc (struct test_sincos_data): New type.
50700         (RUN_TEST_LOOP_sincos): New macro.
50701         (sincos_test_data): New variable.
50702         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50704 2013-05-16  Richard Henderson  <rth@redhat.com>
50706         * math/atest-exp2.c (LIMB64): New macro.
50707         (CONSTSZ): New macro.
50708         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50709         (hexdig): Move ...
50710         (print_mpn_fp): ... to function scope.
50711         (read_mpn_hex): Remove.
50712         (get_log2): Remove.
50713         (exp2_mpn): Use mp_log2.
50714         (main): Use mp_exp1.
50716 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50718         * math/libm-test.inc: Remove comment about not testing "inexact"
50719         exceptions.
50720         (INEXACT_EXCEPTION): New macro.
50721         (NO_INEXACT_EXCEPTION): Likewise.
50722         (INVALID_EXCEPTION_OK): Update value.
50723         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50724         (OVERFLOW_EXCEPTION_OK): Likewise.
50725         (UNDERFLOW_EXCEPTION_OK): Likewise.
50726         (IGNORE_ZERO_INF_SIGN): Likewise.
50727         (ERRNO_UNCHANGED): Likewise.
50728         (ERRNO_EDOM): Likewise.
50729         (ERRNO_ERANGE): Likewise.
50730         (test_exceptions): Handle testing "inexact" exceptions.
50731         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50732         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50733         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50734         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50735         INEXACT_EXCEPTION.
50736         (rint_towardzero_test_data): Likewise.
50737         (rint_downward_test_data): Likewise.
50738         (rint_upward_test_data): Likewise.
50740         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50741         with OVERFLOW_EXCEPTION.
50742         (exp10_test_data): Likewise.
50743         (exp2_test_data): Likewise.
50744         (expm1_test_data): Likewise.
50745         (lgamma_test_data): Likewise.
50746         (pow_test_data): Likewise.
50747         (tgamma_test_data): Likewise.
50748         (yn_test_data): Remove duplicate test of overflow.
50750         * math/libm-test.inc (struct test_cc_c_data): New type.
50751         (RUN_TEST_LOOP_cc_c): New macro.
50752         (cpow_test_data): New variable.
50753         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50755         * math/libm-test.inc (struct test_f_L_data): New type.
50756         (RUN_TEST_LOOP_f_L): New macro.
50757         (llrint_test_data): New variable.
50758         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50759         (llrint_tonearest_test_data): New variable.
50760         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50761         (llrint_towardzero_test_data): New variable.
50762         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50763         (llrint_downward_test_data): New variable.
50764         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50765         (llrint_upward_test_data): New variable.
50766         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50767         (llround_test_data): New variable.
50768         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50770 2013-05-13  Peter Collingbourne  <pcc@google.com>
50772         * math/atest-exp2.c (get_log2): Remove const attribute.
50774 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50776         * math/libm-test.inc (struct test_f_l_data): New type.
50777         (RUN_TEST_LOOP_f_l): New macro.
50778         (lrint_test_data): New variable.
50779         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50780         (lrint_tonearest_test_data): New variable.
50781         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50782         (lrint_towardzero_test_data): New variable.
50783         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50784         (lrint_downward_test_data): New variable.
50785         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50786         (lrint_upward_test_data): New variable.
50787         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50788         (lround_test_data): New variable.
50789         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50791 2013-05-15  Peter Collingbourne  <pcc@google.com>
50793         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50794         (EXTRACT_WORDS64) Use where appropriate.
50795         (INSERT_WORDS64) Likewise.
50797         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50798         constraints with x constraints.
50799         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50801         * malloc/obstack.c (_obstack_compat): Add initializer.
50803 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50805         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50806         si_trapno and add si_addr_lsb to _sifields.sigfault.
50807         (si_trapno): Remove macro.
50808         (si_addr_lsb): Define new macro.
50809         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50811 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50813         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50814         instead of TEST_f_l.
50815         (llrint_test_tonearest): Likewise.
50816         (llrint_test_towardzero): Likewise.
50817         (llrint_test_downward): Likewise.
50818         (llrint_test_upward): Likewise.
50819         (llround_test): Likewise.
50821         * math/libm-test.inc (struct test_f_i_data): Add comment.
50822         (RUN_TEST_LOOP_f_b): New macro.
50823         (RUN_TEST_LOOP_f_b_tg): Likewise.
50824         (finite_test_data): New variable.
50825         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50826         (isfinite_test_data): New variable.
50827         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50828         (isinf_test_data): New variable.
50829         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50830         (isnan_test_data): New variable.
50831         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50832         (isnormal_test_data): New variable.
50833         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50834         (issignaling_test_data): New variable.
50835         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50836         (signbit_test_data): New variable.
50837         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50839         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50840         with INVALID_EXCEPTION.
50841         (acosh_test_data): Likewise.
50842         (asin_test_data): Likewise.
50843         (atanh_test_data): Likewise.
50844         (fmod_test_data): Likewise.
50845         (log_test_data): Likewise.
50846         (log10_test_data): Likewise.
50847         (log2_test_data): Likewise.
50848         (pow_test_data): Likewise.
50849         (sqrt_test_data): Likewise.
50850         (y0_test_data): Likewise.
50851         (y1_test_data): Likewise.
50852         (yn_test_data): Likewise.
50854         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50855         function contents.
50857         * math/libm-test.inc (struct test_ff_i_data): New type.
50858         (RUN_TEST_LOOP_ff_i_tg): New macro.
50859         (isgreater_test_data): New variable.
50860         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50861         (isgreaterequal_test_data): New variable.
50862         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50863         (isless_test_data): New variable.
50864         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50865         (islessequal_test_data): New variable.
50866         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50867         (islessgreater_test_data): New variable.
50868         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50869         (isunordered_test_data): New variable.
50870         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50872 2013-05-14  David S. Miller  <davem@davemloft.net>
50874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50876 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50878         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50880         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50881         extra_test to int.
50882         (struct test_f_i_data): Change type of max_ulp to int.
50884         * math/libm-test.inc (test_ffI_f1_data): New type.
50885         (RUN_TEST_LOOP_ffI_f1): New macro.
50886         (remquo_test_data): New variable.
50887         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50889         * setjmp/tst-setjmp-fp.c: New file.
50890         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50891         (link-libm): New variable.
50892         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50894         * math/libm-test.inc (struct test_f_i_data): New type.
50895         (RUN_TEST_LOOP_f_i): New macro.
50896         (RUN_TEST_LOOP_f_i_tg): Likewise.
50897         (fpclassify_test_data): New variable.
50898         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50899         (ilogb_test_data): New variable.
50900         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50902         * math/libm-test.inc (scalbln_test): Correct function name in END
50903         call.
50905         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50906         (RUN_TEST_LOOP_fI_f1): New macro.
50907         (frexp_test_data): New variable.
50908         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50910         * math/libm-test.inc (struct test_fF_f1_data): New type.
50911         (RUN_TEST_LOOP_fF_f1): New macro.
50912         (modf_test_data): New variable.
50913         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50915         * math/libm-test.inc (struct test_f_f1_data): New type.
50916         (RUN_TEST_LOOP_f_f1): New macro.
50917         (gamma_test_data): New variable.
50918         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50919         (lgamma_test_data): New variable.
50920         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50922 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50924         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50925         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50926         (main): Comment "tls" pseudo-hwcap.
50928 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50930         * math/libm-test.inc (struct test_fl_f_data): New type.
50931         (RUN_TEST_LOOP_fl_f): New variable.
50932         (scalbln_test_data): New variable.
50933         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50935         * math/libm-test.inc (struct test_fi_f_data): New type.
50936         (RUN_TEST_LOOP_fi_f): New macro.
50937         (ldexp_test_data): New variable.
50938         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50939         (scalbn_test_data): New variable.
50940         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50942         * math/libm-test.inc (struct test_c_f_data): New type.
50943         (RUN_TEST_LOOP_c_f): New macro.
50944         (cabs_test_data): New variable.
50945         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50946         (carg_test_data): New variable.
50947         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50948         (cimag_test_data): New variable.
50949         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50950         (creal_test_data): New variable.
50951         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50953         * math/libm-test.inc (struct test_if_f_data): New type.
50954         (RUN_TEST_LOOP_if_f): New macro.
50955         (jn_test_data): New variable.
50956         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50957         (yn_test_data): New variable.
50958         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50960         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50962 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50964         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50965         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50967 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50969         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50970         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50971         (bench-deps): Add bench-timing.h.
50972         * benchtests-bench-skeleton.c: Include bench-timing.h.
50973         (main): Use TIMING_* macros instead of clock_gettime.
50974         * benchtests/bench-timing.h: New file.
50976         [BZ #14582]
50977         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50978         Renamed from _LIB_VERSION.
50979         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50981 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50983         * math/libm-test.inc (struct test_fff_f_data): New type.
50984         (RUN_TEST_LOOP_fff_f): New macro.
50985         (fma_test_data): New variable.
50986         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50987         (fma_towardzero_test_data): New variable.
50988         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50989         (fma_downward_test_data): New variable.
50990         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50991         (fma_upward_test_data): New variable.
50992         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50994         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50995         (struct test_c_c_data): New type.
50996         (RUN_TEST_LOOP_c_c): New macro.
50997         (cacos_test_data): New variable.
50998         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50999         (cacosh_test_data): New variable.
51000         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51001         (casin_test_data): New variable.
51002         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51003         (casinh_test_data): New variable.
51004         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51005         (catan_test_data): New variable.
51006         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51007         (catanh_test_data): New variable.
51008         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51009         (ccos_test_data): New variable.
51010         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51011         (ccosh_test_data): New variable.
51012         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51013         (cexp_test_data): New variable.
51014         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51015         (clog_test_data): New variable.
51016         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51017         (clog10_test_data): New variable.
51018         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51019         (conj_test_data): New variable.
51020         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51021         (cproj_test_data): New variable.
51022         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51023         (csin_test_data): New variable.
51024         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51025         (csinh_test_data): New variable.
51026         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51027         (csqrt_test_data): New variable.
51028         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51029         (ctan_test_data): New variable.
51030         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51031         (ctan_tonearest_test_data): New variable.
51032         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51033         (ctan_towardzero_test_data): New variable.
51034         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51035         (ctan_downward_test_data): New variable.
51036         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51037         (ctan_upward_test_data): New variable.
51038         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51039         (ctanh_test_data): New variable.
51040         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51041         (ctanh_tonearest_test_data): New variable.
51042         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51043         (ctanh_towardzero_test_data): New variable.
51044         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51045         (ctanh_downward_test_data): New variable.
51046         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51047         (ctanh_upward_test_data): New variable.
51048         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51049         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51050         of BUILD_COMPLEX.
51052         * math/libm-test.inc (struct test_ff_f_data): New type.
51053         (struct test_ff_f_data_nexttoward): Likewise.
51054         (RUN_TEST_LOOP_2_f): New macro.
51055         (RUN_TEST_LOOP_ff_f): Likewise.
51056         (atan2_test_data): New variable.
51057         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51058         (copysign_test_data): New variable.
51059         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51060         (fdim_test_data): New variable.
51061         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51062         (fmax_test_data): New variable.
51063         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51064         (fmin_test_data): New variable.
51065         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51066         (fmod_test_data): New variable.
51067         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51068         (hypot_test_data): New variable.
51069         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51070         (nextafter_test_data): New variable.
51071         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51072         (nexttoward_test_data): New variable.
51073         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51074         (pow_test_data): New variable.
51075         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51076         (pow_tonearest_test_data): New variable.
51077         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51078         (pow_towardzero_test_data): New variable.
51079         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51080         (pow_downward_test_data): New variable.
51081         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51082         (pow_upward_test_data): New variable.
51083         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51084         (remainder_test_data): New variable.
51085         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51086         (scalb_test_data): New variable.
51087         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51088         * sysdeps/i386/fpu/libm-test-ulps: Update.
51090 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51092         * math/libm-test.inc (fma_test): Use max_value instead of local
51093         variable fltmax.
51094         (nextafter_test): Likewise.
51096         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51097         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51098         (acos_downward_test_data): New variable.
51099         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51100         (acos_upward_test_data): New variable.
51101         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51102         (acosh_test_data): New variable.
51103         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51104         (asin_test_data): New variable.
51105         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51106         (asin_tonearest_test_data): New variable.
51107         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51108         (asin_towardzero_test_data): New variable.
51109         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51110         (asin_downward_test_data): New variable.
51111         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51112         (asin_upward_test_data): New variable.
51113         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51114         (asinh_test_data): New variable.
51115         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51116         (atan_test_data): New variable.
51117         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51118         (atanh_test_data): New variable.
51119         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51120         (cbrt_test_data): New variable.
51121         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51122         (ceil_test_data): New variable.
51123         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51124         (cos_test_data): New variable.
51125         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51126         (cos_tonearest_test_data): New variable.
51127         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51128         (cos_towardzero_test_data): New variable.
51129         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51130         (cos_downward_test_data): New variable.
51131         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51132         (cos_upward_test_data): New variable.
51133         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51134         (cosh_test_data): New variable.
51135         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51136         (cosh_tonearest_test_data): New variable.
51137         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51138         (cosh_towardzero_test_data): New variable.
51139         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51140         (cosh_downward_test_data): New variable.
51141         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51142         (cosh_upward_test_data): New variable.
51143         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51144         (erf_test_data): New variable.
51145         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51146         (erfc_test_data): New variable.
51147         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51148         (exp_test_data): New variable.
51149         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51150         (exp_tonearest_test_data): New variable.
51151         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51152         (exp_towardzero_test_data): New variable.
51153         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51154         (exp_downward_test_data): New variable.
51155         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51156         (exp_upward_test_data): New variable.
51157         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51158         (exp10_test_data): New variable.
51159         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51160         (exp2_test_data): New variable.
51161         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51162         (expm1_test_data): New variable.
51163         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51164         (fabs_test_data): New variable.
51165         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51166         (floor_test_data): New variable.
51167         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51168         (j0_test_data): New variable.
51169         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51170         (j1_test_data): New variable.
51171         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51172         (log_test_data): New variable.
51173         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51174         (log10_test_data): New variable.
51175         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51176         (log1p_test_data): New variable.
51177         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51178         (log2_test_data): New variable.
51179         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51180         (logb_test_data): New variable.
51181         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51182         (logb_downward_test_data): New variable.
51183         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51184         (nearbyint_test_data): New variable.
51185         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51186         (rint_test_data): New variable.
51187         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51188         (rint_tonearest_test_data): New variable.
51189         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51190         (rint_towardzero_test_data): New variable.
51191         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51192         (rint_downward_test_data): New variable.
51193         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51194         (rint_upward_test_data): New variable.
51195         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51196         (round_test_data): New variable.
51197         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51198         (sin_test_data): New variable.
51199         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51200         (sin_tonearest_test_data): New variable.
51201         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51202         (sin_towardzero_test_data): New variable.
51203         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51204         (sin_downward_test_data): New variable.
51205         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51206         (sin_upward_test_data): New variable.
51207         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51208         (sinh_test_data): New variable.
51209         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51210         (sinh_tonearest_test_data): New variable.
51211         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51212         (sinh_towardzero_test_data): New variable.
51213         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51214         (sinh_downward_test_data): New variable.
51215         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51216         (sinh_upward_test_data): New variable.
51217         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51218         (sqrt_test_data): New variable.
51219         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51220         (tan_test_data): New variable.
51221         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51222         (tan_tonearest_test_data): New variable.
51223         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51224         (tan_towardzero_test_data): New variable.
51225         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51226         (tan_downward_test_data): New variable.
51227         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51228         (tan_upward_test_data): New variable.
51229         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51230         (tanh_test_data): New variable.
51231         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51232         (tgamma_test_data): New variable.
51233         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51234         (trunc_test_data): New variable.
51235         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51236         (y0_test_data): New variable.
51237         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51238         (y1_test_data): New variable.
51239         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51240         (significand_test_data): New variable.
51241         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51243 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51245         [BZ #12387]
51246         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51248 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51250         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51252 2013-05-10  Andreas Jaeger  <aj@suse.de>
51254         [BZ #15448]
51255         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51256         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51258 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51260         * math/gen-libm-test.pl (adjust_arg): New function.
51261         (special_functions): Handle generating output in both functions
51262         and arrays.
51263         (parse_args): Likewise.
51264         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51265         $in_func argument to parse_args.
51266         * math/libm-test.inc (struct test_f_f_data): New type.
51267         (IF_ROUND_INIT_): New macro.
51268         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51269         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51270         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51271         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51272         (ROUND_RESTORE_): Likewise.
51273         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51274         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51275         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51276         (ROUND_RESTORE_FE_UPWARD): Likewise.
51277         (RUN_TEST_LOOP_f_f): New macro.
51278         (acos_test_data): New variable.
51279         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51280         (acos_tonearest_test_data): New variable.
51281         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51283 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51285         * benchtests/bench-skeleton.c (startup): Fix coding style.
51287 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51289         [BZ #6809]
51290         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51291         negative infinity argument.
51292         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51293         negative infinity argument.
51294         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51295         negative infinity argument.
51296         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51297         domain errors.
51299 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51301         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51302         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51303         * iconv/iconv_prog.c (main): Likewise.
51304         * locale/programs/charmap-dir.c (charmap_readdir)
51305         (fopen_uncompressed): Likewise.
51306         * locale/programs/locfile.c (siblings_uncached)
51307         (write_locale_data): Use lstat64 instead of lstat.
51308         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51309         stat.
51311 2013-05-10  Andreas Jaeger  <aj@suse.de>
51313         [BZ #15395]
51314         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51315         localization.
51316         Include <locale.h>.
51318 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51320         * elf/dl-close.c (_dl_close_worker): Add comments.
51322 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51324         [BZ #15359]
51325         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51326         high part of pi/2.
51327         (__ieee754_rem_pio2l): Update comments.
51329         [BZ #15429]
51330         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51331         high part of pi/2.
51332         (__ieee754_rem_pio2l): Update comments.
51334         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51335         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51337         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51338         M_PI_4l.
51340         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51341         (M_PI_34_LOG10El): Likewise.
51342         (M_PI2_LOG10El): Likewise.
51343         (M_PI4_LOG10El): Likewise.
51344         (M_PI_LOG10El): Likewise.
51346 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51350 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51352         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51353         (MINUS_ZERO_INIT): Likewise.
51354         (PLUS_INFTY_INIT): Likewise.
51355         (MINUS_INFTY_INIT): Likewise.
51356         (QNAN_VALUE_INIT): Likewise.
51357         (MAX_VALUE_INIT): Likewise.
51358         (MIN_VALUE_INIT): Likewise.
51359         (MIN_SUBNORM_VALUE_INIT): Likewise.
51360         (plus_zero): Initialize with PLUS_ZERO_INIT.
51361         (minus_zero): Initialize with MINUS_ZERO_INIT.
51362         (plus_infty): Initialize with PLUS_INFTY_INIT.
51363         (minus_infty): Initialize with MINUS_INFTY_INIT.
51364         (qnan_value): Initialize with QNAN_VALUE_INIT.
51365         (max_value): Initialize with MAX_VALUE_INIT.
51366         (min_value): Initialize with MIN_VALUE_INIT.
51367         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51369         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51370         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51371         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51372         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51374         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51375         (RUN_TEST_2_f): Likewise.
51376         (RUN_TEST_ff_f): Likewise.
51377         (RUN_TEST_fi_f): Likewise.
51378         (RUN_TEST_fl_f): Likewise.
51379         (RUN_TEST_fff_f): Likewise.
51380         (RUN_TEST_c_f): Likewise.
51381         (RUN_TEST_f_f1): Likewise.
51382         (RUN_TEST_fF_f1): Likewise.
51383         (RUN_TEST_fI_f1): Likewise.
51384         (RUN_TEST_ffI_f1): Likewise.
51385         (RUN_TEST_c_c): Likewise.
51386         (RUN_TEST_cc_c): Likewise.
51387         (RUN_TEST_f_i): Likewise.
51388         (RUN_TEST_f_i_tg): Likewise.
51389         (RUN_TEST_ff_i_tg): Likewise.
51390         (RUN_TEST_f_b): Likewise.
51391         (RUN_TEST_f_b_tg): Likewise.
51392         (RUN_TEST_f_l): Likewise.
51393         (RUN_TEST_f_L): Likewise.
51394         (RUN_TEST_sincos): Likewise.
51395         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51396         whether to show exceptions.  Do not include ");\n" in return
51397         value.
51398         (special_functions): Output call to RUN_TEST_sincos instead of
51399         check_float calls.  Update calls to new_test.
51400         (parse_args): Output call to single RUN_TEST_* macro instead of
51401         check_* calls and other assignments.  Update calls to new_test.
51403         [BZ #2546]
51404         [BZ #2560]
51405         [BZ #5159]
51406         [BZ #15426]
51407         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51408         input to result for tgamma overflow.
51409         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51410         (gamma_coeff): New variable.
51411         (NCOEFF): New macro.
51412         (gamma_positive): New function.
51413         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51414         underflow here.  Use gamma_positive instead of exp (lgamma) for
51415         other arguments.
51416         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51417         (gamma_coeff): New variable.
51418         (NCOEFF): New macro.
51419         (gammaf_positive): New function.
51420         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51421         underflow here.  Use gamma_positive instead of exp (lgamma) for
51422         other arguments.
51423         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51424         (gamma_coeff): New variable.
51425         (NCOEFF): New macro.
51426         (gammal_positive): New function.
51427         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51428         underflow here.  Use gamma_positive instead of exp (lgamma) for
51429         other arguments.
51430         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51431         (gamma_coeff): New variable.
51432         (NCOEFF): New macro.
51433         (gammal_positive): New function.
51434         (__ieee754_gammal_r): Handle positive infinity, overflow and
51435         underflow here.  Handle NaN the same as positive infinity.  Remove
51436         check x < 0xffffffff for negative integers.  Use gamma_positive
51437         instead of exp (lgamma) for other arguments.
51438         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51439         (gamma_coeff): New variable.
51440         (NCOEFF): New macro.
51441         (gammal_positive): New function.
51442         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51443         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51444         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51445         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51446         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51447         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51448         * sysdeps/generic/math_private.h (__gamma_productf): New
51449         prototype.
51450         (__gamma_product): Likewise.
51451         (__gamma_productl): Likewise.
51452         * math/Makefile (libm-calls): Add gamma_product.
51453         * math/libm-test.inc (tgamma_test): Add more tests.
51454         * sysdeps/i386/fpu/libm-test-ulps: Update.
51455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51457 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51459         * benchtests/bench-skeleton.c (main): Preheat CPU.
51461 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51463         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51465 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51467         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51468         and _dl_skip_args_internal.
51470 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51472         * manual/message.texi (Message Translation): Talk about users.
51473         Message to key mapping impacts design.
51475 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51477         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51479         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51481         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51482         * sysdeps/wordsize-64/glob64.c: ... here.
51484         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51485         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51486         New macros.
51488         * debug/getlogin_r_chk.c: Moved to ...
51489         * login/getlogin_r_chk.c: ... here.
51490         * debug/Makefile (routines): Move getlogin_r_chk to ...
51491         * login/Makefile (routines): ... here.
51492         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51493         * login/Versions (libc: GLIBC_2.4): ... here.
51495         * io/poll.c (__poll): Renamed from poll.
51496         Add libc_hidden_def.
51497         (poll): Define as weak alias.
51499         * debug/ptsname_r_chk.c: Moved to ...
51500         * login/ptsname_r_chk.c: ... here.
51501         * debug/Makefile (routines): Move ptsname_r_chk to ...
51502         * login/Makefile (routines): ... here.
51503         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51504         * login/Versions (libc: GLIBC_2.4): ... here.
51506         * posix/getlogin.c: Moved to ...
51507         * login/getlogin.c: ... here.
51508         * posix/getlogin_r.c: Moved to ...
51509         * login/getlogin_r.c: ... here.
51510         * posix/getlogin_r.c: Moved to ...
51511         * login/getlogin_r.c: ... here.
51512         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51513         * login/Makefile (routines): ... here.
51514         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51515         * login/Versions (libc: GLIBC_2.0): ... here.
51517         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51518         (setrlimit): Define as weak alias.
51520         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51521         Call __ names for open, ftruncate, and close.
51522         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51523         (truncate): Define as weak alias.
51525 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51527         * math/gen-libm-test.pl (parse_args): Initialize x before each
51528         test of frexp, modf and remquo.
51530         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51531         test signgam value.
51533 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51535         [BZ #15418]
51536         [BZ #15419]
51537         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51538         internal tests.
51539         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51541 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51543         * elf/dl-writev.h: New file.
51544         * elf/dl-misc.c: Include it.
51545         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51546         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51548 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51550         * math/libm-test.inc (noXFails): Remove variable.
51551         (noXPasses): Likewise.
51552         (BUILD_COMPLEX_INT): Remove macro.
51553         (print_screen): Remove xfail argument.
51554         (print_screen_max_error): Likewise.
51555         (update_stats): Likewise.
51556         (print_max_error): Likewise.  Update calls to other affected
51557         functions.
51558         (print_complex_max_error): Likewise.
51559         (test_single_exception): Update calls to print_screen.
51560         (test_single_errno): Likewise.
51561         (check_float_internal): Remove xfail argument.  Update calls to
51562         other affected functions.
51563         (check_float): Likewise.
51564         (check_complex): Likewise.
51565         (check_int): Likewise.
51566         (check_long): Likewise.
51567         (check_bool): Likewise.
51568         (check_longlong): Likewise.
51569         (main): Don't print noXFails and noXPasses.
51570         * math/gen-libm-test.pl (top level): Don't mention expected
51571         failure handling in comment.
51572         (new_test): Don't handle expected failures.
51573         (parse_args): Don't mention expected failure handling in comment.
51574         (generate_testfile): Don't handle expected failures.
51575         (parse_ulps): Likewise.
51576         (print_ulps_file): Likewise.
51577         (get_failure): Remove function.
51578         (output_test): Don't handle expected failures.
51579         * make/README.libm-test: Don't mention expected failure handling.
51581         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51582         (minus_zero): Likewise.
51583         (plus_infty): Likewise.
51584         (minus_infty): Likewise.
51585         (qnan_value): Likewise.
51586         (max_value): Likewise.
51587         (min_value): Likewise.
51588         (min_subnorm_value): Likewise.
51589         (initialize): Do not initialize those variables dynamically.
51591 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51593         * io/open.c (__open_2): Moved to ...
51594         * io/open_2.c: ... this new file.
51595         * io/open64.c (__open64_2): Moved to ...
51596         * io/open64_2.c: ... this new file.
51597         * io/openat.c (__openat_2): Moved to ...
51598         * io/openat_2.c: ... this new file.
51599         * io/openat64.c (__openat64_2): Moved to ...
51600         * io/openat64_2.c: ... this new file.
51601         * io/Makefile (routines): Add them.
51602         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51603         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51604         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51605         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51606         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51607         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51608         (__openat64): Add hidden_ver.
51609         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51610         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51612         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51613         Separately conditionalize setting of GLRO(dl_sysinfo) so
51614         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51615         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51617 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51619         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51620         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51621         definition.
51622         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51623         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51624         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51625         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51626         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51628 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51630         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51631         test signgam value.
51633         * math/libm-test.inc (hypot_test): Do not use
51634         IGNORE_ZERO_INF_SIGN.
51636 2013-05-03  Andreas Jaeger  <aj@suse.de>
51638         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51639         Linux 3.9.
51640         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51641         (PF_MAX): Adjust for VSOCK change.
51643 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51647 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51649         [BZ #15264]
51650         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51651         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51652         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51654 2013-05-02  David S. Miller  <davem@davemloft.net>
51656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51658 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51660         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51662 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51664         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51666 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51668         [BZ #14952]
51669         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51670         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51671         Use __attribute__ ((__gnu_inline__)).
51672         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51673         Don't use __attribute__ ((__gnu_inline__)).
51675 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51677         [BZ #15423]
51678         * math/s_catan.c (__catan): Handle small real or imaginary part of
51679         input specially to avoid spurious underflow.
51680         * math/s_catanf.c (__catanf): Likewise.
51681         * math/s_catanh.c (__catanh): Likewise.
51682         * math/s_catanhf.c (__catanhf): Likewise.
51683         * math/s_catanhl.c (__catanhl): Likewise.
51684         * math/s_catanl.c (__catanl): Likewise.
51685         * math/libm-test.inc (catan_test): Add more tests.
51686         (catanh_test): Likewise.
51687         * sysdeps/i386/fpu/libm-test-ulps: Update.
51688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51690 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51694 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51696         [BZ #15416]
51697         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51698         accurately for denominator in atan2.
51699         * math/s_catanf.c (__catanf): Likewise.
51700         * math/s_catanh.c (__catanh): Likewise.
51701         * math/s_catanhf.c (__catanhf): Likewise.
51702         * math/s_catanhl.c (__catanhl): Likewise.
51703         * math/s_catanl.c (__catanl): Likewise.
51704         * math/libm-test.inc (catan_test): Add more tests.
51705         (catanh_test): Likewise.
51706         * sysdeps/i386/fpu/libm-test-ulps: Update.
51707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51709 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51711         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51713         * benchtests/Makefile (bench): Remove slow benchmarks.
51714         * benchtests/atan-inputs: Add slow benchmark inputs.
51715         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51716         (BENCH_FUNC): Accept variant offset.
51717         (VARIANT): Define.
51718         * benchtests/bench-skeleton.c (main): Run benchmark for each
51719         variant.
51720         * benchtests/cos-inputs: Add slow benchmark inputs.
51721         * benchtests/exp-inputs: Likewise.
51722         * benchtests/pow-inputs: Likewise.
51723         * benchtests/sin-inputs: Likewise.
51724         * benchtests/slowatan-inputs: Remove.
51725         * benchtests/slowatan.c: Remove.
51726         * benchtests/slowcos-inputs: Remove.
51727         * benchtests/slowcos.c: Remove.
51728         * benchtests/slowexp-inputs: Remove.
51729         * benchtests/slowexp.c: Remove.
51730         * benchtests/slowpow-inputs: Remove.
51731         * benchtests/slowpow.c: Remove.
51732         * benchtests/slowsin-inputs: Remove.
51733         * benchtests/slowsin.c: Remove.
51734         * benchtests/slowtan-inputs: Remove.
51735         * benchtests/slowtan.c: Remove.
51736         * benchtests/tan-inputs: Add slow benchmark inputs.
51737         * scripts/bench.pl: Parse comments and directives.
51739         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51740         in CPPFLAGS.
51741         ($(objpfx)bench-%.c): Remove *-ITER.
51742         * benchtests/bench-modf.c: Remove definition of ITER.
51743         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51744         (main): Loop for DURATION seconds instead of fixed number of
51745         iterations.
51746         * scripts/bench.pl: Don't expect iterations in parameters.
51748 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51750         * io/fchdir.c (__fchdir): Renamed from fchdir.
51751         (fchdir): Define as weak alias.
51753 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51755         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51756         (ERRNO_EDOM): Likewise.
51757         (ERRNO_ERANGE): Likewise.
51758         (noErrnoTests): New variable.
51759         (init_max_error): Set errno to 0.
51760         (test_single_errno): New function.
51761         (test_errno): Likewise.
51762         (check_float_internal): Call test_errno.  Set errno to 0.
51763         (check_complex): Refer to errno tests in comment.
51764         (check_int): Call test_errno.  Set errno to 0.
51765         (check_long): Likewise.
51766         (check_bool): Likewise.
51767         (check_longlong): Likewise.
51768         (cos_test): Use ERRNO_* flags for errno tests instead of
51769         check_int.
51770         (expm1_test): Likewise.
51771         (fmod_test): Likewise.
51772         (ilogb_test): Likewise.
51773         (lgamma_test): Likewise.
51774         (pow_test): Likewise.
51775         (remainder_test): Likewise.
51776         (sin_test): Likewise.
51777         (tan_test): Likewise.
51778         (yn_test): Likewise.
51779         (initialize): Set errno to 0.
51780         (main): Print number of errno tests.
51781         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51783 2013-04-29  Andreas Jaeger  <aj@suse.de>
51785         [BZ #15084]
51786         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51787         and RES_USEVC.
51789         [BZ #15085]
51790         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51791         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51792         unimplemented.
51794         [BZ #15380]
51795         * stdlib/random.c (__initstate): Return NULL if
51796         __initstate fails.
51798         [BZ #15086]
51799         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51800         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51801         RES_SNGLKUPREOP.
51803 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51807 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51809         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51810         of individual tests.
51811         (casin_test): Likewise.
51812         (casinh_test): Likewise.
51814 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51816         [BZ #15409]
51817         * math/s_catan.c (__catan): Handle arguments with large real or
51818         imaginary part separately without squaring.
51819         * math/s_catanf.c (__catanf): Likewise.
51820         * math/s_catanh.c (__catanh): Likewise.
51821         * math/s_catanhf.c (__catanhf): Likewise.
51822         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51823         and redefine.
51824         (__catanhl): Handle arguments with large real or imaginary part
51825         separately without squaring.
51826         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51827         and redefine.
51828         (__catanl): Handle arguments with large real or imaginary part
51829         separately without squaring.
51830         * math/libm-test.inc (catan_test): Add more tests.
51831         (catanh_test): Likewise.
51832         * sysdeps/i386/fpu/libm-test-ulps: Update.
51833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51835 2013-04-27  Andreas Jaeger  <aj@suse.de>
51837         [BZ #15007]
51838         * stdlib/stdlib.h: Update guards for qecvt.
51839         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51840         <stdlib.h>.
51842 2013-04-27  Allan McRae  <allan@archlinux.org>
51844         * sysdeps/i386/fpu/libm-test-ulps: Update.
51846 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51848         [BZ #15406]
51849         * math/s_catan.c: Include <float.h>.
51850         (__catan): Ensure underflow exception occurs for underflowed
51851         result.
51852         * math/s_catanf.c: Include <float.h>.
51853         (__catanf): Ensure underflow exception occurs for underflowed
51854         result.
51855         * math/s_catanh.c: Include <float.h>.
51856         (__catanh): Ensure underflow exception occurs for underflowed
51857         result.
51858         * math/s_catanhf.c: Include <float.h>.
51859         (__catanhf): Ensure underflow exception occurs for underflowed
51860         result.
51861         * math/s_catanhl.c: Include <float.h>.
51862         (__catanhl): Ensure underflow exception occurs for underflowed
51863         result.
51864         * math/s_catanl.c: Include <float.h>.
51865         (__catanl): Ensure underflow exception occurs for underflowed
51866         result.
51867         * math/libm-test.inc (catan_test): Add more tests.
51868         (catanh_test): Likewise.
51870         [BZ #15405]
51871         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51872         underflowed result.
51873         * math/s_ccoshf.c (__ccoshf): Likewise.
51874         * math/s_ccoshl.c (__ccoshl): Likewise.
51875         * math/s_csin.c (__csin): Likewise.
51876         * math/s_csinf.c (__csinf): Likewise.
51877         * math/s_csinh.c (__csinh): Likewise.
51878         * math/s_csinhf.c (__csinhf): Likewise.
51879         * math/s_csinhl.c (__csinhl): Likewise.
51880         * math/s_csinl.c (__csinl): Likewise.
51881         * math/libm-test.inc (ccos_test): Add more tests.
51882         (ccosh_test): Likewise.
51883         (csin_test): Likewise.
51884         (csinh_test): Likewise.
51886 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51888         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51889         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51890         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51891         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51892         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51893         powerpc/power5+/fpu folders.
51894         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51897 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51901 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51903         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51904         additions to variable.
51905         [$(config-machine) = x86_64] (modules-names): Likewise.
51906         ($(objpfx)tst-audit3): Remove dependency.
51907         ($(objpfx)tst-audit3.out): Likewise.
51908         ($(objpfx)tst-audit4): Likewise.
51909         ($(objpfx)tst-audit4.out): Likewise.
51910         ($(objpfx)tst-audit5): Likewise.
51911         ($(objpfx)tst-audit5.out): Likewise.
51912         ($(objpfx)tst-audit6): Likewise.
51913         ($(objpfx)tst-audit6.out): Likewise.
51914         ($(objpfx)tst-audit7): Likewise.
51915         ($(objpfx)tst-audit7.out): Likewise.
51916         (tst-audit3-ENV): Remove variable.
51917         (tst-audit4-ENV): Likewise.
51918         (tst-audit5-ENV): Likewise.
51919         (tst-audit6-ENV): Likewise.
51920         (tst-audit7-ENV): Likewise.
51921         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51922         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51923         addition to variable.
51924         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51925         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51926         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51927         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51928         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51929         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51930         tst-audit3, tst-audit4 and tst-audit5.
51931         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51932         tst-audit6 and tst-audit7.
51933         [$(subdir) = elf] (modules-names): Add audit modules for those
51934         tests.
51935         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51936         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51937         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51938         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51939         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51940         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51941         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51942         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51943         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51944         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51945         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51946         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51947         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51948         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51949         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51950         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51951         Likewise.
51952         [$(subdir) = elf && $(config-cflags-avx) = yes]
51953         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51954         [$(subdir) = elf && $(config-cflags-avx) = yes]
51955         (CFLAGS-tst-auditmod4a.c): Likewise.
51956         [$(subdir) = elf && $(config-cflags-avx) = yes]
51957         (CFLAGS-tst-auditmod4b.c): Likewise.
51958         [$(subdir) = elf && $(config-cflags-avx) = yes]
51959         (CFLAGS-tst-auditmod6b.c): Likewise.
51960         [$(subdir) = elf && $(config-cflags-avx) = yes]
51961         (CFLAGS-tst-auditmod6c.c): Likewise.
51962         [$(subdir) = elf && $(config-cflags-avx) = yes]
51963         (CFLAGS-tst-auditmod7b.c): Likewise.
51964         * elf/tst-audit3.c: Move to ...
51965         * sysdeps/x86_64/tst-audit3.c: ... here.
51966         * elf/tst-audit4.c: Move to ...
51967         * sysdeps/x86_64/tst-audit4.c: ... here.
51968         * elf/tst-audit5.c: Move to ...
51969         * sysdeps/x86_64/tst-audit5.c: ... here.
51970         * elf/tst-audit6.c: Move to ...
51971         * sysdeps/x86_64/tst-audit6.c: ... here.
51972         * elf/tst-audit7.c: Move to ...
51973         * sysdeps/x86_64/tst-audit7.c: ... here.
51974         * elf/tst-auditmod3a.c: Move to ...
51975         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51976         * elf/tst-auditmod3b.c: Move to ...
51977         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51978         * elf/tst-auditmod4a.c: Move to ...
51979         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51980         * elf/tst-auditmod4b.c: Move to ...
51981         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51982         * elf/tst-auditmod5a.c: Move to ...
51983         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51984         * elf/tst-auditmod5b.c: Move to ...
51985         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51986         * elf/tst-auditmod6a.c: Move to ...
51987         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51988         * elf/tst-auditmod6b.c: Move to ...
51989         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51990         * elf/tst-auditmod6c.c: Move to ...
51991         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51992         * elf/tst-auditmod7a.c: Move to ...
51993         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51994         * elf/tst-auditmod7b.c: Move to ...
51995         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51997 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51999         [BZ #15366]
52000         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52001         define unconditionally.
52002         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52003         define unconditionally.
52004         (INT8_C, INT16_C, etc.): Likewise.
52006 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52008         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52009         __ehdr_start with hidden visibility.
52011         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52013 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52015         * math/libm-test.inc (cos_test): Use accurate hex constants.
52016         (sincost_test): Likewise.
52018 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52020         * math/libm-test.inc (catan_test): Add more tests.
52021         (catanh_test): Likewise.
52023         * math/s_catanf.c (__catanf): Use suffixed floating-point
52024         constants.
52025         * math/s_catanhf.c (__catanhf): Likewise.
52026         * math/s_catanhl.c (__catanhl): Likewise.
52027         * math/s_catanl.c (__catanl): Likewise.
52029         [BZ #15394]
52030         * math/s_catan.c (__catan): Calculate imaginary part of result
52031         with log1p not log unless computing log of number close to 0.
52032         * math/s_catanf.c (__catanf): Likewise.
52033         * math/s_catanl.c (__catanl): Likewise.
52034         * math/s_catanh.c (__catanh): Calculate real part of result with
52035         log1p not log unless computing log of number close to 0.
52036         * math/s_catanhf.c (__catanhf): Likewise.
52037         * math/s_catanhl.c (__catanhl): Likewise.
52038         * math/libm-test.inc (catan_test): Add more tests.
52039         (catanh_test): Likewise.
52040         * sysdeps/i386/fpu/libm-test-ulps: Update.
52041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52043 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52045         * benchtests/Makefile: Mention files in which fast and slow
52046         paths of math functions are implemented.
52048 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52050         * sysdeps/posix/timespec_get.c: New file.
52052 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52054         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52055         POWER.
52056         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52057         for POWER.
52058         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52059         powerpc/power5/fpu folders.
52060         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52061         * benchtests/Makefile: Add modf testcase.
52062         * benchtests/bench-modf.c: New file: Benchmark test for mo
52064 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52066         [BZ #14888]
52067         * time/Makefile (tests): Add tst-strptime-whitespace.
52068         * time/strptime_l.c (get_number): Use ISSPACE.
52069         (__strptime_internal): Likewise.
52070         * time/tst-strptime-whitespace.c: New test case.
52072 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52074         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52075         member.
52076         (_nss_files_init): Set it here.
52078 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52080         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52081         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52082         unsigned.
52084 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52086         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52088 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52090         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52091         size just once.
52093 2013-04-21  David S. Miller  <davem@davemloft.net>
52095         * po/ru.po: Update Russion translation from translation project.
52097 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52099         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52100         and setfsgid.
52102 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52104         * configure.in: Remove i386 configure warning. Remove i386 case.
52105         * configure: Regenerate.
52106         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52107         Add example to error message.
52108         * sysdeps/i386/configure: Regenerate.
52110 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52112         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52113         slowtan.
52114         * benchtests/cos-inputs: New file.
52115         * benchtests/slowcos-inputs: New file.
52116         * benchtests/slowcos.c: New file.
52117         * benchtests/slowtan-inputs: New file.
52118         * benchtests/slowtan.c: New file.
52119         * benchtests/tan-inputs: New file.
52121 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52123         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52124         considered kosher.
52126 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52128         * benchtests/Makefile: Include cppflags-iterator.mk to add
52129         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52131         * Makefile.in (bench-clean): New target.
52132         * benchtests/Makefile (bench-clean): Likewise.
52134 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52136         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52138 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52140         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52142 2013-04-15  Andreas Schwab  <schwab@suse.de>
52144         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52145         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52146         * nscd/pwdcache.c (cache_addpw): Likewise.
52147         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52148         more than recsize.
52150 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52152         * benchtests/Makefile (bench): Write all output to
52153         bench-out.tmp together.
52155 2013-04-15  Andreas Schwab  <schwab@suse.de>
52157         * nscd/nscd.c (main): Don't fork again after closing files.
52159 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52161         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52163         * benchtests/Rules (bench-deps): Collect dependencies into a
52164         single variable.  Add Makefile to dependencies.
52165         ($(objpfx)bench-%.c): Depend on bench-deps.
52167 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52168             Xavier Roche  <roche+kml2@exalead.com>
52170         [BZ #15361]
52171         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52172         just that it's a file descriptor.
52173         * manual/llio.texi (Synchronizing AIO Operations): Update description
52174         for EBADF error from aio_fsync.
52176 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52178         * Rules (bench): Move target definition...
52179         * benchtests/Makefile: ... here.
52181 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52183         * math/libm-test.inc (cos_test): Fix PI/2 test.
52184         (sincos_test): Likewise.
52185         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52186         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52188 2013-04-11  Andreas Schwab  <schwab@suse.de>
52190         [BZ #13988]
52191         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52192         accept exponent character only when digits were seen.
52193         * stdio-common/Makefile (tests): Add bug26.
52194         * stdio-common/bug26.c: New file.
52196         [BZ #14293]
52197         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52198         non-freeable.
52200 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52202         * Makeconfig (rtld-prefix): Define built linker prefix.
52203         * Rules (run-bench): Use it.
52204         * math/Makefile (run-regen-ulps): Likewise.
52206         * Rules (bench): Remove eval.
52208 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52209             Roland McGrath  <roland@hack.frob.com>
52210             Ondrej Bilka  <neleai@seznam.cz>
52212         [BZ #15346]
52213         * time/getdate.c: Include ctype.h and alloca.h.
52214         (__getdate_r): Trim leading and trailing spaces of input.
52215         * time/tst-getdate.c (tests): Add tests with leading and
52216         trailing spaces.
52218 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52220         [BZ #14280]
52221         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52222         when computing value.
52224 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52226         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52227         Use testrun.sh to run libm tests.
52229         [BZ #15309]
52230         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52232 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52234         [BZ #15264]
52235         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52237 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52239         * Makefile.in (regen-ulps): New target.
52240         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52241         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52242         [ifneq (no,$(PERL)] (regen-ulps): New target.
52243         [ifeq (no,$(PERL)] (regen-ulps): New target.
52244         * math/libm-test.inc (ulps_file_name): Define.
52245         (output_dir): New variable.
52246         (options): Add "output-dir" option.
52247         (parse_opt): Handle 'o' case.
52248         (main): If output_dir is non-NULL use it as a prefix
52249         otherwise use "".
52250         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52252 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52254         [BZ #10060, #10062]
52255         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52256         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52257         fail configure if __sync_val_compare_and_swap is not inlined.
52258         * sysdeps/i386/configure: Regenerate.
52259         * configure.in: Build for i686 when configured for i386.
52260         * configure: Regenerate.
52261         * README: Remove i386 reference.
52263 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52265         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52266         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52268 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52270         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52271         (lmsnanval): New variables.
52272         (F): Add conversion tests.
52273         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52274         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52276         * stdio-common/tstdiomisc.c (F): Properly collect individual
52277         tests' results.
52279         [BZ #14686, #15336]
52280         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52281         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52282         Instead, use input NaN values or generate a qNaN by arithmetic
52283         operation.  Also fix bugs to comply with the standard.
52284         * math/libm-test.inc (remainder_test): Add more tests.
52286         [BZ #15335, #15342]
52287         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52289         input NaN values or generate a qNaN by arithmetic operation.
52291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52292         unreachable code.
52294         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52295         definitions.
52297 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52299         [BZ #14478]
52300         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52301         underflowed result.
52302         * math/s_cexpf.c (__cexpf): Likewise.
52303         * math/s_cexpl.c (__cexpl): Likewise.
52304         * math/libm-test.inc (cexp_test): Add more tests.
52306 2013-04-03  Andreas Schwab  <schwab@suse.de>
52308         [BZ #15330]
52309         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52310         order arrays from heap if bigger than alloca cutoff.
52312 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52314         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52315         (SNAN_TESTS_double): Refer to GCC PR56831.
52316         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52317         GCC PR56828.
52319 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52321         * Rules (bench): Move bench.out after the run is complete.
52323         * Rules (bench): Echo currently running benchmark.
52325         * benchtests/Makefile (bench): Add atan and slowatan.
52326         * benchtests/atan-inputs: New file.
52327         * benchtests/slowatan-inputs: New file.
52328         * benchtests/slowatan.c: New file.
52330         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52331         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52332         its value.
52334         [BZ #15305]
52335         * sysdeps/unix/sysv/linux/kernel-features.h
52336         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52337         __ASSUME_XFS_RESTRICTED_CHOWN.
52338         * sysdeps/unix/sysv/linux/pathconf.c
52339         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52340         Save and restore errno.
52342 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52344         [BZ #15327]
52345         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52346         arguments using __kernel_casinh.
52347         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52348         arguments using __kernel_casinhf.
52349         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52350         arguments using __kernel_casinhl.
52351         * math/libm-test.inc (cacosh_test): Add more tests.
52352         * sysdeps/i386/fpu/libm-test-ulps: Update.
52353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52355 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52357         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52360         * bench/Makefile (bench): Add sin and slowsin.
52361         * benchtests/sin-inputs: New file.
52362         * benchtests/slowsin-inputs: New file.
52363         * benchtests/slowsin.c: New file.
52365         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52366         (bench): Add slowexp and slowpow.
52367         (exp-ITER): Increase iterations.
52368         (pow-ITER): Likewise.
52369         * benchtests/exp-inputs: Change input.
52370         * benchtests/pow-inputs: Likewise.
52371         * benchtests/slowexp-inputs: New file.
52372         * benchtests/slowexp.c: New file.
52373         * benchtests/slowpow-inputs: New file.
52374         * benchtests/slowpow.c: New file.
52376 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52378         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52379         instructions.
52380         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52381         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52382         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52383         * benchtests/Makefile: Add rint benchtest.
52384         * benchtests/rint-inputs: Input for rint benchtest.
52386 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52388         * Versions.def (libm): Add GLIBC_2.18.
52389         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52390         hidden libm prototypes.
52391         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52392         * math/Makefile (libm-calls): Add s_issignaling.
52393         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52394         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52395         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52396         declaration.
52397         * math/math.h [__USE_GNU] (issignaling): New macro.
52398         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52399         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52400         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52401         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52402         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52403         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52404         * manual/arith.texi (issignaling): New section.
52405         * manual/libm-err-tab.pl (@all_functions): Update comment.
52406         * math/gen-libm-test.pl (parse_args): Apply special handling for
52407         issignaling.
52408         * math/libm-test.inc (print_float, issignaling_test): New
52409         functions.
52410         (check_float_internal): Add issignaling checks.
52411         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52412         default definition.
52413         * sysdeps/powerpc/math-tests.h: New file.
52414         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52415         tests.
52416         * math/test-snan.c (TEST_FUNC): Likewise.
52418 2013-03-30  David S. Miller  <davem@davemloft.net>
52420         * po/de.po: Update from translation team.
52422 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52424         [BZ #10357]
52425         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52426         imaginary part less than 1.0 and real part less than 0.5
52427         specially.
52428         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52429         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52430         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52431         (cacos_test): Add more tests.
52432         (casin_test): Likewise.
52433         (casinh_test): Likewise.
52434         * sysdeps/i386/fpu/libm-test-ulps: Update.
52435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52437 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52439         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52440         ONE with its value.
52442         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52443         (__pow_mp): Replace ONE and MONE with their values.
52444         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52445         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52446         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52447         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52448         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52449         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52451         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52453         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52454         (__pow_mp): Replace ZERO and MZERO with their values.
52455         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52456         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52457         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52458         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52459         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52460         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52461         (__sqr): Likewise.
52463         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52465         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52467 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52469         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52470         Declare with __attribute__ ((weak)).
52471         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52472         Call __call_tls_dtors only if it's not NULL.
52474 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52476         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52477         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52478         magic __ehdr_start linker symbol if it's defined.
52479         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52480         them up here if it was already done.
52482         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52483         (_dl_aux_init): Use const in cast when setting it.
52484         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52485         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52486         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52488         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52489         Declare them here.
52490         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52491         * csu/libc-tls.c: Nor here.
52492         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52494         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52495         (__libc_message): Never call vsyslog.
52497 2013-03-28  Alan Modra  <amodra@gmail.com>
52499         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52500         Define as empty.
52501         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52502         Likewise.
52504 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52506         [BZ #15214]
52507         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52508         underflow.
52509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52511 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52513         [BZ #15304]
52514         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52515         Don't add gid passed as argument.
52517         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52519 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52521         [BZ #15307]
52522         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52523         imaginary part between 1.0 and 1.5 and real part less than 0.5
52524         specially.
52525         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52526         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52527         * math/libm-test.inc (cacos_test): Add more tests.
52528         (casin_test): Likewise.
52529         (casinh_test): Likewise.
52530         * sysdeps/i386/fpu/libm-test-ulps: Update.
52531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52533 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52535         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52536         constants.
52537         (norm): Likewise.
52538         (denorm): Likewise.
52539         (__dbl_mp): Likewise.
52540         (add_magnitudes): Likewise.
52541         (sub_magnitudes): Likewise.
52542         (__add): Likewise.
52543         (__sub): Likewise.
52544         (__mul): Likewise.
52545         (__sqr): Likewise.
52546         (__inv): Likewise.
52547         (__dvd): Likewise.
52549         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52550         commented code.
52551         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52552         (__dubcos): Likewise.
52553         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52554         (__ieee754_acos): Likewise.
52555         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52556         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52557         (__exp1): Likewise.
52558         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52559         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52560         (log1): Likewise.
52561         (my_log2): Likewise.
52562         (checkint): Likewise.
52563         * sysdeps/ieee754/dbl-64/e_remainder.c
52564         (__ieee754_remainder): Likewise.
52565         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52566         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52567         (bsloww): Likewise.
52568         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52570         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52571         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52572         MANTISSA_STORE_T to store computations on mantissa.  Use
52573         macros for rounding and division.
52574         (denorm): Likewise.
52575         (__dbl_mp): Likewise.
52576         (add_magnitudes): Likewise.
52577         (sub_magnitudes): Likewise.
52578         (__mul): Likewise.
52579         (__sqr): Likewise.
52580         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52581         powers of two in terms of TWOPOW macro.
52582         (mp_no): Make type of mantissa as MANTISSA_T.
52583         [!RADIXI]: Define RADIXI.
52584         [!TWO52]: Define TWO52.
52585         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52587 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52589         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52590         llroundl symbol when building for PPC32.
52592 2013-03-24  Mark H Weaver  <mhw@netris.org>
52594         * manual/arith.texi (Normalization Functions): Fix prototypes for
52595         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52597 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52599         [BZ #13889]
52600         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52601         high value to check if expl overflow.
52602         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52603         to check for underflow and overflow.
52604         * math/libm-test.inc: Add exp test.
52606 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52608         [BZ #11120]
52609         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52610         with NOT_IN_libc.
52612 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52614         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52615         symbol.
52617 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52619         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52620         wrap blocks consisting of several statements.
52622         * sysdeps/generic/math-tests.h: New file.
52623         * sysdeps/i386/fpu/math-tests.h: Likewise.
52624         * math/test-snan.c: Include it.
52625         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52627 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52629         [BZ #15285]
52630         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52631         (__ieee754_j0l): Do not improve calculations using cos of twice
52632         input for inputs above LDBL_MAX / 2.0L.
52633         (__ieee754_y0l): Likewise.
52634         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52635         (__ieee754_j1l): Do not improve calculations using cos of twice
52636         input for inputs above LDBL_MAX / 2.0L.
52637         (__ieee754_y1l): Likewise.
52638         * math/libm-test.inc (j0_test): Add another test.
52639         (j1_test): Likewise.
52640         (y0_test): Likewise.
52641         (y1_test): Likewise.
52642         * sysdeps/i386/fpu/libm-test-ulps: Update.
52644 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52646         * Rules ($(objpfx)bench-%.c): Include code from a C source
52647         file.
52649 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52651         [BZ #15287]
52652         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52653         imaginary part 1.0 and real part less than 0.5 specially.
52654         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52655         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52656         * math/libm-test.inc (cacos_test): Add more tests.
52657         (casin_test): Likewise.
52658         (casinh_test): Likewise.
52659         * sysdeps/i386/fpu/libm-test-ulps: Update.
52660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52662 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52664         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52665         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52667 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52669         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52670         * config.make.in (config-cflags-sse4): Remove variable.
52671         (config-cflags-avx): Likewise.
52672         (config-cflags-sse2avx): Likewise.
52673         (config-cflags-novzeroupper): Likewise.
52674         (config-asflags-i686): Likewise.
52675         (have-mfma4): Likewise.
52676         (have-as-vis3): Likewise.
52677         (MIG): Likewise.
52678         * configure.in (MIG): Do not AC_SUBST.
52679         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52680         (libc_cv_cc_sse4): Do not AC_SUBST.
52681         (libc_cv_cc_avx): Likewise.
52682         (libc_cv_cc_sse2avx): Likewise.
52683         (libc_cv_cc_novzeroupper): Likewise.
52684         (libc_cv_cc_fma4): Likewise.
52685         (libc_cv_as_i686): Likewise.
52686         (libc_cv_sparc_as_vis3): Likewise.
52687         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52688         LIBC_CONFIG_VAR.
52689         (config-asflags-i686): Likewise.
52690         (config-cflags-avx): Likewise.
52691         (config-cflags-sse2avx): Likewise.
52692         (have-mfma4): Likewise.
52693         (config-cflags-novzeroupper): Likewise.
52694         * sysdeps/mach/configure.in (MIG): Likewise.
52695         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52696         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52697         LIBC_CONFIG_VAR.
52698         (config-cflags-avx): Likewise.
52699         (config-cflags-sse2avx): Likewise.
52700         (have-mfma4): Likewise.
52701         (config-cflags-novzeroupper): Likewise.
52702         * configure: Regenerated.
52703         * sysdeps/i386/configure: Likewise.
52704         * sysdeps/mach/configure: Likewise.
52705         * sysdeps/sparc/configure: Likewise.
52706         * sysdeps/x86_64/configure: Likewise.
52708 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52710         [BZ #14812]
52711         * locale/programs/localedef.c (options): Put N_ translation marker
52712         on argument names, not just descriptions.
52714 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52716         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52718 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52720         [BZ #14176]
52721         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52723 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52725         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52726         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52727         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52728         [!BEFORE_ABORT] (before_abort): New function.
52729         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52730         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52731         (writev_for_fatal): New function.
52732         (WRITEV_FOR_FATAL): New macro; call that.
52733         (backtrace_and_maps): New function.
52734         (BEFORE_ABORT): New macro; call that.
52735         (struct str_list): Type removed.
52736         (__libc_message, __libc_fatal): Functions removed.
52737         Include <sysdeps/posix/libc_fatal.c> instead.
52739 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52741         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52742         constants.
52743         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52744         double constants.
52746 2013-03-19  Andreas Schwab  <schwab@suse.de>
52748         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52749         * sysdeps/gnu/configure: Regenerate.
52751         * configure.in: Substitute libc_cv_rtlddir.
52752         * configure: Regenerate.
52753         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52754         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52755         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52756         * elf/Makefile (install-others, CFLAGS-interp.c)
52757         (ldso_install, common-ldd-rewrite): Likewise.
52758         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52759         $(inst_slibdir)/$(rtld-installed-name).
52760         * scripts/rellns-sh: Add -p option.
52761         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52762         for source.
52764 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52766         * manual/nptl.texi: Renamed to ...
52767         * manual/threads.texi: ... this.
52768         * manual/Makefile (chapters): Update.
52770 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52772         [BZ #14812]
52773         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52774         on argument names, not just descriptions.
52775         * malloc/memusagestat.c (options): Likewise.
52776         * nss/getent.c (options): Likewise.
52778 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52780         [BZ #14812]
52781         * iconv/iconv_prog.c (options): Put N_ translation marker
52782         on argument names, not just descriptions.
52783         * iconv/iconvconfig.c (options): Likewise.
52785 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52787         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52788         implementation which is faster on all x86_64 architectures.
52789         Tested on AMD, Intel Nehalem, SNB, IVB.
52790         * sysdeps/x86_64/strnlen.S: Likewise.
52792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52793         Remove all multiarch strlen and strnlen versions.
52794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52795         Remove strlen and strnlen related parts.
52797         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52798         Inline strlen part.
52799         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52801         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52802         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52803         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52804         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52805         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52806         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52808 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52810         * manual/memory.texi (Malloc Tunable Parameters):
52811         Sort parameters alphabetically. Add comments for missing entries.
52813 2013-03-17  David S. Miller  <davem@davemloft.net>
52815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52817 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52819         [BZ #15283]
52820         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52821         for arguments at most half maximum finite value.
52822         * math/libm-test.inc (j0_test): Add more tests.
52823         (j1_test): Likewise.
52824         (y0_test): Likewise.
52825         (y1_test): Likewise.
52826         * sysdeps/i386/fpu/libm-test-ulps: Update.
52827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52829         [BZ #14155]
52830         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52831         1 / x and functions P and Q for arguments above 0x1p256L.
52832         (__ieee754_y0l): Likewise.
52833         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52834         (__ieee754_y1l): Likewise.
52835         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52836         (j1_test): Likewise.
52837         (y0_test): Likewise.
52838         (y1_test): Likewise.
52840 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52842         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52843         variable.
52845 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52847         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52848         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52849         zero since it's initialized to EXEC_PAGESIZE.
52851         * sysdeps/unix/sysv/linux/ldsodefs.h
52852         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52853         * sysdeps/generic/ldsodefs.h: ... here.
52855 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52857         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52859         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52860         math/test-snan.c.
52861         * math/test-snan.c: Renamed from
52862         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52863         * math/Makefile (tests): Add test-snan.
52864         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52865         test-powerpc-snan.
52867         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52868         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52869         functions.
52870         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52871         __builtin_nan family of functions.
52872         * math/libm-test.inc (initialize): Initialize qnan_value with
52873         __builtin_nan family of functions.
52874         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52875         Remove variables.
52876         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52877         Remove functions.
52878         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52879         storage class.  Initialize qNaN_var and sNaN_var with
52880         __builtin_nan and __builtin_nans families of functions,
52881         respectively.
52883         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52884         (sqrt_test): Remove duplicate test with qNaN input.
52885         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52886         (round_test, signbit_test, significand_test): Note missing +/-Inf
52887         as well as qNaN tests.
52889         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52890         qNaN_var.  Fix a few strings, too.
52891         * math/libm-test.inc (nan_value): Rename to qnan_value.
52892         * math/gen-libm-test.pl (%beautify): Adjust to that.
52893         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52894         * math/test-misc.c (main): Likewise.
52895         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52896         to __qnan_bytes, and __qnan_union, respectively.
52897         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52898         Likewise.
52899         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52900         and lqnanval, respectively.
52901         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52902         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52903         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52904         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52906         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52907         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52908         doubles.
52910         * math/test-misc.c (main): Fix copy'n'pastos.
52911         * misc/tst-efgcvt.c (special): Likewise.
52913         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52914         Remove declarations.
52916 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52918         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52919         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52920         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52921         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52923 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52925         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52926         macro to return vdso values correctly in IFUNC implementations.
52927         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52928         Optimization by using IFUNC.
52930 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52931             Richard Henderson  <rth@redhat.com>
52932             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52934         * Makefile.in (bench): New target.
52935         * NEWS: Mention the benchmark framework.
52936         * Rules (bench): Likewise.
52937         (binaries-bench): Generate binaries for functions to
52938         benchmark.
52939         * benchtests/Makefile: New makefile for benchmark tests.
52940         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52941         programs.
52942         * benchtests/exp-inputs: New input file for EXP function.
52943         * benchtests/pow-inputs: New input file for POW function.
52944         * scripts/bench.pl: New script to generate source files for
52945         benchmark programs.
52947 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52949         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52950         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52951         computations on mantissa.  Use macros for rounding and
52952         division.
52953         (denorm): Likewise.
52954         (__dbl_mp): Likewise.
52955         (add_magnitudes): Likewise.
52956         (sub_magnitudes): Likewise.
52957         (__mul): Likewise.
52958         (__sqr): Likewise.
52959         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52960         powers of two in terms of TWOPOW macro.
52961         (mp_no): Make type of mantissa as MANTISSA_T.
52962         [!RADIXI]: Define RADIXI.
52963         [!TWO52]: Define TWO52.
52964         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52966         * manual/nptl.texi (cindex): Modify threads to pthreads.
52968 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52970         * sysdeps/x86_64/preconfigure: Regenerated.
52972 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52974         [BZ #14155]
52975         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52976         0x1p28 and above.
52977         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52978         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52979         0x1p28 and above.
52980         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52981         * math/libm-test.inc (j0_test): Do not allow one spurious
52982         underflow exception.
52983         (y1_test): Likewise.
52985 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52987         * manual/Makefile (chapters): Add nptl.
52988         * manual/debug.texi (Debugging Support): Add link to Threads
52989         chapter.
52990         * manual/nptl.texi: New file.
52992         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52994 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52996         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52997         for non-NULL pointer before the memory validity test. Pointed
52998         out by Holger Brunck <holger.brunck@keymile.com>.
53000 2013-03-13  Andreas Schwab  <schwab@suse.de>
53002         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53003         instead of .os.
53005 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53007         * timezone/zic.c: Update from tzcode 2013b.
53009 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53011         * manual/install.texi (Configuring and compiling):
53012         Mention i686 and i586.
53013         * INSTALL: Regenerate.
53015 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53017         * sysdeps/init_array/elf-init.c: New file.
53018         * csu/elf-init.c
53019         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53020         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53022         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53023         __gmon_start__ as global, but as static with a .preinit_array pointer.
53024         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53025         * sysdeps/init_array/crti.S: New file, empty except for comments.
53026         * sysdeps/init_array/crtn.S: Likewise.
53028 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53030         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53031         definining bcopy.
53032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53033         Remove Prefer_SSE_for_memop.
53034         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53035         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53036         HAS_PREFER_SSE_FOR_MEMOP.
53037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53038         memset-x86-64.
53039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53040         Remove bzero, memset ifunc support.
53041         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53042         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53043         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53044         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53046 2013-03-11  Andreas Schwab  <schwab@suse.de>
53048         [BZ #15234]
53049         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53050         by SHLIB_COMPAT.
53051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53052         (GLIBC_2.16): Remove pthread_atfork.
53054 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53056         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53057         (ptestcases.h): Likewise.
53059 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53061         * Makeconfig ($(common-objpfx)config.status): Depend on
53062         sysdeps/*/preconfigure{,.in} too.
53064 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53066         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53067         (__free_hook): Use void * instead of __malloc_ptr_t.
53068         (__malloc_hook): Likewise.
53069         (__realloc_hook): Likewise.
53070         (__memalign_hook): Likewise.
53071         (__after_morecore_hook): Likewise.
53072         * malloc/arena.c (save_malloc_hook): Likewise.
53073         (save_free_hook): Likewise.
53074         * malloc/hooks.c (malloc_hook_ini): Likewise.
53075         (realloc_hook_ini): Likewise.
53076         (memalign_hook_ini): Likewise.
53077         * malloc/malloc.c (malloc_hook_ini): Likewise.
53078         (realloc_hook_ini): Likewise.
53079         (memalign_hook_ini): Likewise.
53080         (__free_hook): Likewise.
53081         (__malloc_hook): Likewise.
53082         (__realloc_hook): Likewise.
53083         (__memalign_hook): Likewise.
53084         (__libc_malloc): Likewise.
53085         (__libc_free): Likewise.
53086         (__libc_realloc): Likewise.
53087         (__libc_memalign): Likewise.
53088         (__libc_valloc): Likewise.
53089         (__libc_pvalloc): Likewise.
53090         (__libc_calloc): Likewise.
53091         (__posix_memalign): Likewise.
53092         * malloc/morecore.c (__sbrk): Likewise.
53093         (__default_morecore): Likewise.
53095         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53097         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53098         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53099         __malloc_ptrdiff_t.
53101         * malloc/malloc.h (__malloc_size_t): Remove macro.
53102         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53103         __malloc_size_t.
53104         (old_memalign_hook): Likewise.
53105         (old_realloc_hook): Likewise.
53106         (struct hdr): Likewise.
53107         (flood): Likewise.
53108         (mallochook): Likewise.
53109         (memalignhook): Likewise.
53110         (reallochook): Likewise.
53111         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53112         (tr_old_realloc_hook): Likewise.
53113         (tr_old_memalign_hook): Likewise.
53114         (tr_mallochook): Likewise.
53115         (tr_reallochook): Likewise.
53116         (tr_memalignhook): Likewise.
53118 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53120         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53121         default_ldbl_pack and using as default implementation.
53122         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53123         implementation.
53124         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53125         redundant definition.
53126         (ldbl_insert_mantissa): Likewise.
53127         (ldbl_canonicalize): Likewise.
53128         (ldbl_nearbyint): Likewise.
53129         (ldbl_pack): Rename to ldbl_pack_ppc.
53130         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53131         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53132         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53134 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53137         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53138         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53139         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53141         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53142         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53143         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53145 2013-03-07  Andreas Jaeger  <aj@suse.de>
53147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53148         bits/mman-linux.h.
53150 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53152         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53153         Include mpa.h and declare __MPEXP.
53154         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53155         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53156         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53157         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53158         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53159         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53160         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53162         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53163         (__slowpow): Use long double EXPL and LOGL functions to
53164         compute POW.
53165         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53166         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53167         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53168         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53169         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53170         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53173         intermediate variable to calculate exponent.
53174         (__sqr): Likewise.
53175         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53176         Likewise.
53177         (__sqr): Likewise.
53179         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53180         [!NO__SQR]: Define __sqr.
53181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53182         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53183         sysdeps/ieee754/dbl-64/mpa.c.
53184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53186         [BZ #12723]
53187         * posix/Makefile (tests): Add tst-pathconf.
53188         * posix/tst-pathconf.c: New test case.
53189         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53190         _PC_PIPE_BUF.
53191         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53193 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53195         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53197 2013-03-06  Andreas Jaeger  <aj@suse.de>
53199         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53200         definition via __MAP_ANONYMOUS.
53202         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53203         it's not part of Linux headers.
53205         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53206         (MAP_HUGE_MASK): Define.
53208         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53209         Define.
53210         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53211         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53212         Define.
53213         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53214         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53215         Define.
53216         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53217         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53218         Define.
53219         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53221         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53222         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53223         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53224         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53225         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53226         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53228         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53229         Handle f2fs.
53231         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53232         Handle f2fs and efivarfs.
53234         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53235         f2fs.
53237         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53238         (EFIVARFS_MAGIC): Add.
53239         (F2FS_LINK_MAX): Add.
53241 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53243         * stdio-common/vfprintf.c: Replace __builtin_expect with
53244         __glibc_unlikely.
53246 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53248         [BZ #13550]
53249         * sysdeps/generic/bp-sym.h: Remove file.
53250         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53251         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53252         <bp-sym.h> and <bp-asm.h>.
53253         (__longjmp): Don't use BP_SYM.
53254         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53255         and <bp-asm.h>.
53256         (memcpy): Don't use BP_SYM.
53257         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53258         <bp-sym.h> and <bp-asm.h>.
53259         (memcpy): Don't use BP_SYM.
53260         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53261         <bp-asm.h>.
53262         (memcpy): Don't use BP_SYM.
53263         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53264         <bp-asm.h>.
53265         (memset): Don't use BP_SYM.
53266         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53267         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53268         (__bzero): Don't use BP_SYM.
53269         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53270         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53271         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53272         <bp-sym.h> and <bp-asm.h>.
53273         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53274         pointers.
53275         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53276         <bp-sym.h> and <bp-asm.h>.
53277         (memcpy): Don't use BP_SYM.
53278         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53279         <bp-sym.h> and <bp-asm.h>.
53280         (memset): Don't use BP_SYM.
53281         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53282         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53283         (__bzero): Don't use BP_SYM.
53284         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53285         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53286         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53287         <bp-sym.h> and <bp-asm.h>.
53288         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53289         pointers.
53290         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53291         <bp-sym.h> and <bp-asm.h>.
53292         (memcpy): Don't use BP_SYM.
53293         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53294         <bp-sym.h> and <bp-asm.h>.
53295         (memset): Don't use BP_SYM.
53296         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53297         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53298         (__bzero): Don't use BP_SYM.
53299         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53300         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53301         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53302         <bp-sym.h> and <bp-asm.h>.
53303         (__memchr): Don't use BP_SYM.
53304         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53305         <bp-sym.h> and <bp-asm.h>.
53306         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53307         pointers.
53308         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53309         <bp-sym.h> and <bp-asm.h>.
53310         (memcpy): Don't use BP_SYM.
53311         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53312         <bp-sym.h> and <bp-asm.h>.
53313         (__mempcpy): Don't use BP_SYM.
53314         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53315         <bp-sym.h> and <bp-asm.h>.
53316         (__memrchr): Don't use BP_SYM.
53317         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53318         <bp-sym.h> and <bp-asm.h>.
53319         (memset): Don't use BP_SYM.
53320         (__bzero): Likewise.
53321         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53322         <bp-sym.h> and <bp-asm.h>.
53323         (__rawmemchr): Don't use BP_SYM.
53324         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53325         <bp-sym.h> and <bp-asm.h>.
53326         (__STRCMP): Don't use BP_SYM.
53327         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53328         <bp-sym.h> and <bp-asm.h>.
53329         (strchr): Don't use BP_SYM.
53330         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53331         <bp-sym.h> and <bp-asm.h>.
53332         (__strchrnul): Don't use BP_SYM.
53333         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53334         <bp-sym.h> and <bp-asm.h>.
53335         (strlen): Don't use BP_SYM.
53336         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53337         <bp-sym.h> and <bp-asm.h>.
53338         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53339         pointers.
53340         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53341         <bp-sym.h> and <bp-asm.h>.
53342         (__strnlen): Don't use BP_SYM.
53343         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53344         <bp-sym.h> and <bp-asm.h>.
53345         (__GI__setjmp): Don't use BP_SYM.
53346         (_setjmp): Likewise.
53347         (__sigsetjmp): Likewise.
53348         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53349         (L(start_addresses)): Don't use BP_SYM.
53350         (_start): Likewise.
53351         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53352         <bp-asm.h>.
53353         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53354         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53355         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53356         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53357         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53358         <bp-asm.h>.
53359         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53360         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53361         about bounded pointers.
53362         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53363         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53364         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53365         <bp-asm.h>.
53366         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53367         about bounded pointers.  Remove GKM FIXME comments.
53368         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53369         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53370         <bp-asm.h>.
53371         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53372         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53373         Remove GKM FIXME comments.
53374         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53375         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53376         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53377         <bp-asm.h>.
53378         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53379         about bounded pointers.  Remove GKM FIXME comment.
53380         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53381         and <bp-asm.h>.
53382         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53383         pointers.
53384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53385         <bp-sym.h> and <bp-asm.h>.
53386         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53388         <bp-sym.h> and <bp-asm.h>.
53389         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53390         comment.
53392 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53394         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53395         call free(NULL).
53397 2013-03-05  David S. Miller  <davem@davemloft.net>
53399         * po/es.po: Update from translation team.
53401 2013-03-05  Andreas Jaeger  <aj@suse.de>
53403         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53404         <bits/mman-linux.h>.
53405         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53406         is fine.
53407         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53408         <bits/mman-linux.h> to end of file.
53409         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53410         is fine.
53411         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53412         <bits/mman-linux.h> to end of file.
53413         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53414         is fine.
53415         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53416         <bits/mman-linux.h> to end of file.
53418         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53419         (MCL_CURRENT, MCL_FUTURE): Define here.
53421 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53423         [BZ #15232]
53424         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53425         attribute_hidden.
53426         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53428 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53430         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53431         fourth parameter needed for rt_sigprocmask syscall.
53432         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53433         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53434         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53435         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53436         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53437         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53439 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53441         [BZ #13550]
53442         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53443         comment about bounded pointers.
53444         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53445         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53447 2013-03-04  Andreas Jaeger  <aj@suse.de>
53449         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53450         common definitions.
53452         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53453         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53454         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53455         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53456         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53457         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53459 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53461         [BZ #15055]
53462         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53463         __ieee754_sqrl instead of __sqrl.
53465 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53467         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53468         * sysdeps/powerpc/fpu_control.h: ... here.
53469         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53470         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53471         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53472         * sysdeps/powerpc/bits/mathinline.h: ... here.
53474 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53476         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53477         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53478         to just [NEED_DL_SYSINFO_DSO].
53479         * elf/dl-support.c: Likewise.
53480         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53481         * elf/rtld.c (dl_main): Likewise.
53482         * elf/setup-vdso.h (setup_vdso): Likewise.
53483         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53484         * sysdeps/unix/sysv/linux/dl-sysdep.c
53485         (_dl_discover_osversion): Likewise.
53487 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53489         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53490         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53492 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53494         * NEWS: Mention libm performance improvements and non-x86 PI
53495         futex support.
53497         * csu/libc-start.c (__pthread_initialize_minimal): Change
53498         function arguments.
53499         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53501 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53503         [BZ #13550]
53504         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53505         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53506         <bp-sym.h> and <bp-asm.h>.
53507         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53508         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53509         and <bp-asm.h>.
53510         (memcpy): Don't use BP_SYM.
53511         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53512         <bp-asm.h>.
53513         (__mpn_add_n): Don't use BP_SYM.
53514         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53515         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53516         and <bp-asm.h>.
53517         (__mpn_addmul_1): Don't use BP_SYM.
53518         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53519         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53520         <bp-sym.h>.
53521         (_setjmp): Don't use BP_SYM.
53522         (__novmx_setjmp): Likewise.
53523         (__GI__setjmp): Likewise.
53524         (__vmx_setjmp): Likewise.
53525         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53526         <bp-sym.h>.
53527         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53528         (__bzero): Don't use BP_SYM.
53529         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53530         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53531         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53532         <bp-sym.h> and <bp-asm.h>.
53533         (memcpy): Don't use BP_SYM.
53534         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53535         <bp-sym.h> and <bp-asm.h>.
53536         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53537         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53538         <bp-sym.h> and <bp-asm.h>.
53539         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53540         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53541         <bp-asm.h>.
53542         (__mpn_lshift): Don't use BP_SYM.
53543         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53544         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53545         <bp-asm.h>.
53546         (memset): Don't use BP_SYM.
53547         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53548         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53549         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53550         <bp-asm.h>.
53551         (__mpn_mul_1): Don't use BP_SYM.
53552         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53553         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53554         <bp-sym.h> and <bp-asm.h>.
53555         (memcmp): Don't use BP_SYM.
53556         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53557         <bp-sym.h> and <bp-asm.h>.
53558         (memcpy): Don't use BP_SYM.
53559         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53560         <bp-sym.h> and <bp-asm.h>.
53561         (memset): Don't use BP_SYM.
53562         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53563         <bp-sym.h> and <bp-asm.h>.
53564         (strncmp): Don't use BP_SYM.
53565         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53566         <bp-sym.h> and <bp-asm.h>.
53567         (memcpy): Don't use BP_SYM.
53568         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53569         <bp-sym.h> and <bp-asm.h>.
53570         (memset): Don't use BP_SYM.
53571         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53572         <bp-sym.h> and <bp-asm.h>.
53573         (__memchr): Don't use BP_SYM.
53574         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53575         <bp-sym.h> and <bp-asm.h>.
53576         (memcmp): Don't use BP_SYM.
53577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53578         <bp-sym.h> and <bp-asm.h>.
53579         (memcpy): Don't use BP_SYM.
53580         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53581         <bp-sym.h> and <bp-asm.h>.
53582         (__mempcpy): Don't use BP_SYM.
53583         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53584         <bp-sym.h> and <bp-asm.h>.
53585         (__memrchr): Don't use BP_SYM.
53586         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53587         <bp-sym.h> and <bp-asm.h>.
53588         (memset): Don't use BP_SYM.
53589         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53590         <bp-sym.h> and <bp-asm.h>.
53591         (__rawmemchr): Don't use BP_SYM.
53592         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53593         <bp-sym.h> and <bp-asm.h>.
53594         (__STRCMP): Don't use BP_SYM.
53595         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53596         <bp-sym.h> and <bp-asm.h>.
53597         (strchr): Don't use BP_SYM.
53598         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53599         <bp-sym.h> and <bp-asm.h>.
53600         (__strchrnul): Don't use BP_SYM.
53601         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53602         <bp-sym.h> and <bp-asm.h>.
53603         (strlen): Don't use BP_SYM.
53604         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53605         <bp-sym.h> and <bp-asm.h>.
53606         (strncmp): Don't use BP_SYM.
53607         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53608         <bp-sym.h> and <bp-asm.h>.
53609         (__strnlen): Don't use BP_SYM.
53610         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53611         <bp-asm.h>.
53612         (__mpn_rshift): Don't use BP_SYM.
53613         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53614         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53615         <bp-sym.h> and <bp-asm.h>.
53616         (__sigsetjmp): Don't use BP_SYM.
53617         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53618         (L(start_addresses)): Don't use BP_SYM.
53619         (_start): Likewise.
53620         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53621         <bp-asm.h>.
53622         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53623         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53624         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53625         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53626         <bp-asm.h>.
53627         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53628         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53629         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53630         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53631         <bp-asm.h>.
53632         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53633         comments.
53634         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53635         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53636         <bp-asm.h>.
53637         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53638         FIXME comments.
53639         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53640         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53641         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53642         <bp-asm.h>.
53643         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53644         comment.
53645         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53646         and <bp-asm.h>.
53647         (strncmp): Don't use BP_SYM,
53648         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53649         <bp-asm.h>.
53650         (__mpn_sub_n): Don't use BP_SYM.
53651         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53652         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53653         and <bp-asm.h>.
53654         (__mpn_submul_1): Don't use BP_SYM.
53655         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53657         <bp-sym.h> and <bp-asm.h>.
53658         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53660         <bp-sym.h> and <bp-asm.h>.
53661         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53662         comment.
53664 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53667         Use ZK to minimize writes to Z.
53668         (sub_magnitudes): Simplify code a bit.
53669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53670         Use ZK to minimize writes to Z.
53671         (sub_magnitudes): Simplify code a bit.
53673 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53675         * csu/gmon-start.c: Add special exception to license text.
53677 2013-02-27  Richard Henderson  <rth@redhat.com>
53679         * scripts/config.guess: Update from config.git.
53680         * scripts/config.sub: Likewise.
53682 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53684         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53686         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53688         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53690         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53692         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53694 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53696         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53697         [$(build-shared = yes].
53699 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53701         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53702         (__mul): Reduce iterations for calculating mantissa.
53704         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53705         MPTWO.
53706         (__mpranred): Likewise.
53708         [BZ #15160]
53709         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53710         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53712 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53714         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53715         Define __attribute__.
53717 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53719         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53720         unused.
53721         * posix/regex_internal.h (__attribute): Remove.
53722         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53723         (re_string_context_at): Likewise.
53724         (bitset_not): Use __attribute__ and mark function as possibly
53725         unused.
53726         (bitset_merge): Likewise.
53727         (bitset_mask): Likewise.
53728         (re_string_char_size_at): Likewise.
53729         (re_string_wchar_at): Likewise.
53730         (re_string_elem_size_at): Likewise.
53732 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53734         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53735         code.
53736         (cc32): Likewise.
53738         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53739         (__acr): Likewise.
53740         (__cpy): Likewise.
53741         (norm): Likewise.
53742         (denorm): Likewise.
53743         (__dbl_mp): Likewise.
53744         (add_magnitudes): Likewise.
53745         (sub_magnitudes): Likewise.
53746         (__mul): Likewise.
53747         (__inv): Likewise.
53749         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53750         style.
53752         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53753         style.
53755         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53756         code.
53758         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53759         up changes with default code.
53760         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53761         Likewise.
53763 2013-02-24  Allan McRae  <allan@archlinux.org>
53765         * manual/socket.texi (The Internet Namespace): Order menu items
53766         to match that in the file.
53768         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53769         node listing of the info page menu.
53771 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53773         [BZ #13550]
53774         * sysdeps/i386/bp-asm.h: Remove file.
53775         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53776         (PARMS): Do not use macros from bp-asm.h.
53777         (S1): Likewise.
53778         (S2): Likewise.
53779         (SIZE): Likewise.
53780         (__mpn_add_n): Do not use BP_SYM
53781         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53782         "bp-asm.h".
53783         (PARMS): Do not use macros from bp-asm.h.
53784         (S1): Likewise.
53785         (SIZE): Likewise.
53786         (__mpn_addmul_1): Do not use BP_SYM
53787         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53788         "bp-asm.h".
53789         (PARMS): Do not use macros from bp-asm.h.
53790         (SIGMSK): Likewise.
53791         (_setjmp): Likewise.  Do not use BP_SYM.
53792         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53793         "bp-asm.h".
53794         (PARMS): Do not use macros from bp-asm.h.
53795         (SIGMSK): Likewise.
53796         (setjmp): Likewise.  Do not use BP_SYM.
53797         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53798         "bp-asm.h".
53799         (PARMS): Do not use macros from bp-asm.h.
53800         (__frexp): Do not use BP_SYM.
53801         (frexp): Likewise.
53802         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53803         "bp-asm.h".
53804         (PARMS): Do not use macros from bp-asm.h.
53805         (__frexpf): Do not use BP_SYM.
53806         (frexpf): Likewise.
53807         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53808         "bp-asm.h".
53809         (PARMS): Do not use macros from bp-asm.h.
53810         (__frexpl): Do not use BP_SYM.
53811         (frexpl): Likewise.
53812         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53813         "bp-asm.h".
53814         (PARMS): Do not use macros from bp-asm.h.
53815         (__remquo): Do not use BP_SYM.
53816         (remquo): Likewise.
53817         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53818         "bp-asm.h".
53819         (PARMS): Do not use macros from bp-asm.h.
53820         (__remquof): Do not use BP_SYM.
53821         (remquof): Likewise.
53822         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53823         "bp-asm.h".
53824         (PARMS): Do not use macros from bp-asm.h.
53825         (__remquol): Do not use BP_SYM.
53826         (remquol): Likewise.
53827         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53828         "bp-asm.h".
53829         (PARMS): Do not use macros from bp-asm.h.
53830         (DEST): Likewise.
53831         (SRC): Likewise.
53832         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53833         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53834         "bp-asm.h".
53835         (PARMS): Do not use macros from bp-asm.h.
53836         (strlen): Do not use BP_SYM.
53837         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53838         "bp-asm.h".
53839         (PARMS): Do not use macros from bp-asm.h.
53840         (S1): Likewise.
53841         (S2): Likewise.
53842         (SIZE): Likewise.
53843         (__mpn_add_n): Do not use BP_SYM.
53844         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53845         "bp-asm.h".
53846         (PARMS): Do not use macros from bp-asm.h.
53847         (S1): Likewise.
53848         (SIZE): Likewise.
53849         (__mpn_addmul_1): Do not use BP_SYM.
53850         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53851         weak_alias.
53852         (bzero): Likewise.
53853         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53854         "bp-asm.h".
53855         (PARMS): Do not use macros from bp-asm.h.
53856         (S): Likewise.
53857         (SIZE): Likewise.
53858         (__mpn_lshift): Do not use BP_SYM.
53859         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53860         "bp-asm.h".
53861         (PARMS): Do not use macros from bp-asm.h.
53862         (DEST): Likewise.
53863         (SRC): Likewise.
53864         (LEN): Likewise.
53865         (memcpy): Likewise.  Do not use BP_SYM.
53866         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53867         libc_hidden_def and weak_alias.
53868         (mempcpy): Do not use BP_SYM in weak_alias.
53869         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53870         "bp-asm.h".
53871         (PARMS): Do not use macros from bp-asm.h.
53872         (DEST): Likewise.
53873         (LEN): Likewise.
53874         [!BZERO_P] (CHR): Likewise.
53875         (memset): Likewise.  Do not use BP_SYM.
53876         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53877         "bp-asm.h".
53878         (PARMS): Do not use macros from bp-asm.h.
53879         (S1): Likewise.
53880         (SIZE): Likewise.
53881         (__mpn_mul_1): Do not use BP_SYM.
53882         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53883         "bp-asm.h".
53884         (PARMS): Do not use macros from bp-asm.h.
53885         (S): Likewise.
53886         (SIZE): Likewise.
53887         (__mpn_rshift): Do not use BP_SYM.
53888         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53889         "bp-asm.h".
53890         (PARMS): Do not use macros from bp-asm.h.
53891         (STR): Likewise.
53892         (CHR): Likewise.
53893         (strchr): Likewise.  Do not use BP_SYM.
53894         (index): Do not use BP_SYM in weak_alias.
53895         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53896         "bp-asm.h".
53897         (PARMS): Do not use macros from bp-asm.h.
53898         (DEST): Likewise.
53899         (SRC): Likewise.
53900         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53901         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53902         "bp-asm.h".
53903         (PARMS): Do not use macros from bp-asm.h.
53904         (strlen): Do not use BP_SYM.
53905         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53906         "bp-asm.h".
53907         (PARMS): Do not use macros from bp-asm.h.
53908         (S1): Likewise.
53909         (S2): Likewise.
53910         (SIZE): Likewise.
53911         (__mpn_sub_n): Do not use BP_SYM.
53912         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53913         "bp-asm.h".
53914         (PARMS): Do not use macros from bp-asm.h.
53915         (S1): Likewise.
53916         (SIZE): Likewise.
53917         (__mpn_submul_1): Do not use BP_SYM.
53918         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53919         "bp-asm.h".
53920         (PARMS): Do not use macros from bp-asm.h.
53921         (S1): Likewise.
53922         (S2): Likewise.
53923         (SIZE): Likewise.
53924         (__mpn_add_n): Do not use BP_SYM.
53925         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53926         weak_alias.
53927         (bzero): Likewise.
53928         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53929         "bp-asm.h".
53930         (PARMS): Do not use macros from bp-asm.h.
53931         (BLK2): Likewise.
53932         (LEN): Likewise.
53933         (memcmp): Do not use BP_SYM.
53934         (bcmp): Do not use BP_SYM in weak_alias.
53935         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53936         "bp-asm.h".
53937         (PARMS): Do not use macros from bp-asm.h.
53938         (DEST): Likewise.
53939         (SRC): Likewise.
53940         (LEN): Likewise.
53941         (memcpy): Likewise.  Do not use BP_SYM.
53942         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53943         "bp-asm.h".
53944         (PARMS): Do not use macros from bp-asm.h.
53945         (DEST): Likewise.
53946         (SRC): Likewise.
53947         (LEN): Likewise.
53948         (memmove): Likewise.  Do not use BP_SYM.
53949         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53950         "bp-asm.h".
53951         (PARMS): Do not use macros from bp-asm.h.
53952         (DEST): Likewise.
53953         (SRC): Likewise.
53954         (LEN): Likewise.
53955         (__mempcpy): Likewise.  Do not use BP_SYM.
53956         (mempcpy): Do not use BP_SYM in weak_alias.
53957         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53958         "bp-asm.h".
53959         (PARMS): Do not use macros from bp-asm.h.
53960         (DEST): Likewise.
53961         (LEN): Likewise.
53962         [!BZERO_P] (CHR): Likewise.
53963         (memset): Likewise.  Do not use BP_SYM.
53964         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53965         "bp-asm.h".
53966         (PARMS): Do not use macros from bp-asm.h.
53967         (STR2): Likewise.
53968         (strcmp): Do not use BP_SYM.
53969         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53970         "bp-asm.h".
53971         (PARMS): Do not use macros from bp-asm.h.
53972         (STR): Likewise.
53973         (DELIM): Likewise.
53974         [USE_AS_STRTOK_R] (SAVE): Likewise.
53975         (FUNCTION): Likewise.  Do not use BP_SYM.
53976         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53977         aliases.
53978         (strtok_r): Likewise.
53979         (__GI___strtok_r): Likewise.
53980         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53981         (PARMS): Do not use macros from bp-asm.h.
53982         (S): Likewise.
53983         (SIZE): Likewise.
53984         (__mpn_lshift): Do not use BP_SYM.
53985         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53986         (PARMS): Do not use macros from bp-asm.h.
53987         (STR): Likewise.
53988         (CHR): Likewise.
53989         (__memchr): Do not use BP_SYM.
53990         (memchr): Do not use BP_SYM in weak_alias.
53991         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53992         (PARMS): Do not use macros from bp-asm.h.
53993         (BLK2): Likewise.
53994         (LEN): Likewise.
53995         (memcmp): Do not use BP_SYM.
53996         (bcmp): Do not use BP_SYM in weak_alias.
53997         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53998         (PARMS): Do not use macros from bp-asm.h.
53999         (S1): Likewise.
54000         (SIZE): Likewise.
54001         (__mpn_mul_1): Do not use BP_SYM.
54002         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54003         "bp-asm.h".
54004         (PARMS): Do not use macros from bp-asm.h.
54005         (STR): Likewise.
54006         (CHR): Likewise.
54007         (__rawmemchr): Do not use BP_SYM.
54008         (rawmemchr): Do not use BP_SYM in weak_alias.
54009         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54010         (PARMS): Do not use macros from bp-asm.h.
54011         (S): Likewise.
54012         (SIZE): Likewise.
54013         (__mpn_rshift): Do not use BP_SYM.
54014         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54015         (PARMS): Do not use macros from bp-asm.h.
54016         (SIGMSK): Likewise.
54017         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54018         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54019         (_start): Do not use BP_SYM.
54020         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54021         (PARMS): Do not use macros from bp-asm.h.
54022         (DEST): Likewise.
54023         (SRC): Likewise.
54024         (__stpcpy): Likewise.  Do not use BP_SYM.
54025         (stpcpy): Do not use BP_SYM in weak_alias.
54026         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54027         "bp-asm.h".
54028         (PARMS): Do not use macros from bp-asm.h.
54029         (DEST): Likewise.
54030         (SRC): Likewise.
54031         (LEN): Likewise.
54032         (__stpncpy): Likewise.  Do not use BP_SYM.
54033         (stpncpy): Do not use BP_SYM in weak_alias.
54034         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54035         (PARMS): Do not use macros from bp-asm.h.
54036         (STR): Likewise.
54037         (CHR): Likewise.
54038         (strchr): Likewise.  Do not use BP_SYM.
54039         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54040         "bp-asm.h".
54041         (PARMS): Do not use macros from bp-asm.h.
54042         (STR): Likewise.
54043         (CHR): Likewise.
54044         (__strchrnul): Likewise.  Do not use BP_SYM.
54045         (strchrnul): Do not use BP_SYM in weak_alias.
54046         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54047         "bp-asm.h".
54048         (PARMS): Do not use macros from bp-asm.h.
54049         (STOP): Likewise.
54050         (strcspn): Do not use BP_SYM.
54051         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54052         "bp-asm.h".
54053         (PARMS): Do not use macros from bp-asm.h.
54054         (STR): Likewise.
54055         (STOP): Likewise.
54056         (strpbrk): Likewise.  Do not use BP_SYM.
54057         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54058         "bp-asm.h".
54059         (PARMS): Do not use macros from bp-asm.h.
54060         (STR): Likewise.
54061         (CHR): Likewise.
54062         (strrchr): Likewise.  Do not use BP_SYM.
54063         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54064         (PARMS): Do not use macros from bp-asm.h.
54065         (SKIP): Likewise.
54066         (strspn): Do not use BP_SYM.
54067         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54068         (PARMS): Do not use macros from bp-asm.h.
54069         (STR): Likewise.
54070         (DELIM): Likewise.
54071         (SAVE): Likewise.
54072         (FUNCTION): Likewise.  Do not use BP_SYM.
54073         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54074         aliases.
54075         (strtok_r): Likewise.
54076         (__GI___strtok_r): Likewise.
54077         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54078         (PARMS): Do not use macros from bp-asm.h.
54079         (S1): Likewise.
54080         (S2): Likewise.
54081         (SIZE): Likewise.
54082         (__mpn_sub_n): Do not use BP_SYM.
54083         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54084         "bp-asm.h".
54085         (PARMS): Do not use macros from bp-asm.h.
54086         (S1): Likewise.
54087         (SIZE): Likewise.
54088         (__mpn_submul_1): Do not use BP_SYM.
54089         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54090         <bp-sym.h>.
54091         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54092         and <bp-asm.h>.
54093         (PARMS): Do not use macros from bp-asm.h.
54094         (FLAGS): Likewise.
54095         (PTID): Likewise.
54096         (TLS): Likewise.
54097         (CTID): Likewise.
54098         (__clone): Do not use BP_SYM.
54099         (clone): Do not use BP_SYM in weak_alias.
54100         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54101         and <bp-asm.h>.
54102         (PARMS): Do not use macros from bp-asm.h.
54103         (LEN): Likewise.
54104         (__mmap64): Do not use BP_SYM.
54105         (mmap64): Do not use BP_SYM in weak_alias.
54106         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54107         <bp-sym.h> and <bp-asm.h>.
54108         (PARMS): Do not use macros from bp-asm.h.
54109         (__posix_fadvise64_l64): Do not use BP_SYM.
54110         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54111         (PARMS): Do not use macros from bp-asm.h.
54112         (NSOPS): Likewise.
54113         (semtimedop): Do not use BP_SYM.
54114         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54115         and <bp-asm.h>.
54117 2013-02-21  Allan McRae  <allan@archlinux.org>
54119         * manual/message.texi (Charset conversion in gettext):
54120         Move @end statement to beginning of line.
54122 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54125         static.
54126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54127         Likewise.
54129         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54130         (denorm): Likewise.
54131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54134 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54136         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54137         tail-call to the resolved function if pltexit isn't needed.
54139 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54142         or Y being zero as being unlikely.
54143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54144         Likewise.
54146 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54148         * manual/nss.texi (System Databases and Name Service Switch):
54149         Remove frobnicate @pxref.
54151 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54153         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54154         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54156 2013-02-20  Petr Machata  <pmachata@redhat.com>
54158         * elf/elf.h (R_ARM_TARGET1): New macro.
54159         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54160         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54161         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54162         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54163         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54164         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54165         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54166         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54167         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54168         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54169         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54170         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54171         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54172         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54173         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54174         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54175         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54176         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54177         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54178         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54179         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54180         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54181         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54182         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54183         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54184         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54185         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54186         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54187         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54188         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54189         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54190         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54191         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54192         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54193         (R_ARM_THM_GOT_BREL12): Likewise.
54194         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54195         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54196         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54197         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54198         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54199         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54200         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54201         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54202         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54204 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54206         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54207         __attribute_used__ to __attribute__ ((unused)).
54209 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54211         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54212         powerpc mpa.c.
54213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54214         comment formatting.
54215         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54217 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54219         [BZ #13550]
54220         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54221         Remove macro.
54222         (ENTER): Remove both macro definitions.
54223         (LEAVE): Likewise.
54224         (CHECK_BOUNDS_LOW): Likewise.
54225         (CHECK_BOUNDS_HIGH): Likewise.
54226         (CHECK_BOUNDS_BOTH): Likewise.
54227         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54228         (RETURN_BOUNDED_POINTER): Likewise.
54229         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54230         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54231         (POP_ERRNO_LOCATION_RETURN): Likewise.
54232         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54233         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54234         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54235         macros.
54236         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54237         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54238         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54239         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54240         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54241         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54242         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54243         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54244         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54245         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54246         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54247         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54248         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54249         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54250         removed macros.
54251         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54252         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54253         macros.
54254         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54255         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54256         * sysdeps/i386/i586/memset.S (memset): Likewise.
54257         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54258         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54259         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54260         macros.
54261         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54262         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54263         Change uses of L(2) to L(out).
54264         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54265         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54266         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54267         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54268         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54269         removed macros.
54270         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54271         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54272         macros.
54273         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54274         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54275         (RETURN): Do not use macro LEAVE.
54276         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54277         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54278         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54279         * sysdeps/i386/i686/memset.S (memset): Likewise.
54280         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54281         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54282         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54283         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54284         Likewise.
54285         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54286         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54287         L(1_2) and L(1_3) into L(1).
54288         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54289         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54290         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54291         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54292         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54293         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54294         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54295         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54296         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54297         macros.
54298         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54299         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54300         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54301         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54302         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54303         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54304         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54305         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54306         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54307         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54308         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54309         * sysdeps/i386/strspn.S (strspn): Likewise.
54310         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54311         conditional code.
54312         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54313         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54314         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54315         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54316         L(1_3) into L(1_1).
54317         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54318         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54319         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54320         macros.
54321         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54323 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54325         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54326         macro.
54328 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54330         * math/atest-exp.c (exp_mpn): Remove ROUND.
54331         * math/atest-exp2.c (exp_mpn): Likewise.
54332         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54334         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54335         * stdlib/tst-tls-atexit-lib.c: Likewise.
54336         * stdlib/tst-tls-atexit.c: Likewise.
54338 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54340         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54341         and __attribute_alloc_size__.
54343 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54345         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54346         __attribute_alloc_size__.
54347         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54348         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54350 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54352         * include/programs/xmalloc.h: New file.
54353         * catgets/gencat.c: Include it.
54354         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54355         * elf/pldd.c: Likewise.
54356         * iconv/iconv_charmap.c: Likewise.
54357         * iconv/iconvconfig.c: Likewise.
54358         * iconv/strtab.c: Likewise.
54359         * locale/programs/locale.c: Likewise.
54360         * locale/programs/localedef.h: Likewise.
54361         * locale/programs/simple-hash.c: Likewise.
54362         * nscd/nscd.h: Likewise.
54363         * nss/makedb.c: Likewise.
54364         * sysdeps/generic/ldconfig.h: Likewise.
54366 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54368         * Versions.def: Add GLIBC_2.18.
54369         * include/link.h (struct link_map): New member l_tls_dtor_count.
54370         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54371         (__call_tls_dtors): Likewise.
54372         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54373         __cxa_thread_atexit_impl.
54374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54375         Likewise.
54376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54377         Likewise.
54378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54379         Likewise.
54380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54381         Likewise.
54382         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54384         Likewise.
54385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54386         Likewise.
54387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54389         Likewise.
54390         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54391         (tests): Add test case tst-tls-atexit.
54392         (modules-names): Add shared library for tst-tls-atexit.
54393         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54394         (GLIBC_PRIVATE): Add __call_tls_dtors.
54395         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54396         for libstdc++.
54397         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54398         * stdlib/tst-tls-atexit.c: New test case.
54399         * stdlib/tst-tls-atexit-lib.c: New test case.
54401         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54403         * elf/Versions (ld): Add _dl_find_dso_for_object.
54404         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54405         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54406         (dl_open_worker): Use _dl_find_dso_for_object.
54407         * elf/dl-sym.c (do_sym): Likewise.
54408         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54410 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54412         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54413         Syntactic changes only.
54414         (_dl_runtime_profile): Do a tail-call to the resolved function.
54416 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54418         [BZ #13550]
54419         * sysdeps/x86_64/bp-asm.h: Remove file.
54420         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54421         <bp-sym.h> and <bp-asm.h>.
54422         (__clone): Do not use BP_SYM.
54423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54424         <bp-sym.h> and <bp-asm.h>.
54425         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54426         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54427         "bp-asm.h".
54428         (_setjmp): Do not use BP_SYM.
54429         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54430         "bp-asm.h".
54431         (setjmp): Do not use BP_SYM.
54432         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54433         libc_hidden_def.
54434         (mempcpy): Do not use BP_SYM in weak_alias.
54435         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54436         "bp-asm.h".
54437         (strchr): Do not use BP_SYM.
54438         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54439         "bp-asm.h".
54440         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54441         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54442         (_start): Do not use BP_SYM.
54443         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54444         "bp-asm.h".
54445         (strcat): Do not use BP_SYM.
54446         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54447         "bp-asm.h".
54448         (STRCMP): Do not use BP_SYM.
54449         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54450         "bp-asm.h".
54451         (STRCPY): Do not use BP_SYM.
54452         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54453         "bp-asm.h".
54454         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54455         "bp-asm.h".
54456         (FUNCTION): Do not use BP_SYM.
54457         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54458         weak_alias.
54459         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54461 2013-02-17  Andreas Jaeger  <aj@suse.de>
54463         * time/Versions: Sort entries.
54464         * string/Versions: Likewise.
54465         * resolv/Versions: Likewise.
54466         * posix/Versions: Likewise.
54467         * iconv/Versions: Likewise.
54468         * elf/Versions: Likewise.
54469         * wcsmbs/Versions: Likewise.
54471 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54473         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54474         loop termination condition.
54476         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54477         variable to calculate EZ.
54478         (__sqr): Likewise.
54480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54481         the lower precision input.
54483 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54485         [BZ #13550]
54486         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54487         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54488         (run-via-rtld-prefix): Do not handle %-bp tests.
54489         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54490         (all-object-suffixes): Remove .ob.
54491         (bppfx): Remove variable.
54492         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54493         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54494         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54495         [$(build-bounded) = yes] (libtype.ob): Likewise.
54496         * Makerules (elide-routines.ob): Remove variable.
54497         (do-tests-clean): Do not handle *-bp.out.
54498         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54499         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54500         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54501         (tests): Do not include $(tests-bp.out).
54502         (xtests): Do not include $(xtests-bp.out).
54503         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54504         [$(build-bounded) = yes] ($(addprefix
54505         $(objpfx),$(binaries-bounded))): Remove rule.
54506         ($(objpfx)%-bp.out): Remove rule.
54507         * config.make.in (build-bounded): Remove variable.
54508         * crypt/Makefile [$(build-bounded) = yes]
54509         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54510         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54511         append to variable.
54512         [$(build-bounded) = yes] (install-lib): Likewise.
54513         [$(build-bounded) = yes] (generated): Likewise.
54514         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54515         Remove rule.
54516         * intl/Makefile [$(build-bounded) = yes]
54517         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54518         * math/Makefile [$(build-bounded) = yes]
54519         ($(tests:%=$(objpfx)%-bp): Likewise.
54520         * misc/Makefile [$(build-bounded) = yes]
54521         ($(objpfx)tst-tsearch-bp): Likewise.
54522         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54523         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54524         Remove dependency.
54525         * string/Makefile (o-objects.ob): Remove variable.
54526         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54527         (CFLAGS-.ob): Remove variable.
54528         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54529         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54530         both definitions of variable.
54531         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54532         (ASFLAGS-.ob): Remove variable.
54534 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54536         [BZ #13550]
54537         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54538         Remove __BOUNDED_POINTERS__ from condition.
54539         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54540         * string/bits/string2.h [!__NO_STRING_INLINES &&
54541         !__BOUNDED_POINTERS__]: Likewise.
54542         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54543         Likewise.
54544         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54545         Remove conditional code.
54546         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54547         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54548         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54549         condition.
54551         [BZ #13550]
54552         * csu/libc-start.c: Do not include <bp-sym.h>.
54553         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54554         * elf/dl-open.c: Do not include <bp-sym.h>.
54555         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54556         * math/fegetenv.c: Do not include <bp-sym.h>.
54557         (fegetenv): Do not use BP_SYM in versioned symbols.
54558         * nptl/sysdeps/pthread/bits/libc-lockP.h
54559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54560         <bp-sym.h>.
54561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54562         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54564         (__pthread_mutex_destroy): Likewise.
54565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54566         (__pthread_mutex_lock): Likewise.
54567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54568         (__pthread_mutex_trylock): Likewise.
54569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54570         (__pthread_mutex_unlock): Likewise.
54571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54572         (__pthread_mutexattr_init): Likewise.
54573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54574         (__pthread_mutexattr_destroy): Likewise.
54575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54576         (__pthread_mutexattr_settype): Likewise.
54577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54578         (__pthread_rwlock_init): Likewise.
54579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54580         (__pthread_rwlock_destroy): Likewise.
54581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54582         (__pthread_rwlock_rdlock): Likewise.
54583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54584         (__pthread_rwlock_tryrdlock): Likewise.
54585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54586         (__pthread_rwlock_wrlock): Likewise.
54587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54588         (__pthread_rwlock_trywrlock): Likewise.
54589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54590         (__pthread_rwlock_unlock): Likewise.
54591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54592         (__pthread_key_create): Likewise.
54593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54594         (__pthread_setspecific): Likewise.
54595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54596         (__pthread_getspecific): Likewise.
54597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54598         Likewise.
54599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54600         (_pthread_cleanup_push_defer): Likewise.
54601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54602         (_pthread_cleanup_pop_restore): Likewise.
54603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54604         (pthread_setcancelstate): Likewise.
54605         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54606         <bp-sym.h>.
54607         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54608         (memchr): Do not use BP_SYM in weak_alias.
54609         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54610         (fegetenv): Do not use BP_SYM in versioned symbols.
54611         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54612         (fesetenv): Do not use BP_SYM in versioned symbols.
54613         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54614         (feupdateenv): Do not use BP_SYM in versioned symbols.
54615         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54616         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54617         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54618         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54619         (open64): Do not use BP_SYM in weak_alias.
54620         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54621         (fegetenv): Do not use BP_SYM in versioned symbols.
54622         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54623         (fesetenv): Do not use BP_SYM in versioned symbols.
54624         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54625         (feupdateenv): Do not use BP_SYM in versioned symbols.
54626         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54627         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54628         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54629         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54630         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54631         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54632         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54633         <bp-sym.h>.
54634         (__libc_start_main): Do not use BP_SYM.
54636 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54639         redundant return line.
54640         (norm): Likewise.
54641         (denorm): Likewise.
54642         (dbl_mp): Likewise.
54643         (sub_magnitudes): Likewise.
54644         (__add): Likewise.
54645         (__sub): Likewise.
54646         (__mul): Likewise.
54647         (__inv): Likewise.
54648         (__dvd): Likewise.
54649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54650         (norm): Likewise.
54651         (denorm): Likewise.
54652         (dbl_mp): Likewise.
54653         (sub_magnitudes): Likewise.
54654         (__add): Likewise.
54655         (__sub): Likewise.
54656         (__mul): Likewise.
54657         (__inv): Likewise.
54658         (__dvd): Likewise.
54660         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54661         instead of __mul.
54662         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54663         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54664         (cc32): Likewise.
54666         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54667         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54668         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54669         of __mul for squares.
54670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54671         function
54672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54673         Likewise.
54674         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54675         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54677 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54679         [BZ #13550]
54680         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54681         code.
54682         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54683         prototype or function definition.  Rename ubp_* variables and
54684         parameters.  Remove argv definitions conditional on
54685         [__BOUNDED_POINTERS__].
54686         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54687         * elf/dl-runtime.c (_dl_fixup): Likewise.
54688         * include/set-hooks.h (RUN_HOOK): Likewise.
54689         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54690         definition.
54691         * string/strcpy.c (strcpy): Do not use __unbounded.
54692         * sysdeps/generic/frame.h (struct layout): Likewise.
54693         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54694         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54695         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54696         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54697         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54698         (__backtrace): Likewise.
54699         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54700         use __ptrvalue.
54701         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54702         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54703         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54704         Likewise.
54705         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54706         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54707         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54708         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54709         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54710         Do not use __unbounded.
54711         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54712         Rename __unboundedrlimits parameter to rlimits in prototype.
54713         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54714         Do not use __unbounded.
54715         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54716         not use __ptrvalue.
54717         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54718         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54719         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54720         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54721         __ptrvalue or __unbounded.
54722         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54723         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54724         use __unbounded.
54725         (__new_msgctl): Do not use __ptrvalue.
54726         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54727         __unbounded.
54728         (__libc_msgrcv): Do not use __ptrvalue.
54729         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54730         startup_info): Do not use __unbounded.
54731         (__libc_start_main): Likewise.  Rename ubp_* variables and
54732         parameters.  Remove argv definitions conditional on
54733         [__BOUNDED_POINTERS__].
54734         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54735         __ptrvalue.
54736         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54737         use __unbounded.
54738         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54739         or __ptrvalue.
54740         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54741         use __unbounded.
54742         (__new_shmctl): Do not use __ptrvalue.
54743         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54744         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54745         Likewise.
54746         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54747         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54748         (__libc_sigaction): Likewise.
54749         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54750         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54751         Likewise.
54752         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54754 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54756         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54758         * string/mempcpy.c: Implement by calling memcpy.
54760 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54764         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54765         evaluation.
54767         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54768         values in the mantissa.
54770         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54771         minimize writes to Z.
54772         (sub_magnitudes): Simplify code a bit.
54774 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54776         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54777         from the message.  The linker prefixes all warnings with that already.
54779 2013-02-12  Andreas Schwab  <schwab@suse.de>
54781         [BZ #15078]
54782         * posix/regexec.c (extend_buffers): Add parameter min_len.
54783         (check_matching): Pass minimum needed length.
54784         (clean_state_log_if_needed): Likewise.
54785         (get_subexp): Likewise.
54786         * posix/Makefile (tests): Add bug-regex34.
54787         (bug-regex34-ENV): Define.
54788         * posix/bug-regex34.c: New file.
54790         [BZ #11561]
54791         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54792         elements compare against the byte sequence of it, not its name.
54793         * posix/Makefile (tests): Add bug-regex35.
54794         (bug-regex35-ENV): Define.
54795         * posix/bug-regex35.c: New file.
54797 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54799         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54800         comment.
54801         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54802         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54803         (CHECK_EOL): Add undef.
54805 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54807         * bits/stdlib-bsearch.h: New file.
54808         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54809         * stdlib/stdlib.h: Likewise.
54811 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54813         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54814         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54815         declaration.
54816         * manual/search.texi (Array Search Function): Add missing const in
54817         lfind prototype.
54818         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54819         declaration to use rlim_t.
54820         (Basic Scheduling Functions): Remove erroneous const from
54821         sched_getparam prototype.  Remove erroneous * from
54822         sched_get_priority_max and sched_get_priority_min prototypes.
54823         (Resource Usage): Fix summary @comment on vtimes to refer to
54824         sys/vtimes.h rather than vtimes.h.
54825         Add missing *s in vtimes prototype.
54826         (Limits on Resources): Fix ulimit prototype to return long int.
54827         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54828         prototypes to use long int rather than double.
54829         (BSD Random): Fix initstate and setstate to use char *, not void *.
54830         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54831         prototype to make second argument 'struct aiocb64 *const[]'.
54832         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54833         (Status of AIO Operations): Remove erroneous const in aio_return and
54834         aio_return64 prototypes.
54835         (Synchronizing I/O): Fix sync prototype to return void.
54836         * manual/startup.texi (Suboptions): Remove an erroneous const in
54837         getsubopt prototype.
54838         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54839         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54840         use size_t rather than int.
54841         (Scanning All Users): Likewise for getpwent_r.
54842         (Setting Groups): Add missing const to setgroups prototype.
54843         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54844         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54845         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54846         'const void *' rather than 'const char *'.
54847         (Host Address Functions): Likewise for inet_ntop.
54848         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54849         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54850         ssize_t for return value.
54851         (Sending Data): Likewise for send, sendto, sendmsg.
54852         (Socket Option Functions): Add a missing const in setsockopt prototype.
54853         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54854         use wchar_t for the argument.
54855         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54856         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54857         take no arguments.
54858         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54859         double/float/long double for second argument.
54860         Fix return types of significand, significandf, significandl.
54861         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54862         argument in fchmod prototype.
54863         (File Owner): Use uid_t and gid_t in fchown prototype.
54864         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54865         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54866         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54867         use 'const struct dirent **' as argument types to CMP function pointer
54868         argument.
54869         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54870         (File Times): Fix summary magic @comment for struct utimbuf and utime
54871         to refer to utime.h, not time.h.
54872         * manual/string.texi (Argz Functions): Add missing const in
54873         argz_extract and argz_next prototypes.
54874         (Finding Tokens in a String): Likewise for basename.
54875         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54876         (Copying and Concatenation): Fix typo in wmemmove prototype.
54877         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54878         (Signal Stack): Remove erroneous const in sigstack prototype.
54879         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54880         prototype.
54881         (Simple Calendar Time): Likewise for stime.
54882         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54883         prototype.
54884         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54885         say sys/sysctl.h instead.
54886         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54887         and vsyslog prototypes.
54889 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54891         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54892         Remove.
54894 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54896         * misc/sys/mman.h: Fix typo in mremap comment.
54898 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54900         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54901         the '\0' terminator.
54903 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54905         [BZ #13550]
54906         * debug/segfault.c: Don't include <bp-checks.h>.
54907         * sysdeps/generic/bp-checks.h: Remove file.
54908         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54909         (__GETDENTS): Don't use CHECK_N.
54910         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54911         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54912         (__getgroups): Don't use CHECK_N.
54913         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54914         (setgroups): Don't use CHECK_N.
54915         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54916         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54917         (__libc_msgrcv): Don't use CHECK_N.
54918         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54919         (__libc_msgsnd): Don't use CHECK_N.
54920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54921         <bp-checks.h>.
54922         (__libc_pread): Don't use CHECK_N.
54923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54924         include <bp-checks.h>.
54925         (__libc_pread64): Don't use CHECK_N.
54926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54927         include <bp-checks.h>.
54928         (__libc_pwrite): Don't use CHECK_N.
54929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54930         include <bp-checks.h>.
54931         (__libc_pwrite64): Don't use CHECK_N.
54932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54933         <bp-checks.h>.
54934         (__libc_pread): Don't use CHECK_N.
54935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54936         include <bp-checks.h>.
54937         (__libc_pread64): Don't use CHECK_N.
54938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54939         include <bp-checks.h>.
54940         (__libc_pwrite): Don't use CHECK_N.
54941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54942         include <bp-checks.h>.
54943         (__libc_pwrite64): Don't use CHECK_N.
54944         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54945         (do_pread): Don't use CHECK_N.
54946         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54947         (do_pread64): Don't use CHECK_N.
54948         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54949         (do_pwrite): Don't use CHECK_N.
54950         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54951         (do_pwrite64): Don't use CHECK_N.
54952         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54953         (__libc_readv): Don't use CHECK_N.
54954         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54955         (semop): Don't use CHECK_N.
54956         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54957         <bp-checks.h>.
54958         (semtimedop): Don't use CHECK_N.
54959         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54960         (__libc_pread): Don't use CHECK_N.
54961         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54962         <bp-checks.h>.
54963         (__libc_pread64): Don't use CHECK_N.
54964         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54965         <bp-checks.h>.
54966         (__libc_pwrite): Don't use CHECK_N.
54967         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54968         <bp-checks.h>.
54969         (__libc_pwrite64): Don't use CHECK_N.
54970         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54971         <bp-checks.h>.
54972         (__libc_msgrcv): Don't use CHECK_N.
54973         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54974         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54975         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54976         (__libc_writev): Don't use CHECK_N.
54978 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54980         * string/strcpy.c: Removed unused variable.
54982         * Makeconfig (+sysdep-includes): Define with := rather than =.
54983         Use an existing include/ subdir of each sysdeps dir before it.
54985 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54987         * nscd/connection.c (register_traced_file): Comment function.
54988         [HAVE_INOTIFY] (union __inev): Define.
54989         [HAVE_INOTIFY] (inotify_check_files): New function.
54990         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54991         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54992         clear_db_cache.
54993         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54995 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54997         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54998         loaded if not already and that a failure is permanent.
55000 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55002         [BZ #15006]
55003         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55004         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55006 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55008         [BZ #13550]
55009         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55010         (CHECK_1_NULL_OK): Likewise.
55011         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55012         (__fxstat): Do not use CHECK_1.
55013         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55014         <bp-checks.h>.
55015         (___fxstat64): Do not use CHECK_1.
55016         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55017         <bp-checks.h>.
55018         (__fxstatat): Do not use CHECK_1.
55019         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55020         <bp-checks.h>.
55021         (__fxstatat64): Do not use CHECK_1.
55022         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55023         <bp-checks.h>.
55024         (__fxstat): Do not use CHECK_1.
55025         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55026         <bp-checks.h>.
55027         (__fxstatat): Do not use CHECK_1.
55028         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55029         <bp-checks.h>.
55030         (__getresgid): Do not use CHECK_1.
55031         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55032         <bp-checks.h>.
55033         (__getresuid): Do not use CHECK_1.
55034         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55035         <bp-checks.h>.
55036         (__lxstat): Do not use CHECK_1.
55037         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55038         <bp-checks.h>.
55039         (__old_msgctl): Do not use CHECK_1.
55040         (__new_msgctl): Likewise.
55041         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55042         <bp-checks.h>.
55043         (__new_setrlimit): Do not use CHECK_1.
55044         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55045         <bp-checks.h>.
55046         (__old_shmctl): Do not use CHECK_1.
55047         (__new_shmctl): Likewise.
55048         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55049         <bp-checks.h>.
55050         (__xstat): Do not use CHECK_1.
55051         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55052         (__lxstat): Do not use CHECK_1.
55053         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55054         <bp-checks.h>.
55055         (___lxstat64): Do not use CHECK_1.
55056         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55057         (__old_msgctl): Do not use CHECK_1.
55058         (__new_msgctl): Likewise.
55059         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55060         <bp-checks.h>.
55061         (__gettimeofday): Do not use CHECK_1.
55062         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55063         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55064         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55065         <bp-checks.h>.
55066         (__gettimeofday): Do not use CHECK_1.
55067         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55068         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55069         (__new_shmctl): Do not use CHECK_1.
55070         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55071         <bp-checks.h>.
55072         (do_sigtimedwait): Do not use CHECK_1.
55073         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55074         <bp-checks.h>.
55075         (do_sigwaitinfo): Do not use CHECK_1.
55076         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55077         <bp-checks.h>.
55078         (msgctl): Do not use CHECK_1.
55079         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55080         <bp-checks.h>.
55081         (shmctl): Do not use CHECK_1.
55082         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55083         (ustat): Do not use CHECK_1.
55084         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55085         <bp-checks.h>.
55086         (__fxstat): Do not use CHECK_1.
55087         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55088         <bp-checks.h>.
55089         (__fxstatat): Do not use CHECK_1.
55090         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55091         <bp-checks.h>.
55092         (__lxstat): Do not use CHECK_1.
55093         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55094         <bp-checks.h>.
55095         (__xstat): Do not use CHECK_1.
55096         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55097         (__xstat): Do not use CHECK_1.
55098         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55099         (___xstat64): Do not use CHECK_1.
55101         [BZ #13550]
55102         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55103         definitions.
55104         (CHECK_BOUNDS_HIGH): Likewise.
55105         * string/strcpy.c: Do not include <bp-checks.h>.
55106         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55108 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55110         * nscd/nscd-client.h (__nscd_drop_map_ref):
55111         Add __attribute__ ((unused)).
55112         * nis/nss-nisplus.h (niserr2nss): Likewise.
55114         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55115         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55117         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55118         Remove inline keyword.
55119         * include/rounding-mode.h (round_away): Likewise.
55120         * libio/wfileops.c (adjust_wide_data): Likewise.
55121         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55122         (__m128i_strloadu_tolower): Likewise.
55123         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55124         (__m128i_strloadu_tolower): Likewise.
55125         * time/mktime.c (ydhms_diff): Likewise.
55126         * locale/elem-hash.h (elem_hash): Likewise.
55127         * locale/setlocale.c (setdata): Likewise.
55128         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55129         (re_string_wchar_at): Likewise.
55130         (bitset_not, bitset_merge, bitset_mask): Likewise.
55131         [!(__GNUC__ > 3)] (inline): Remove macro.
55132         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55133         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55134         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55135         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55136         * string/memcmp.c (memcmp_bytes): Likewise.
55137         * locale/programs/locarchive.c (compute_hashval): Likewise.
55138         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55139         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55140         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55141         * nss/getent.c (print_rpc, print_protocols): Likewise.
55142         (print_passwd, print_group, print_aliases): Likewise.
55143         * nis/nss-nisplus.h (niserr2nss): Likewise.
55144         * nscd/connections.c (restart_p): Likewise.
55145         Change return type to bool.
55147 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55149         * Makeconfig (all-Depend-files): Add existing
55150         $(sorted-subdirs:=/Depend) files.
55151         (all-subdirs): Remove nss.
55152         * sysdeps/unix/inet/Subdirs: Add it here instead.
55153         * hesiod/Depend: New file.
55155         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55156         instead of calling alloca.
55158         * io/lseek.c (__lseek): Rename to __libc_lseek.
55159         Define __lseek as an alias.
55161         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55163 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55165         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55166         else clause and remove check for non-standard endianness.
55168 2013-02-04  David S. Miller  <davem@davemloft.net>
55170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55172 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55174         [BZ #13550]
55175         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55176         (__ubp_memchr): Remove prototype.
55177         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55178         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55179         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55180         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55181         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55182         Remove alias.
55183         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55184         (__ubp_memchr): Likewise.
55185         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55186         (__ubp_memchr): Likewise.
55187         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55188         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55189         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55190         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55191         CHECK_STRING.
55192         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55193         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55194         (__getcwd): Do not use CHECK_STRING.
55195         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55196         <bp-checks.h>.
55197         (__real_chown): Do not use CHECK_STRING.
55198         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55199         <bp-checks.h>.
55200         (fchownat): Do not use CHECK_STRING.
55201         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55202         CHECK_STRING.
55203         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55204         <bp-checks.h>.
55205         (__lchown): Do not use CHECK_STRING.
55206         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55207         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55208         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55209         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55211         include <bp-checks.h>.
55212         (truncate64): Do not use CHECK_STRING.
55213         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55214         <bp-checks.h>.
55215         (__real_chown): Do not use CHECK_STRING.
55216         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55217         <bp-checks.h>.
55218         (__lchown): Do not use CHECK_STRING.
55219         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55220         <bp-checks.h>.
55221         (__chown): Do not use CHECK_STRING.
55222         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55223         <bp-checks.h>.
55224         (truncate64): Do not use CHECK_STRING.
55225         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55226         Likewise.
55227         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55228         (__xmknod): Do not use CHECK_STRING.
55229         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55230         <bp-checks.h>.
55231         (__xmknodat): Do not use CHECK_STRING.
55232         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55233         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55235 2013-02-04  Andreas Schwab  <schwab@suse.de>
55237         [BZ #14142]
55238         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55239         * include/netdb.h: Likewise for h_errno.
55240         * elf/tst-stackguard1.c: Include <tls.h>.
55242 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55244         * elf/link.h (struct link_map): Extend the l_addr comment.
55245         * include/link.h (struct link_map): Likewise.
55247 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55249         [BZ #13550]
55250         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55251         (BOUNDED_1): Remove macro.
55252         * debug/backtrace.c: Don't include <bp-checks.h>.
55253         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55254         (__backtrace): Likewise.
55255         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55256         <bp-checks.h>.
55257         (__backtrace): Don't use BOUNDED_1.
55258         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55259         <bp-checks.h>.
55260         (__backtrace): Don't use BOUNDED_1.
55261         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55262         (__backtrace): Don't use BOUNDED_1.
55263         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55264         (shmat): Don't use BOUNDED_N.
55266 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55268         [BZ #13550]
55269         * sysdeps/generic/bp-start.h: Remove file.
55270         * csu/libc-start.c: Don't include <bp-start.h>.
55271         (LIBC_START_MAIN): Set up __environ directly instead of using
55272         INIT_ARGV_and_ENVIRON.
55273         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55274         <bp-start.h>.
55276         [BZ #13550]
55277         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55278         definitions.
55279         (CHECK_FCNTL): Likewise.
55280         (CHECK_N_PAGES): Likewise.
55282         [BZ #13550]
55283         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55284         definitions.
55285         (CHECK_SIGSET_NULL_OK): Likewise.
55286         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55287         <bp-checks.h>.
55288         (sigpending): Don't use CHECK_SIGSET.
55289         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55290         <bp-checks.h>.
55291         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55292         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55293         <bp-checks.h>.
55294         (do_sigsuspend): Don't use CHECK_SIGSET.
55295         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55296         use CHECK_SIGSET.
55297         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55298         (do_sigwait): Don't use CHECK_SIGSET.
55299         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55300         use CHECK_SIGSET.
55301         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55302         include <bp-checks.h>.
55303         (sigpending): Don't use CHECK_SIGSET.
55304         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55305         include <bp-checks.h>.
55306         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55307         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55308         <bp-checks.h>.
55309         (sigpending): Don't use CHECK_SIGSET.
55310         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55311         <bp-checks.h>.
55312         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55314         [BZ #13550]
55315         * sysdeps/generic/bp-semctl.h: Remove file.
55316         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55317         <bp-checks.h> and <bp-semctl.h>.
55318         (__old_semctl): Don't use CHECK_SEMCTL.
55319         (__new_semctl): Likewise.
55320         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55321         and <bp-semctl.h>.
55322         (__old_semctl): Don't use CHECK_SEMCTL.
55323         (__new_semctl): Likewise.
55324         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55325         <bp-checks.h> and <bp-semctl.h>.
55326         (__old_semctl): Don't use CHECK_SEMCTL.
55327         (__new_semctl): Likewise.
55328         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55329         <bp-checks.h> and <bp-semctl.h>.
55330         (semctl): Don't use CHECK_SEMCTL.
55332         [BZ #13550]
55333         * Makerules (elide-bp-thunks): Remove variable.
55334         (elide-routines.oS): Don't use $(elide-bp-thunks).
55335         (elide-routines.os): Likewise.
55336         (elide-routines.o): Likewise.
55337         (elide-routines.op): Likewise.
55338         (elide-routines.og): Likewise.
55339         (objects): Don't use $(bp-thunks).
55340         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55341         include.
55342         (common-generated): Do not add s-proto-bp.d.
55343         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55344         (int): Likewise.
55345         (typ): Likewise.
55346         Do not generate makefile rules for bounded-pointer thunks.
55347         * sysdeps/generic/bp-thunks.h: Remove file.
55348         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55349         * sysdeps/unix/s-proto-bp.S: Likewise.
55351         [BZ #15062]
55352         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55353         parts of result separately when argument is not close to line from
55354         -i to i and one part of argument is small.
55355         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55356         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55357         * math/libm-test.inc (cacos_test): Add more tests.
55358         (casin_test): Likewise.
55359         (casinh_test): Likewise.
55360         * sysdeps/i386/fpu/libm-test-ulps: Update.
55361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55363 2013-01-31  David S. Miller  <davem@davemloft.net>
55365         * po/de.po: Update from translation team.
55367 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55369         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55371 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55373         * configure.in (_AC_PROG_CC_C89): New definition.
55374         * configure: Regenerate.
55376         * configure.in (AC_PROG_CPP): New definition.
55377         * configure: Regenerate.
55379 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55381         * debug/tst-backtrace.h: New file.
55382         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55383         (ret): Remove variable.
55384         (x): Likewise.
55385         (FAIL): Remove macro.
55386         (NO_INLINE): Likewise.
55387         (fn1): Use match function instead of strstr.
55388         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55389         (ret): Remove variable.
55390         (x): Likewise.
55391         (FAIL): Remove macro.
55392         (NO_INLINE): Likewise.
55393         (fn): Use match function instead of strstr.
55394         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55395         (ret): Remove variable.
55396         (x): Likewise.
55397         (FAIL): Remove macro.
55398         (NO_INLINE): Likewise.
55399         (handle_signal): Use match function instead of strstr.
55400         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55401         (ret): Remove variable.
55402         (x): Likewise.
55403         (FAIL): Remove macro.
55404         (NO_INLINE): Likewise.
55405         (handle_signal): Use match function instead of strstr.
55407 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55409         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55411 2013-01-23  David S. Miller  <davem@davemloft.net>
55413         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55414         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55415         argument of CAS if possible.
55416         * sysdeps/sparc/sparc64/bits/atomic.h
55417         (__arch_compare_and_exchange_val_32_acq): Likewise.
55418         (__arch_compare_and_exchange_val_64_acq): Likewise.
55420 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55422         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55423         * sysdeps/posix/ulimit.c: ... this.
55424         Include <limits.h>.
55425         * sysdeps/unix/bsd/ulimit.c: Remove file.
55427 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55429         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55430         (LDFLAGS-tst-array5): Likewise.
55432 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55434         [BZ #15036]
55435         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55436         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55437         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55438         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55440 2013-01-21  David S. Miller  <davem@davemloft.net>
55442         * sysdeps/sparc/backtrace.c: New file.
55443         * sysdeps/sparc/sparc32/backtrace.h: New file.
55444         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55445         * sysdeps/sparc/sparc64/backtrace.h: New file.
55446         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55447         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55448         -funwind-tables.
55450 2013-01-21  Andreas Schwab  <schwab@suse.de>
55452         [BZ #15020]
55453         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55454         closed its stdout.
55456 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55459         "mpa2.h".
55460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55462 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55463             Mark Mitchell  <mark@codesourcery.com>
55464             Tom de Vries  <tom@codesourcery.com>
55465             Paul Pluzhnikov  <ppluzhnikov@google.com>
55467         * debug/tst-backtrace2.c: New file.
55468         * debug/tst-backtrace3.c: Likewise.
55469         * debug/tst-backtrace4.c: Likewise.
55470         * debug/tst-backtrace5.c: Likewise.
55471         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55472         (CFLAGS-tst-backtrace3.c): Likewise.
55473         (CFLAGS-tst-backtrace4.c): Likewise.
55474         (CFLAGS-tst-backtrace5.c): Likewise.
55475         (LDFLAGS-tst-backtrace2): Likewise.
55476         (LDFLAGS-tst-backtrace3): Likewise.
55477         (LDFLAGS-tst-backtrace4): Likewise.
55478         (LDFLAGS-tst-backtrace5): Likewise.
55479         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55480         tst-backtrace4 and tst-backtrace5.
55482 2013-01-18  Anton Blanchard  <anton@samba.org>
55483             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55485         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55486         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55487         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55488         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55490         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55491         "+r" and remove output regs list as redundant.  Add explicit inline
55492         asm to specify register of return val to work around compiler codegen
55493         bug.  Remove (int) cast on return value.  Add return type parameter to
55494         use in macro so that this macro does not truncate return value for
55495         64-bit values.
55496         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55497         pass to INTERNAL_VSYSCALL_NCS.
55498         (INLINE_VSYSCALL): Add 'long int' as return type to
55499         INTERNAL_VSYSCALL_NCS macro invocation.
55500         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55501         INTERNAL_VSYSCALL_NCS macro invocation.
55502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55504 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55506         [BZ #14496]
55507         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55508         Fix application of SIMD FP exception mask.
55510         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55511         mp_no from a power of two.
55512         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55513         __mpexp_twomm1.  Use __pow_mp.
55515         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55516         multiplication.
55518 2013-01-17  David S. Miller  <davem@davemloft.net>
55520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55522 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55524         [BZ #15023]
55525         * include/complex.h: Condition contents on [!_COMPLEX_H].
55526         (__kernel_casinhf): New prototype.
55527         (__kernel_casinh): Likewise.
55528         (__kernel_casinhl): Likewise.
55529         * math/Makefile (libm_calls): Add k_casinh.
55530         * math/k_casinh.c: New file.
55531         * math/k_casinhf.c: Likewise.
55532         * math/k_casinhl.c: Likewise.
55533         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55534         finite nonzero arguments.
55535         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55536         finite nonzero arguments.
55537         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55538         finite nonzero arguments.
55539         * math/s_casinh.c: Do not include <float.h>.
55540         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55541         * math/s_casinhf.c: Do not include <float.h>.
55542         (__casinhf): Move code for finite nonzero arguments to
55543         k_casinhf.c.
55544         * math/s_casinhl.c: Do not include <float.h>.
55545         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55546         redefine.
55547         (__casinhl): Move code for finite nonzero arguments to
55548         k_casinhl.c.
55549         * math/libm-test.inc (cacos_test): Add more tests.
55550         * sysdeps/i386/fpu/libm-test-ulps: Update.
55551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55553 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55555         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55556         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55557         [!HAVE_MREMAP]: Remove [defined linux] case.
55558         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55560 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55562         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55564 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55566         * elf/elf.h (R_386_SIZE32): New relocation.
55567         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55568         R_386_SIZE32.
55569         (elf_machine_rela): Likewise.
55570         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55571         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55573 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55575         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55576         (FP_FAST_FMA): Do not define.
55577         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55578         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55579         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55580         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55581         !_SOFT_FLOAT]: Likewise.
55582         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55583         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55584         value.
55585         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55586         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55587         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55588         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55589         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55590         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55591         file.
55593 2013-01-16  Andreas Schwab  <schwab@suse.de>
55595         [BZ #14327]
55596         * include/stdlib.h (__mktemp): Add declaration.
55597         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55598         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55600 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55602         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55603         definitions.
55604         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55605         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55606         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55607         definitions here.
55608         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55609         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55610         definitions.
55611         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55612         and ONE.
55613         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55614         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55615         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55616         definitions.
55617         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55618         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55619         definitions.
55620         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55622         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55624 2013-01-15  David S. Miller  <davem@davemloft.net>
55626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55627         trunc{,f} to libm-sysdep_routes.
55628         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55630         file.
55631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55633         file.
55634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55635         file.
55636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55638         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55639         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55640         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55641         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55642         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55643         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55646         nearbyint{,f} to libm-sysdep_routes.
55647         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55649         New file.
55650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55651         file.
55652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55653         New file.
55654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55655         file.
55656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55658         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55659         file.
55660         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55661         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55662         file.
55663         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55664         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55665         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55667         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55668         libc_feholdexcept and libc_fesetenv.
55670 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55672         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55674 2013-01-14  David S. Miller  <davem@davemloft.net>
55676         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55677         (SPARC_ASM_VIS2_IFUNC): Likewise.
55678         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55680         use of 'siam' instruction.
55681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55682         Likewise.
55683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55684         Likewise.
55685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55686         Likewise.
55687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55692         file.
55693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55694         file.
55695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55696         file.
55697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55698         file.
55699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55701         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55702         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55704         new VIS2 routines.
55705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55708         Likewise.
55709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55714         routines to libm-sysdep_routines.
55715         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55718         fdim/fdimf to libm-sysdep_routines.
55719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55720         file.
55721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55723         file.
55724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55727         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55728         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55729         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55730         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55732 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55734         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55735         to optimize copies.
55737         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55742         local variable MPTWO.
55743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55744         Likewise.
55746 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55748         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55749         GLOB_NOESCAPE.
55751 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55753         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55755 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55757         * manual/pattern.texi (glob_t): Document gl_flags.
55758         (glob64_t): Likewise.
55760 2013-01-11  David S. Miller  <davem@davemloft.net>
55762         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55763         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55764         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55765         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55766         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55767         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55768         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55769         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55770         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55771         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55772         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55773         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55774         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55776         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55777         sparc V9 rather than using V8 code.
55778         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55779         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55781         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55782         Move to...
55783         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55784         Here.
55786 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55788         [BZ #14941]
55789         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55790         not in the main loop.
55791         * configure: Regenerated.
55793 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55795         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55796         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55797         to just #else.
55798         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55799         [!__GLIBC_HAVE_LONG_LONG] case.
55800         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55801         condition to just #else.
55802         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55803         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55804         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55805         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55806         unconditional.
55807         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55808         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55809         #elif condition to just #else.
55810         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55811         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55812         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55813         #elif condition to just #else.
55815 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55817         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55818         (EF_MIPS_ARCH_64): Fix value.
55819         (EF_MIPS_ARCH_32R2): New.
55820         (EF_MIPS_ARCH_64R2): New.
55822 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55824         * Makeconfig (+link-pie-before-libc): New.
55825         (+link-pie-after-libc): Likewise.
55826         (+link-pie-tests): Likewise.
55827         (+link-pie): Rewritten.
55828         (link-before-libc): Remove $(config-LDFLAGS).
55829         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55830         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55831         (config-LDFLAGS): Renamed to ...
55832         (rtld-LDFLAGS): This.
55833         (rtld-tests-LDFLAGS): New macro.
55834         (link-libc-rpath-link): Likewise.
55835         (link-libc-tests-rpath-link): Likewise.
55836         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55837         (link-libc): Prepand $(link-libc-rpath-link).
55838         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55839         (test-program-prefix): New macro.
55840         (test-via-rtld-prefix): Likewise.
55841         (test-program-cmd): Likewise.
55842         (host-test-program-cmd): Likewise.
55843         * Makefile ($(common-objpfx)testrun.sh): Replace
55844         $(run-program-prefix) with $(test-program-prefix).
55845         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55846         $(rtld-LDFLAGS).
55847         ($(common-objpfx)shlib.lds): Likewise.
55848         (build-module-helper): Likewise.
55849         ($(common-objpfx)format.lds): Likewise.
55850         * Rules (binaries-pie-tests): New.
55851         (binaries-pie-notests): Likewise.
55852         (binaries-pie): Rewritten.
55853         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55854         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55855         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55856         (make-test-out): Replace $(host-built-program-cmd) with
55857         $(host-test-program-cmd).
55858         * config.make.in (build-hardcoded-path-in-tests): New variable.
55859         * configure.in (--enable-hardcoded-path-in-tests): New configure
55860         option.
55861         (hardcoded_path_in_tests): New AC_SUBST.
55862         * configure: Regenerated.
55863         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55864         $(built-program-cmd) with $(test-program-cmd).
55865         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55866         (test_program_cmd): This.
55867         * elf/Makefile ($(objpfx)order.out): Run test with
55868         $(test-program-prefix).
55869         ($(objpfx)order2.out): Likewise.
55870         ($(objpfx)tst-initorder.out): Likewise.
55871         ($(objpfx)tst-initorder2.out): Likewise.
55872         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55873         $(test-program-cmd).
55874         ($(objpfx)tst-array1-static.out): Likewise.
55875         ($(objpfx)tst-array2.out): Likewise.
55876         ($(objpfx)tst-array3.out): Likewise.
55877         ($(objpfx)tst-array4.out): Likewise.
55878         ($(objpfx)tst-array5.out): Likewise.
55879         ($(objpfx)tst-array5-static.out): Likewise.
55880         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55881         $(test-program-cmd).
55882         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55883         $(run-program-prefix) with $(test-program-prefix).
55884         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55885         (test_program_prefix): This.
55886         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55887         $(run-program-prefix) with $(test-program-prefix).
55888         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55889         (test_program_prefix): This.
55890         * iconvdata/tst-tables.sh: Likewise.
55891         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55892         $(run-program-prefix) with $(test-program-prefix).
55893         ($(objpfx)tst-translit.out): Likewise.
55894         ($(objpfx)tst-gettext2.out): Likewise.
55895         ($(objpfx)tst-gettext4.out): Likewise.
55896         ($(objpfx)tst-gettext6.out): Likewise.
55897         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55898         (test_program_prefix): This.
55899         * intl/tst-gettext2.sh: Likewise.
55900         * intl/tst-gettext4.sh  Likewise.
55901         * intl/tst-gettext6.sh: Likewise.
55902         * intl/tst-translit.sh: Likewise.
55903         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55904         with $(test-program-cmd).
55905         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55906         $(run-program-prefix) with $(test-program-prefix).
55907         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55908         (test_program_prefix): This.
55909         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55910         $(run-program-prefix) with $(test-program-prefix).
55911         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55912         (test_program_prefix): This.
55913         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55914         * posix/Makefile ($(objpfx)globtest.out): Replace
55915         $(run-via-rtld-prefix) and $(test-wrapper) with
55916         $(test-program-prefix) and $(test-via-rtld-prefix).
55917         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55918         $(test-program-prefix).
55919         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55920         $(host-test-program-cmd).
55921         (tst-spawn-ARGS): Likewise.
55922         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55923         $(test-program-prefix).
55924         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55925         (test_via_rtld_prefix): This.
55926         (test_wrapper): Renamed to ...
55927         (test_program_prefix): This.
55928         (run_program_prefix): Replaced by test_program_prefix.
55929         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55930         (test_program_prefix): This.
55931         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55932         with $(host-test-program-cmd).
55933         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55934         $(run-program-prefix) with $(test-program-prefix).
55935         ($(objpfx)tst-printf.out): Likewise.
55936         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55937         $(test-program-cmd).
55938         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55939         (test_program_prefix): This.
55940         * stdio-common/tst-unbputc.sh: Likewise.
55941         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55942         $(run-program-prefix) with $(test-program-prefix).
55943         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55944         (test_program_prefix): This.
55945         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55946         $(built-program-cmd) with $(test-program-cmd).
55948 2013-01-11  Andreas Jaeger  <aj@suse.de>
55950         [BZ #15003]
55951         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55952         value. Sync with Linux 3.7.
55954 2013-01-10  David S. Miller  <davem@davemloft.net>
55956         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55957         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55958         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55960 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55962         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55963         never set.
55964         * configure: Regenerated.
55966 2013-01-10  David S. Miller  <davem@davemloft.net>
55968         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55969         sparc V9 rather than using V8 code.
55970         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55971         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55973 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55975         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55976         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55977         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55978         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55979         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55980         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55981         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55982         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55983         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55984         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55985         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55986         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55987         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55988         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55989         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55990         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55991         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55992         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55993         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55994         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55995         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55996         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55997         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55998         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55999         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56000         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56001         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56003 2013-01-10  David S. Miller  <davem@davemloft.net>
56005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56007 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56009         * posix/Makefile (tests-static): New variable.
56010         (tests): Add $(tests-static).
56011         (tst-exec-static-ARGS): New variable.
56012         (tst-spawn-static-ARGS): Likewise.
56013         * posix/tst-exec-static.c: New file.
56014         * posix/tst-spawn-static.c: Likewise.
56015         * posix/tst-exec.c: Support run directly.
56016         * posix/tst-spawn.c: Likewise.
56018 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56020         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56021         long.
56022         * math/bits/mathcalls.h (llrint): Likewise.
56023         (llround): Likewise.
56024         * stdlib/stdlib.h (struct drand48_data): Likewise.
56025         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56026         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56027         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56028         Likewise.
56029         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56030         Likewise.
56031         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56032         (elf_greg_t): Likewise.
56033         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56034         (__jmp_buf): Likewise.
56035         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56036         definitions.
56037         (llrint): Likewise, for all definitions.
56038         (llrintl): Likewise.
56040         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56041         Remove [__GNUC__] condition.
56042         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56043         condition to just [__USE_ISOC99].
56044         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56046 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56048         [BZ #14200]
56049         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56050         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56051         defined.
56052         (_POSIX_V6_ILP32_OFF32): Likewise.
56053         (_XBS5_ILP32_OFF32): Likewise.
56054         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56055         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56057 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56059         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56062         doubles __mpexp_twomm1.  Adjust usage.
56063         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56064         Remove.
56066 2013-01-10  Andreas Schwab  <schwab@suse.de>
56068         [BZ #14964]
56069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56070         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56072 2013-01-09  David S. Miller  <davem@davemloft.net>
56074         [BZ #15003]
56075         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56076         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56077         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56078         (TCP_FASTOPEN): Define.
56079         (tcp_repair_opt): New structure.
56080         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56081         enum values.
56082         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56083         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56084         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56085         (tcp_cookie_transactions): New structure.
56087 2013-01-09  Anton Blanchard  <anton@samba.org>
56089         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56090         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56091         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56092         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56094 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56096         * include/features.h (__USE_ANSI): Remove.
56098 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56100         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56102         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56104 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56106         * sysdeps/s390/fpu/libm-test-ulps: Update.
56108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56110         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56111         (__acr): Likewise.
56112         (__cpy): Likewise.
56113         (norm): Likewise.
56114         (denorm): Likewise.
56115         (__mp_dbl): Likewise.
56116         (__dbl_mp): Likewise.
56117         (add_magnitudes): Likewise.
56118         (sub_magnitudes): Likewise.
56119         (__add): Likewise.
56120         (__sub): Likewise.
56121         (__mul): Likewise.
56122         (__inv): Likewise.
56123         (__dvd): Likewise.
56124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56125         (__acr): Likewise.
56126         (__cpy): Likewise.
56127         (norm): Likewise.
56128         (denorm): Likewise.
56129         (__mp_dbl): Likewise.
56130         (__dbl_mp): Likewise.
56131         (add_magnitudes): Likewise.
56132         (sub_magnitudes): Likewise.
56133         (__add): Likewise.
56134         (__sub): Likewise.
56135         (__mul): Likewise.
56136         (__inv): Likewise.
56137         (__dvd): Likewise.
56138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56139         (__acr): Likewise.
56140         (__cpy): Likewise.
56141         (norm): Likewise.
56142         (denorm): Likewise.
56143         (__mp_dbl): Likewise.
56144         (__dbl_mp): Likewise.
56145         (add_magnitudes): Likewise.
56146         (sub_magnitudes): Likewise.
56147         (__add): Likewise.
56148         (__sub): Likewise.
56149         (__mul): Likewise.
56150         (__inv): Likewise.
56151         (__dvd): Likewise.
56153 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56155         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56156         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56157         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56158         2 && __USE_EXTERN_INLINES]: Likewise.
56160 2013-01-08  Andreas Jaeger  <aj@suse.de>
56162         [BZ# 14985]
56163         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56164         Remove.
56165         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56166         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56168 2013-01-07  Anton Blanchard  <anton@samba.org>
56170         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56171         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56172         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56173         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56174         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56175         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56176         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56177         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56179         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56180         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56181         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56182         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56183         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56184         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56185         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56186         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56187         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56188         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56189         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56190         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56191         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56192         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56193         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56194         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56195         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56196         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56197         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56198         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56199         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56200         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56202         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56203         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56204         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56205         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56206         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56207         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56208         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56209         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56210         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56211         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56212         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56214 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56216         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56217         (__MALLOC_PMT): Likewise.
56218         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56219         [__GNUC__], only on [_LIBC].
56220         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56221         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56222         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56223         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56224         forward declaration.
56225         (realloc_hook_ini): Likewise.
56226         (memalign_hook_ini): Likewise.
56227         (__libc_memalign): Do not use __MALLOC_PMT in variable
56228         declaration.
56229         (__libc_valloc): Likewise.
56230         (__libc_pvalloc): Likewise.
56231         (__libc_calloc): Likewise.
56232         (__posix_memalign): Likewise.
56234         [BZ #14996]
56235         * math/s_casinh.c: Include <float.h>.
56236         (__casinh): Do not do computation with squaring and square root
56237         for large arguments.
56238         * math/s_casinhf.c: Include <float.h>.
56239         (__casinhf): Do not do computation with squaring and square root
56240         for large arguments.
56241         * math/s_casinhl.c: Include <float.h>.
56242         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56243         (__casinhl): Do not do computation with squaring and square root
56244         for large arguments.
56245         * math/libm-test.inc (casin_test): Add more tests.
56246         (casinh_test): Likewise.
56247         * sysdeps/i386/fpu/libm-test-ulps: Update.
56248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56250 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56252         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56253         (__x86_64_raw_data_cache_size): Likewise.
56254         (__x86_64_data_cache_size_half): Likewise.
56255         (__x86_64_raw_data_cache_size_half): Likewise.
56256         (__x86_64_shared_cache_size): Likewise.
56257         (__x86_64_raw_shared_cache_size): Likewise.
56258         (__x86_64_shared_cache_size_half): Likewise.
56259         (__x86_64_raw_shared_cache_size_half): Likewise.
56260         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56261         to ...
56262         (__x86_data_cache_size): This.
56263         (__x86_64_raw_data_cache_size): Renamed to ...
56264         (__x86_raw_data_cache_size): This.
56265         (__x86_64_data_cache_size_half): Renamed to ...
56266         (__x86_data_cache_size_half): This.
56267         (__x86_64_raw_data_cache_size_half): Renamed to ...
56268         (__x86_raw_data_cache_size_half): This.
56269         (__x86_64_shared_cache_size): Renamed to ...
56270         (__x86_shared_cache_size): This.
56271         (__x86_64_raw_shared_cache_size): Renamed to ...
56272         (__x86_raw_shared_cache_size): This.
56273         (__x86_64_shared_cache_size_half): Renamed to ...
56274         (__x86_shared_cache_size_half): This.
56275         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56276         (__x86_raw_shared_cache_size_half): This.
56277         * sysdeps/x86_64/memcpy.S: Updated.
56278         * sysdeps/x86_64/memset.S: Likewise.
56279         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56280         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56281         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56283 2013-01-04  David S. Miller  <davem@davemloft.net>
56285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56287 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56289         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56290         1 to avoid redefinition warning.
56291         (__USE_GNU): Don't define.
56292         (init_signaling_nan): Protoize.
56294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56296 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56298         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56300         (__cpymn): Likewise.
56301         (norm): Remove commented code.
56302         (denorm): Likewise.
56303         (__mp_dbl): Likewise.
56304         (__inv): Likewise.
56305         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56306         (__cpymn): Likewise.
56307         (norm): Remove commented code.
56308         (denorm): Likewise.
56309         (__mp_dbl): Likewise.
56310         (__inv): Likewise.
56312         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56313         mp_no value for 1.0 and 2.0.
56314         (norm): Use RADIXI instead of radixi.d.
56315         (denorm): Likewise.
56316         (__mul): Use 0.0 instead of zero.d.
56317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56318         mp_no value for 1.0 and 2.0.
56319         (norm): Use RADIXI instead of radixi.d.
56320         (denorm): Likewise.
56321         (__mul): Use 0.0 instead of zero.d.
56323 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56325         [BZ #14994]
56326         * math/s_casinh.c (__casinh): Reduce finite argument to first
56327         quadrant then set signs of results at the end.
56328         * math/s_casinhf.c (__casinhf): Likewise.
56329         * math/s_casinhl.c (__casinhl): Likewise.
56330         * math/libm-test.inc (casin_test): Add more tests.
56331         (casinh_test): Likewise.
56332         * sysdeps/i386/fpu/libm-test-ulps: Update.
56333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56335 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56337         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56339         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56341         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56342         declarations.
56343         (denorm): Likewise.
56344         (__mp_dbl): Likewise.
56345         (__inv): Likewise.
56347         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56348         and adjust the header comment.
56350         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56351         variable name from declaration.
56353 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56356         Initialize COMMON_CPUID_INDEX_7 element.
56357         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56358         (CPUID_RTM): Likewise.
56359         (HAS_RTM): Likewise.
56360         (COMMON_CPUID_INDEX_7): New enum.
56362 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56364         [BZ #14981]
56365         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56366         size is zero, record memory as freed.
56368 2013-01-03  Andreas Jaeger  <aj@suse.de>
56370         * po/ia.po: Add new Interlingua translation.
56372 2012-01-03  Allan McRae  <allan@archlinux.org>
56374         * locale/programs/localedef.c: Fix description of '--posix' flag.
56376 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56378         * NEWS: Update dates in second copyright notice.
56379         * README: Update copyright dates in example.
56380         * manual/libc.texinfo: Update copyright dates.
56381         * scripts/test-installation.pl: Update copyright date in --version
56382         output.
56384         * hurd/ctty-input.c: Fix copyright notice formatting.
56385         * hurd/ctty-output.c: Likewise.
56386         * hurd/dtable.c: Likewise.
56387         * hurd/hurd-raise.c: Likewise.
56388         * hurd/hurdprio.c: Likewise.
56389         * hurd/msgportdemux.c: Likewise.
56390         * misc/sys/file.h: Likewise.
56391         * misc/sys/ioctl.h: Likewise.
56392         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56393         * sysdeps/mach/hurd/chdir.c: Likewise.
56394         * sysdeps/mach/hurd/fchdir.c: Likewise.
56395         * sysdeps/mach/hurd/rename.c: Likewise.
56396         * sysdeps/mach/hurd/rmdir.c: Likewise.
56397         * sysdeps/mach/hurd/seekdir.c: Likewise.
56398         * sysdeps/mach/hurd/setsid.c: Likewise.
56399         * sysdeps/posix/wait3.c: Likewise.
56401         * All files with FSF copyright notices: Update copyright dates
56402         using scripts/update-copyrights.
56403         * intl/plural.c: Regenerated.
56404         * locale/programs/charmap-kw.h: Likewise.
56405         * locale/programs/locfile-kw.h: Likewise.
56407 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56409         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56410         four values.
56412         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56413         calculation loop and add branch prediction.
56415         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56416         check access beyond bounds of m1np.
56418         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56419         MPTWO.
56420         (__inv): Remove local variable MPTWO to use the global
56421         constant.
56422         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56423         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56424         variable MPTWO.
56425         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56426         MP3HALFS static const.
56428 2013-01-01  David S. Miller  <davem@davemloft.net>
56430         * po/ca.po: Update from translation team.
56432 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56434         * scripts/update-copyrights: New file.
56435         * Makeconfig: Reformat copyright notice.
56436         * ctype/ctype.h: Likewise.
56437         * debug/swprintf_chk.c: Likewise.
56438         * elf/dl-cache.c: Likewise.
56439         * elf/dl-debug.c: Likewise.
56440         * elf/dl-object.c: Likewise.
56441         * grp/initgroups.c: Likewise.
56442         * hurd/Makefile: Likewise.
56443         * hurd/hurd/signal.h: Likewise.
56444         * hurd/hurdfault.c: Likewise.
56445         * hurd/hurdioctl.c: Likewise.
56446         * hurd/hurdlookup.c: Likewise.
56447         * hurd/intr-msg.c: Likewise.
56448         * iconv/gconv_open.c: Likewise.
56449         * libio/swprintf.c: Likewise.
56450         * locale/lc-ctype.c: Likewise.
56451         * locale/nl_langinfo.c: Likewise.
56452         * mach/Machrules: Likewise.
56453         * mach/Makefile: Likewise.
56454         * malloc/obstack.h: Likewise.
56455         * manual/Makefile: Likewise.
56456         * manual/tsort.awk: Likewise.
56457         * misc/bits/stab.def: Likewise.
56458         * nis/nis_print_group_entry.c: Likewise.
56459         * nis/nis_table.c: Likewise.
56460         * nis/nss_compat/compat-pwd.c: Likewise.
56461         * nis/nss_compat/compat-spwd.c: Likewise.
56462         * po/Makefile: Likewise.
56463         * posix/fnmatch.c: Likewise.
56464         * posix/regex.h: Likewise.
56465         * resolv/Makefile: Likewise.
56466         * resolv/nss_dns/dns-network.c: Likewise.
56467         * resolv/res_hconf.c: Likewise.
56468         * scripts/gen-sorted.awk: Likewise.
56469         * soft-fp/soft-fp.h: Likewise.
56470         * stdio-common/printf.h: Likewise.
56471         * stdlib/monetary.h: Likewise.
56472         * stdlib/random.c: Likewise.
56473         * stdlib/random_r.c: Likewise.
56474         * sysdeps/generic/Makefile: Likewise.
56475         * sysdeps/gnu/Makefile: Likewise.
56476         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56477         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56478         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56479         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56480         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56481         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56482         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56483         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56484         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56485         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56486         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56487         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56488         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56489         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56490         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56491         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56492         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56493         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56494         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56495         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56496         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56497         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56498         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56499         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56500         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56501         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56502         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56503         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56504         * sysdeps/mach/hurd/errnos.awk: Likewise.
56505         * sysdeps/mach/hurd/fork.c: Likewise.
56506         * sysdeps/mach/hurd/getcwd.c: Likewise.
56507         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56508         * sysdeps/mach/hurd/mmap.c: Likewise.
56509         * sysdeps/mach/hurd/utimes.c: Likewise.
56510         * sysdeps/mach/hurd/xmknod.c: Likewise.
56511         * sysdeps/posix/profil.c: Likewise.
56512         * sysdeps/posix/readdir_r.c: Likewise.
56513         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56514         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56515         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56516         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56518         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56519         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56520         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56522         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56523         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56524         * sysdeps/pthread/lio_listio.c: Likewise.
56525         * sysdeps/sparc/dl-procinfo.h: Likewise.
56526         * sysdeps/unix/i386/sysdep.S: Likewise.
56527         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56528         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56529         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56530         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56532         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56533         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56534         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56535         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56536         * sysdeps/wordsize-32/divdi3.c: Likewise.
56537         * time/sys/time.h: Likewise.
56538         * wcsmbs/Makefile: Likewise.
56540 2013-01-01  David S. Miller  <davem@davemloft.net>
56542         * po/fr.po: Update from translation team.
56544         * catgets/gencat.c: Update copyright year.
56545         * csu/version.c: Likewise.
56546         * debug/catchsegv.sh: Likewise.
56547         * debug/pcprofiledump.c: Likewise.
56548         * debug/xtrace.sh: Likewise.
56549         * elf/ldconfig.c: Likewise.
56550         * elf/ldd.bash.in: Likewise.
56551         * elf/pldd.c: Likewise.
56552         * elf/sotruss.ksh: Likewise.
56553         * elf/sprof.c: Likewise.
56554         * iconv/iconv_prog.c: Likewise.
56555         * iconv/iconvconfig.c: Likewise.
56556         * locale/programs/locale.c: Likewise.
56557         * locale/programs/localedef.c: Likewise.
56558         * login/programs/pt_chown.c: Likewise.
56559         * malloc/memusage.sh: Likewise.
56560         * malloc/memusagestat.c: Likewise.
56561         * malloc/mtrace.pl: Likewise.
56562         * nscd/nscd.c: Likewise.
56563         * nss/getent.c: Likewise.
56564         * nss/makedb.c: Likewise.
56565         * posix/getconf.c: Likewise.
56567 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56569         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56570         numbers.
56572 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56574         * math/bits/mathcalls.h (modf): Use __nonnull.
56576 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56578         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56579         (split): Use macro CN instead of the bare value.
56580         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56581         could be used.
56582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56583         instead of the bare value.
56584         (power1): Likewise.
56586 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56588         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56589         __ATAN_TWOM.
56590         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56592         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56593         their values.
56594         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56595         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56596         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56597         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56599 2012-12-28  Andreas Jaeger  <aj@suse.de>
56601         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56602         values are from Linux 3.7.
56604         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56605         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56607 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56609         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56610         TRUE case.
56612         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56613         (norm): Likewise.
56614         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56615         variables with preprocessor constants.
56616         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56617         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56618         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56620 2012-12-27  Bruno Haible  <bruno@clisp.org>
56622         [BZ #14317]
56623         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56624         only if needed.
56626 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56628         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56629         and use variable directly.
56630         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56632         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56633         MPONE.
56634         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56635         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56636         variable MPONE.
56637         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56638         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56639         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56640         include directive.  Remove local variable MPONE.
56641         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56642         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56643         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56645 2012-12-25  David S. Miller  <davem@davemloft.net>
56647         * version.h (RELEASE): Set to "development".
56648         (VERSION): Set to "2.17.90".
56649         * NEWS: Add 2.18 section.
56651 2012-12-21  David S. Miller  <davem@davemloft.net>
56653         * po/hr.po: Update from translation team.
56655 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56657         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56659 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56661         * NEWS:  Mention new memcpy for MIPS.
56663 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56665         * manual/contrib.texi (Contributors): Spelling correction.
56667 2012-12-15  David S. Miller  <davem@davemloft.net>
56669         * po/ru.po: Update from translation team.
56671 2012-12-13  David S. Miller  <davem@davemloft.net>
56673         * NEWS: Mention IFUNC testsuite enhancements.
56675         * po/pl.po: Update from translation team.
56676         * po/bg.po: Likewise.
56678         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56679         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56681 2012-12-11  David S. Miller  <davem@davemloft.net>
56683         * po/sv.po: Update from translation team.
56685         * po/vi.po: Update from translation team.
56687         * po/cs.po: Update from translation team.
56689         * po/de.po: Update from translation team.
56690         * po/eo.po: Likewise.
56691         * po/nl.po: Likewise.
56693 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56695         [BZ #14246]
56696         * manual/argp.texi (Argp Helper Functions): Move node to follow
56697         Argp Parsing State.
56699         [BZ #14872]
56700         * manual/conf.texi (Limits on File System Capacity): Mention if
56701         terminating null is included in the max size.
56703 2012-12-10  Andreas Jaeger  <aj@suse.de>
56705         * po/cs.po: Update from translation team.
56707 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56709         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56710         void pointer and cast to uintptr_t.
56711         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56712         path.
56713         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56714         * sysdeps/s390/s390-64/memset.S: Likewise.
56716 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56718         [BZ #14833]
56719         * menual/message.texi (Message Translation): Fix typos.
56720         (Helper programs for gettext): Likewise.
56722 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56724         [BZ #14898]
56725         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56726         Change to -1.
56728 2012-12-07  David S. Miller  <davem@davemloft.net>
56730         * po/libc.pot: Update.
56732 2012-12-07  Richard Henderson  <rth@redhat.com>
56734         [BZ #10114]
56735         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56736         normal/normal case to before the switch.
56737         (_FP_DIV): Likewise.
56739 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56740             Mike Frysinger  <vapier@gentoo.org>
56742         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56743         check for __NR_fadvise64_64.
56745 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56747         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56748         0, not just to plain "0" as a statement.
56749         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56750         with cw.
56752 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56754         * NEWS: Use sourceware.org in Bugzilla URL.
56756 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56759         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56761         * stdio-common/tst-put-error.c (do_test): Add newline to the
56762         padded test to ensure flush.
56764 2012-12-05  Jeff Law  <law@redhat.com>
56766         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56768 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56770         * README: Don't refer to ports add-on as distributed separately.
56771         Mention AArch64 in list of systems supported in the ports add-on.
56773         * LICENSES: Add more non-FSF copyright and license notices.
56775         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56776         ((unused)).
56778         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56780         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56781         10000 as width of padded output.
56783 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56785         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56787         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56788         variable LX with __attribute__ ((unused)).
56789         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56790         Likewise.
56791         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56792         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56793         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56794         with __attribute__ ((unused)).
56796 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56798         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56800 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56802         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56803         (CFLAGS-nldbl-acos.c): New variable.
56804         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56805         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56806         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56807         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56808         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56809         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56810         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56811         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56812         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56813         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56814         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56815         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56816         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56817         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56818         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56819         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56820         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56821         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56822         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56823         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56824         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56825         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56826         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56827         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56828         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56829         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56830         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56831         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56832         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56833         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56834         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56835         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56836         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56837         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56838         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56839         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56840         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56841         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56842         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56843         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56844         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56845         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56846         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56847         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56848         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56849         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56850         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56851         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56852         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56853         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56854         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56855         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56856         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56857         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56858         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56859         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56860         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56861         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56862         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56863         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56864         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56865         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56866         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56867         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56868         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56869         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56870         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56871         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56872         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56873         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56874         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56875         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56876         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56877         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56878         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56879         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56880         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56881         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56882         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56883         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56884         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56885         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56886         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56887         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56888         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56889         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56890         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56891         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56892         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56893         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56894         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56895         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56896         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56897         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56898         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56899         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56900         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56903         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56905         [BZ #14914]
56906         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56907         whole low double instead of just low 47 bits when splitting values
56908         into two parts.
56910 2012-12-03  Allan McRae  <allan@archlinux.org>
56912         * manual/stdio.texi (Predefined Printf Handlers): Remove
56913         @hsep and @vsep usage.
56915 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56917         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56918         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56920 2012-12-03  Jeff Law  <law@redhat.com>
56922         * time/sys/time.h (settimeofday): Do not mark TV argument
56923         as __nonnull.
56925 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56927         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56928         when currently writing and seek to current position when not.
56929         * libio/Makefile (tests): Remove bug-fclose1.
56930         * libio/bug-fclose1.c: Delete.
56932 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56934         * manual/arith.texi (feenableexcept): Fix typo.
56935         (fedisableexcept): Likewise.
56937 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56939         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56940         second, differently-typed declaration, rather than a cast.
56942 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56944         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56945         * include/rpc/svc.h: ... here.
56947 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56949         [BZ #13013]
56950         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56951         depending n and resplen2 to catch cases where answer
56952         equals answerp2.
56954 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56956         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56957         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56959 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56961         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56963 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56965         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56967 2012-11-28  Jeff Law  <law@redhat.com>
56969         [BZ #13761]
56970         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56971         dataset_temporary.  Track alloca usage into alloca_used.
56972         If dataset is large allocate and release it via malloc/free.
56974 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56976         [BZ #14197]
56977         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56979 2012-11-28  David S. Miller  <davem@davemloft.net>
56981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56983 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56985         [BZ #14803]
56986         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56987         of pi/2 rounded to nearest to 64 bits.
56988         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56989         nearest to 64 bits.
56990         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56991         bits.
56993 2012-11-28  Jeff Law <law@redhat.com>
56994             Martin Osvald <mosvald@redhat.com>
56996         [BZ #14889]
56997         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56998         * sunrpc/svc.c: Include time.h.
56999         (__svc_accept_failed): New function.
57000         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57001         any reason other than EINTR, call __svc_accept_failed.
57002         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57003         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57005 2012-11-28  Andreas Schwab  <schwab@suse.de>
57007         * scripts/abilist.awk: Also handle indirect functions in .opd
57008         section.
57010 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57012         [BZ #13881]
57013         * sysdeps/x86/fpu/powl_helper.c: New file.
57014         * sysdeps/x86/fpu/Makefile: Likewise.
57015         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57016         (p3): New object.
57017         (__ieee754_powl): Use __powl_helper for finite arguments except
57018         integer exponents below 8.
57019         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57020         (p3): New object.
57021         (__ieee754_powl): Use __powl_helper for finite arguments except
57022         integer exponents below 8.
57023         * math/libm-test.inc (pow_test): Add more tests and enable some
57024         previously disabled tests.
57025         * sysdeps/i386/fpu/libm-test-ulps: Update.
57026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57028 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57029             Carlos O'Donell  <carlos_odonell@mentor.com>
57031         * nss/makedb.c (is_prime): Assert that input is odd and greater
57032         than 4.  Note that fact in a comment too.
57033         (next_prime): Add 4 to input.
57035 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57037         [BZ #11741]
57038         * libio/Makefile (tests): Add test case tst-fwrite-error.
57039         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57040         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57041         * libio/tst-fwrite-error.c: New test case.
57043 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57045         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57046         before casting to void *.
57047         * include/libc-internal.h (__pointer_type): New macro.
57048         (__integer_if_pointer_type_sub): Likewise.
57049         (__integer_if_pointer_type): Likewise.
57050         (cast_to_integer): Likewise.
57051         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57052         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57053         before casting to atomic64_t.
57054         (atomic_exchange_acq): Likewise.
57055         (__arch_exchange_and_add_body): Likewise.
57056         (__arch_add_body): Likewise.
57057         (atomic_add_negative): Likewise.
57058         (atomic_add_zero): Likewise.
57060 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57062         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57063         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57064         (add_fdes): Likewise.
57065         (linear_search_fdes): Likewise.
57066         (binary_search_unencoded_fdes): Likewise.
57068 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57070         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57072 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57074         * configure.in: Autodetect C++ header directories.
57075         * configure: Regenerated.
57077 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57079         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57081 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57085 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57087         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57088         LDBL_MANT_DIG == 106]: Disable some tests.
57089         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57090         Likewise.
57091         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57092         Likewise.
57094         [BZ #14871]
57095         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57096         input for small inputs.  Return +/- pi/2 for large inputs.
57097         * math/libm-test.inc (atan_test): Add more tests.
57099         * sysdeps/generic/unwind-dw2-fde-glibc.c
57100         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57101         __attribute__ ((unused)).
57103         [BZ #14645]
57104         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57105         x * y if x and y are nonzero and z is zero.
57107         [BZ #14811]
57108         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57109         nonzero exponents with absolute value below 0x1p-117 to +/-
57110         0x1p-117.
57112         [BZ #14869]
57113         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57114         up arguments below 2**-450, not just those below 2**-500.
57115         * math/libm-test.inc (hypot_test): Add another test.
57117         [BZ #14868]
57118         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57119         Return a+b for ratio over 2**120, not 2**60.
57120         * math/libm-test.inc (hypot_test): Add another test.
57122         * math/libm-test.inc (clog_test): Use
57123         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57124         (clog10_test): Likewise.
57126         [BZ #6778]
57127         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57129 2012-11-22  Andreas Schwab  <schwab@suse.de>
57131         * sysdeps/i386/fpu/libm-test-ulps: Update.
57133 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57135         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57136         printf output with newline.
57138 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57140         [BZ #14865]
57141         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57142         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57143         -z nodlopen, -z initfirst and -z execstack support.
57144         * configure: Regenerated.
57146         * elf/elf.h (DF_1_NODIRECT): New macro.
57147         (DF_1_IGNMULDEF): Likewise.
57148         (DF_1_NOKSYMS): Likewise.
57149         (DF_1_NOHDR): Likewise.
57150         (DF_1_EDITED): Likewise.
57151         (DF_1_NORELOC): Likewise.
57152         (DF_1_SYMINTPOSE): Likewise.
57153         (DF_1_GLOBAUDIT): Likewise.
57154         (DF_1_SINGLETON): Likewise.
57155         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57156         DT_1_SUPPORTED_MASK bits.
57157         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57159 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57161         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57163 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57165         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57166         macro.
57168         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57169         (sendmmsg): Move declarations...
57170         * socket/sys/socket.h: ... here.
57171         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57172         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57173         include it from...
57174         * socket/recvmmsg.c: ... this new file.
57175         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57176         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57177         definition of __sendmmsg hidden.
57178         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57179         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57180         Move ENOSYS stub into and include it from...
57181         * socket/sendmmsg.c: ... this new file.
57182         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57183         (sysdep_routines): Move recvmmsg and sendmmsg...
57184         * socket/Makefile (routines): ... here.
57185         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57186         (GLIBC_PRIVATE): Add __sendmmsg.
57187         * include/sys/socket.h (__sendmmsg): Add declarations.
57188         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57189         sendmmsg.
57191 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57193         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57194         variable I1 with __attribute__ ((unused)).
57195         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57197 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57199         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57200         DUMMY variables with __attribute__ ((unused)).
57202         * bits/byteswap.h: Include <bits/types.h>.
57203         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57205 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57207         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57208         string_t.  Do not manually set errno.
57209         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57210         length with __strnlen.  Make sure to both set errno and return it on
57211         failure.
57213 2012-11-19  David S. Miller  <davem@davemloft.net>
57215         With help from Joseph Myers.
57216         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57217         very large arguments properly.
57218         * math/libm-test.inc (atan_test): New tests.
57219         (atan2_test): New tests.
57220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57223 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57225         [BZ #14856]
57226         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57227         Define to 3.
57229         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57230         [POSIX] (EADDRNOTAVAIL): Likewise.
57231         [POSIX] (EAFNOSUPPORT): Likewise.
57232         [POSIX] (EALREADY): Likewise.
57233         [POSIX] (ECONNABORTED): Likewise.
57234         [POSIX] (ECONNREFUSED): Likewise.
57235         [POSIX] (ECONNRESET): Likewise.
57236         [POSIX] (EDESTADDRREQ): Likewise.
57237         [POSIX] (EDQUOT): Likewise.
57238         [POSIX] (EHOSTUNREACH): Likewise.
57239         [POSIX] (EIDRM): Likewise.
57240         [POSIX] (EISCONN): Likewise.
57241         [POSIX] (ELOOP): Likewise.
57242         [POSIX] (EMULTIHOP): Likewise.
57243         [POSIX] (ENETDOWN): Likewise.
57244         [POSIX] (ENETUNREACH): Likewise.
57245         [POSIX] (ENOBUFS): Likewise.
57246         [POSIX] (ENODATA): Likewise.
57247         [POSIX] (ENOLINK): Likewise.
57248         [POSIX] (ENOMSG): Likewise.
57249         [POSIX] (ENOPROTOOPT): Likewise.
57250         [POSIX] (ENOSR): Likewise.
57251         [POSIX] (ENOSTR): Likewise.
57252         [POSIX] (ENOTCONN): Likewise.
57253         [POSIX] (ENOTSOCK): Likewise.
57254         [POSIX] (EOPNOTSUPP): Likewise.
57255         [POSIX] (EOVERFLOW): Likewise.
57256         [POSIX] (EPROTO): Likewise.
57257         [POSIX] (EPROTONOSUPPORT): Likewise.
57258         [POSIX] (EPROTOTYPE): Likewise.
57259         [POSIX] (ESTALE): Likewise.
57260         [POSIX] (ETIME): Likewise.
57261         [POSIX] (ETXTBSY): Likewise.
57262         [POSIX] (EWOULDBLOCK): Likewise.
57263         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57264         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57265         [POSIX] (SEEK_CUR): Likewise.
57266         [POSIX] (SEEK_END): Likewise.
57267         [POSIX || UNIX98] (mode_t): Do not require.
57268         [POSIX] (off_t): Likewise.
57269         [POSIX] (pid_t): Likewise.
57270         [POSIX] (sys/stat.h): Do not allow header.
57271         [POSIX] (unistd.h): Likewise.
57272         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57273         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57274         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57275         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57276         require.
57277         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57278         sigevent): Specify elements.
57279         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57280         entry.
57281         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57282         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57284         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57285         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57286         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57287         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57288         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57289         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57290         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57291         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57292         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57293         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57294         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57295         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57296         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57297         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57298         Likewise.
57299         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57300         Likewise.
57301         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57302         Likewise.
57303         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57304         Likewise.
57305         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57306         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57307         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57308         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57309         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57310         Specify lower bound on value.
57311         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57312         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57313         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57314         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57315         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57316         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57317         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57318         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57319         value.
57320         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57321         as optional.
57322         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57323         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57324         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57325         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57326         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57327         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57328         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57329         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57330         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57331         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57332         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57333         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57334         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57335         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57336         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57337         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57338         entry.
57339         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57340         optional.
57341         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57342         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57343         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57344         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57345         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57346         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57347         Likewise.
57348         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57349         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57350         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57351         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57352         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57353         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57354         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57355         as optional.
57356         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57357         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57358         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57359         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57360         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57361         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57362         specify as optional.
57363         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57364         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57365         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57366         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57367         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57368         [XPG3] (NL_LANGMAX): Likewise.
57369         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57370         [POSIX || XPG3] (NL_NMAX): Likewise.
57371         [POSIX || XPG3] (NL_SETMAX): Likewise.
57372         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57373         [XPG3] (NZERO): Likewise.
57374         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57375         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57376         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57377         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57378         (REG_ERANGE): Expect.
57379         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57380         optional-constant.
57381         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57382         Use (void) in prototype.
57383         [POSIX] (*_t): Allow.
57384         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57385         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57386         (WRDE_BADVAL): Expect.
57388         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57389         expect.
57390         [XPG3 || XPG4] (O_RSYNC): Likewise.
57391         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57392         Likewise.
57393         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57394         [XPG3 || XPG4] (sigqueue): Likewise.
57395         [XPG3 || XPG4] (sigtimedwait): Likewise.
57396         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57397         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57398         [XPG3 || XPG4] (vsnprintf): Likewise.
57399         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57400         Likewise.
57401         [XPG3 || XPG4] (blksize_t): Likewise.
57402         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57403         Likewise.
57404         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57405         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57406         [XPG3 || XPG4] (struct itimerspec): Likewise.
57407         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57408         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57409         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57410         [XPG3 || XPG4] (clockid_t): Likewise.
57411         [XPG3 || XPG4] (timer_t): Likewise.
57412         [XPG3 || XPG4] (clock_getres): Likewise.
57413         [XPG3 || XPG4] (clock_gettime): Likewise.
57414         [XPG3 || XPG4] (clock_settime): Likewise.
57415         [XPG3 || XPG4] (nanosleep): Likewise.
57416         [XPG3 || XPG4] (timer_create): Likewise.
57417         [XPG3 || XPG4] (timer_delete): Likewise.
57418         [XPG3 || XPG4] (timer_gettime): Likewise.
57419         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57420         [XPG3 || XPG4] (timer_settime): Likewise.
57421         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57422         [XPG3 || XPG4] (getlogin_r): Likewise.
57423         [XPG3 || XPG4] (pread): Likewise.
57424         [XPG3 || XPG4] (pthread_atfork): Likewise.
57425         [XPG3 || XPG4] (pwrite): Likewise.
57427         [BZ #14835]
57428         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57429         <bits/siginfo.h>.
57431 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57433         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57434         finalizing MALLSTREAM.
57436         * sysdeps/mach/hurd/syncfs.c: New file.
57438 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57440         [BZ #14719]
57441         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57442         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57443         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57444         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57445         (_nss_dns_gethostbyname4_r): Likewise.
57446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57447         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57449 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57451         [BZ #13763]
57452         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57454 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57456         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57457         * elf/cache.c (print_entry): Print ",AArch64" for
57458         FLAG_AARCH64_LIB64
57460         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57461         * elf/cache.c (print_entry): Print ",hard-float" for
57462         FLAG_ARM_LIBHF.
57464 2012-11-18  David S. Miller  <davem@davemloft.net>
57466         With help from Joseph Myers.
57467         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57468         cutoff to 2**-13.
57469         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57470         cutoff to 2**-25.
57471         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57472         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57473         small.
57474         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57475         * math/libm-test.inc (y0_test): New tests.
57476         (y1_test): New tests.
57477         * sysdeps/i386/fpu/libm-test-ulps: Update.
57478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57481 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57483         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57484         64-bit targets.
57485         * configure: Regenerated.
57487 2012-11-17  David S. Miller  <davem@davemloft.net>
57489         [BZ #14811]
57490         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57491         nonzero exponents with absolute value below 0x1p-128 to +/-
57492         0x1p-128.
57494 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57496         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57498         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57500         * posix/getconf-speclist.c: New file.
57501         * posix/posix-envs.def: Likewise.
57502         * posix/confstr.c (START_ENV_GROUP): New macro.
57503         (END_ENV_GROUP): Likewise.
57504         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57505         (KNOWN_PRESENT_ENV_STRING): Likewise.
57506         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57507         (UNKNOWN_ENVIRONMENT): Likewise.
57508         (confstr): Include posix-envs.def instead of handling
57509         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57510         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57511         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57512         (END_ENV_GROUP): Likewise.
57513         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57514         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57515         (UNKNOWN_ENVIRONMENT): Likewise.
57516         (__sysconf): Include posix-envs.def instead of handling associated
57517         cases directly here.
57518         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57519         preprocessing getconf-speclist.c rather than running getconf or
57520         generating empty file.
57522 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57524         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57526 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57528         [BZ #14672]
57529         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57531 2012-11-16  David S. Miller  <davem@davemloft.net>
57533         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57534         smaller than LDBL_EPSILON/2.0L, just return xm1.
57536 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57538         * elf/tst-array1.c (init): Set constructor priority to 1000.
57539         (fini): Set destructor priority to 1000.
57540         * elf/tst-array2dep.c: Likewise.
57542 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57544         [BZ #11741]
57545         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57546         (_IO_new_file_xsputn): Also return EOF if none of the input
57547         data was written when overflow failed.
57548         * libio/iopadn.c (_IO_padn): Likewise.
57549         * libio/iowpadn.c (_IO_wpadn): Likewise.
57550         * stdio-common/tst-put-error.c: Add copyright notice.
57551         (do_test): Add case for printing padded string.
57552         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57553         _IO_padn returned error.
57554         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57555         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57556         return EOF.
57558 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57560         * libio/libioP.h: Add comment note that the references to C++
57561         bits are now obsolete.
57563 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57565         * math/libm-test.inc (check_complex): Use asprintf.
57567 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57569         * debug/pcprofiledump.c (print_version): Update copyright year.
57570         * malloc/memusagestat.c (print_version): Likewise.
57572 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57574         [BZ #14831]
57575         * elf/Makefile (tests): Add tst-audit8.
57576         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57577         ($(objpfx)tst-audit8.out): New target.
57578         (tst-audit8-ENV): New variable.
57579         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57580         audit if l_reloc_result is NULL.
57581         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57582         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57583         * elf/tst-audit8.c: New file.
57585 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57587         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57588         * misc/Makefile (CFLAGS-select.c): Define.
57589         * posix/Makefile (CFLAGS-pause.c): Define.
57591 2012-11-13  David S. Miller  <davem@davemloft.net>
57593         * crypt/Makefile: Move test targets after toplevel Rules
57594         inclusion.  Grab any necessary sysdep routines when linking.
57595         * crypt/md5.c (md5_process_block): Remove define, we will always
57596         name it __md5_process_block.
57597         (md5_finish_ctx): Update md5_process_block call.
57598         (md5_stream): Likewise.
57599         (md5_process_bytes): Likewise.
57600         (md5_process_block): Rename to __md5_process_block and move to ...
57601         * crypt/md5-block.c: ... here.
57602         * crypt/sha256.c (sha256_process_block): Move to ...
57603         * crypt/sha256-block.c: ... here.
57604         * crypt/sha512.c (sha512_process_block): Move to ...
57605         * crypt/sha512-block.c: ... here.
57606         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57607         path.
57608         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57609         * sysdeps/sparc/sparc64/multiarch/Makefile
57610         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57611         crypt subdir.
57612         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57613         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57614         multiarch changes.
57615         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57616         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57617         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57618         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57619         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57620         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57621         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57622         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57623         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57624         file.
57625         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57626         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57627         file.
57628         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57630 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57632         * timezone/tzselect.ksh: Update from tzcode git revision
57633         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57634         * timezone/zdump.c: Likewise.
57635         * timezone/zic.c: Likewise.
57636         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57637         in TZVERSION setting, not $(PKGVERSION).
57638         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57639         REPORT_BUGS_TO settings.
57641         [BZ #14838]
57642         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57643         macro.
57645 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57647         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57648         detection to immediately after _FP_ROUND().
57649         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57650         bits are 0.
57652 2012-11-11  David S. Miller  <davem@davemloft.net>
57654         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57655         inttypes.h
57656         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57657         __close rather than their public counterparts.
57659 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57661         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57662         file.
57663         [UNIX98] (sem_timedwait): Do not expect.
57664         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57665         [XPG4 || UNIX98] (sockatmark): Do not expect.
57666         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57667         (clock_getcpuclockid): Do not expect.
57668         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57669         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57670         Do not expect.
57671         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57672         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57673         [UNIX98] (vwscanf): Likewise.
57674         [UNIX98] (vswscanf): Likewise.
57676 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57678         * timezone/version.h: Remove file.
57679         * timezone/README: Do not refer to version.h.
57680         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57681         $(objpfx)version.h.
57682         ($(objpfx)zdump.o): Likewise.
57683         ($(objpfx)version.h): New target.
57685         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57686         2012i.
57687         * timezone/README: Don't mention modification to tzselect.ksh.
57688         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57689         work on unmodified tzselect.ksh.  Substitute version numbers in
57690         tzselect.ksh.
57692         * Makefile (format-me): Remove.
57693         (INSTALL): Adjust indentation.  Use commands directly instead of
57694         using $(format-me).
57696         * aclocal.m4 (ACX_PKGVERSION): New macro.
57697         (ACX_BUGURL): Likewise.
57698         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57699         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57700         (REPORT_BUGS_TO): Likewise.
57701         * configure: Regenerated.
57702         * config.h.in (PKGVERSION): New macro.
57703         (REPORT_BUGS_TO): Likewise.
57704         * config.make.in (PKGVERSION): New variable.
57705         (PKGVERSION_TEXI): Likewise.
57706         (REPORT_BUGS_TO): Likewise.
57707         (REPORT_BUGS_TEXI): Likewise.
57708         * Makefile (format-me): Use -I$(common-objpfx)manual.
57709         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57710         ($(common-objpfx)manual/%): New target.
57711         (manual/%): Remove target.
57712         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57713         (print_version): Use PKGVERSION.
57714         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57715         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57716         and REPORT_BUGS_TO.
57717         ($(objpfx)xtrace): Likewise.
57718         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57719         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57720         (print_version): Use PKGVERSION.
57721         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57722         (do_version): Use PKGVERSION.
57723         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57724         REPORT_BUGS_TO.
57725         (common-ldd-rewrite): Likewise.
57726         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57727         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57728         (print_version): Use PKGVERSION.
57729         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57730         * elf/pldd.c (argp_program_bug_address): Remove variable.
57731         (more_help): New function.
57732         (argp): Use more_help.
57733         (print_version): Use PKGVERSION.
57734         * elf/sln.c (main): Use PKGVERSION.
57735         (usage): Use REPORT_BUGS_TO.
57736         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57737         (top level): Use PKGVERSION.
57738         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57739         (print_version): Use PKGVERSION.
57740         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57741         (print_version): Use PKGVERSION.
57742         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57743         (print_version): Use PKGVERSION.
57744         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57745         (print_version): Use PKGVERSION.
57746         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57747         (print_version): Use PKGVERSION.
57748         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57749         (print_version): Use PKGVERSION.
57750         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57751         and BUGURL.
57752         ($(objpfx)memusage): Likewise.
57753         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57754         (do_version): Use PKGVERSION.
57755         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57756         (print_version): Use PKGVERSION.
57757         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57758         ($PKGVERSION): New variable.
57759         ($REPORT_BUGS_TO): Likewise.
57760         (usage): Use $REPORT_BUGS_TO.
57761         (top level): Use $PKGVERSION.
57762         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57763         ($(objpfx)pkgvers.texi): New rule.
57764         ($(objpfx)stamp-pkgvers): Likewise.
57765         * manual/install.texi: Include pkgvers.texi.
57766         (--with-pkgversion): Document new configure option.
57767         (--with-bugurl): Likewise.
57768         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57769         than necessarily for this particular distribution.  Use
57770         REPORT_BUGS_TO for where to report bugs.
57771         * INSTALL: Regenerated.
57772         * manual/libc.texinfo: Include pkgvers.texi.
57773         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57774         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57775         (print_version): Use PKGVERSION.
57776         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57777         (print_version): Use PKGVERSION.
57778         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57779         (print_version): Use PKGVERSION.
57780         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57781         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57782         macro.
57783         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57784         (print_version): Use PKGVERSION.
57785         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57786         (print_version): Use PKGVERSION.
57787         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57788         and PKGVERSION.
57790         * timezone/checktab.awk: Update from tzcode 2012i.
57791         * timezone/ialloc.c: Likewise.
57792         * timezone/private.h: Likewise.
57793         * timezone/scheck.c: Likewise.
57794         * timezone/tzfile.h: Likewise.
57795         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57796         (TZVERSION): Hardcode tzcode version number.
57797         * timezone/zdump.c: Update from tzcode 2012i.
57798         * timezone/zic.c: Likewise.
57799         * timezone/version.h: New file.
57800         * timezone/README: Describe version.h.  Update upstream location.
57802         [BZ #14824]
57803         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57804         (mktemp): Enable declaration.
57805         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57806         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57807         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57808         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57809         Likewise.
57810         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57811         Likewise.
57812         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57813         Likewise.
57814         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57815         Likewise.
57816         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57817         Likewise.
57818         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57819         Likewise.
57821         [BZ #14821]
57822         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57823         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57824         for copies of such integer values.
57825         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57826         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57828 2012-11-09  Andreas Jaeger  <aj@suse.de>
57830         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57831         definitions and declarations that are provided by
57832         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57834 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57836         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57837         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57838         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57839         definition.
57841 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57843         * elf/elf.h: Update comment before AArch64 relocations.
57845 2012-11-07  David S. Miller  <davem@davemloft.net>
57847         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57848         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57849         (__start_context): Declare.
57850         (__makecontext_ret): Delete.
57851         (__makecontext): Hook up __start_context instead of
57852         __makecontext_ret.
57853         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57854         (sysdep_routines): Add __start_context when in stdlib.
57856 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57858         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57859         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57860         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57861         hardcoded "nm".
57862         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57863         (READELF): New variable.  Use it instead of hardcoded "readelf".
57865 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57867         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57868         * sysdeps/x86/Makefile: Here.
57869         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57870         * sysdeps/x86/tst-xmmymm.sh: This.
57872 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57874         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57875         expectations.
57876         [UNIX98] (pthread_barrier_t): Do not expect.
57877         [UNIX98] (pthread_barrierattr_t): Likewise.
57878         [UNIX98] (pthread_spinlock_t): Likewise.
57879         [UNIX98] (pthread_barrier_destroy): Likewise.
57880         [UNIX98] (pthread_barrier_init): Likewise.
57881         [UNIX98] (pthread_barrier_wait): Likewise.
57882         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57883         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57884         [UNIX98] (pthread_barrierattr_init): Likewise.
57885         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57886         [UNIX98] (pthread_getcpuclockid): Likewise.
57887         [UNIX98] (pthread_mutex_timedlock): Likewise.
57888         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57889         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57890         [UNIX98] (pthread_sigmask): Likewise.
57891         [UNIX98] (pthread_spin_destroy): Likewise.
57892         [UNIX98] (pthread_spin_init): Likewise.
57893         [UNIX98] (pthread_spin_lock): Likewise.
57894         [UNIX98] (pthread_spin_trylock): Likewise.
57895         [UNIX98] (pthread_spin_unlock): Likewise.
57896         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57897         Do not expect.
57898         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57899         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57900         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57901         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57902         [XPG3 || XPG4] (pthread_key_t): Likewise.
57903         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57904         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57905         [XPG3 || XPG4] (pthread_once_t): Likewise.
57906         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57907         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57908         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57909         [XPG3 || XPG4] (pthread_t): Likewise.
57911         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57912         not expect.
57913         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57915         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57916         Change function return type to int.
57918         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57919         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57920         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57921         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57922         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57923         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57924         [!POSIX] (posix_madvise): Likewise.
57925         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57926         && !UNIX98].
57927         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57928         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57929         (mode_t): Likewise.
57930         (posix_mem_offset): Likewise.
57931         (posix_typed_mem_get_info): Likewise.
57932         (posix_typed_mem_open): Likewise.
57934         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57935         Change condition to [XOPEN2K8].
57937         * conform/conformtest.pl: Preprocess allow-header data with -x c
57938         instead of from stdin.
57939         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57940         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57941         [C99-based standards] (cerfc): Likewise.
57942         [C99-based standards] (cexp2): Likewise.
57943         [C99-based standards] (cexpm1): Likewise.
57944         [C99-based standards] (clog10): Likewise.
57945         [C99-based standards] (clog1p): Likewise.
57946         [C99-based standards] (clog2): Likewise.
57947         [C99-based standards] (clgamma): Likewise.
57948         [C99-based standards] (ctgamma): Likewise.
57949         [C99-based standards] (cerff): Likewise.
57950         [C99-based standards] (cerfcf): Likewise.
57951         [C99-based standards] (cexp2f): Likewise.
57952         [C99-based standards] (cexpm1f): Likewise.
57953         [C99-based standards] (clog10f): Likewise.
57954         [C99-based standards] (clog1pf): Likewise.
57955         [C99-based standards] (clog2f): Likewise.
57956         [C99-based standards] (clgammaf): Likewise.
57957         [C99-based standards] (ctgammaf): Likewise.
57958         [C99-based standards] (cerfl): Likewise.
57959         [C99-based standards] (cerfcl): Likewise.
57960         [C99-based standards] (cexp2l): Likewise.
57961         [C99-based standards] (cexpm1l): Likewise.
57962         [C99-based standards] (clog10l): Likewise.
57963         [C99-based standards] (clog1pl): Likewise.
57964         [C99-based standards] (clog2l): Likewise.
57965         [C99-based standards] (clgammal): Likewise.
57966         [C99-based standards] (ctgammal): Likewise.
57967         * conform/data/inttypes.h-data [C99-based standards]: Include
57968         stdint.h-data.  Remove all expectations for stdint.h contents.
57969         [C99-based standards] (PRI*): Do not allow.
57970         [C99-based standards] (SCN*): Likewise.
57971         [C99-based standards] (*_t): Likewise.
57972         [C99-based-standards] (PRId8): Expect macro.
57973         [C99-based-standards] (PRIi8): Likewise.
57974         [C99-based-standards] (PRIo8): Likewise.
57975         [C99-based-standards] (PRIu8): Likewise.
57976         [C99-based-standards] (PRIx8): Likewise.
57977         [C99-based-standards] (PRIX8): Likewise.
57978         [C99-based-standards] (SCNd8): Likewise.
57979         [C99-based-standards] (SCNi8): Likewise.
57980         [C99-based-standards] (SCNo8): Likewise.
57981         [C99-based-standards] (SCNu8): Likewise.
57982         [C99-based-standards] (SCNx8): Likewise.
57983         [C99-based-standards] (PRIdLEAST8): Likewise.
57984         [C99-based-standards] (PRIiLEAST8): Likewise.
57985         [C99-based-standards] (PRIoLEAST8): Likewise.
57986         [C99-based-standards] (PRIuLEAST8): Likewise.
57987         [C99-based-standards] (PRIxLEAST8): Likewise.
57988         [C99-based-standards] (PRIXLEAST8): Likewise.
57989         [C99-based-standards] (SCNdLEAST8): Likewise.
57990         [C99-based-standards] (SCNiLEAST8): Likewise.
57991         [C99-based-standards] (SCNoLEAST8): Likewise.
57992         [C99-based-standards] (SCNuLEAST8): Likewise.
57993         [C99-based-standards] (SCNxLEAST8): Likewise.
57994         [C99-based-standards] (PRIdFAST8): Likewise.
57995         [C99-based-standards] (PRIiFAST8): Likewise.
57996         [C99-based-standards] (PRIoFAST8): Likewise.
57997         [C99-based-standards] (PRIuFAST8): Likewise.
57998         [C99-based-standards] (PRIxFAST8): Likewise.
57999         [C99-based-standards] (PRIXFAST8): Likewise.
58000         [C99-based-standards] (SCNdFAST8): Likewise.
58001         [C99-based-standards] (SCNiFAST8): Likewise.
58002         [C99-based-standards] (SCNoFAST8): Likewise.
58003         [C99-based-standards] (SCNuFAST8): Likewise.
58004         [C99-based-standards] (SCNxFAST8): Likewise.
58005         [C99-based-standards] (PRId16): Likewise.
58006         [C99-based-standards] (PRIi16): Likewise.
58007         [C99-based-standards] (PRIo16): Likewise.
58008         [C99-based-standards] (PRIu16): Likewise.
58009         [C99-based-standards] (PRIx16): Likewise.
58010         [C99-based-standards] (PRIX16): Likewise.
58011         [C99-based-standards] (SCNd16): Likewise.
58012         [C99-based-standards] (SCNi16): Likewise.
58013         [C99-based-standards] (SCNo16): Likewise.
58014         [C99-based-standards] (SCNu16): Likewise.
58015         [C99-based-standards] (SCNx16): Likewise.
58016         [C99-based-standards] (PRIdLEAST16): Likewise.
58017         [C99-based-standards] (PRIiLEAST16): Likewise.
58018         [C99-based-standards] (PRIoLEAST16): Likewise.
58019         [C99-based-standards] (PRIuLEAST16): Likewise.
58020         [C99-based-standards] (PRIxLEAST16): Likewise.
58021         [C99-based-standards] (PRIXLEAST16): Likewise.
58022         [C99-based-standards] (SCNdLEAST16): Likewise.
58023         [C99-based-standards] (SCNiLEAST16): Likewise.
58024         [C99-based-standards] (SCNoLEAST16): Likewise.
58025         [C99-based-standards] (SCNuLEAST16): Likewise.
58026         [C99-based-standards] (SCNxLEAST16): Likewise.
58027         [C99-based-standards] (PRIdFAST16): Likewise.
58028         [C99-based-standards] (PRIiFAST16): Likewise.
58029         [C99-based-standards] (PRIoFAST16): Likewise.
58030         [C99-based-standards] (PRIuFAST16): Likewise.
58031         [C99-based-standards] (PRIxFAST16): Likewise.
58032         [C99-based-standards] (PRIXFAST16): Likewise.
58033         [C99-based-standards] (SCNdFAST16): Likewise.
58034         [C99-based-standards] (SCNiFAST16): Likewise.
58035         [C99-based-standards] (SCNoFAST16): Likewise.
58036         [C99-based-standards] (SCNuFAST16): Likewise.
58037         [C99-based-standards] (SCNxFAST16): Likewise.
58038         [C99-based-standards] (PRId32): Likewise.
58039         [C99-based-standards] (PRIi32): Likewise.
58040         [C99-based-standards] (PRIo32): Likewise.
58041         [C99-based-standards] (PRIu32): Likewise.
58042         [C99-based-standards] (PRIx32): Likewise.
58043         [C99-based-standards] (PRIX32): Likewise.
58044         [C99-based-standards] (SCNd32): Likewise.
58045         [C99-based-standards] (SCNi32): Likewise.
58046         [C99-based-standards] (SCNo32): Likewise.
58047         [C99-based-standards] (SCNu32): Likewise.
58048         [C99-based-standards] (SCNx32): Likewise.
58049         [C99-based-standards] (PRIdLEAST32): Likewise.
58050         [C99-based-standards] (PRIiLEAST32): Likewise.
58051         [C99-based-standards] (PRIoLEAST32): Likewise.
58052         [C99-based-standards] (PRIuLEAST32): Likewise.
58053         [C99-based-standards] (PRIxLEAST32): Likewise.
58054         [C99-based-standards] (PRIXLEAST32): Likewise.
58055         [C99-based-standards] (SCNdLEAST32): Likewise.
58056         [C99-based-standards] (SCNiLEAST32): Likewise.
58057         [C99-based-standards] (SCNoLEAST32): Likewise.
58058         [C99-based-standards] (SCNuLEAST32): Likewise.
58059         [C99-based-standards] (SCNxLEAST32): Likewise.
58060         [C99-based-standards] (PRIdFAST32): Likewise.
58061         [C99-based-standards] (PRIiFAST32): Likewise.
58062         [C99-based-standards] (PRIoFAST32): Likewise.
58063         [C99-based-standards] (PRIuFAST32): Likewise.
58064         [C99-based-standards] (PRIxFAST32): Likewise.
58065         [C99-based-standards] (PRIXFAST32): Likewise.
58066         [C99-based-standards] (SCNdFAST32): Likewise.
58067         [C99-based-standards] (SCNiFAST32): Likewise.
58068         [C99-based-standards] (SCNoFAST32): Likewise.
58069         [C99-based-standards] (SCNuFAST32): Likewise.
58070         [C99-based-standards] (SCNxFAST32): Likewise.
58071         [C99-based-standards] (PRId64): Likewise.
58072         [C99-based-standards] (PRIi64): Likewise.
58073         [C99-based-standards] (PRIo64): Likewise.
58074         [C99-based-standards] (PRIu64): Likewise.
58075         [C99-based-standards] (PRIx64): Likewise.
58076         [C99-based-standards] (PRIX64): Likewise.
58077         [C99-based-standards] (SCNd64): Likewise.
58078         [C99-based-standards] (SCNi64): Likewise.
58079         [C99-based-standards] (SCNo64): Likewise.
58080         [C99-based-standards] (SCNu64): Likewise.
58081         [C99-based-standards] (SCNx64): Likewise.
58082         [C99-based-standards] (PRIdLEAST64): Likewise.
58083         [C99-based-standards] (PRIiLEAST64): Likewise.
58084         [C99-based-standards] (PRIoLEAST64): Likewise.
58085         [C99-based-standards] (PRIuLEAST64): Likewise.
58086         [C99-based-standards] (PRIxLEAST64): Likewise.
58087         [C99-based-standards] (PRIXLEAST64): Likewise.
58088         [C99-based-standards] (SCNdLEAST64): Likewise.
58089         [C99-based-standards] (SCNiLEAST64): Likewise.
58090         [C99-based-standards] (SCNoLEAST64): Likewise.
58091         [C99-based-standards] (SCNuLEAST64): Likewise.
58092         [C99-based-standards] (SCNxLEAST64): Likewise.
58093         [C99-based-standards] (PRIdFAST64): Likewise.
58094         [C99-based-standards] (PRIiFAST64): Likewise.
58095         [C99-based-standards] (PRIoFAST64): Likewise.
58096         [C99-based-standards] (PRIuFAST64): Likewise.
58097         [C99-based-standards] (PRIxFAST64): Likewise.
58098         [C99-based-standards] (PRIXFAST64): Likewise.
58099         [C99-based-standards] (SCNdFAST64): Likewise.
58100         [C99-based-standards] (SCNiFAST64): Likewise.
58101         [C99-based-standards] (SCNoFAST64): Likewise.
58102         [C99-based-standards] (SCNuFAST64): Likewise.
58103         [C99-based-standards] (SCNxFAST64): Likewise.
58104         [C99-based-standards] (PRIdMAX): Likewise.
58105         [C99-based-standards] (PRIiMAX): Likewise.
58106         [C99-based-standards] (PRIoMAX): Likewise.
58107         [C99-based-standards] (PRIuMAX): Likewise.
58108         [C99-based-standards] (PRIxMAX): Likewise.
58109         [C99-based-standards] (PRIXMAX): Likewise.
58110         [C99-based-standards] (SCNdMAX): Likewise.
58111         [C99-based-standards] (SCNiMAX): Likewise.
58112         [C99-based-standards] (SCNoMAX): Likewise.
58113         [C99-based-standards] (SCNuMAX): Likewise.
58114         [C99-based-standards] (SCNxMAX): Likewise.
58115         [C99-based-standards] (PRIdPTR): Likewise.
58116         [C99-based-standards] (PRIiPTR): Likewise.
58117         [C99-based-standards] (PRIoPTR): Likewise.
58118         [C99-based-standards] (PRIuPTR): Likewise.
58119         [C99-based-standards] (PRIxPTR): Likewise.
58120         [C99-based-standards] (PRIXPTR): Likewise.
58121         [C99-based-standards] (SCNdPTR): Likewise.
58122         [C99-based-standards] (SCNiPTR): Likewise.
58123         [C99-based-standards] (SCNoPTR): Likewise.
58124         [C99-based-standards] (SCNuPTR): Likewise.
58125         [C99-based-standards] (SCNxPTR): Likewise.
58126         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58127         allow.
58128         * conform/data/stdint.h-data: Update comments to clarify
58129         requirements.
58130         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58131         type.
58132         [C99-based standards] (INT8_MAX): Likewise.
58133         [C99-based standards] (INT16_MIN): Likewise.
58134         [C99-based standards] (INT16_MAX): Likewise.
58135         [C99-based standards] (INT32_MIN): Likewise.
58136         [C99-based standards] (INT32_MAX): Likewise.
58137         [C99-based standards] (INT64_MIN): Likewise.
58138         [C99-based standards] (INT64_MAX): Likewise.
58139         [C99-based standards] (UINT8_MAX): Likewise.
58140         [C99-based standards] (UINT16_MAX): Likewise.
58141         [C99-based standards] (UINT32_MAX): Likewise.
58142         [C99-based standards] (UINT64_MAX): Likewise.
58143         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58144         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58145         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58146         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58147         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58148         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58149         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58150         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58151         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58152         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58153         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58154         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58155         [C99-based standards] (INT_FAST8_MIN): Likewise.
58156         [C99-based standards] (INT_FAST8_MAX): Likewise.
58157         [C99-based standards] (INT_FAST16_MIN): Likewise.
58158         [C99-based standards] (INT_FAST16_MAX): Likewise.
58159         [C99-based standards] (INT_FAST32_MIN): Likewise.
58160         [C99-based standards] (INT_FAST32_MAX): Likewise.
58161         [C99-based standards] (INT_FAST64_MIN): Likewise.
58162         [C99-based standards] (INT_FAST64_MAX): Likewise.
58163         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58164         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58165         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58166         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58167         [C99-based standards] (INTPTR_MIN): Likewise.
58168         [C99-based standards] (INTPTR_MAX): Likewise.
58169         [C99-based standards] (UINTPTR_MAX): Likewise.
58170         [C99-based standards] (INTMAX_MIN): Likewise.
58171         [C99-based standards] (INTMAX_MAX): Likewise.
58172         [C99-based standards] (UINTMAX_MAX): Likewise.
58173         [C99-based standards] (PTRDIFF_MIN): Likewise.
58174         [C99-based standards] (PTRDIFF_MAX): Likewise.
58175         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58176         [C99-based standards] (SIZE_MAX): Likewise.
58177         [C99-based standards] (WCHAR_MAX): Likewise.
58178         [C99-based standards] (WINT_MAX): Likewise.
58179         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58180         constraint on value.
58181         [C99-based standards] (WCHAR_MIN): Likewise.
58182         [C99-based standards] (WINT_MIN): Likewise.
58183         [C99-based standards] (*_t): Allow.
58184         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58185         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58186         Include math.h-data and complex.h-data.  Remove all expectations
58187         of math.h and complex.h contents.
58188         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58189         at end of line.
58190         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58191         (struct tm): Expect tag.
58192         [C99-based-standards] (wcstof): Expect function.
58193         [C99-based-standards] (wcstold): Likewise.
58194         [C99-based-standards] (wcstoll): Likewise.
58195         [C99-based-standards] (wcstoull): Likewise.
58196         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58197         macro-int-constant.  Specify type.
58198         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58199         constraint on value.
58200         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58201         Specify type.
58202         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58203         Specify value.
58204         [ISO C standards]: Do not allow headers.
58205         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58206         wcs[abcdefghijklmnopqrstuvwxyz]*.
58207         [ISO C standards] (*_t): Do not allow.
58208         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58209         Expect function.
58210         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58211         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58212         Specify type.
58213         [ISO C standards]: Do not allow headers.
58214         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58215         is[abcdefghijklmnopqrstuvwxyz]*.
58216         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58217         to[abcdefghijklmnopqrstuvwxyz]*.
58218         [ISO C standards] (*_t): Do not allow.
58219         * conform/data/stdalign.h-data: New file.
58220         * conform/data/stdbool.h-data: Likewise.
58221         * conform/data/stdnoreturn.h-data: Likewise.
58223 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58225         [BZ #14815]
58226         * manual/filesys.texi (Directory Entries): Typo fix.
58227         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58229 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58231         * elf/elf.h (EM_AARCH64): New macro.
58232         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58233         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58234         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58235         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58236         (R_AARCH64_TLSDESC): Likewise.
58237         (NT_ARM_TLS): Likewise.
58238         (NT_ARM_HW_BREAK): Likewise.
58239         (NT_ARM_HW_WATCH): Likewise.
58241 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58243         [BZ #14811]
58244         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58245         (__ieee754_powl): Saturate nonzero exponents with absolute value
58246         below 0x1p-79 to +/- 0x1p-79.
58247         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58248         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58249         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58250         nonzero exponents with absolute value below 0x1p-32 to +/-
58251         0x1p-32.
58252         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58253         (__ieee754_powl): Saturate nonzero exponents with absolute value
58254         below 0x1p-79 to +/- 0x1p-79.
58255         * math/libm-test.inc (pow_test): Add more tests.
58257 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58259         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58260         _dl_s390_cap_flags with kernel. Increase string length.
58261         (_dl_s390_platforms): Add z196 and zEC12.
58263 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58265         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58266         Change XOPEN21K to XOPEN2K.
58268 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58270         * string/memmove.c: Use memcpy when possible.
58272 2012-11-06  Andreas Jaeger  <aj@suse.de>
58274         * po/eo.po: Update from translation team.
58276 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58278         [BZ #14793]
58279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58280         exponent and small x and y exponents, scale x or y up.  Increase
58281         by 2 the exponent used in scaling up.
58282         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58284         * math/libm-test.inc (fma_test): Add more tests.
58285         (fma_test_towardzero): Likewise.
58286         (fma_test_downward): Likewise.
58287         (fma_test_upward): Likewise.
58289 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58291         [BZ #14805]
58292         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58293         fenv_t *.
58295         [BZ #14801]
58296         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58297         namespace for names of struct fields.
58298         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58299         fenv_t fields.
58300         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58301         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58303 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58305         [BZ #3665]
58306         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58308 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58310         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58311         PTR_DEMANGLE.
58313         [BZ #5246]
58314         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58315         PTR_DEMANGLE.
58317 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58319         [BZ #14797]
58320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58321         definitely overflow as x * y not x * y + z.
58322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58323         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58324         * math/libm-test.inc (fma_test): Add more tests.
58325         (fma_test_towardzero): Likewise.
58326         (fma_test_downward): Likewise.
58327         (fma_test_upward): Likewise.
58329 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58331         [BZ #157]
58333         * include/stub-tag.h: Remove file.
58334         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58335         '#include' of it.
58336         * manual/maint.texi (Porting): Don't reference it.
58337         * Makerules ($(objpfx)stubs): Likewise.
58338         * dirent/closedir.c: Don't include <stub-tag.h>.
58339         * dirent/dirfd.c: Likewise.
58340         * dirent/fdopendir.c: Likewise.
58341         * dirent/getdents.c: Likewise.
58342         * dirent/getdents64.c: Likewise.
58343         * dirent/opendir.c: Likewise.
58344         * dirent/readdir.c: Likewise.
58345         * dirent/readdir64.c: Likewise.
58346         * dirent/readdir64_r.c: Likewise.
58347         * dirent/readdir_r.c: Likewise.
58348         * dirent/rewinddir.c: Likewise.
58349         * dirent/seekdir.c: Likewise.
58350         * dirent/telldir.c: Likewise.
58351         * gmon/profil.c: Likewise.
58352         * grp/setgroups.c: Likewise.
58353         * inet/if_index.c: Likewise.
58354         * io/access.c: Likewise.
58355         * io/chdir.c: Likewise.
58356         * io/chmod.c: Likewise.
58357         * io/chown.c: Likewise.
58358         * io/close.c: Likewise.
58359         * io/dup.c: Likewise.
58360         * io/dup2.c: Likewise.
58361         * io/dup3.c: Likewise.
58362         * io/euidaccess.c: Likewise.
58363         * io/faccessat.c: Likewise.
58364         * io/fchdir.c: Likewise.
58365         * io/fchmod.c: Likewise.
58366         * io/fchmodat.c: Likewise.
58367         * io/fchown.c: Likewise.
58368         * io/fchownat.c: Likewise.
58369         * io/fcntl.c: Likewise.
58370         * io/flock.c: Likewise.
58371         * io/fstatfs.c: Likewise.
58372         * io/fstatfs64.c: Likewise.
58373         * io/fstatvfs.c: Likewise.
58374         * io/fstatvfs64.c: Likewise.
58375         * io/futimens.c: Likewise.
58376         * io/fxstat.c: Likewise.
58377         * io/fxstat64.c: Likewise.
58378         * io/fxstatat.c: Likewise.
58379         * io/fxstatat64.c: Likewise.
58380         * io/getcwd.c: Likewise.
58381         * io/isatty.c: Likewise.
58382         * io/lchmod.c: Likewise.
58383         * io/lchown.c: Likewise.
58384         * io/link.c: Likewise.
58385         * io/linkat.c: Likewise.
58386         * io/lseek.c: Likewise.
58387         * io/lseek64.c: Likewise.
58388         * io/lxstat64.c: Likewise.
58389         * io/mkdir.c: Likewise.
58390         * io/mkdirat.c: Likewise.
58391         * io/mkfifo.c: Likewise.
58392         * io/mkfifoat.c: Likewise.
58393         * io/open.c: Likewise.
58394         * io/open64.c: Likewise.
58395         * io/openat.c: Likewise.
58396         * io/openat64.c: Likewise.
58397         * io/pipe.c: Likewise.
58398         * io/pipe2.c: Likewise.
58399         * io/poll.c: Likewise.
58400         * io/posix_fadvise.c: Likewise.
58401         * io/posix_fadvise64.c: Likewise.
58402         * io/posix_fallocate.c: Likewise.
58403         * io/posix_fallocate64.c: Likewise.
58404         * io/read.c: Likewise.
58405         * io/readlink.c: Likewise.
58406         * io/readlinkat.c: Likewise.
58407         * io/rmdir.c: Likewise.
58408         * io/sendfile.c: Likewise.
58409         * io/sendfile64.c: Likewise.
58410         * io/statfs.c: Likewise.
58411         * io/statfs64.c: Likewise.
58412         * io/statvfs.c: Likewise.
58413         * io/statvfs64.c: Likewise.
58414         * io/symlink.c: Likewise.
58415         * io/symlinkat.c: Likewise.
58416         * io/ttyname.c: Likewise.
58417         * io/ttyname_r.c: Likewise.
58418         * io/umask.c: Likewise.
58419         * io/unlink.c: Likewise.
58420         * io/unlinkat.c: Likewise.
58421         * io/utime.c: Likewise.
58422         * io/utimensat.c: Likewise.
58423         * io/write.c: Likewise.
58424         * io/xmknod.c: Likewise.
58425         * io/xmknodat.c: Likewise.
58426         * io/xstat.c: Likewise.
58427         * io/xstat64.c: Likewise.
58428         * login/getpt.c: Likewise.
58429         * login/grantpt.c: Likewise.
58430         * login/unlockpt.c: Likewise.
58431         * math/e_acoshl.c: Likewise.
58432         * math/e_acosl.c: Likewise.
58433         * math/e_asinl.c: Likewise.
58434         * math/e_atan2l.c: Likewise.
58435         * math/e_atanhl.c: Likewise.
58436         * math/e_coshl.c: Likewise.
58437         * math/e_expl.c: Likewise.
58438         * math/e_fmodl.c: Likewise.
58439         * math/e_gammal_r.c: Likewise.
58440         * math/e_hypotl.c: Likewise.
58441         * math/e_j0l.c: Likewise.
58442         * math/e_j1l.c: Likewise.
58443         * math/e_jnl.c: Likewise.
58444         * math/e_lgammal_r.c: Likewise.
58445         * math/e_log10l.c: Likewise.
58446         * math/e_log2l.c: Likewise.
58447         * math/e_logl.c: Likewise.
58448         * math/e_powl.c: Likewise.
58449         * math/e_rem_pio2l.c: Likewise.
58450         * math/e_sinhl.c: Likewise.
58451         * math/e_sqrtl.c: Likewise.
58452         * math/fclrexcpt.c: Likewise.
58453         * math/fedisblxcpt.c: Likewise.
58454         * math/feenablxcpt.c: Likewise.
58455         * math/fegetenv.c: Likewise.
58456         * math/fegetexcept.c: Likewise.
58457         * math/fegetround.c: Likewise.
58458         * math/feholdexcpt.c: Likewise.
58459         * math/fesetenv.c: Likewise.
58460         * math/fesetround.c: Likewise.
58461         * math/feupdateenv.c: Likewise.
58462         * math/fgetexcptflg.c: Likewise.
58463         * math/fraiseexcpt.c: Likewise.
58464         * math/fsetexcptflg.c: Likewise.
58465         * math/ftestexcept.c: Likewise.
58466         * math/k_cosl.c: Likewise.
58467         * math/k_rem_pio2l.c: Likewise.
58468         * math/k_sinl.c: Likewise.
58469         * math/k_tanl.c: Likewise.
58470         * math/s_asinhl.c: Likewise.
58471         * math/s_atanl.c: Likewise.
58472         * math/s_cbrtl.c: Likewise.
58473         * math/s_erfl.c: Likewise.
58474         * math/s_expm1l.c: Likewise.
58475         * math/s_log1pl.c: Likewise.
58476         * math/s_tanhl.c: Likewise.
58477         * misc/acct.c: Likewise.
58478         * misc/brk.c: Likewise.
58479         * misc/chflags.c: Likewise.
58480         * misc/chroot.c: Likewise.
58481         * misc/fchflags.c: Likewise.
58482         * misc/fgetxattr.c: Likewise.
58483         * misc/flistxattr.c: Likewise.
58484         * misc/fremovexattr.c: Likewise.
58485         * misc/fsetxattr.c: Likewise.
58486         * misc/fsync.c: Likewise.
58487         * misc/ftruncate.c: Likewise.
58488         * misc/futimes.c: Likewise.
58489         * misc/futimesat.c: Likewise.
58490         * misc/getdomain.c: Likewise.
58491         * misc/getdtsz.c: Likewise.
58492         * misc/gethostid.c: Likewise.
58493         * misc/gethostname.c: Likewise.
58494         * misc/getloadavg.c: Likewise.
58495         * misc/getpagesize.c: Likewise.
58496         * misc/getsysstats.c: Likewise.
58497         * misc/getxattr.c: Likewise.
58498         * misc/gtty.c: Likewise.
58499         * misc/ioctl.c: Likewise.
58500         * misc/lgetxattr.c: Likewise.
58501         * misc/listxattr.c: Likewise.
58502         * misc/llistxattr.c: Likewise.
58503         * misc/lremovexattr.c: Likewise.
58504         * misc/lsetxattr.c: Likewise.
58505         * misc/lutimes.c: Likewise.
58506         * misc/madvise.c: Likewise.
58507         * misc/mincore.c: Likewise.
58508         * misc/mlock.c: Likewise.
58509         * misc/mlockall.c: Likewise.
58510         * misc/mmap.c: Likewise.
58511         * misc/mprotect.c: Likewise.
58512         * misc/msync.c: Likewise.
58513         * misc/munlock.c: Likewise.
58514         * misc/munlockall.c: Likewise.
58515         * misc/munmap.c: Likewise.
58516         * misc/preadv.c: Likewise.
58517         * misc/preadv64.c: Likewise.
58518         * misc/ptrace.c: Likewise.
58519         * misc/pwritev.c: Likewise.
58520         * misc/pwritev64.c: Likewise.
58521         * misc/readv.c: Likewise.
58522         * misc/reboot.c: Likewise.
58523         * misc/remap_file_pages.c: Likewise.
58524         * misc/removexattr.c: Likewise.
58525         * misc/revoke.c: Likewise.
58526         * misc/select.c: Likewise.
58527         * misc/setdomain.c: Likewise.
58528         * misc/setegid.c: Likewise.
58529         * misc/seteuid.c: Likewise.
58530         * misc/sethostid.c: Likewise.
58531         * misc/sethostname.c: Likewise.
58532         * misc/setregid.c: Likewise.
58533         * misc/setreuid.c: Likewise.
58534         * misc/setxattr.c: Likewise.
58535         * misc/sstk.c: Likewise.
58536         * misc/stty.c: Likewise.
58537         * misc/swapoff.c: Likewise.
58538         * misc/swapon.c: Likewise.
58539         * misc/sync.c: Likewise.
58540         * misc/syncfs.c: Likewise.
58541         * misc/syscall.c: Likewise.
58542         * misc/truncate.c: Likewise.
58543         * misc/ualarm.c: Likewise.
58544         * misc/usleep.c: Likewise.
58545         * misc/ustat.c: Likewise.
58546         * misc/utimes.c: Likewise.
58547         * misc/vhangup.c: Likewise.
58548         * misc/writev.c: Likewise.
58549         * posix/_exit.c: Likewise.
58550         * posix/alarm.c: Likewise.
58551         * posix/execve.c: Likewise.
58552         * posix/fexecve.c: Likewise.
58553         * posix/fork.c: Likewise.
58554         * posix/fpathconf.c: Likewise.
58555         * posix/getaddrinfo.c: Likewise.
58556         * posix/getegid.c: Likewise.
58557         * posix/geteuid.c: Likewise.
58558         * posix/getgid.c: Likewise.
58559         * posix/getgroups.c: Likewise.
58560         * posix/getlogin.c: Likewise.
58561         * posix/getlogin_r.c: Likewise.
58562         * posix/getpgid.c: Likewise.
58563         * posix/getpid.c: Likewise.
58564         * posix/getppid.c: Likewise.
58565         * posix/getresgid.c: Likewise.
58566         * posix/getresuid.c: Likewise.
58567         * posix/getsid.c: Likewise.
58568         * posix/getuid.c: Likewise.
58569         * posix/glob64.c: Likewise.
58570         * posix/nanosleep.c: Likewise.
58571         * posix/pathconf.c: Likewise.
58572         * posix/pause.c: Likewise.
58573         * posix/posix_madvise.c: Likewise.
58574         * posix/pread.c: Likewise.
58575         * posix/pread64.c: Likewise.
58576         * posix/pwrite.c: Likewise.
58577         * posix/pwrite64.c: Likewise.
58578         * posix/sched_getaffinity.c: Likewise.
58579         * posix/sched_getp.c: Likewise.
58580         * posix/sched_gets.c: Likewise.
58581         * posix/sched_primax.c: Likewise.
58582         * posix/sched_primin.c: Likewise.
58583         * posix/sched_rr_gi.c: Likewise.
58584         * posix/sched_setaffinity.c: Likewise.
58585         * posix/sched_setp.c: Likewise.
58586         * posix/sched_sets.c: Likewise.
58587         * posix/sched_yield.c: Likewise.
58588         * posix/setgid.c: Likewise.
58589         * posix/setlogin.c: Likewise.
58590         * posix/setpgid.c: Likewise.
58591         * posix/setresgid.c: Likewise.
58592         * posix/setresuid.c: Likewise.
58593         * posix/setsid.c: Likewise.
58594         * posix/setuid.c: Likewise.
58595         * posix/sleep.c: Likewise.
58596         * posix/spawni.c: Likewise.
58597         * posix/sysconf.c: Likewise.
58598         * posix/times.c: Likewise.
58599         * posix/wait.c: Likewise.
58600         * posix/wait3.c: Likewise.
58601         * posix/wait4.c: Likewise.
58602         * posix/waitpid.c: Likewise.
58603         * resolv/gai_sigqueue.c: Likewise.
58604         * resource/getpriority.c: Likewise.
58605         * resource/getrlimit.c: Likewise.
58606         * resource/getrusage.c: Likewise.
58607         * resource/nice.c: Likewise.
58608         * resource/setpriority.c: Likewise.
58609         * resource/setrlimit.c: Likewise.
58610         * resource/ulimit.c: Likewise.
58611         * rt/aio_cancel.c: Likewise.
58612         * rt/aio_fsync.c: Likewise.
58613         * rt/aio_read.c: Likewise.
58614         * rt/aio_sigqueue.c: Likewise.
58615         * rt/aio_suspend.c: Likewise.
58616         * rt/aio_write.c: Likewise.
58617         * rt/clock_getres.c: Likewise.
58618         * rt/clock_gettime.c: Likewise.
58619         * rt/clock_nanosleep.c: Likewise.
58620         * rt/clock_settime.c: Likewise.
58621         * rt/lio_listio.c: Likewise.
58622         * rt/mq_close.c: Likewise.
58623         * rt/mq_getattr.c: Likewise.
58624         * rt/mq_notify.c: Likewise.
58625         * rt/mq_open.c: Likewise.
58626         * rt/mq_receive.c: Likewise.
58627         * rt/mq_send.c: Likewise.
58628         * rt/mq_setattr.c: Likewise.
58629         * rt/mq_timedreceive.c: Likewise.
58630         * rt/mq_timedsend.c: Likewise.
58631         * rt/mq_unlink.c: Likewise.
58632         * rt/shm_open.c: Likewise.
58633         * rt/shm_unlink.c: Likewise.
58634         * rt/timer_create.c: Likewise.
58635         * rt/timer_delete.c: Likewise.
58636         * rt/timer_getoverr.c: Likewise.
58637         * rt/timer_gettime.c: Likewise.
58638         * rt/timer_settime.c: Likewise.
58639         * setjmp/__longjmp.c: Likewise.
58640         * setjmp/setjmp.c: Likewise.
58641         * signal/kill.c: Likewise.
58642         * signal/killpg.c: Likewise.
58643         * signal/raise.c: Likewise.
58644         * signal/sigaction.c: Likewise.
58645         * signal/sigaltstack.c: Likewise.
58646         * signal/sigblock.c: Likewise.
58647         * signal/sigignore.c: Likewise.
58648         * signal/sigintr.c: Likewise.
58649         * signal/signal.c: Likewise.
58650         * signal/sigpause.c: Likewise.
58651         * signal/sigpending.c: Likewise.
58652         * signal/sigqueue.c: Likewise.
58653         * signal/sigreturn.c: Likewise.
58654         * signal/sigset.c: Likewise.
58655         * signal/sigsetmask.c: Likewise.
58656         * signal/sigstack.c: Likewise.
58657         * signal/sigsuspend.c: Likewise.
58658         * signal/sigtimedwait.c: Likewise.
58659         * signal/sigvec.c: Likewise.
58660         * signal/sigwait.c: Likewise.
58661         * signal/sigwaitinfo.c: Likewise.
58662         * signal/sysv_signal.c: Likewise.
58663         * socket/accept.c: Likewise.
58664         * socket/accept4.c: Likewise.
58665         * socket/bind.c: Likewise.
58666         * socket/connect.c: Likewise.
58667         * socket/getpeername.c: Likewise.
58668         * socket/getsockname.c: Likewise.
58669         * socket/getsockopt.c: Likewise.
58670         * socket/isfdtype.c: Likewise.
58671         * socket/listen.c: Likewise.
58672         * socket/recv.c: Likewise.
58673         * socket/recvfrom.c: Likewise.
58674         * socket/recvmsg.c: Likewise.
58675         * socket/send.c: Likewise.
58676         * socket/sendmsg.c: Likewise.
58677         * socket/sendto.c: Likewise.
58678         * socket/setsockopt.c: Likewise.
58679         * socket/shutdown.c: Likewise.
58680         * socket/sockatmark.c: Likewise.
58681         * socket/socket.c: Likewise.
58682         * socket/socketpair.c: Likewise.
58683         * stdio-common/ctermid.c: Likewise.
58684         * stdio-common/cuserid.c: Likewise.
58685         * stdio-common/remove.c: Likewise.
58686         * stdio-common/rename.c: Likewise.
58687         * stdio-common/renameat.c: Likewise.
58688         * stdio-common/tempname.c: Likewise.
58689         * stdlib/getcontext.c: Likewise.
58690         * stdlib/makecontext.c: Likewise.
58691         * stdlib/setcontext.c: Likewise.
58692         * stdlib/swapcontext.c: Likewise.
58693         * stdlib/system.c: Likewise.
58694         * streams/fattach.c: Likewise.
58695         * streams/fdetach.c: Likewise.
58696         * streams/getmsg.c: Likewise.
58697         * streams/getpmsg.c: Likewise.
58698         * streams/putmsg.c: Likewise.
58699         * streams/putpmsg.c: Likewise.
58700         * sysdeps/unix/bsd/getpt.c: Likewise.
58701         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58702         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58703         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58705         Likewise.
58706         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58707         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58708         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58709         * sysvipc/msgctl.c: Likewise.
58710         * sysvipc/msgget.c: Likewise.
58711         * sysvipc/msgrcv.c: Likewise.
58712         * sysvipc/msgsnd.c: Likewise.
58713         * sysvipc/semctl.c: Likewise.
58714         * sysvipc/semget.c: Likewise.
58715         * sysvipc/semop.c: Likewise.
58716         * sysvipc/semtimedop.c: Likewise.
58717         * sysvipc/shmat.c: Likewise.
58718         * sysvipc/shmctl.c: Likewise.
58719         * sysvipc/shmdt.c: Likewise.
58720         * sysvipc/shmget.c: Likewise.
58721         * termios/tcdrain.c: Likewise.
58722         * termios/tcflow.c: Likewise.
58723         * termios/tcflush.c: Likewise.
58724         * termios/tcgetattr.c: Likewise.
58725         * termios/tcgetpgrp.c: Likewise.
58726         * termios/tcsendbrk.c: Likewise.
58727         * termios/tcsetattr.c: Likewise.
58728         * termios/tcsetpgrp.c: Likewise.
58729         * time/adjtime.c: Likewise.
58730         * time/clock.c: Likewise.
58731         * time/getitimer.c: Likewise.
58732         * time/gettimeofday.c: Likewise.
58733         * time/setitimer.c: Likewise.
58734         * time/settimeofday.c: Likewise.
58735         * time/stime.c: Likewise.
58736         * time/time.c: Likewise.
58738 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58740         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58741         /usr/old/bin.
58743         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58744         instead of spaces.
58745         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58747 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58749         [BZ #14796]
58750         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58751         FE_TONEAREST before applying Dekker multiplication and Knuth
58752         addition.  Clear inexact exceptions and check for exact zero
58753         results afterwards.
58754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58755         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58757         * math/libm-test.inc (fma_test): Add more tests.
58758         (fma_test_towardzero): Likewise.
58759         (fma_test_downward): Likewise.
58760         (fma_test_upward): Likewise.
58761         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58762         function.
58763         (libc_fesetround): New macro.
58764         (libc_fesetroundf): Likewise.
58765         (libc_fesetroundl): Likewise.
58766         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58767         function.
58768         (libc_fesetround_387): Likewise.
58769         (libc_fesetroundf): New macro.
58770         (libc_fesetround): Likewise.
58771         (libc_fesetroundl): Likewise.
58772         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58773         function.
58774         (libc_fesetroundf): New macro.
58775         (libc_fesetround): Likewise.
58776         (libc_fesetroundl): Likewise.
58777         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58778         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58779         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58780         libm_hidden_ver.
58781         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58782         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58783         libm_hidden_def.
58784         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58785         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58786         libm_hidden_ver.
58787         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58788         libm_hidden_def.
58790         [BZ #3439]
58791         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58792         integer constant usable in #if and use that to give value to enum
58793         constant.
58794         (FE_DIVBYZERO): Likewise.
58795         (FE_UNDERFLOW): Likewise.
58796         (FE_OVERFLOW): Likewise.
58797         (FE_INVALID): Likewise.
58798         (FE_INVALID_SNAN): Likewise.
58799         (FE_INVALID_ISI): Likewise.
58800         (FE_INVALID_IDI): Likewise.
58801         (FE_INVALID_ZDZ): Likewise.
58802         (FE_INVALID_IMZ): Likewise.
58803         (FE_INVALID_COMPARE): Likewise.
58804         (FE_INVALID_SOFTWARE): Likewise.
58805         (FE_INVALID_SQRT): Likewise.
58806         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58807         (FE_TONEAREST): Likewise.
58808         (FE_TOWARDZERO): Likewise.
58809         (FE_UPWARD): Likewise.
58810         (FE_DOWNWARD): Likewise.
58811         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58812         (FE_DIVBYZERO): Likewise.
58813         (FE_OVERFLOW): Likewise.
58814         (FE_UNDERFLOW): Likewise.
58815         (FE_INEXACT): Likewise.
58816         (FE_TONEAREST): Likewise.
58817         (FE_DOWNWARD): Likewise.
58818         (FE_UPWARD): Likewise.
58819         (FE_TOWARDZERO): Likewise.
58820         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58821         (FE_UNDERFLOW): Likewise.
58822         (FE_OVERFLOW): Likewise.
58823         (FE_DIVBYZERO): Likewise.
58824         (FE_INVALID): Likewise.
58825         (FE_TONEAREST): Likewise.
58826         (FE_TOWARDZERO): Likewise.
58827         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58828         (FE_OVERFLOW): Likewise.
58829         (FE_UNDERFLOW): Likewise.
58830         (FE_DIVBYZERO): Likewise.
58831         (FE_INEXACT): Likewise.
58832         (FE_TONEAREST): Likewise.
58833         (FE_TOWARDZERO): Likewise.
58834         (FE_UPWARD): Likewise.
58835         (FE_DOWNWARD): Likewise.
58836         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58837         (FE_DIVBYZERO): Likewise.
58838         (FE_OVERFLOW): Likewise.
58839         (FE_UNDERFLOW): Likewise.
58840         (FE_INEXACT): Likewise.
58841         (FE_TONEAREST): Likewise.
58842         (FE_DOWNWARD): Likewise.
58843         (FE_UPWARD): Likewise.
58844         (FE_TOWARDZERO): Likewise.
58846 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58848         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58850 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58852         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58853         commands.  Quote $PWD.
58854         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58855         -x" by "export".
58856         (remove_newlines): Remove.
58858 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58860         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58861         * stdlib/stdlib.h (atof): Moved to ...
58862         * include/bits/stdlib-float.h: Here.  New file.
58863         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58864         * stdlib/bits/stdlib-float.h: New file.
58865         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58866         -mno-sse -mno-mmx.
58867         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58868         <xmmintrin.h>.
58870 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58872         * conform/conformtest.pl (@headers): Add fenv.h.
58873         * conform/data/fenv.h-data: New file.
58874         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58875         include of <math/fenv.h>.
58877         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58878         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58879         && !UNIX98].  Enables tests for XOPEN2K8.
58880         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58881         POSIX2008]: Likewise.
58883         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58884         (struct rusage): Do not expect type or its members.
58886         [BZ #3439]
58887         * math/math.h (FP_NAN): Define macro to integer constant usable in
58888         #if and use that to give value to enum constant.
58889         (FP_INFINITE): Likewise.
58890         (FP_ZERO): Likewise.
58891         (FP_SUBNORMAL): Likewise.
58892         (FP_NORMAL): Likewise.
58894 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58896         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58897         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58898         arguments.
58900 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58902         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58903         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58904         autoconf-time if not.
58905         * configure.in: Remove AC_PREREQ.
58907 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58909         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58910         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58911         of the internal implementation.
58913 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58915         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58916         except include of <misc/sys/syslog.h>.
58918 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58921         function returns with a NULL context exit with zero.
58923 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58925         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58927 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58929         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58930         (run_program_cmd): This.
58931         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58932         (tst_langinfo): New variable.  Use it.
58934 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58936         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58937         floating point opcodes.
58939 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58941         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58942         variable.
58944         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58946         * sysdeps/mach/hurd/powerpc: Remove directory.
58947         * sysdeps/mach/powerpc: Likewise.
58949 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58951         * scripts/check-local-headers.sh: Ignore c++ headers.
58953 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58955         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58956         __libc_cleanup_region_start argument.
58958 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58960         [BZ #14784]
58961         [BZ #14785]
58962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58963         x * y using scaling, not as x * y + z.
58964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58966         * math/libm-test.inc (fma_test): Add more tests.
58967         (fma_test_towardzero): Likewise.
58968         (fma_test_downward): Likewise.
58969         (fma_test_upward): Likewise.
58971 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58973         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58975 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58977         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58978         New variable.
58980 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58982         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58984 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58987         Fix sort order.
58988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58989         Likewise.
58991 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58994         Fix the order of the list for glibc 2.17.
58995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58996         Likewise.
58998 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59002 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59004         [BZ #14610]
59005         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59006         for low part of x being zero before using __atanl (y).
59007         * math/libm-test.inc (atan2_test): Add another test.
59009         * manual/install.texi (Configuring and compiling): Document
59010         general use of test-wrapper and test-wrapper-env.
59011         * INSTALL: Regenerated.
59013         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59014         (__fma): Do not extract and scale down low bits on after-rounding
59015         systems when result rounded to normal precision would have normal
59016         exponent.
59017         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59018         (__fmal): Do not extract and scale down low bits on after-rounding
59019         systems when result rounded to normal precision would have normal
59020         exponent.
59021         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59022         (__fmal): Do not extract and scale down low bits on after-rounding
59023         systems when result rounded to normal precision would have normal
59024         exponent.
59025         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59026         macro.
59027         (fma_test): Add more tests.
59028         (fma_test_towardzero): Likewise.
59029         (fma_test_downward): Likewise.
59030         (fma_test_upward): Likewise.
59032 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59034         * sysdeps/i386/tininess.h: Renamed to ...
59035         * sysdeps/x86/tininess.h: This.
59036         * sysdeps/x86_64/tininess.h: Removed.
59038 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59040         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59041         input.  Use $(build-program-cmd).
59042         ($(objpfx)tst-array1-static.out): Likewise.
59043         ($(objpfx)tst-array2.out): Likewise.
59044         ($(objpfx)tst-array3.out): Likewise.
59045         ($(objpfx)tst-array4.out): Likewise.
59046         ($(objpfx)tst-array5.out): Likewise.
59047         ($(objpfx)tst-array5-static.out): Likewise.
59049 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59051         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59052         if defined.
59054         * nss/nsswitch.h (nss_interface_function): Provide new
59055         macro for use with NSS functions.
59056         * grp/initgroups.c: Use new macro.
59057         * nss/getXXbyYY.c: Likewise.
59058         * nss/getXXbyYY_r.c: Likewise.
59059         * nss/getXXent.c: Likewise.
59060         * nss/getXXent_r.c: Likewise.
59061         * sysdeps/posix/getaddrinfo.c: Likewise.
59063 2012-10-30  Andreas Jaeger  <aj@suse.de>
59065         * po/ru.po: Update Russion translation from translation project.
59067 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59069         [BZ #14152]
59070         [BZ #14783]
59071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59072         result and shift together with sticky bit instead of replicating
59073         round-to-nearest rounding.
59074         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59075         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59076         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59077         missing underflow exceptions.
59078         (fma_test_towardzero): Add more tests.
59079         (fma_test_downward): Likewise.
59080         (fma_test_upward): Likewise.
59082         [BZ #14047]
59083         * sysdeps/generic/tininess.h: New file.
59084         * sysdeps/i386/tininess.h: Likewise.
59085         * sysdeps/sh/tininess.h: Likewise.
59086         * sysdeps/x86_64/tininess.h: Likewise.
59087         * stdlib/tst-strtod-underflow.c: Likewise.
59088         * stdlib/tst-tininess.c: Likewise.
59089         * stdlib/strtod_l.c: Include <tininess.h>.
59090         (round_and_return): Do not set errno for exact underflow cases.
59091         Force an underflow exception when setting errno for underflow.
59092         Determine underflow based on rounding to normal precision if
59093         TININESS_AFTER_ROUNDING.
59094         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59095         ERANGE for exact underflow cases.
59096         * stdlib/Makefile (tests): Add tst-tininess and
59097         tst-strtod-underflow.
59098         ($(objpfx)tst-tininess): Use $(link-libm).
59099         ($(objpfx)tst-strtod-underflow): Likewise.
59101 2012-10-30  Andreas Jaeger  <aj@suse.de>
59103         [BZ#14767]
59104         * elf/Makefile (tests): Remove conditional for have-initfini-array
59105         since this is now always required and the variable does not exist
59106         anymore.
59107         (tests-static): Likewise.
59108         (modules-names): Likewise.
59110         * po/eo.po: Add Esperanto translation from translation project.
59112         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59113         merged with constructor/destructor.
59114         (init_array): Likewise.
59115         * elf/tst-array2dep.c (fini_array): Likewise.
59116         (init_array): Likewise.
59118 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59120         * manual/message.texi: Delete @cartouche tags.
59122 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59124         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59125         EOPNOTSUPP.
59126         * sysdeps/mach/hurd/fsync.c: Likewise.
59128         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59129         [_POSIX_REALTIME_SIGNALS]: Change condition to
59130         [_POSIX_REALTIME_SIGNALS > 0].
59132 2012-10-27  Andreas Jaeger  <aj@suse.de>
59134         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59135         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59137         [__WORDSIZE != 64]: Likewise.
59139 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59141         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59142         *  iconvdata/tst-tables.sh: Likewise.
59144 2012-10-25  David S. Miller  <davem@davemloft.net>
59146         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59147         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59148         of strtoull.
59150         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59151         ifunc-impl-list.c
59152         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59153         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59154         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59155         file.
59157 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59159         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59160         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59161         __getdirentries.
59163 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59164             Jim Blandy  <jimb@codesourcery.com>
59166         * scripts/cross-test-ssh.sh: New file.
59167         * manual/install.texi (Configuring and compiling): Document use of
59168         cross-test-ssh.sh.
59169         * INSTALL: Regenerated.
59171 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59173         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59174         EOPNOTSUPP.
59176 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59178         * Makeconfig (run-program-prefix): Fix comment.
59180 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59181             Jim Blandy  <jimb@codesourcery.com>
59183         * Makeconfig (test-wrapper): New variable,
59184         (test-wrapper-env): Likewise.
59185         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59186         (run-built-tests): Define to yes.
59187         (run-program-prefix): Use $(test-wrapper).
59188         (built-program-cmd): Likewise.
59189         * Rules (make-test-out): Use $(test-wrapper-env) and
59190         $(host-built-program-cmd).
59191         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59192         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59193         tst-pathopt.sh.
59194         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59195         $(test-wrapper-env) to tst-rtld-load-self.sh.
59196         ($(objpfx)order2.out): Use $(test-wrapper).
59197         ($(objpfx)tst-initorder.out): Likewise.
59198         ($(objpfx)tst-initorder2.out): Likewise.
59199         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59200         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59201         (test_wrapper_env): New variable.  Use it to run ld.so.
59202         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59203         Use it to run ld.so.
59204         (test_wrapper_env): Likewise.
59205         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59206         $(test-wrapper) to run-iconv-test.sh.
59207         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59208         (ICONV): Use $test_wrapper.
59209         * posix/Makefile ($(objpfx)globtest.out): Pass
59210         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59211         globtest.sh, not $(run-program-prefix).
59212         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59213         (test_wrapper): Likewise.
59214         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59215         set together with run_via_rtld_prefix.
59216         (run_program_prefix): Define in terms of test_wrapper and
59217         run_via_rtld_prefix.
59219 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59221         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59222         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59223         Targets removed.
59225         [BZ #14743]
59226         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59227         Declare __clock_getres, __clock_gettime, __clock_settime,
59228         __clock_nanosleep, and __clock_getcpuclockid.
59229         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59230         Remove librt_hidden_def (clock_gettime).
59231         * sysdeps/unix/clock_gettime.c: Likewise.
59232         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59233         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59234         * rt/clock_getres.c: Define __clock_getres as an alias.
59235         * sysdeps/posix/clock_getres.c: Likewise.
59236         * rt/clock_settime.c: Define __clock_settime as an alias.
59237         * sysdeps/unix/clock_settime.c: Likewise.
59238         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59239         * sysdeps/unix/clock_nanosleep.c: Likewise.
59240         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59241         * rt/clock-compat.c: New file.
59242         * rt/Makefile (librt-routines): Add clock-compat and move
59243         $(clock-routines) to ...
59244         (routines): ... here, new variable.
59245         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59246         Don't add get_clockfreq here.
59247         * rt/Versions (libc: GLIBC_2.17): New version set.
59248         Add clock_* symbols here.
59249         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59250         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59251         (GLIBC_2.17): Add clock_* symbols.
59252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59254         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59256         Likewise.
59257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59258         Likewise.
59259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59263         * NEWS: Mention the move.
59265         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59266         Use __open, __read, __close rather than their public counterparts.
59267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59268         (__get_clockfreq_via_cpuinfo): Likewise.
59269         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59270         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59272         * config.h.in (HAVE_IFUNC): New #undef.
59273         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59274         was successful.
59275         * configure: Regenerated.
59277 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59279         * configure.in: Move READELF check to start of file.
59280         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59281         libc_cv_asm_gnu_indirect_function in the process.
59282         * configure: Regenerated.
59284 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59286         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59287         send the output to /dev/null.
59288         (libc_cv_cc_with_libunwind): Likewise.
59289         (libc_cv_as_noexecstack): Likewise.
59290         * configure: Regenerate.
59292 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59294         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59296         * posix/globtest.sh (TMPDIR): Do not set.
59297         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59298         (testout): Likewise.
59300 2012-10-24  Andreas Jaeger  <aj@suse.de>
59302         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59303         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59304         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59305         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59306         posix_fadvise64, posix_fallocate64.
59308         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59309         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59310         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59311         Likewise.
59312         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59313         Likewise.
59314         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59316         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59317         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59318         <bits/fcntl-linux.h>.
59319         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59321         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59322         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59323         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59324         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59325         [__WORDSIZE != 64]: Likewise.
59327 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59329         * Makeconfig (run-built-tests): New variable.
59330         * Rules [$(cross-compiling) = yes]: Change condition to
59331         [$(run-built-tests) = no].
59332         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59333         to [$(run-built-tests) = yes].
59334         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59335         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59336         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59337         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59338         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59339         * io/Makefile [$(cross-compiling) = no]: Likewise.
59340         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59341         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59342         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59343         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59344         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59345         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59346         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59347         * string/Makefile [$(cross-compiling) = no]: Likewise.
59349         * posix/Makefile ($(objpfx)globtest.out): Pass
59350         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59351         $(rtld-installed-name).
59352         * posix/globtest.sh (elf_objpfx): Remove variable.
59353         (rtld_installed_name): Likewise.
59354         (library_path): Likewise.
59355         (run_program_prefix): New variable.  Use for running globtest
59356         binary.
59358 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59359             Joseph Myers  <joseph@codesourcery.com>
59361         * Makeconfig (host-built-program-cmd): New variable.
59362         * elf/Makefile (tst-stackguard1-ARGS): Use
59363         $(host-built-program-cmd).
59364         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59365         (tst-spawn-ARGS): Likewise.
59366         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59368 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59369             Jim Blandy  <jimb@codesourcery.com>
59371         * Makeconfig (run-via-rtld-prefix): New variable.
59372         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59373         (built-program-cmd): Likewise.
59375 2012-10-22  Andreas Jaeger  <aj@suse.de>
59377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59378         __O_RSYNC if it exists, otherwise to O_SYNC.
59380 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59381             Joseph Myers  <joseph@codesourcery.com>
59383         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59384         /dev/null.
59385         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59386         from /dev/null
59387         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59388         /dev/null.
59390 2012-10-22  Andreas Jaeger  <aj@suse.de>
59392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59393         Define always.
59394         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59397         bits/fcntl-linux.h.
59399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59400         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59402         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59403         to __O_LARGEFILE.
59404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59405         to __O_LARGEFILE.
59407 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59408             Joseph Myers  <joseph@codesourcery.com>
59410         * config.make.in (NM): New variable.
59412 2012-10-21  Andreas Jaeger  <aj@suse.de>
59414         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59415         definitions and declarations that are provided by
59416         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59418 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59420         [BZ #14683]
59421         * elf/Makefile (tests-static): Add tst-leaks1-static.
59422         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59423         ($(objpfx)tst-leaks1-static): New rule.
59424         ($(objpfx)tst-leaks1-static-mem): Likewise.
59425         (tst-leaks1-static-ENV): New macro.
59426         * elf/dl-open.c (dl_open_worker): Check the main application
59427         only if SHARED is defined.
59428         * elf/tst-leaks1-static.c: New file.
59430 2012-10-20  Andreas Jaeger  <aj@suse.de>
59432         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59433         generic values for Linux.
59434         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59435         and declarations that are provided by <bits/fcntl-linux.h> and
59436         include <bits/fcntl-linux.h>.
59437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59440 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59442         * io/fcntl.h: Move include of <bits/types.h> to the top and
59443         include it unconditionally.
59445 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59447         * wcsmbs/Makefile (tests-ifunc): New variable.
59448         (tests): Add $(tests-ifunc).
59449         * wcsmbs/test-wcschr-ifunc.c: New file.
59450         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59451         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59452         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59453         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59454         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59456         * string/Makefile (tests-ifunc): New variable.
59457         (tests): Add $(tests-ifunc).
59458         * string/test-memccpy.c (TEST_NAME): New macro.
59459         * string/test-memchr.c (TEST_NAME): Likewise.
59460         * string/test-memcmp.c (TEST_NAME): Likewise.
59461         * string/test-memcpy.c (TEST_NAME): Likewise.
59462         * string/test-memmem.c (TEST_NAME): Likewise.
59463         * string/test-memmove.c (TEST_NAME): Likewise.
59464         * string/test-memset.c (TEST_NAME): Likewise.
59465         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59466         * string/test-stpcpy.c (TEST_NAME): Likewise.
59467         * string/test-stpncpy.c (TEST_NAME): Likewise.
59468         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59469         * string/test-strcasestr.c (TEST_NAME): Likewise.
59470         * string/test-strcat.c (TEST_NAME): Likewise.
59471         * string/test-strchr.c (TEST_NAME): Likewise.
59472         * string/test-strcmp.c(TEST_NAME): Likewise.
59473         * string/test-strcpy.c (TEST_NAME): Likewise.
59474         * string/test-strcspn.c (TEST_NAME): Likewise.
59475         * string/test-strlen.c (TEST_NAME): Likewise.
59476         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59477         * string/test-strncmp.c (TEST_NAME): Likewise.
59478         * string/test-strncpy.c (TEST_NAME): Likewise.
59479         * string/test-strnlen.c (TEST_NAME): Likewise.
59480         * string/test-strpbrk.c (TEST_NAME): Likewise.
59481         * string/test-strrchr.c (TEST_NAME): Likewise.
59482         * string/test-strspn.c (TEST_NAME): Likewise.
59483         * string/test-strstr.c (TEST_NAME): Likewise.
59484         * string/test-bcopy-ifunc.c: New file.
59485         * string/test-bzero-ifunc.c: Likewise.
59486         * string/test-memccpy-ifunc.c: Likewise.
59487         * string/test-memchr-ifunc.c: Likewise.
59488         * string/test-memcmp-ifunc.c: Likewise.
59489         * string/test-memcpy-ifunc.c: Likewise.
59490         * string/test-memmem-ifunc.c: Likewise.
59491         * string/test-memmove-ifunc.c: Likewise.
59492         * string/test-mempcpy-ifunc.c: Likewise.
59493         * string/test-memset-ifunc.c: Likewise.
59494         * string/test-rawmemchr-ifunc.c: Likewise.
59495         * string/test-stpcpy-ifunc.c: Likewise.
59496         * string/test-stpncpy-ifunc.c: Likewise.
59497         * string/test-strcasecmp-ifunc.c: Likewise.
59498         * string/test-strcasestr-ifunc.c: Likewise.
59499         * string/test-strcat-ifunc.c: Likewise.
59500         * string/test-strchr-ifunc.c: Likewise.
59501         * string/test-strchrnul-ifunc.c: Likewise.
59502         * string/test-strcmp-ifunc.c: Likewise.
59503         * string/test-strcpy-ifunc.c: Likewise.
59504         * string/test-strcspn-ifunc.c: Likewise.
59505         * string/test-strlen-ifunc.c: Likewise.
59506         * string/test-strncasecmp-ifunc.c: Likewise.
59507         * string/test-strncat-ifunc.c: Likewise.
59508         * string/test-strncmp-ifunc.c: Likewise.
59509         * string/test-strncpy-ifunc.c: Likewise.
59510         * string/test-strnlen-ifunc.c: Likewise.
59511         * string/test-strpbrk-ifunc.c: Likewise.
59512         * string/test-strrchr-ifunc.c: Likewise.
59513         * string/test-strspn-ifunc.c: Likewise.
59514         * string/test-strstr-ifunc.c: Likewise.
59516         * debug/Makefile (tests-ifunc): New variable.
59517         (tests): Add $(tests-ifunc).
59518         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59519         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59520         * debug/test-stpcpy_chk-ifunc.c: New file.
59521         * debug/test-strcpy_chk-ifunc.c: Likewise.
59523 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59525         [BZ #13601]
59526         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59527         header is not read in.
59529 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59531         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59532         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59533         directly.  Pass built executable to script as
59534         $(built-program-cmd).
59535         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59536         $testprogram without using LD_LIBRARY_PATH and $ldso.
59538         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59539         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59540         $(rtld-installed-name).
59541         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59542         (rtld_installed_name): Likewise.
59543         (library_path): Likewise.
59544         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59545         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59546         $(run-program-prefix) to tst-tables.sh.
59547         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59548         it to run tst-table-from and tst-table-to.
59549         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59550         Pass it to tst-table.sh.
59551         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59552         $(run-program-prefix) to tst-gettext.sh.
59553         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59554         tst-translit.sh.
59555         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59556         tst-gettext2.sh.
59557         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59558         to run tst-gettext.
59559         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59560         to run tst-gettext2.
59561         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59562         to run tst-translit.
59563         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59564         $(run-program-prefix) to tst-mtrace.sh.
59565         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59566         to run tst-mtrace.
59567         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59568         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59569         $(rtld-installed-name).
59570         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59571         (rtld_installed_name): Likewise.
59572         (run_program_prefix): New variable.  Use it to run wordexp-test.
59574         * Makeconfig (ARCH): Remove all definitions.
59575         (machine): Likewise.
59576         [ARCH]: Remove conditional code.
59577         [!objdir]: Give error.
59578         [!objdir] (objpfx): Remove.
59579         [!objdir] (common-objpfx): Likewise.
59580         [!objdir] (common-objdir): Likewise.
59581         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59582         AC_CONFIG_FILES call.
59583         * configure: Regenerated.
59585         [BZ #13888]
59586         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59587         or TMPDIR.
59588         (testout): Likewise.
59590         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59591         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59592         $(rtld-installed-name).
59593         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59594         (rtld_installed_name): Likwise.
59595         (runit): Remove function.
59596         (run_getconf): New variable,  Use it for running getconf binary.
59598 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59600         [BZ #14716]
59601         * string/test-memmem.c (check_result): New function.
59602         (do_one_test): Use it.
59603         (check1): New function.
59604         (test_main): Use it.
59606 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59608         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59610 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59612         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59613         (_G_LSEEK64): Likewise.
59614         (_G_MMAP64): Likewise.
59615         (_G_FSTAT64): Likewise.
59616         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59617         (_G_LSEEK64): Likewise.
59618         (_G_MMAP64): Likewise.
59619         (_G_FSTAT64): Likewise.
59620         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59621         unconditional.  Call __mmap64 directly.
59622         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59623         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59624         __lseek64 directly.
59625         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59626         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59627         __mmap64 directly.
59628         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59629         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59630         __lseek64 directly.
59631         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59632         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59633         __lseek64 directly.
59634         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59635         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59636         __lseek64 directly.
59637         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59638         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59639         __fxstat64 directly.
59640         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59641         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59642         unconditional.
59643         (freopen64) [!_G_OPEN64]: Remove conditional code.
59644         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59645         unconditional.
59646         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59647         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59648         unconditional.
59649         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59650         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59651         unconditional.
59652         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59653         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59654         unconditional.
59655         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59656         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59657         unconditional.
59658         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59659         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59660         unconditional.
59661         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59662         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59663         unconditional.
59664         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59666 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59668         [BZ #12140]
59669         * manual/memory.texi (Malloc Tunable Parameters): Add note
59670         about free list pointers overwriting some perturb bytes.
59671         Wording suggested by Roland McGrath.
59673 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59675         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59676         (lgamma_test): Likewise.
59677         (tgamma_test): Likewise.
59679 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59681         [BZ #14700]
59682         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59683         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59685 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59687         * NEWS: Mention BZ #14716.
59688         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59689         when removing AVAILABLE1_USES_J macro.
59691 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59693         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59694         (__bswap_64): __uint64_t for unsigned 64-bit int.
59696 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59698         * include/string.h (memmem): Declare libc hidden alias.
59699         * string/memmem.c (memmem): Define libc hidden alias.
59700         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59701         __read, __close instead of open, read, close.
59703 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59706         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59707         global and hidden.
59708         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59709         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59710         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59711         Likewise.
59712         (__rawmemchr_sse2): Likewise.
59713         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59714         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59715         (__strchr_sse2): Likewise.
59716         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59717         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59718         (__strcasecmp_sse2): Likewise.
59719         (__strncasecmp_sse2): Likewise.
59720         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59721         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59722         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59723         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59724         (__strrchr_sse2): Likewise.
59725         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59726         ifunc-impl-list.c.
59727         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59728         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59729         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59730         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59731         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59732         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59733         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59734         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59735         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59736         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59737         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59738         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59739         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59740         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59741         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59742         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59743         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59744         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59745         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59746         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59747         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59748         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59749         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59750         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59751         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59752         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59753         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59754         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59755         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59756         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59758         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59759         global and hidden.
59760         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59761         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59762         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59763         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59764         Likewise.
59765         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59766         Likewise.
59767         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59768         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59769         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59770         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59771         ifunc-impl-list.c.
59772         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59773         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59774         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59775         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59776         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59777         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59778         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59779         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59780         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59781         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59782         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59783         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59784         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59785         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59786         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59787         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59788         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59789         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59790         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59791         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59792         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59793         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59794         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59795         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59796         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59797         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59798         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59799         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59800         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59801         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59802         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59803         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59804         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59805         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59806         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59807         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59808         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59809         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59810         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59811         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59812         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59814         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59815         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59816         * include/ifunc-impl-list.h: New file.
59817         * misc/ifunc-impl-list.c: Likewise.
59818         * misc/Makefile (routines): Add ifunc-impl-list.
59819         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59820         * string/test-string.h: Include <ifunc-impl-list.h>.
59821         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59822         TEST_NAME]: New variables.
59823         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59824         are defined.
59825         (test_init): Call __libc_ifunc_impl_list to initialize
59826         func_list if TEST_IFUNC and TEST_NAME are defined.
59828         * string/Makefile (strop-tests): Add bcopy and bzero.
59829         * string/test-bcopy.c: New file.
59830         * string/test-bzero.c: Likewise.
59831         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59832         defined.
59833         * string/test-memset.c: Support bzero test if TEST_BZERO is
59834         defined.
59835         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59836         __libc_memmove.
59837         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59838         __libc_memset.
59839         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59840         of memset.
59842 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59844         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59845         * configure: Regenerated.
59847         * Makeconfig (+link-static-before-libc): Don't include
59848         $(link-static-libc).
59850         * libio/libio.h (_IO_pos_t): Remove.
59852 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59854         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59855         McGrath.
59857 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59859         * crypt/crypt-entry.c: Include fips-private.h.
59860         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59861         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59862         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59863         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59865 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59867         * crypt/crypt-private.h: Include stdbool.h.
59868         (_ufc_setup_salt_r): Return bool.
59869         * crypt/crypt-entry.c: Include errno.h.
59870         (__crypt_r): Return NULL with EINVAL for bad salt.
59871         * crypt/crypt_util.c (bad_for_salt): New.
59872         (_ufc_setup_salt_r): Check that salt is long enough and within
59873         the specified alphabet.
59874         * crypt/badsalttest.c: New file.
59875         * crypt/Makefile (tests): Add it.
59876         ($(objpfx)badsalttest): New.
59878 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59880         * NEWS: Add entry for BZ #14602.
59882 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59884         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59885         type-generic.
59886         * math/libm-test.inc: Update comment listing what functions and
59887         macros are tested.
59888         (isgreater_test): New function.
59889         (isgreaterequal_test): Likewise.
59890         (isless_test): Likewise.
59891         (islessequal_test): Likewise.
59892         (islessgreater_test): Likewise.
59893         (isunordered_test): Likewise.
59894         (main): Call the new functions.
59896 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59898         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59899         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59900         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59901         * sysdeps/i386/configure: Regenerated.
59902         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59903         * sysdeps/mach/configure: Regenerated.
59904         * sysdeps/mach/hurd/configure: Regenerated.
59905         * sysdeps/powerpc/configure: Regenerated.
59906         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59907         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59908         * sysdeps/s390/s390-32/configure: Regenerated.
59909         * sysdeps/s390/s390-64/configure: Regenerated.
59910         * sysdeps/sh/configure: Regenerated.
59911         * sysdeps/sparc/configure: Regenerated.
59912         * sysdeps/unix/sysv/linux/configure: Regenerated.
59913         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59914         * sysdeps/x86_64/configure: Regenerated.
59916         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59917         defined.  Don't check if MAP is NULL.
59919 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59921         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59922         (_G_stat64): Likewise.
59923         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59924         (_G_stat64): Likewise.
59925         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59926         instead of struct _G_stat64.
59927         * libio/fileops.c (mmap_remap_check): Likewise.
59928         (decide_maybe_mmap): Likewise.
59929         (_IO_new_file_seekoff): Likewise.
59930         (_IO_file_stat): Likewise.
59931         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59932         _G_off64_t.
59933         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59934         instead of struct _G_stat64.
59935         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59937 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59939         [BZ #14602]
59940         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59941         Replace with ...
59942         (CHECK_EOL): New macro.
59943         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59944         CHECK_EOL.
59945         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59946         Replace with CHECK_EOL.
59947         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59948         Replace with CHECK_EOL.
59950 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59952         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59953         type-generic.
59954         * math/libm-test.inc: Update comment listing what functions and
59955         macros are tested.
59956         (finite_test): New function.
59957         (isinf_test): Likewise.
59958         (isnan_test): Likewise.
59959         (fpclassify_test): Test subnormal input.
59960         (isfinite_test): Likewise.
59961         (isnormal_test): Likewise.
59962         (main): Call the new functions.
59964 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59966         [BZ #14660]
59967         * Makerules (%.dynsym): Force C locale when running
59968         $(OBJDUMP) --dynamic-syms.
59970 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59972         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59973         <stdint.h>.
59975 2012-10-06  David S. Miller  <davem@davemloft.net>
59977         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59978         upper 32-bits of the length value in %o2 since we use branch-on-register
59979         tests which consider the entire 64-bit register.
59981 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59983         * string/test-strstr.c (check2): Add a test for page boundary.
59985 2012-10-05  David S. Miller  <davem@davemloft.net>
59987         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59988         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59989         file.
59990         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59991         sysdep_routines.
59992         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59993         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59994         and bzero when HWCAP_SPARC_CRYPTO is present.
59996 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59998         [BZ #14602]
59999         * string/test-strstr.c (check2): New function.
60000         (test_main): Call check2.
60002         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60003         and bug-strchr1.
60004         * string/bug-strcasestr1.c (do_test): Moved to ...
60005         * string/test-strcasestr.c (check1): Here.  New function.
60006         (do_one_test): Break out result checking code into ...
60007         (check_result): This.  New function.
60008         (do_one_test): Call check_result.
60009         (test_main): Call check1.
60010         * string/bug-strchr1.c (do_test): Moved to ...
60011         * string/test-strchr.c (check1): Here.  New function.
60012         (do_one_test): Break out result checking code into ...
60013         (check_result): This.  New function.
60014         (do_one_test): Call check_result.
60015         (test_main): Call check1.
60016         * string/bug-strstr1.c (main): Moved to ...
60017         * string/test-strstr.c (check1): Here.  New function.
60018         (do_one_test): Break out result checking code into ...
60019         (check_result): This.  New function.
60020         (do_one_test): Call check_result.
60021         (test_main): Call check1.
60022         * string/bug-strcasestr1.c: Removed.
60023         * string/bug-strchr1.c: Likewise.
60024         * string/bug-strstr1.c: Likewise.
60026         * elf/Makefile (dl-routines): Add hwcaps.
60027         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60028         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60029         (_dl_important_hwcaps): Moved to ...
60030         * elf/dl-hwcaps.c: Here.  New file.
60031         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60033         [BZ #14557]
60034         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60035         if IS_IN_rtld isn't defined.
60037         * elf/dl-support.c (_dl_sysinfo_map): New.
60038         Include "get-dynamic-info.h" and "setup-vdso.h".
60039         (_dl_non_dynamic_init): Call setup_vdso.
60040         * elf/dynamic-link.h: Don't include <assert.h>.
60041         (elf_get_dynamic_info): Moved to ...
60042         * elf/get-dynamic-info.h: Here.  New file.
60043         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60044         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60045         * elf/setup-vdso.h: Here.  New file.
60046         * elf/rtld.c: Include "setup-vdso.h".
60047         (dl_main): Call setup_vdso.
60049 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60051         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60052         creal in comment listing functions tested.  List finite, isinf,
60053         isnan, isless, islessequal, isgreater, isgreaterequal,
60054         islessgreater, isunordered, lgamma_r and pow10 as functions and
60055         macros not tested.  Mention which functions not tested are aliases
60056         for other functions.  Fix typo.  Note that signs of NaNs are not
60057         tested.
60059         * scripts/config.guess: Update from config.git.
60060         * scripts/config.sub: Likewise.
60062 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60064         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60065         * misc/madvise.c (madvise): Renamed to __madvise.
60066         Make madvise a weak alias.
60067         * include/sys/mman.h: Declare __madvise.
60068         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60069         * sysdeps/unix/syscalls.list
60070         (madvise): Make __madvise the strong name, and madvise a weak alias.
60071         * sysdeps/unix/sysv/linux/syscalls.list
60072         (madvise, mmap): Remove redundant entries.
60073         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60074         * malloc/malloc.c (mtrim): Likewise.
60075         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60077 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60079         * sysdeps/mach/hurd/dl-cache.c: File removed.
60080         * config.h.in (USE_LDCONFIG): New #undef.
60081         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60082         * configure: Regenerated.
60083         * elf/Makefile (dl-routines): Add dl-cache only under
60084         [$(use-ldconfig) = yes].
60085         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60086         cache on [USE_LDCONFIG].
60087         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60088         [USE_LDCONFIG].
60089         * elf/rtld.c (dl_main): Likewise.
60091 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60093         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60094         _SC_LEVEL4_CACHE_LINESIZE.
60096 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60098         * sysdeps/unix/bsd/confstr.h: File removed.
60100 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60102         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60103         sys/sdt-config.h.
60105 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60107         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60108         Make 'mapoff' field ElfW(Off) rather than off_t.
60110 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60112         * nscd/Makefile: Remove nscd-cflags and all its users.
60113         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60114         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60116         [BZ #10631]
60117         * malloc.c (malloc_printerr): Clarify error message.
60119 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60121         [BZ #14648]
60122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60123         Set bit_FMA_Usable if FMA is supported.
60124         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60125         macro.
60126         (bit_FMA4_Usable): Updated.
60127         (index_FMA_Usable): New macro.
60128         (CPUID_FMA): Likewise.
60129         (HAS_FMA): Defined with bit_FMA_Usable.
60131 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60133         * bits/types.h (__swblk_t): Type removed.
60134         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60135         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60136         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60137         (__SWBLK_T_TYPE): Likewise.
60138         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60139         (__SWBLK_T_TYPE): Likewise.
60140         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60141         (__SWBLK_T_TYPE): Likewise.
60142         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60143         (__SWBLK_T_TYPE): Likewise.
60145 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60146             Honza Horak <hhorak@redhat.com>
60148         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60149         (xdr_mapname): Use YPMAXMAP as maxsize.
60150         (xdr_peername): Use YPMAXPEER as maxsize.
60151         (xdr_keydat): Use YPAXRECORD as maxsize.
60152         (xdr_valdat): Use YPMAXRECORD as maxsize.
60154 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60156         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60158         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60159         * csu/init-first.c: ... here.
60160         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60161         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60162         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60163         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60164         * sysdeps/i386/init-first.c: File removed.
60165         * sysdeps/sh/init-first.c: File removed.
60167 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60169         [BZ #14645]
60170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60171         if x * y might underflow to zero and z is zero.
60172         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60173         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60174         * math/libm-test.inc (min_subnorm_value): New variable.
60175         (fma_test): Add more tests.
60176         (fma_test_towardzero): Likewise.
60177         (fma_test_downward): Likewise.
60178         (fma_test_upward): Likewise.
60179         (initialize): Set min_subnorm_value.
60181 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60183         [BZ #14638]
60184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60185         0 + 0.
60186         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60187         mode for addition resulting in exact zero.
60188         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60190         exact 0 + 0.
60191         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60193         * math/libm-test.inc (fma_test): Add more tests.
60194         (fma_test_towardzero): New function.
60195         (fma_test_downward): Likewise.
60196         (fma_test_upward): Likewise.
60197         (main): Call the new functions.
60199 2012-09-28  David S. Miller  <davem@davemloft.net>
60201         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60203 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60205         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60206         instead of SIGALRM.
60208         * sysdeps/gnu/_G_config.h: Moved to ...
60209         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60210         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60211         * sysdeps/generic/_G_config.h: ... here.
60213         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60215         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60217         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60218         Conditionalize target on [libnss_test1.so-version].
60220         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60222         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60223         (elfobjdir): Move out of conditionals.
60225         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60226         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60227         (__nss_lookup_function): Conditionalize label remove_from_tree on
60228         [!DO_STATIC_NSS || SHARED], matching its only use.
60230 2012-09-28  David S. Miller  <davem@davemloft.net>
60232         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60233         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60234         file.
60235         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60236         sysdep_routines.
60237         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60238         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60239         when HWCAP_SPARC_CRYPTO is present.
60241 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60243         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60245 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60247         [BZ #6530]
60248         * stdio-common/vfprintf.c (process_string_arg): Revert
60249         2000-07-22 change.
60251 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60253         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60254         for testcase.
60255         * stdio-common/tst-sprintf.c: Include <locale.h>
60256         (main): Test sprintf's handling of incomplete multibyte
60257         characters.
60259 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60261         * elf/dl-runtime.c (VERSYMIDX): Removed.
60262         * elf/dl-version.c (VERSYMIDX): Likewise.
60263         * elf/do-rel.h (VERSYMIDX): Likewise.
60264         (VALIDX): Likewise.
60265         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60266         * elf/rtld.c (VALIDX): Likewise.
60267         (ADDRIDX): Likewise.
60268         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60269         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60270         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60271         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60272         (VALIDX): Likewise.
60273         (ADDRIDX): Likewise.
60275 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60277         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60279 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60281         [BZ #11438]
60282         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60283         to global scope.
60284         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60285         addresses are in the same scope as 192.0.2/24.
60286         * posix/gai.conf: Document new scope table defaults.
60288 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60290         [BZ #5298]
60291         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60292         for ftell.  Compute offsets from write pointers instead.
60293         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60295 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60297         [BZ #14543]
60298         * libio/Makefile (tests): New test case tst-fseek.
60299         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60300         combination works in wide mode.
60301         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60302         state when the external buffer state changes.
60304 2012-09-27  David S. Miller  <davem@davemloft.net>
60306         [BZ #14376]
60307         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60308         pass reloc->r_addend in as the 'high' argument to
60309         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60313 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60315         * rt/tst-aio2.c: Include <pthread.h>.
60316         * rt/tst-aio3.c: Likewise.
60318 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60320         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60322 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60324         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60325         contents on [SHARED].
60327 2012-09-26  Marek Polacek  <polacek@redhat.com>
60329         [BZ #14530]
60330         [BZ #13741]
60331         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60332         for C++ and GCC <4.3 as well as for non GCC compilers.
60334 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60338 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60340         * Makefile.in (all, install): Declare with .PHONY.
60341         Reported by Michael Hope <michael.hope@linaro.org>.
60343 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60345         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60346         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60347         system header.
60348         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60349         Likewise.
60350         (sydep_routines): Add the new and the internal functions.
60351         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60352         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60354         (GLIBC_2.17): Add the new function.
60355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60356         (GLIBC_2.17): Likewise.
60357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60358         (GLIBC_2.17): Likewise.
60359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60360         (GLIBC_2.17): Likewise.
60361         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60363 2012-09-25  Alan Modra  <amodra@gmail.com>
60365         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60366         Add release barrier before setting once_control to say
60367         initialisation is done.  Add hints on lwarx.  Use macro in
60368         place of isync.
60369         (clear_once_control): Add release barrier.
60371 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60373         [BZ #13629]
60374         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60375         specially.
60376         * math/s_clog10.c (__clog10): Likewise.
60377         * math/s_clog10f.c (__clog10f): Likewise.
60378         * math/s_clog10l.c (__clog10l): Likewise.
60379         * math/s_clogf.c (__clogf): Likewise.
60380         * math/s_clogl.c (__clogl): Likewise.
60381         * math/Makefile (libm-calls): Add x2y2m1.
60382         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60383         (__x2y2m1): Likewise.
60384         (__x2y2m1l): Likewise.
60385         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60386         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60387         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60388         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60389         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60390         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60391         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60392         * sysdeps/i386/fpu/libm-test-ulps: Update.
60393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60395         [BZ #14621]
60396         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60397         int as type of variable DEPTH.
60398         (glob): Use size_t instead of int as type of variables NEWCOUNT
60399         and OLD_PATHC.
60401 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60403         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60404         Add s_sincosf-sse2.
60405         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60406         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60407         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60408         macros for using routine as __sincosf_ia32.
60409         Use macro for function declaration and weak_alias.
60410         * sysdeps/i386/fpu/libm-test-ulps: Update.
60412         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60415         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60416         subnormal argument.
60417         * math/s_cexpf.c (__cexpf): Likewise.
60418         * math/s_csinf.c (__csinf): Likewise.
60419         * math/s_csinhf.c (__csinhf): Likewise.
60420         * math/s_ctanf.c (__ctanf): Likewise.
60421         * math/s_ctanhf.c (__ctanhf): Likewise.
60422         * math/s_ccosh.c (__ccoshf): Likewise.
60423         * math/s_cexp.c (__cexpl): Likewise.
60424         * math/s_csin.c (__csin): Likewise.
60425         * math/s_csinh.c (__csinh): Likewise.
60426         * math/s_ctan.c (__ctan): Likewise.
60427         * math/s_ctanh.c (ctanh): Likewise.
60428         * math/s_ccoshl.c (__ccoshl): Likewise.
60429         * math/s_cexpl.c (__cexpl): Likewise.
60430         * math/s_csinl.c (__csinl): Likewise.
60431         * math/s_csinhl.c (__csinhl): Likewise.
60432         * math/s_ctanl.c (__ctanl): Likewise.
60433         * math/s_ctanhl.c (__ctanhl): Likewise.
60435 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60437         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60438         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60439         (_IO_off_t): Define to __off_t, not _G_off_t.
60440         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60441         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60442         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60443         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60444         type of __dummy and __dummy2 fields.
60445         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60446         (_G_ssize_t): Likewise.
60447         (_G_off_t): Likewise.
60448         (_G_pid_t): Likewise.
60449         (_G_uid_t): Likewise.
60450         (_G_wchar_t): Likewise.
60451         (_G_wint_t): Likewise.
60452         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60453         (_G_ssize_t): Likewise.
60454         (_G_off_t): Likewise.
60455         (_G_pid_t): Likewise.
60456         (_G_uid_t): Likewise.
60457         (_G_wchar_t): Likewise.
60458         (_G_wint_t): Likewise.
60459         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60460         (_G_ssize_t): Likewise.
60461         (_G_off_t): Likewise.
60462         (_G_pid_t): Likewise.
60463         (_G_uid_t): Likewise.
60464         (_G_wchar_t): Likewise.
60465         (_G_wint_t): Likewise.
60467 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60469         * malloc/arena.c: Include malloc-sysdep.h.
60470         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60471         is sufficient to shrink the heap or an unmap is needed.
60472         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60473         new function check_may_shrink_heap.
60474         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60475         new function check_may_shrink_heap.
60477 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60479         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60480         comments.
60482 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60484         * catgets/test-gencat.sh: Add "set -e".
60485         * elf/tst-pathopt.sh: Likewise.
60486         * grp/tst_fgetgrent.sh: Likewise.
60487         * iconvdata/run-iconv-test.sh: Likewise.
60488         * intl/tst-gettext.sh: Likewise.
60489         * intl/tst-gettext2.sh: Likewise.
60490         * intl/tst-gettext4.sh: Likewise.
60491         * intl/tst-gettext6.sh: Likewise.
60492         * intl/tst-translit.sh: Likewise.
60493         * io/ftwtest-sh: Likewise.
60494         * libio/test-freopen.sh: Likewise.
60495         * malloc/tst-mtrace.sh: Likewise.
60496         * posix/globtest.sh: Likewise.
60497         * posix/tst-getconf.sh: Likewise.
60498         * posix/wordexp-tst.sh: Likewise.
60499         * stdio-common/tst-printf.sh: Likewise.
60500         * stdio-common/tst-unbputc.sh: Likewise.
60501         * stdlib/tst-fmtmsg.sh: Likewise.
60502         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60503         * catgets/Makefile: Do not specify -e option when running
60504         testsuite shell scripts.
60505         * elf/Makefile: Likewise.
60506         * grp/Makefile: Likewise.
60507         * iconvdata/Makefile: Likewise.
60508         * intl/Makefile: Likewise.
60509         * io/Makefile: Likewise.
60510         * libio/Makefile: Likewise.
60511         * malloc/Makefile: Likewise.
60512         * posix/Makefile: Likewise.
60513         * stdio-common/Makefile: Likewise.
60514         * stdlib/Makefile: Likewise.
60515         * sysdeps/x86_64/Makefile: Likewise.
60517         * io/ftwtest-sh: Add copyright header.
60518         * posix/globtest.sh: Likewise.
60519         * posix/tst-getconf.sh: Likewise.
60520         * posix/wordexp-tst.sh: Likewise.
60521         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60523 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60525         [BZ #13679]
60526         * Makeconfig (+link): Defined as $(+link-static) if
60527         $(build-shared) isn't yes.
60528         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60529         isn't yes.
60530         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60532         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60534         [BZ #14562]
60535         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60536         new chunk size with MALLOC_ALIGN_MASK.
60538 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60540         [BZ #5044]
60541         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60542         <rounding-mode.h>.
60543         (__printf_fphex): Determine rounding using get_rounding_mode and
60544         round_away.
60545         * stdio-common/tst-printf-round.c (struct hex_test): New
60546         structure.
60547         (hex_tests): New variable.
60548         (test_hex_in_one_mode): New function.
60549         (do_test): Also run tests for hex float output.
60551 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60553         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60554         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60555         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60556         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60557         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60558         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60559         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60560         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60562 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60564         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60565         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60566         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60567         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60569 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60571         [BZ #14579]
60572         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60573         mode only.
60574         * elf/tst-rtld-load-self.sh: New test.
60575         * elf/Makefile: Run it.
60577 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60579         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60580         (tst-writev-ENV): Remove.
60581         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60583 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60585         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60587 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60589         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60590         unconditional.
60591         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60592         Likewise.
60593         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60594         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60595         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60596         Likewise.
60598 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60600         [BZ #14587]
60601         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60602         * config.make.in (have-cpp-asm-debuginfo): Removed.
60603         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60604         * configure: Regenerated.
60606 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60608         [BZ #5044]
60609         * stdio-common/printf_fp.c: Include <stdbool.h> and
60610         <rounding-mode.h>.
60611         (___printf_fp): Determine rounding using get_rounding_mode and
60612         round_away.
60613         * stdio-common/tst-printf-round.c: New file.
60614         * stdio-common/Makefile (tests): Add tst-printf-round.
60615         (link-libm): New variable.
60616         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60618 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60620         [BZ #14576]
60621         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60622         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60623         Likewise.
60624         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60625         Likewise.
60627 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60629         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60630         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60631         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60632         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60634 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60636         [BZ #14518]
60637         * include/rounding-mode.h: New file.
60638         * sysdeps/generic/get-rounding-mode.h: Likewise.
60639         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60640         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60641         (MAX_VALUE): New macro.
60642         (MIN_VALUE): Likewise.
60643         (overflow_value): New function.
60644         (underflow_value): Likewise.
60645         (round_and_return): Use overflow_value and underflow_value to
60646         determine return values in overflow and underflow cases.  Use
60647         round_away to determine rounding depending on rounding mode.
60648         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60649         determine return values in overflow and underflow cases.
60650         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60651         (struct test_results): New structure.
60652         (struct test): Use struct test_results to store expected results
60653         for all rounding modes.
60654         (TEST): Include expected results for all rounding modes.
60655         (test_in_one_mode): New function.
60656         (do_test): Use test_in_one_mode to compute and check results.
60657         Check results for all rounding modes.
60658         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60659         $(link-libm).
60661 2012-12-09  Allan McRae  <allan@archlinux.org>
60663         * sysdeps/i386/fpu/libm-test-ulps: Update
60665 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60667         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60668         (_G_int32_t): Likewise.
60669         (_G_uint16_t): Likewise.
60670         (_G_uint32_t): Likewise.
60671         (_G_HAVE_BOOL): Likewise.
60672         (_G_HAVE_ATEXIT): Likewise.
60673         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60674         (_G_HAVE_IO_FILE_OPEN): Likewise.
60675         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60676         (_G_int32_t): Likewise.
60677         (_G_uint16_t): Likewise.
60678         (_G_uint32_t): Likewise.
60679         (_G_HAVE_BOOL): Likewise.
60680         (_G_HAVE_ATEXIT): Likewise.
60681         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60682         (_G_HAVE_IO_FILE_OPEN): Likewise.
60683         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60684         (_G_int32_t): Likewise.
60685         (_G_uint16_t): Likewise.
60686         (_G_uint32_t): Likewise.
60687         (_G_HAVE_BOOL): Likewise.
60688         (_G_HAVE_ATEXIT): Likewise.
60689         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60690         (_G_HAVE_IO_FILE_OPEN): Likewise.
60692 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60694         * csu/libc-tls.c: Update copyright years.
60696 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60698         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60699         [!_G_USING_THUNKS]: Remove conditional code.
60700         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60701         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60703         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60704         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60705         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60706         (_G_VTABLE_LABEL_PREFIX): Likewise.
60707         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60708         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60709         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60710         (_G_VTABLE_LABEL_PREFIX): Likewise.
60711         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60712         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60713         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60714         (_G_VTABLE_LABEL_PREFIX): Likewise.
60715         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60717 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60719         * libio/Makefile: Include ../Makeconfig before tests.
60720         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60721         only if $(build-shared) is yes.
60723         * iconv/gconv_db.c: Update copyright years.
60725 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60727         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60728         unwind info if defined PIC. Fix special cases description.
60729         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60731         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60732         DP_HI_MASK entry.
60733         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60735 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60737         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60739         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60740         is NULL.
60742         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60743         (LDLIBS-tst-chk4): This.
60744         (LDFLAGS-tst-chk5): Renamed to ...
60745         (LDLIBS-tst-chk5): This.
60746         (LDFLAGS-tst-chk6): Renamed to ...
60747         (LDLIBS-tst-chk6): This.
60748         (LDFLAGS-tst-lfschk4): Renamed to ...
60749         (LDLIBS-tst-lfschk4): This.
60750         (LDFLAGS-tst-lfschk5): Renamed to ...
60751         (LDLIBS-tst-lfschk5): This.
60752         (LDFLAGS-tst-lfschk6): Renamed to ...
60753         (LDLIBS-tst-lfschk6): This.
60755         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60756         on $(common-objpfx)soversions.mk.
60758 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60760         [BZ #10014]
60761         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60762         example host name.
60764 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60766         * malloc/arena.c (arena_get_retry): New function that gets
60767         another arena for the caller to try its request on.
60768         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60769         current arena cannot fulfill the request.
60770         (__libc_memalign): Likewise.
60771         (__libc_memalign): Likewise.
60772         (__libc_pvalloc): Likewise.
60773         (__libc_calloc): Likewise.
60775 2012-09-05  John Tobey  <john.tobey@gmail.com>
60777         [BZ #13542]
60778         * manual/arith.texi (Operations on Complex): Fix description
60779         of carg branch cut.
60781 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60783         [BZ #10014]
60784         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60785         host name.
60787         [BZ #10038]
60788         * manual/memory.texi (Memory): Make order of menu items match
60789         order of sections.
60791 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60793         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60794         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60795         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60797 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60799         * csu/libc-tls.c (static_dtv): Renamed to ...
60800         (_dl_static_dtv): This.  Make it global.
60801         (_dl_initial_dtv): Removed.
60802         (__libc_setup_tls): Updated.
60803         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60804         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60805         DL_INITIAL_DTV.
60807 2012-09-06  Petr Machata  <pmachata@redhat.com>
60809         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60810         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60811         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60812         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60814 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60816         [BZ #14545]
60817         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60818         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60819         freeing dtv[-1].
60821 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60823         [BZ #14544]
60824         * Makeconfig (link-static-before-libc): Replace $(+prector)
60825         with $(+prectorT).
60826         (link-static-after-libc): Replace $(+postctor) with
60827         $(+postctorT).
60828         (link-bounded): Replace $(+prector)/$(+postctor) with
60829         $(+prectorT)/$(+postctorT).
60830         (+prectorT): New macro.
60831         (+postctorT): Likewise.
60833 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60835         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60836         (round_str): Handle values above the maximum for IBM long double
60837         as inexact.
60838         * stdlib/tst-strtod-round.c (tests): Regenerated.
60840 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60842         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60843         assembler flag.
60844         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60845         zarch_nohighgprs around the zarch optimized routines.
60846         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60847         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60848         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60849         for zarch.
60851 2012-09-05  David S. Miller  <davem@davemloft.net>
60853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60855         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60856         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60857         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60858         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60859         entries.
60861 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60863         * malloc/arena.c: Fold copyright years.
60864         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60866 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60868         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60870 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60872         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60874 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60876         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60877         change internal state upon failure.
60879 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60881         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60882         * malloc/memusage.c (mmap): Likewise.
60883         (mmap64, mremap): Likewise.  Adjust name in comment.
60885 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60887         * libio/fileops.c: Fix typos in comments.
60888         * libio/oldfileops.c: Likewise.
60889         * libio/wfileops.c: Likewise.
60891 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60893         [BZ #1349]
60894         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60895         (tst-malloc-usable-ENV): Set environment for test case.
60896         * malloc/hooks.c (malloc_check_get_size): New function to get
60897         requested size.
60898         * malloc/malloc.c (musable): Use malloc_check_get_size.
60899         * malloc/tst-malloc-usable.c: New test case.
60901 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60903         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60905 2012-09-05  Allan McRae  <allan@archlinux.org>
60907         [BZ #13966]
60908         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60909         determine header location.
60910         * configure: Regenerated.
60912 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60914         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60915         float format.
60916         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60917         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60918         format.
60919         (test): Regenerate.
60921 2012-09-04  David S. Miller  <davem@davemloft.net>
60923         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60924         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60925         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60927 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60929         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60930         failures.
60932         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60934 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60936         [BZ #9914]
60937         * libio/iogetdelim.c: Include <limits.h>.
60938         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60939         + len + 1 would overflow.
60941 2012-09-03  Andreas Jaeger  <aj@suse.de>
60943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60944         * sysdeps/i386/fpu/libm-test-ulps: Update.
60946 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60948         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60949         Add s_sinf-sse2, s_conf-sse2.
60951         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60952         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60953         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60954         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60956         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60957         for using routine as __sinf_ia32.
60958         Use macro for function declaration and weak_alias.
60959         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60960         for using routine as __cosf_ia32.
60961         Use macro for function declaration and weak_alias.
60963         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60964         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60966         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60967         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60970         * math/libm-test.inc (cos_test): Add more test cases.
60971         (sin_test): Likewise.
60972         (sincos_test): Likewise.
60974 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60976         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60977         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60978         hidden.
60979         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60981 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60983         [BZ #14538]
60984         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60985         first element of the GOT.
60986         (elf_machine_load_address): Return the difference between
60987         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60989 2012-09-01  Allan McRae  <allan@archlinux.org>
60991         [BZ #13412]
60992         * configure.in (AWK): Require gawk version 3.0 or later.
60993         * configure: Regenerated.
60995 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60997         * sysdeps/unix/sysv/linux/kernel-features.h
60998         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60999         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61000         [__NR_clock_getres]: Make code unconditional.
61001         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61002         (clock_getcpuclockid): Remove code left unreachable by removal of
61003         conditionals.
61004         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61005         code unconditional.
61006         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61007         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61008         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61009         Make code unconditional.
61010         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61011         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61012         * sysdeps/unix/sysv/linux/clock_settime.c
61013         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61014         conditional code.
61015         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61016         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61018 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61020         [BZ #14476]
61021         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61022         scripts/test-installation.pl.
61024         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61025         and $ld_so_version if it is set.
61027 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61029         [BZ #14516]
61030         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61031         failure if reading from procfs failed.
61032         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61034 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61036         * sysdeps/unix/sysv/linux/kernel-features.h
61037         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61038         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61039         Remove conditional code.
61040         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61041         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61042         Remove conditional code.
61043         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61044         * sysdeps/unix/sysv/linux/i386/fxstat.c
61045         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61046         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61047         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61048         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61049         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61050         * sysdeps/unix/sysv/linux/i386/lxstat.c
61051         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61052         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61053         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61054         Remove conditional code.
61055         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61056         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61057         Remove conditional code.
61058         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61059         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61060         <kernel-features.h>.
61061         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61062         Remove.
61063         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61064         Remove conditional code.
61065         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61066         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61067         Remove conditional.
61069 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61071         [BZ #5400]
61072         * NEWS: Add fixed bug number.
61074 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61076         [BZ #14519]
61077         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61078         underflowing exponent in case of negative sign.
61079         * stdlib/tst-strtod-round-data: Add more tests.
61080         * stdlib/tst-strtod-round.c (tests): Regenerated.
61082         [BZ #3479]
61083         * stdlib/strtod_l.c (NDIG): Remove.
61084         (HEXNDIG): Likewise.
61085         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61086         smallest representable value.
61087         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61088         lie within an exact representation of 1/2 ulp of the result.
61089         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61090         unconditionally.
61091         (TENS_P9_IDX): Define unconditionally.
61092         (TENS_P9_SIZE): Likewise.
61093         (TENS_P10_IDX): Likewise.
61094         (TENS_P10_SIZE): Likewise.
61095         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61096         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61097         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61098         entries for 10^2^13 and 10^2^14.
61099         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61100         (TENS_P13_IDX): Define.
61101         (TENS_P13_SIZE): Likewise.
61102         (TENS_P14_IDX): Likewise.
61103         (TENS_P14_SIZE): Likewise.
61104         (_fpioconst_pow10): Change array size to
61105         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61106         unconditional.
61107         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61108         1024]: Add entries for 10^2^13 and 10^2^14.
61109         [LAST_POW10 > _LAST_POW10]: Remove #error.
61110         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61111         (_fpioconst_pow10): Change array size to
61112         FPIOCONST_POW10_ARRAY_SIZE.
61113         * stdlib/gen-fpioconst.c: New file.
61114         * stdlib/gen-tst-strtod-round.c: Likewise.
61115         * stdlib/tst-strtod-round-data: Likewise.
61116         * stdlib/tst-strtod-round.c: Likewise.
61117         * stdlib/Makefile (tests): Add tst-strtod-round.
61119         [BZ #14459]
61120         * stdlib/strtod_l.c: Include <stdint.h>.
61121         (NDEBUG): Do not define.
61122         (round_and_return): Change EXPONENT parameter to type intmax_t.
61123         Rearrange calculations to avoid internal overflow possibilities.
61124         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61125         Rearrange calculations to avoid internal overflow possibilities.
61126         Assert that number fits inside MPNSIZE limbs.
61127         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61128         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61129         calculations and add assertions to avoid internal overflow
61130         possibilities.  Add casts to avoid signed/unsigned operations.
61131         * stdlib/tst-strtod-overflow.c: New file.
61132         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61134 2012-08-25  Marek Polacek  <polacek@redhat.com>
61136         * time/time.h: Fix some typos in comments.
61138 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61140         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61141         * posix/tst-rfc3484-2.c: Likewise.
61142         * posix/tst-rfc3484-3.c: Likewise.
61144 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61146         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61147         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61149 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61151         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61152         #include of fxstatat64.c.
61154 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61156         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61157         * shadow/getspent_r.c: Likewise.
61158         * shadow/getspnam.c: Likewise.
61159         * shadow/getspnam_r.c: Likewise.
61160         * gshadow/getsgent.c: Likewise.
61161         * gshadow/getsgent_r.c: Likewise.
61162         * gshadow/getsgnam.c: Likewise.
61163         * gshadow/getsgnam_r.c: Likewise.
61164         * inet/getnetbyad.c: Likewise.
61165         * inet/getnetbyad_r.c: Likewise.
61166         * inet/getnetbynm.c: Likewise.
61167         * inet/getnetbynm_r.c: Likewise.
61168         * inet/getnetent.c: Likewise.
61169         * inet/getnetent_r.c: Likewise.
61170         * inet/getproto.c: Likewise.
61171         * inet/getproto_r.c: Likewise.
61172         * inet/getprtent.c: Likewise.
61173         * inet/getprtent_r.c: Likewise.
61174         * inet/getprtname.c: Likewise.
61175         * inet/getprtname_r.c: Likewise.
61176         * inet/getrpcbyname.c: Likewise.
61177         * inet/getrpcbyname_r.c: Likewise.
61178         * inet/getrpcbynumber.c: Likewise.
61179         * inet/getrpcbynumber_r.c: Likewise.
61180         * inet/getrpcent.c: Likewise.
61181         * inet/getrpcent_r.c: Likewise.
61182         * inet/getaliasent.c: Likewise.
61183         * inet/getaliasent_r.c: Likewise.
61184         * inet/getaliasname.c: Likewise.
61185         * inet/getaliasname_r.c: Likewise.
61186         * nscd/getgrgid_r.c: Likewise.
61187         * nscd/getgrnam_r.c: Likewise.
61188         * nscd/gethstbyad_r.c: Likewise.
61189         * nscd/gethstbynm3_r.c: Likewise.
61190         * nscd/getpwnam_r.c: Likewise.
61191         * nscd/getpwuid_r.c: Likewise.
61192         * nscd/getsrvbynm_r.c: Likewise.
61193         * nscd/getsrvbypt_r.c: Likewise.
61194         * nscd/gai.c: Likewise.
61196         * configure.in (build_nscd): New substituted variable, set
61197         by --disable-build-nscd and defaults to $use_nscd.
61198         * configure: Regenerated.
61199         * config.make.in (build-nscd): New substituted variable.
61200         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61201         Change conditional to require [$(build-nscd) = yes] as well.
61202         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61204         [BZ# 13696]
61205         * configure.in (use_nscd): New substituted variable, set by
61206         --disable-nscd.  If enabled, define USE_NSCD.
61207         * configure: Regenerated.
61208         * config.h.in: Add USE_NSCD.
61209         * config.make.in (use-nscd): New substituted variable.
61210         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61211         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61212         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61213         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61214         (CFLAGS-getgrnam_r.c): Likewise.
61215         (CFLAGS-initgroups.c): Likewise.
61216         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61217         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61218         Variables removed.
61219         * inet/getnetgrent_r.c
61220         (nscd_setnetgrent): New function, broken out of ...
61221         (setnetgrent): ... here.  Call it.
61222         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61223         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61224         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61225         * nscd/Makefile (routines, aux): Move definitions after include of
61226         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61227         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61228         Conditionalize on [USE_NSCD].
61229         (is_nscd, nscd_init_cb): Likewise.
61230         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61231         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61232         * nss/nss_db/db-init.c: Likewise.
61233         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61234         [USE_NSCD].
61235         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61236         (make_request): Use it.
61237         (cache_valid_p): New function.
61238         (__check_pf): Use it.
61239         * NEWS: Add item for --disable-nscd.
61241 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61243         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61244         to support sed >= 4.2.1-20-ga9bf076.
61245         * configure: Regenerated.
61247 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61249         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61250         Conditionalize whole body on [IREL].
61252 2012-08-22  Jeff Law <law@redhat.com>
61254         [BZ #14505]
61255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61256         if the family is PF_UNSPEC.
61258 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61260         * Makerules (lib-version): Rename from V.
61261         (install-lib-nosubdir): Change V to lib-version.
61263 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61265         [BZ #14252]
61266         * powerpc32/power6/wcschr.c: New file.
61267         * powerpc32/power6/wcscpy.c: New file.
61268         * powerpc32/power6/wcsrchr.c: New file.
61269         * powerpc64/power6/wcschr.c: New file.
61270         * powerpc64/power6/wcscpy.c: New file.
61271         * powerpc64/power6/wcsrchr.c: New file.
61273 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61275         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61276         (two_way_short_needle): Use it.
61277         * string/strstr.c (AVAILABLE1_USES_J): Define.
61278         * string/strcasestr.c: Likewise.
61280         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61281         array references.
61282         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61284         [BZ #11607]
61285         * NEWS: Add an entry.
61286         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61287         define their defaults.
61288         (two_way_short_needle): Detect end-of-string on-the-fly.
61289         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61290         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61291         * string/bug-strcasestr1.c: New test.
61292         * string/Makefile: Run it.
61294 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61296         [BZ #11607]
61297         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61298         the first character.
61300 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61302         * csu/elf-init.c (__libc_csu_irel): Function removed.
61303         * csu/libc-start.c (apply_irel): New function.
61304         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61306 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61308         * sysdeps/unix/sysv/linux/kernel-features.h
61309         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61310         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61311         <kernel-features.h>.
61312         [__NR_fadvise64_64]: Make code unconditional.
61313         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61314         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61315         !__NR_fadvise64_64)]: Likewise.
61316         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61317         !__NR_fadvise64_64))]: Likewise.
61318         [__NR_fadvise64]: Make code unconditional.
61319         [!__NR_fadvise64]: Remove conditional code.
61320         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61321         <kernel-features.h>.
61322         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61323         unconditional.
61324         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61325         conditional code.
61326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61327         not include <kernel-features.h>.
61328         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61329         unconditional.
61330         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61331         conditional code.
61332         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61333         include <kernel-features.h>.
61334         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61335         unconditional.
61336         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61337         conditional code.
61339 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61341         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61342         slight instruction rearrangements per scrollpipe analysis.
61343         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61345 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61347         * manual/syslog.texi (syslog; vsyslog, closelog):
61348         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61349         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61351         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61352         DSOCAPS to match condition on defining it.
61354 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61356         * sysdeps/unix/sysv/linux/kernel-features.h
61357         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61359         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61360         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61362         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61363         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61365         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61366         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61368         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61369         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61371         * sysdeps/unix/sysv/linux/kernel-features.h
61372         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61373         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61374         unconditional.
61375         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61376         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61377         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61378         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61379         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61380         Make code unconditional.
61381         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61382         (__mmap64) [!__NR_mmap2]: Likewise.
61383         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61384         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61385         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61386         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61387         [__NR_mmap2]: Make code unconditional.
61388         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61389         (__mmap64) [!__NR_mmap2]: Likewise.
61391 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61393         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61395 2012-08-18  Andreas Jaeger  <aj@suse.de>
61397         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61399 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61401         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61402         * include/unistd.h (__have_sock_cloexec): Likewise.
61403         (__have_pipe2): Likewise.
61404         (__have_dup3): Likewise.
61406 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61408         [BZ #9685]
61409         * include/unistd.h (__have_pipe2): Change define into an extern int.
61410         (__have_dup3): Likewise.
61411         * socket/have_sock_cloexec.c: Include fcntl.h.
61412         (__have_pipe2): New variable.
61413         (__have_dup3): Likewise.
61415 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61417         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61419 2012-08-17  Marek Polacek  <polacek@redhat.com>
61421         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61422         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61424 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61426         * configure.in: Add AC_SUBST for sysheaders.
61427         * configure: Regenerated.
61428         * config.make.in (sysheaders): New substituted variable.
61430         * sysdeps/unix/mkfifo.c: Moved ...
61431         * sysdeps/posix/mkfifo.c: ... here.
61432         * sysdeps/unix/mkfifoat.c: Moved ...
61433         * sysdeps/posix/mkfifoat.c: ... here.
61435         * sysdeps/unix/utime.c: Moved ...
61436         * sysdeps/posix/utime.c: ... here.
61438         * sysdeps/unix/time.c: Moved ...
61439         * sysdeps/posix/time.c: ... here.
61440         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61441         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61443         * sysdeps/unix/nice.c: Moved ...
61444         * sysdeps/posix/nice.c: ... here.
61446         * sysdeps/unix/alarm.c: Moved ...
61447         * sysdeps/posix/alarm.c: ... here.
61449         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61451 2012-08-17  Jeff Law <law@redhat.com>
61453         * intl/Makefile (codeset_mo): New variable.
61454         ($(codeset_mo)): New target.
61455         (tst-codeset.out): Depend on that.  Remove explicit rule.
61456         (tst-gettext3.out, tst-gettext5.out): Likewise.
61457         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61458         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61459         * intl/tst-codeset.sh: Remove.
61460         * intl/tst-gettext3.sh: Likewise.
61461         * intl/tst-gettext5.sh: Likewise.
61463 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61465         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61466         * sysdeps/unix/syscalls.list: ... here.
61468         * sysdeps/posix/getaddrinfo.c
61469         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61470         (gaiconf_init, gaiconf_reload): Use them.
61471         [!_STATBUF_ST_NSEC]
61472         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61473         Define using time_t rather than struct timespec.
61475         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61476         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61477         Macros removed.
61478         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61479         [!NO_THREADS].
61480         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61481         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61482         Likewise.
61484         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61485         __libc_cleanup_push argument.
61487         * bits/param.h: New file.
61488         * misc/sys/param.h: New file.
61489         * include/sys/param.h: New file.
61490         * misc/Makefile (headers): Add bits/param.h.
61491         * sysdeps/generic/sys/param.h: File removed.
61492         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61493         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61494         * sysdeps/mach/hurd/bits/param.h: New file.
61495         * sysdeps/mach/hurd/sys/param.h: File removed.
61497         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61498         last change.
61500         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61501         [_IO_MTSAFE_IO].
61502         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61503         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61504         New macros.
61506         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61507         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61508         rather than -D_IO_MTSAFE_IO conditionally.
61509         * stdio-common/Makefile (CPPFLAGS): Likewise.
61510         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61511         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61512         Use $(libio-mtsafe).
61513         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61514         of -D_IO_MTSAFE_IO.
61515         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61516         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61517         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61518         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61519         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61520         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61521         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61522         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61523         (CFLAGS-fread_u_chk.c): Likewise.
61524         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61525         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61526         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61527         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61528         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61529         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61530         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61531         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61532         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61534         * libio/Makefile: Test [$(libc-reentrant) = yes]
61535         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61537         * Makeconfig
61538         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61539         * sysdeps/pthread/configure: File removed.
61540         * sysdeps/pthread/Makeconfig: New file.
61541         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61542         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61544 2012-08-16  Gary Benson  <gbenson@redhat.com>
61546         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61547         unmapping the first object in a namespace.
61549 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61551         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61552         (__internal_setnetgrent): ... this.  Add internal_function to
61553         definition.  Add libc_hidden_def.
61554         (setnetgrent): Update caller.
61555         (internal_endnetgrent): Renamed to ...
61556         (__internal_endnetgrent): ... this.  Add internal_function to
61557         definition.  Add libc_hidden_def.
61558         (endnetgrent): Update caller.
61559         (internal_getnetgrent_r): Renamed to ...
61560         (__internal_getnetgrent_r): ... this.  Add internal_function to
61561         definition.  Add libc_hidden_def.
61562         (__getnetgrent_r): Update caller.
61563         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61565 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61567         * stdlib/longlong.h: Update from GCC.
61569 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61571         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61572         on _QL, which is set by umul_ppmm but never used.
61573         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61574         variables, which are set by GMP macros but never used.
61575         * stdio-common/_itowa.c (_itowa): Likewise.
61576         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61577         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61579 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61581         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61582         struct La_sh_regs is not constant.
61583         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61584         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61585         and struct La_sparc64_regs are not constant.
61587 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61589         * sysdeps/unix/sysv/linux/kernel-features.h
61590         (__ASSUME_POSIX_TIMERS): Remove.
61591         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61592         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61593         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61594         Make code unconditional.
61595         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61596         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61597         Make code unconditional.
61598         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61599         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61600         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61601         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61602         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61603         Make code unconditional.
61604         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61605         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61606         (__libc_missing_posix_timers): Remove.
61608 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61610         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61611         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61613         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61615         * elf/dl-sym.c: Include <stdlib.h>.
61617         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61618         constants, which avoids warnings in 32-bit builds.
61620         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61621         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61623         * misc/lseek.c: File moved to ...
61624         * io/lseek.c: ... here.
61626         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61628         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61629         shifting LEN more than 31 bits at once.
61631 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61633         [BZ #14195]
61634         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61635         segmentation fault for a case of two empty input strings.
61636         * string/test-strncasecmp.c (check1): Renamed to...
61637         (bz12205): ...this.
61638         (bz14195): Add new testcase for two empty input strings and N > 0.
61639         (test_main): Call new testcase, adapt for renamed function.
61641 2012-08-15  Andreas Jaeger  <aj@suse.de>
61643         [BZ #14090]
61644         * crypt/md5test2.c: New test, based on test supplied by Serge
61645         Belyshev <belyshev@depni.sinp.msu.ru>.
61646         * crypt/Makefile (xtests): Add md5test-giant..
61647         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61649 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61651         [BZ #14090]
61652         * crypt/md5.c (md5_process_block): Don't assume the buffer
61653         length is less than 2**32.
61654         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61655         length is less than 2**64.
61657 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61659         * string/str-two-way.h: Include <sys/param.h>.
61660         (MAX): Macro removed.
61662         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61663         Move #define and #undef of memmove to just before and after
61664         including <string.h>.
61666         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61667         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61668         and after including <string.h>.  Move declarations of
61669         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61670         to before #include "string/memmove.c".
61672         * include/dirent.h: Declare __getdirentries.
61674         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61675         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61677 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61679         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61680         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61681         * sysdeps/i386/configure: Regenerated.
61682         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61683         STABS_CURRENT_FILE, and STABS_FUN.
61684         (END): Remove call to STABS_FUN_END.
61685         (STABS_CURRENT_FILE1): Delete.
61686         (STABS_CURRENT_FILE): Likewise.
61687         (STABS_FUN): Likewise.
61688         (STABS_FUN_END): Likewise.
61689         (STABS_FUN2): Likewise.
61690         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61691         * sysdeps/x86_64/configure: Regenerated.
61693 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61695         * elf/dl-open.c: Include <atomic.h>.
61696         * elf/dl-lookup.c: Likewise.
61698 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61700         * sysdeps/unix/sysv/linux/kernel-features.h
61701         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61702         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61703         unconditionally.
61704         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61705         unconditionally.
61706         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61707         condition on __ASSUME_CLONE_THREAD_FLAGS.
61709 2012-08-14  Andreas Jaeger  <aj@suse.de>
61711         * sysdeps/i386/fpu/libm-test-ulps: Update.
61713 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61715         * include/atomic.h (atomic_exchange_and_add): Split into ...
61716         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61717         New atomic macros.
61719 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61723 2012-08-13  Jeff Law <law@redhat.com>
61725         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61726         null byte in the output string.
61728 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61730         * sysdeps/unix/sysv/linux/kernel-features.h
61731         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61732         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61733         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61734         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61735         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61736         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61737         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61739 2012-08-09  Jeff Law <law@redhat.com>
61741         [BZ #13939]
61742         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61743         When avoid_arena is set, don't retry in the that arena.  Pick the
61744         next one, whatever it might be.
61745         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61746         (arena_lock): Pass in new parameter to arena_get2.
61747         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61748         arena_get2.
61749         (__libc_malloc): Unify retrying after main arena failure with
61750         __libc_memalign version.
61751         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61753 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61755         [BZ #14166]
61756         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61757         to __redirect_strstr.
61758         (__strstr_sse42): Use typeof __redirect_strstr.
61759         (__strstr_ia32): Likewise.
61760         (__libc_strstr): New prototype.
61761         (strstr): Renamed to ...
61762         (__libc_strstr): This.
61763         (strstr): New strong alias of __libc_strstr.
61764         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61765         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61766         __redirect_time.
61767         Include <time.h>.
61768         (__libc_time): New prototype.
61769         (time_ifunc): Replace time with __libc_time.
61770         (time): New strong alias and hidden definition of __libc_time.
61771         (__GI_time): Remove strong alias.
61772         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61773         Include <stddef.h>.
61774         (memmove): Redefined to __redirect_memmove.
61775         (__memmove_sse2): Use typeof __redirect_memmove.
61776         (__memmove_ssse3): Likewise.
61777         (__memmove_ssse3_back): Likewise.
61778         (__libc_memmove): New prototype.
61779         (memmove): Renamed to ...
61780         (__libc_memmove): This.
61781         (memmove): New strong alias of __libc_memmove.
61783 2012-08-08  Mark Salter  <msalter@redhat.com>
61785         * elf/elf.h
61786         (R_MN10300_TLS_GD): Define.
61787         (R_MN10300_TLS_LD): Likewise.
61788         (R_MN10300_TLS_LDO): Likewise.
61789         (R_MN10300_TLS_GOTIE): Likewise.
61790         (R_MN10300_TLS_IE): Likewise.
61791         (R_MN10300_TLS_LE): Likewise.
61792         (R_MN10300_TLS_DTPMOD): Likewise.
61793         (R_MN10300_TLS_DTPOFF): Likewise.
61794         (R_MN10300_TLS_TPOFF): Likewise.
61795         (R_MN10300_SYM_DIFF): Likewise.
61796         (R_MN10300_ALIGN): Likewise.
61797         (R_MN10300_NUM): Update.
61799 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61801         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61802         Remove.
61804 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61806         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61808         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61809         sysdeps/unix -> sysdeps/posix move.
61810         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61812 2012-08-07      Allan McRae     <allan@archlinux.org>
61814         [BZ #14303]
61815         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61816         (SUNOS_CPP): Likewise.
61817         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61818         not found.
61819         (open_input): Call CPP using execvp.
61821 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61823         * sysdeps/unix/sysv/linux/kernel-features.h
61824         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61825         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61826         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61827         (__ASSUME_WAITID_SYSCALL): Likewise.
61828         * sysdeps/unix/sysv/linux/dl-execstack.c
61829         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61830         code unconditional.
61831         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61832         conditional code.
61833         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61834         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61835         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61836         code.
61837         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61838         unconditional.
61839         [__ASSUME_WAITID_SYSCALL]: Likewise.
61840         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61842 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61844         * sysdeps/unix/closedir.c: Renamed to ...
61845         * sysdeps/posix/closedir.c: ... here.
61846         * sysdeps/unix/dirfd.c: Renamed to ...
61847         * sysdeps/posix/dirfd.c: ... here.
61848         * sysdeps/unix/dirstream.h: Renamed to ...
61849         * sysdeps/posix/dirstream.h: ... here.
61850         * sysdeps/unix/fdopendir.c: Renamed to ...
61851         * sysdeps/posix/fdopendir.c: ... here.
61852         * sysdeps/unix/opendir.c: Renamed to ...
61853         * sysdeps/posix/opendir.c: ... here.
61854         * sysdeps/unix/readdir.c: Renamed to ...
61855         * sysdeps/posix/readdir.c: ... here.
61856         * sysdeps/unix/readdir_r.c: Renamed to ...
61857         * sysdeps/posix/readdir_r.c: ... here.
61858         * sysdeps/unix/rewinddir.c: Renamed to ...
61859         * sysdeps/posix/rewinddir.c: ... here.
61860         * sysdeps/unix/seekdir.c: Renamed to ...
61861         * sysdeps/posix/seekdir.c: ... here.
61862         * sysdeps/unix/telldir.c: Renamed to ...
61863         * sysdeps/posix/telldir.c: ... here.
61864         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61865         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61866         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61867         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61869         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61870         * bits/fcntl.h: ... here.
61872         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61873         not 0.
61874         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61875         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61876         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61877         (struct flock): Move l_start, l_len to the beginning.
61878         Use __pid_t for l_pid.
61879         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61880         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61881         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61882         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61883         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61884         [__USE_LARGEFILE64] (struct flock64): New type.
61885         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61887         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61888         * bits/dirent.h: ... here.
61890         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61891         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61893 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61895         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61896         Change from 2.6.0 to 2.6.16.
61897         * sysdeps/unix/sysv/linux/configure: Regenerated.
61898         * sysdeps/unix/sysv/linux/kernel-features.h
61899         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61900         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61901         version.
61902         (__ASSUME_UTIMES): Likewise.
61903         (__ASSUME_CLONE_STOPPED): Remove.
61904         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61905         architectures, not kernel version.
61906         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61907         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61908         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61909         (__ASSUME_WAITID_SYSCALL): Likewise.
61910         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61911         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61912         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61913         refer to older versions.
61915 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61917         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61918         Define alphasort64 as an alias.
61919         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61920         Define versionsort64 as an alias.
61921         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61922         Define scandir64 as an alias.
61923         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61924         Define scandirat64 as an alias.
61925         * dirent/alphasort64.c (alphasort64):
61926         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61927         * dirent/versionsort64.c: Likewise.
61928         * dirent/scandir64.c: Likewise.
61929         * dirent/scandirat64.c: Likewise.
61930         * sysdeps/wordsize-64/alphasort.c: File removed.
61931         * sysdeps/wordsize-64/alphasort64.c: File removed.
61932         * sysdeps/wordsize-64/scandir.c: File removed.
61933         * sysdeps/wordsize-64/scandir64.c: File removed.
61934         * sysdeps/wordsize-64/scandirat.c: File removed.
61935         * sysdeps/wordsize-64/scandirat64.c: File removed.
61936         * sysdeps/wordsize-64/versionsort.c: File removed.
61937         * sysdeps/wordsize-64/versionsort64.c: File removed.
61938         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61939         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61940         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61941         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61942         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61943         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61944         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61945         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61947         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61948         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61949         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61950         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61951         [defined __arch64__ || defined __sparcv9]
61952         (__INO_T_MATCHES_INO64_T): New macro.
61953         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61954         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61955         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61956         * sysdeps/unix/sysv/linux/bits/dirent.h
61957         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61958         (_DIRENT_MATCHES_DIRENT64): New macro.
61960         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61961         Define lockf64 as an alias.
61962         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61963         Define fseeko64 as an alias.
61964         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61965         Define ftello64 as an alias.
61966         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61967         Define _IO_fgetpos64 and fgetpos64 as aliases.
61968         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61969         Define _IO_fsetpos64 and fsetpos64 as aliases.
61970         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61971         Conditionalize body on this.
61972         * libio/fseeko64.c: Likewise.
61973         * libio/ftello64.c: Likewise.
61974         * libio/iofgetpos64.c: Likewise.
61975         * libio/iofsetpos64.c: Likewise.
61976         * sysdeps/wordsize-64/lockf.c: File removed.
61977         * sysdeps/wordsize-64/lockf64.c: File removed.
61978         * sysdeps/wordsize-64/fseeko.c: File removed.
61979         * sysdeps/wordsize-64/fseeko64.c: File removed.
61980         * sysdeps/wordsize-64/ftello.c: File removed.
61981         * sysdeps/wordsize-64/ftello64.c: File removed.
61982         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61983         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61984         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61985         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61986         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61987         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61988         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61989         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61990         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61991         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61992         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61993         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61994         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61995         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61997         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61998         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61999         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62000         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62001         [defined __arch64__ || defined __sparcv9]
62002         (__OFF_T_MATCHES_OFF64_T): New macro.
62003         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62004         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62005         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62006         (__OFF_T_MATCHES_OFF64_T): New macro.
62008 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62010         * stdlib/secure-getenv.c (__secure_getenv): Replace
62011         GLIBC_2_16 with GLIBC_2_17.
62013 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62015         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62016         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62018 2012-08-03  David S. Miller  <davem@davemloft.net>
62020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62022 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62024         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62025         Remove.
62026         (__ASSUME_CORRECT_SI_PID): Likewise.
62027         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62028         (__ASSUME_TMPFS_NAME): Likewise.
62029         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62030         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62031         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62032         (HAVE_AUX_SECURE): Make definition unconditional.
62033         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62034         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62036 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62038         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62039         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62040         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62041         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62042         __eloop_threshold instead of SYMLOOP_MAX.
62044         * sysdeps/generic/eloop-threshold.h: New file.
62045         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62046         of MAXSYMLINKS.
62047         * elf/chroot_canon.c (chroot_canon): Likewise.
62049 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62051         [BZ #13717]
62052         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62053         Change to 2.6.0 everywhere.
62054         * sysdeps/unix/sysv/linux/configure: Regenerated.
62055         * sysdeps/unix/sysv/linux/kernel-features.h
62056         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62057         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62058         kernel versions.
62059         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62060         (__ASSUME_FUTEX_REQUEUE): Remove.
62061         (__ASSUME_STATFS64): Define unconditionally.
62062         (__ASSUME_AT_SECURE): Likewise.
62063         (__ASSUME_CORRECT_SI_PID): Likewise.
62064         (__ASSUME_TGKILL): Define without depending on kernel version for
62065         i386.
62066         (__ASSUME_UTIMES): Likewise.
62067         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62068         kernel version.
62069         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62070         (__ASSUME_TMPFS_NAME): Likewise.
62071         * README: Update reference to Linux kernel versions.
62073 2012-08-02  Marek Polacek  <polacek@redhat.com>
62075         [BZ# 14150]
62076         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62077         libc_cv_asm_type_prefix with %.
62078         * configure: Regenerated.
62079         * include/libc-symbols.h: Remove comment about
62080         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62081         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62082         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62083         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62084         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62085         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62086         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62087         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62088         * elf/tst-unique2mod1.c: Likewise.
62089         * elf/tst-unique1mod2.c: Likewise.
62090         * elf/tst-unique1mod1.c: Likewise.
62091         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62092         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62093         Replace ASM_TYPE_DIRECTIVE with .type.
62094         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62095         * sysdeps/i386/sysdep.h: Likewise.
62096         * sysdeps/x86_64/sysdep.h: Likewise.
62097         * sysdeps/sh/sysdep.h: Likewise.
62098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62099         Do not define ASM_TYPE_DIRECTIVE.
62100         * sysdeps/powerpc/sysdep.h: Likewise.
62101         * sysdeps/powerpc/powerpc32/sysdep.h:
62102         Replace ASM_TYPE_DIRECTIVE with .type.
62103         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62104         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62105         * sysdeps/i386/fpu/e_powf.S: Likewise.
62106         * sysdeps/i386/fpu/e_expl.S: Likewise.
62107         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62108         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62109         * sysdeps/i386/fpu/e_pow.S: Likewise.
62110         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62111         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62112         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62113         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62114         * sysdeps/i386/fpu/e_log2.S: Likewise.
62115         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62116         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62117         * sysdeps/i386/fpu/e_powl.S: Likewise.
62118         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62119         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62120         * sysdeps/i386/fpu/e_logl.S: Likewise.
62121         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62122         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62123         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62124         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62125         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62126         * sysdeps/i386/fpu/e_log.S: Likewise.
62127         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62128         * sysdeps/i386/fpu/e_logf.S: Likewise.
62129         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62130         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62131         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62132         * sysdeps/i386/fpu/e_log10.S: Likewise.
62133         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62134         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62135         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62136         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62137         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62138         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62139         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62140         * sysdeps/i386/i686/strtok.S: Likewise.
62141         * sysdeps/i386/i386-mcount.S: Likewise.
62142         * sysdeps/i386/strtok.S: Likewise.
62143         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62144         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62145         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62146         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62147         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62148         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62149         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62150         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62151         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62152         * sysdeps/x86_64/_mcount.S: Likewise.
62153         * sysdeps/x86_64/strtok.S: Likewise.
62154         * sysdeps/sh/_mcount.S: Likewise.
62156 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62158         * libio/iofopen.c: Include <fcntl.h>.
62159         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62160         (_IO_fopen64, fopen64): Define as aliases.
62161         * libio/iofopen64.c: Include <fcntl.h>.
62162         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62163         Conditionalize body on this.
62164         * sysdeps/wordsize-64/iofopen.c: File removed.
62165         * sysdeps/wordsize-64/iofopen64.c: File removed.
62167 2012-08-01  Marek Polacek  <polacek@redhat.com>
62169         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62170         Use dlfcn directly instead of a variable.
62171         (binfmt-subdir): Do not define.
62172         (dlfcn): Likewise.
62174 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62176         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62177         Remove all definitions.
62178         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62179         <kernel-features.h>.
62180         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62181         (miss_F_GETOWN_EX): Remove all definitions.
62182         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62183         macro definition.
62184         [!__ASSUME_FCNTL64]: Remove conditional code.
62185         [__ASSUME_FCNTL64]: Make code unconditional.
62186         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62187         <kernel-features.h>.
62188         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62189         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62190         (lockf64) [__NR_fcntl64]: Make code unconditional.
62191         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62193         * sysdeps/unix/sysv/linux/kernel-features.h
62194         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62195         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62196         Make code unconditional.
62197         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62198         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62200         [__NR_vfork]: Make code unconditional.
62201         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62202         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62204         [__NR_vfork]: Make code unconditional.
62205         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62206         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62208 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62210         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62211         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62213         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62214         Define mkstemp64 as an alias.
62215         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62216         Define mkstemps64 as an alias.
62217         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62218         Define mkostemp64 as an alias.
62219         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62220         Define mkostemps64 as an alias.
62221         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62222         Conditionalize body on this.
62223         * misc/mkostemp64.c: Likewise.
62224         * misc/mkostemps64.c: Likewise.
62225         * misc/mkstemps64.c: Likewise.
62226         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62227         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62228         * sysdeps/wordsize-64/mkostemp.c: File removed.
62229         * sysdeps/wordsize-64/mkstemp.c: File removed.
62230         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62231         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62232         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62233         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62235         [BZ #14138]
62236         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62237         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62238         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62239         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62241         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62242         compat_symbol macros from <shlib-compat.h> rather than the underlying
62243         default_symbol_version and symbol_version macros, so that DEFAULT
62244         lines in shlib-versions are respected.
62245         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62247 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62249         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62250         Declare with warn_unused_result.
62251         (setgid, setregid, setegid, setresgid): Likewise.
62252         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62253         Likewise.
62254         * WUR-REPORT: Remove set*id functions.
62256 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62258         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62260 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62262         [BZ #10191]
62263         * include/sys/socket.h (__libc_accept, __libc_accept4):
62264         Add attribute_hidden.
62265         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62267         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62268         use of PTR_MANGLE.
62269         * inet/getnetgrent_r.c (setup): Likewise.
62271         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62273 2012-07-31  David S. Miller  <davem@davemloft.net>
62275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62277 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62279         [BZ #13629]
62280         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62281         value between 1.0 and 2.0 and smaller part has absolute value less
62282         than 1.0.
62283         * math/s_clog10.c (__clog10): Likewise.
62284         * math/s_clog10f.c (__clog10f): Likewise.
62285         * math/s_clog10l.c (__clog10l): Likewise.
62286         * math/s_clogf.c (__clogf): Likewise.
62287         * math/s_clogl.c (__clogl): Likewise.
62288         * math/libm-test.inc (clog_test): Add more tests.
62289         (clog10_test): Likewise.
62290         * sysdeps/i386/fpu/libm-test-ulps: Update.
62291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62293 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62295         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62296         Exit with zero in case no suitable GID is found, and write a
62297         message to standard error.
62299 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62301         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62302         rather than to 1.
62303         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62304         (MAXPATHLEN): Removed.
62305         (NOGROUP, NODEV): New macros.
62306         (setbit, clrbit, isset, isclr): New macros.
62307         (howmany, roundup, powerof2): New macros.
62308         (DEV_BSIZE): New macro.
62310         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62311         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62313         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62314         definition on [!__NO_LONG_DOUBLE_MATH].
62316         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62317         PTR_MANGLE and PTR_DEMANGLE.
62319         * socket/accept4.c (accept4): Rename to __libc_accept4.
62320         Define accept4 as a weak alias.
62322         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62323         on [_DIRENT_HAVE_D_TYPE].
62324         * io/ftw.c (ftw_dir): Likewise.
62326         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62328         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62330         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62331         Use the BSD numbers rather than the arbitrary ones we had.
62332         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62333         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62334         (SIGXCPU, SIGXFSZ): New macros.
62335         (_NSIG): Now 32.
62337         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62338         initializer on [_LIBC_REENTRANT].
62340         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62341         definitions inside [_POSIX_MAPPED_FILES].
62343         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62345         * dirent/opendir.c: Include <fcntl.h>.
62347         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62348         (__libc_getspecific): Likewise.
62349         (__libc_key_create): Likewise.
62351         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62352         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62353         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62354         (tmpfile64): Define as alias.
62355         * sysdeps/wordsize-64/tmpfile.c: File removed.
62356         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62357         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62358         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62360         * stdio-common/vfscanf.c: Include <stdbool.h>.
62361         * nss/makedb.c: Likewise.
62362         * stdio-common/_i18n_number.h: Likewise.
62363         * argp/argp-help.c: Likewise.
62364         * posix/wordexp.c: Likewise.
62365         * sysdeps/posix/spawni.c: Likewise.
62366         * nss/nss_files/files-initgroups.c: Likewise.
62367         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62368         * nss/nss_files/files-initgroups.c: Likewise.
62369         * nss/nss_db/db-netgrp.c: Likewise.
62370         * nss/nss_db/db-initgroups.c: Likewise.
62371         * io/fchmodat.c: Include <sys/stat.h>.
62373         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62374         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62376         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62377         [HAVE_MMAP].
62379         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62380         Add multiple inclusion protection.
62382 2012-07-27  David S. Miller  <davem@davemloft.net>
62384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62386 2012-07-27  Gary Benson  <gbenson@redhat.com>
62388         [BZ #14298]
62389         * elf/rtld.c: Include <stap-probe.h>.
62390         (dl_main): Added static probes "init_start" and "init_complete".
62391         * elf/dl-load.c: Include <stap-probe.h>.
62392         (lose): Take new parameter "nsid".
62393         Added static probe "map_failed".
62394         (_dl_map_object_from_fd): Pass namespace id to lose.
62395         Added static probe "map_start".
62396         (open_verify): Pass namespace id to lose.
62397         * elf/dl-open.c: Include <stap-probe.h>.
62398         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62399         and "reloc_complete".
62400         * elf/dl-close.c: Include <stap-probe.h>.
62401         (_dl_close_worker): Added static probes "unmap_start" and
62402         "unmap_complete".
62403         * elf/rtld-debugger-interface.txt: New file documenting the above.
62405 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62407         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62408         rather than a string variable.
62409         * sunrpc/rpc_main.c (h_output): Likewise.
62410         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62412 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62414         * inet/check_native.c: New file.
62416 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62418         [BZ #13629]
62419         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62420         if larger part has absolute value 1.0.
62421         * math/s_clog10.c (__clog10): Likewise.
62422         * math/s_clog10f.c (__clog10f): Likewise.
62423         * math/s_clog10l.c (__clog10l): Likewise.
62424         * math/s_clogf.c (__clogf): Likewise.
62425         * math/s_clogl.c (__clogl): Likewise.
62426         * math/libm-test.inc (clog_test): Add more tests.
62427         (clog10_test): Likewise.
62428         * sysdeps/i386/fpu/libm-test-ulps: Update.
62429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62431         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62432         (pltexit): Likewise.
62433         (La_regs): Likewise.
62434         (La_retval): Likewise.
62435         (int_retval): Likewise.
62436         Update #error for removed macros to refer only to definitions in
62437         tst-audit.h.
62438         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62439         macro.
62440         (pltexit): Likewise.
62441         (La_regs): Likewise.
62442         (La_retval): Likewise.
62443         (int_retval): Likewise.
62444         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62445         macro.
62446         (pltexit): Likewise.
62447         (La_regs): Likewise.
62448         (La_retval): Likewise.
62449         (int_retval): Likewise.
62450         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62451         macro.
62452         (pltexit): Likewise.
62453         (La_regs): Likewise.
62454         (La_retval): Likewise.
62455         (int_retval): Likewise.
62456         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62457         macro.
62458         (pltexit): Likewise.
62459         (La_regs): Likewise.
62460         (La_retval): Likewise.
62461         (int_retval): Likewise.
62462         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62463         macro.
62464         (pltexit): Likewise.
62465         (La_regs): Likewise.
62466         (La_retval): Likewise.
62467         (int_retval): Likewise.
62468         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62469         macro.
62470         (pltexit): Likewise.
62471         (La_regs): Likewise.
62472         (La_retval): Likewise.
62473         (int_retval): Likewise.
62474         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62475         macro definitions in tst-audit.h.
62476         * sysdeps/i386/tst-audit.h: New file.
62477         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62478         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62479         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62480         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62481         * sysdeps/sh/tst-audit.h: Likewise.
62482         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62483         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62484         * sysdeps/x86_64/tst-audit.h: Likewise.
62486 2012-07-26  Andreas Jaeger  <aj@suse.de>
62488         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62489         ptrace.
62491         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62492         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62493         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62494         PTRACE_O_MASK.
62495         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62496         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62497         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62499         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62500         value.
62502         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62503         _sigsys.
62504         (si_call_addr, si_syscall, si_arch): Define new macro.
62505         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62506         _sigsys.
62507         (si_call_addr, si_syscall, si_arch): Define new marcro.
62508         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62509         _sigsys.
62510         (si_call_addr, si_syscall, si_arch): Define new macro.
62511         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62512         _sigsys.
62513         (si_call_addr, si_syscall, si_arch): Define new macro.
62515 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62517         [BZ #13717]
62518         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62519         Change to 2.4.21 where previously 2.4.1.
62520         * sysdeps/unix/sysv/linux/configure: Regenerated.
62521         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62522         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62523         Linux kernel version.
62524         (__ASSUME_STD_AUXV): Remove.
62525         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62526         kernel version.
62527         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62528         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62529         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62530         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62531         (__ASSUME_NETLINK_SUPPORT): Likewise.
62532         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62533         (__no_netlink_support): Remove conditional definition.
62534         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62535         Remove.
62536         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62537         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62538         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62539         (if_nameindex_ioctl): Remove.
62540         (if_nameindex_netlink): Do not handle __no_netlink_support.
62541         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62542         code.
62543         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62544         Remove conditional code.
62545         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62546         code.
62547         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62548         unconditional.
62549         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62550         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62551         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62552         Remove.
62553         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62554         [!__ASSUME_STD_AUXV]: Remove conditional code.
62555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62556         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62557         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62559         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62560         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62561         code.
62562         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62564         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62565         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62566         conditional code.
62567         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62569         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62570         code.
62571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62572         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62573         conditional code.
62574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62575         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62576         code unconditional.
62577         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62578         conditional code.
62579         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62580         unconditional.
62581         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62582         conditional code.
62583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62584         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62585         unconditional.
62586         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62587         conditional code.
62588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62589         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62590         code unconditional.
62591         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62592         conditional code.
62593         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62594         unconditional.
62595         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62596         conditional code.
62597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62598         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62599         code unconditional.
62600         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62601         conditional code.
62602         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62603         unconditional.
62604         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62605         conditional code.
62607 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62609         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62610         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62611         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62612         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62613         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62614         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62615         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62616         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62617         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62618         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62619         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62620         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62621         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62622         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62623         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62624         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62625         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62626         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62627         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62628         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62629         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62630         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62631         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62633 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62635         * Versions.def: Add GLIBC_2.17.
62636         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62637         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62638         Introduce __libc_secure_getenv.
62639         * stdlib/Versions (2.17): Add secure_getenv
62640         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62641         * stdlib/secure-getenv.c: Rename __secure_getenv to
62642         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62643         symbol __secure_getenv for GLIBC_2.0.
62644         * stdlib/tst-secure-getenv.c: New.
62645         * stdlib/Makefile (tests): Add testcase.
62646         * manual/startup.texi (Environment Access): Document
62647         secure_getenv.
62648         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62649         __libc_secure_getenv.
62650         * inet/ruserpass.c (ruserpass): Likewise.
62651         * malloc/mtrace.c (mtrace): Likewise.
62652         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62653         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62654         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62655         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62656         HAVE_SECURE_GETENV.
62657         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62658         __secure_getenv to __libc_secure_getenv.
62659         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62661         Likewise.
62662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62663         Likewise.
62664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62672 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62674         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62675         (struct La_i86_retval): Likewise.
62676         (struct La_x86_64_regs): Likewise.
62677         (struct La_x86_64_retval): Likewise.
62678         (struct La_x32_regs): Likewise.
62679         (struct La_x32_retval): Likewise.
62680         (struct La_ppc32_regs): Likewise.
62681         (struct La_ppc32_retval): Likewise.
62682         (struct La_ppc64_regs): Likewise.
62683         (struct La_ppc64_retval): Likewise.
62684         (struct La_sh_regs): Likewise.
62685         (struct La_sh_retval): Likewise.
62686         (struct La_s390_32_regs): Likewise.
62687         (struct La_s390_32_retval): Likewise.
62688         (struct La_s390_64_regs): Likewise.
62689         (struct La_s390_64_retval): Likewise.
62690         (struct La_sparc32_regs): Likewise.
62691         (struct La_sparc32_retval): Likewise.
62692         (struct La_sparc64_regs): Likewise.
62693         (struct La_sparc64_retval): Likewise.
62694         (struct audit_ifaces): Remove architecture-specific pltenter and
62695         pltexit members.
62696         * sysdeps/i386/ldsodefs.h: New file.
62697         * sysdeps/powerpc/ldsodefs.h: Likewise.
62698         * sysdeps/s390/ldsodefs.h: Likewise.
62699         * sysdeps/sh/ldsodefs.h: Likewise.
62700         * sysdeps/sparc/ldsodefs.h: Likewise.
62701         * sysdeps/x86_64/ldsodefs.h: Likewise.
62703 2012-07-25  Marek Polacek  <polacek@redhat.com>
62705         [BZ #6808]
62706         * math/libm-test.inc (yn_test): Add another test.
62707         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62708         to ERANGE when the result is +-Inf.
62709         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62710         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62711         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62712         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62714 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62716         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62717         equal to 0.
62718         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62719         clock_t.
62720         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62722 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62724         * configure.in <sysdeps resolving>: Correct printing
62725         Implies_before.
62726         * configure: Regenerate.
62728 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62730         * math/w_ilogb.c: Include <limits.h>.
62731         * math/w_ilogbl.c: Likewise.
62733 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62735         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62736         va_copy.  Document allowing for unavailable va_copy only as
62737         pre-C99 compatibility.
62738         * manual/string.texi (Copying and Concatenation): Use va_copy
62739         instead of __va_copy in concat example.
62741 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62743         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62744         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62745         it if not null.
62747         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62748         with O_NOLINK passed to __file_name_lookup.
62750         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62751         with O_NOLINK passed to __file_name_lookup.
62753         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62754         negative N or less than NGIDS.
62756         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62757         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62758         enough.  Use memcpy instead of strncpy.
62760 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62762         * elf/Makefile (check-data): Remove.
62763         (localplt.data): New vpath directive.
62764         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62765         instead of $(check-data).
62766         * scripts/data/localplt-generic.data: Move to ...
62767         * sysdeps/generic/localplt.data: ... here.
62768         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62769         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62770         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62772         ... here.
62773         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62775         ... here.
62776         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62778         ... here.
62779         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62781         ... here.
62782         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62784         ... here.
62785         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62787         ... here.
62789 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62791         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62792         PPC32 and PPC64 files.
62793         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62794         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62796 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62798         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62799         __makecontext_ret to ...
62800         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62801         ... here and call exit if uc_link is NULL.  New file.
62802         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62803         __makecontext_ret.S.
62804         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62805         __makecontext_ret to ...
62806         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62807         ... here and call exit if uc_link is NULL.  New file.
62808         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62809         __makecontext_ret.S.
62811 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62813         * elf/elf.h (R_390_IRELATIVE): New definition.
62814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62815         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62816         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62817         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62818         (elf_machine_lazy_rel): Likewise.
62819         * sysdeps/s390/dl-irel.h: New file.
62820         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62821         * sysdeps/s390/s390-64/memset.S: New asm code.
62822         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62823         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62824         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62825         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62826         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62827         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62828         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62829         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62830         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62831         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62832         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62833         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62834         * sysdeps/s390/s390-32/memset.S: New asm code.
62835         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62837 2012-07-17  Marek Polacek  <polacek@redhat.com>
62839         [BZ #14349]
62840         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62841         * sysdeps/s390/s390-64/configure.in: Likewise.
62842         * sysdeps/sparc/configure.in: Likewise.
62843         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62844         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62845         * sysdeps/i386/configure.in: Likewise.
62846         * sysdeps/x86_64/configure.in: Likewise.
62847         * sysdeps/sh/configure.in: Likewise.
62848         * sysdeps/s390/s390-32/configure: Regenerated.
62849         * sysdeps/s390/s390-64/configure: Likewise.
62850         * sysdeps/x86_64/configure: Likewise.
62851         * sysdeps/sh/configure: Likewise.
62852         * sysdeps/powerpc/powerpc64/configure: Likewise.
62853         * sysdeps/powerpc/powerpc32/configure: Likewise.
62854         * sysdeps/sparc/configure: Likwise.
62855         * sysdeps/i386/configure: Likewise.
62857         * elf/dl-open.c: Comment fixes.
62859 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62861         * Makefile [CXX] (check-data): Remove.
62862         [CXX] (c++-types.data): New vpath directive.
62863         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62864         vpath.  Do not allow for C++ type data being missing.
62865         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62866         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62867         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62868         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62869         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62870         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62871         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62873         ... here.
62874         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62876         ... here.
62877         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62879         ... here.
62880         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62882         ... here.
62883         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62885         ... here.
62886         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62888         ... here.
62889         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62891         ... here.
62892         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62895         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62896         definitions to architecture-specific files.
62897         (TLS_IE): Likewise.
62898         (TLS_LD): Likewise.
62899         (TLS_GD): Likewise.
62900         * sysdeps/i386/tls-macros.h: New file.
62901         * sysdeps/powerpc/tls-macros.h: Likewise.
62902         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62903         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62904         * sysdeps/sh/tls-macros.h: Likewise.
62905         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62906         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62907         * sysdeps/x86_64/tls-macros.h: Likewise.
62909 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62911         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62912         zero value for regular exit case.
62914         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62915         (__start_context): Preserve zero value for regular exit case.
62917 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62918             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62920         * manual/setjmp.texi (setcontext): Clarify normal process
62921         termination when uc_link is the null pointer.
62922         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62923         exit call.
62925 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62927         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62928         preprocessor.  Test for each exception mask separately.
62930 2012-07-16  Andreas Jaeger  <aj@suse.de>
62932         * po/ru.po: Update from translation team.
62934 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62936         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62937         equal to 0.
62938         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62939         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62940         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62941         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62942         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62944 2012-07-13  Andreas Jaeger  <aj@suse.de>
62946         * po/fr.po: Update from translation team.
62948 2012-07-12  Marek Polacek  <polacek@redhat.com>
62950         [BZ #14173]
62951         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62952         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62953         loop condition.
62955 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62957         [BZ #13717]
62958         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62959         Change to 2.4.1 where previously 2.4.0.
62960         * sysdeps/unix/sysv/linux/configure: Regenerated.
62961         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62962         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62963         version.
62964         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62965         (__ASSUME_AT_CLKTCK): Remove.
62966         (__ASSUME_AT_PAGESIZE): Likewise.
62967         (__ASSUME_AT_XID): Likewise.
62968         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62969         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62970         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62971         unconditionally.
62972         (HAVE_AUX_PAGESIZE): Likewise.
62973         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62974         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62975         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62977 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62979         [BZ #14307]
62980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62981         the temporary buffer used to invoke __gethostbyname2_r,
62982         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62983         host_data / struct gaih_addrtuple.
62984         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62985         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62986         header file nss/nsswitch.h.
62987         * nss/nsswitch.h (global scope): Add definition of implementation
62988         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62989         resolv/nss_dns/dns-host.c).
62991 2012-07-11  Andreas Jaeger  <aj@suse.de>
62993         * po/fr.po: Update from translation team.
62995         * po/sv.po: Update from translation team
62996         * po/fr.po: Another update from translation team.
62998 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63000         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63001         for subnormals or multiply small sinh result by itself.
63002         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63005 2012-07-11  David S. Miller  <davem@davemloft.net>
63007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63009 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63011         [BZ #14347]
63012         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63013         (INTERNAL_MARK): Shift it here.
63015 2012-07-10  Marek Polacek  <polacek@redhat.com>
63017         [BZ #14151]
63018         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63019         libc_cv_asm_global_directive with .globl.
63020         * configure: Regenerated.
63021         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63022         with .globl.
63023         * sysdeps/i386/configure: Regenerated.
63024         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63025         with .globl.
63026         * sysdeps/x86_64/configure: Regenerated.
63027         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63028         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63029         * elf/tst-unique2mod2.c: Likewise.
63030         * elf/tst-unique2mod1.c: Likewise.
63031         * elf/tst-unique1mod2.c: Likewise.
63032         * elf/tst-unique1mod1.c: Likewise.
63033         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63034         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63035         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63036         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63037         * sysdeps/mach/sysdep.h: Likewise.
63038         * sysdeps/i386/sysdep.h: Likewise.
63039         * sysdeps/i386/i386-mcount.S: Likewise.
63040         * sysdeps/x86_64/_mcount.S: Likewise.
63041         * sysdeps/x86_64/sysdep.h: Likewise.
63042         * sysdeps/sh/_mcount.S: Likewise.
63043         * sysdeps/sh/sysdep.h: Likewise.
63044         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63045         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63046         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63047         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63048         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63049         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63050         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63051         * locale/localeinfo.h: Likewise.
63052         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63053         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63055 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63057         [BZ #14336]
63058         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63059         system".
63060         * manual/message.texi (The Uniforum approach): Likewise.
63061         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63062         (glibc iconv Implementation): Likewise.
63064 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63066         [BZ #14337]
63067         * math/s_clog.c (__clog): Avoid scaling a value down where that
63068         could result in underflow.
63069         * math/s_clog10.c (__clog10): Likewise.
63070         * math/s_clog10f.c (__clog10f): Likewise.
63071         * math/s_clog10l.c (__clog10l): Likewise.
63072         * math/s_clogf.c (__clogf): Likewise.
63073         * math/s_clogl.c (__clogl): Likewise.
63074         * math/libm-test.inc (clog_test): Add more tests.
63075         (clog10_test): Likewise.
63076         * sysdeps/i386/fpu/libm-test-ulps: Update.
63077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63079 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63081         [BZ #14283]
63082         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63083         by 7 not 8 to examine high bit of fractional part.
63085         [BZ #14042]
63086         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63087         for call to __mcount_internal.
63088         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63089         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63090         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63092 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63094         [BZ #14154]
63095         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63096         approximation for values within 0x1p-13f of an odd multiple of
63097         pi/4.
63098         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63099         exception.  Add more tests.
63100         * sysdeps/i386/fpu/libm-test-ulps: Update.
63102         [BZ #6778]
63103         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63104         inputs and return -1 for them.  Do not check for +Inf in case not
63105         reachable for +Inf.
63106         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63107         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63108         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63109         and return -1 for them.  Do not check for +Inf in case not
63110         reachable for +Inf.
63111         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63112         define.
63113         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63114         and return -1 for them.  Do not check for +Inf in case not
63115         reachable for +Inf.
63116         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63117         spurious underflow.
63118         * sysdeps/i386/fpu/libm-test-ulps: Update.
63119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63121 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63123         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63125 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63127         [BZ #14157]
63128         [BZ #14331]
63129         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63130         could result in spurious underflow.  Scale down values above
63131         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63132         * math/s_csqrtf.c (__csqrtf): Likewise.
63133         * math/s_csqrtl.c (__csqrtl): Likewise.
63134         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63135         spurious underflow.
63136         * sysdeps/i386/fpu/libm-test-ulps: Update.
63137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63139 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63141         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63142         xopen-msg.sed.
63143         * catgets/xopen-msg.awk: New file.
63144         * catgets/xopen-msg.sed: Removed.
63146         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63147         po2text.sed.
63148         * intl/po2test.awk: New file.
63149         * intl/po2test.sed: Removed.
63151 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63153         [BZ #14328]
63154         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63155         or multiply small sinh result by itself.
63156         * math/s_ctanf.c (__ctanf): Likewise.
63157         * math/s_ctanh.c (__ctanh): Likewise.
63158         * math/s_ctanhf.c (__ctanhf): Likewise.
63159         * math/s_ctanhl.c (__ctanhl): Likewise.
63160         * math/s_ctanl.c (__ctanl): Likewise.
63161         * math/libm-test.inc (ctan_test_tonearest): New function.
63162         (ctan_test_towardzero): Likewise.
63163         (ctan_test_downward): Likewise.
63164         (ctan_test_upward): Likewise.
63165         (ctanh_test_tonearest): Likewise.
63166         (ctanh_test_towardzero): Likewise.
63167         (ctanh_test_downward): Likewise.
63168         (ctanh_test_upward): Likewise.
63169         (main): Call these new functions.
63170         * sysdeps/i386/fpu/libm-test-ulps: Update.
63171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63173 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63175         * .gitignore: Delete /ports entry.
63177 2012-07-03  Andreas Jaeger  <aj@suse.de>
63179         * po/bg.po: Update from translation team.
63180         * po/cs.po: Likewise.
63181         * po/de.po: Likewise.
63182         * po/hr.po: Likewise.
63183         * po/nl.pl: Likewise.
63184         * po/pl.po: Likewise.
63185         * po/vi.po: Likewise.
63187 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63189         * Makeconfig [!+link] (+link-before-libc): New variable.
63190         [!+link] (+link-after-libc): Likewise.
63191         [!+link] (+link-tests): Likewise.
63192         [!+link] (+link): Define in terms of $(+link-before-libc) and
63193         $(+link-after-libc).
63194         [!+link-static] (+link-static-before-libc): New variable.
63195         [!+link-static] (+link-static-after-libc): Likewise.
63196         [!+link-static] (+link-static-tests): Likewise.
63197         [!+link-static] (+link-static): Define in terms of
63198         $(+link-static-before-libc) and $(+link-static-after-libc).
63199         [build-shared] (link-libc-before-gnulib): New variable.
63200         [build-shared] (link-libc-tests): Likewise.
63201         [build-shared] (link-libc): Define in terms of
63202         $(link-libc-before-gnulib).
63203         [!build-shared] (link-libc-tests): New variable.
63204         (link-libc-static-tests): New variable.
63205         [!gnulib] (gnulib-arch): New variable.
63206         [!gnulib] (gnulib-tests): Likewise.
63207         [!gnulib] (static-gnulib-arch): Likewise.
63208         [!gnulib] (static-gnulib-tests): Likewise.
63209         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63210         Define with "=" instead of ":=".
63211         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63212         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63213         * Rules (binaries-all-notests): New variable.
63214         (binaries-all-tests): Likewise.
63215         (binaries-static-notests): Likewise.
63216         (binaries-static-tests): Likewise.
63217         (binaries-all): Define using $(binaries-all-notests) and
63218         $(binaries-all-tests).
63219         (binaries-static): Define using $(binaries-static-notests) and
63220         $(binaries-static-tests).
63221         (binaries-shared-tests): New variable.
63222         (binaries-shared-notests): Likewise.
63223         (binaries-shared): Remove variable.
63224         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63225         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63226         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63227         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63228         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63229         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63230         * elf/Makefile (sln-modules): New variable.
63231         (extra-objs): Add $(sln-modules:=.o).
63232         (ldconfig-modules): Add static-stubs.
63233         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63234         * elf/static-stubs.c: New file.
63236         [BZ #14283]
63237         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63238         by 7 not 8 to examine high bit of fractional part.  Use volatile
63239         variables when splitting into final array of floats if
63240         __FLT_EVAL_METHOD__ != 0.
63241         * math/libm-test.inc (cos_test): Add another test.
63242         (sin_test): Likewise.
63243         * sysdeps/i386/fpu/libm-test-ulps: Update.
63245         [BZ #14273]
63246         * math/libm-test.inc (cosh_test): Add more tests.
63248         * version.h (RELEASE): Set to "development".
63249         (VERSION): Set to "2.16.90".
63251 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63253         * NEWS: Update copyright. Remove last-updated date.
63254         Mention math library bug fixes and timezone data changes.
63255         * README: Mention GNU/Hurd, x32, and HPPA support status.
63257 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63259         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63261 2012-06-27  Andreas Jaeger  <aj@suse.de>
63263         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63265 2012-06-25  Andreas Jaeger  <aj@suse.de>
63267         * sysdeps/s390/fpu/libm-test-ulps: Update.
63269 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63270             Thomas Schwinge  <thomas@codesourcery.com>
63272         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63273         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63274         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63275         fanotify_mark.
63277 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63279         * sysdeps/mach/start.c: Remove file.
63280         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63281         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63282         * sysdeps/sh/init-first.c: Likewise.
63284         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63285         registers for frame unwinding purposes, add CFI directives.
63286         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63287         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63288         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63289         Likewise.
63291         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63292         __fortify_fail returning.
63293         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63295         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63296         sysdeps/sh/____longjmp_chk.S.
63297         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63298         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63299         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63300         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63302         * sysdeps/sh/abort-instr.h: New file.
63303         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63304         process in case exit returns.
63306         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63307         initialize the GOT register before use.
63309         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63310         calculation of ARGC > 4.
63312         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63313         meaningful names to some local labels.
63315 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63316             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63318         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63319         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63320         (__arch_compare_and_exchange_val_16_acq): Likewise.
63321         (__arch_compare_and_exchange_val_32_acq): Likewise.
63322         (atomic_exchange_and_add): Fix gUSA sequence.
63323         (atomic_add): Likewise.
63324         (atomic_add_negative): Likewise.
63325         (atomic_add_zero): Likewise.
63326         (atomic_bit_test_set): Likewise.
63328 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63330         [BZ #13579]
63331         * include/link.h (struct link_map): Add l_free_initfini.
63332         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63333         l_initfini.
63334         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63335         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63336         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63337         set.
63339 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63341         * configure.in: Use AC_LANG_SOURCE.
63342         * configure: Regenerate.
63344 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63346         * configure.in (libc_cv_localstatedir): New substituted variable.
63347         * configure: Regenerated.
63348         * config.make.in (localstatedir): New variable, substituted from
63349         libc_cv_localstatedir.
63350         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63351         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63352         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63353         * sysdeps/gnu/configure: Regenerated.
63355 2012-06-21  Jeff Law  <law@redhat.com>
63357         [BZ #14277]
63358         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63359         free.  Simplify list management for _LIBC case.
63361 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63363         [BZ #14273]
63364         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63365         Clear sign bit of 64-bit integer value before comparing against
63366         overflow value.
63368         * sysdeps/mach/configure: Regenerated.
63370 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63372         [BZ #14278]
63373         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63375 2012-06-21  Jeff Law  <law@redhat.com>
63377         [BZ #13882]
63378         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63379         uint16_t for elements in the "seen" array to avoid char overflows.
63380         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63381         * elf/dl-open.c (dl_open_worker): Likewise.
63383 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63385         * scripts/list-sources.sh: Scan PORTS for translations.
63386         * po/libc.pot: Regenerated.
63388 2012-06-21  Andreas Jaeger  <aj@suse.de>
63390         [BZ #12194]
63391         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63392         warning.
63393         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63394         * bits/byteswap-16.h (__bswap_16): Likewise.
63395         * bits/byteswap.h (__bswap_constant_16): Likewise.
63397 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63399         [BZ #14117]
63400         * sysdeps/i386/fpu_control.h: Removed.
63401         * sysdeps/x86_64/fpu_control.h: Moved to ...
63402         * sysdeps/x86/fpu_control.h: Here.
63404         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63405         (_FPU_SETCW): Likewise.
63407 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63409         [BZ #14117]
63410         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63411         * sysdeps/x86/fpu/bits/mathinline.h: This.
63412         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63414         [BZ #14050]
63415         [BZ #14117]
63416         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63417         functions if __x86_64__ is defined.
63419 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63421         * string/endian.h: Add !__ASSEMBLER__ condition for including
63422         conversion interfaces.
63424 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63426         [BZ #14241]
63427         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63428         of ABS(x) in calculating zero to negative powers other than odd
63429         integers.
63430         * math/libm-test.inc (pow_test): Add more tests.
63432 2012-06-15  Andreas Jaeger  <aj@suse.de>
63434         * manual/contrib.texi (Contributors): Update entry of Liubov
63435         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63436         Machado Filho.
63438 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63440         * string/string.h: Add __wur to GNU version of strerror_r.
63442 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63444         [BZ #14229]
63445         * string/Makefile (tests): Add tst-strtok_r.
63446         * string/tst-strtok_r.c: New file.
63447         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63448         RAX_LP/RDX_LP on SAVE_PTR.
63450 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63452         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63454 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63456         * libm_test.inc (csqrt_test): Allow more spurious underflow
63457         exceptions.
63458         (j0_test): Likewise.
63459         (j1_test): Likewise.
63460         (y0_test): Likewise.
63461         (y1_test): Likewise.
63463 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63465         * po/Makefile (libc.pot): Use UTF-8 charset.
63467 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63469         [BZ #14210]
63470         Suppress sign-conversion warning from FD_SET.
63471         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63472         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63473         not unsigned long int.
63474         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63476 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63478         [BZ #14050]
63479         [BZ #14117]
63480         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63481         __extern_always_inline instead of __extern_inline.
63482         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63483         (__signbit): Likewise.
63484         (__signbitl): Support C++ namespace.
63485         (lrintf): New inline function.
63486         (lrint): Likewise.
63487         (llrintf): Likewise.
63488         (llrint): Likewise.
63489         (fmaxf): Likewise.
63490         (fmax): Likewise.
63491         (fminf): Likewise.
63492         (fmin): Likewise.
63493         (rint): Likewise.
63494         (rintf): Likewise.
63495         (ceil): Likewise.
63496         (ceilf): Likewise.
63497         (floor): Likewise.
63498         (floorf): Likewise.
63499         (nearbyint): Likewise.
63500         (nearbyintf): Likewise.
63502 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63504         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63505         non-default versions.
63507 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63509         [BZ #14218]
63510         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63512 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63514         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63515         (FE_UPWARD, FE_DOWNWARD): Don't define.
63516         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63517         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63519         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63520         reading it.
63521         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63522         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63524 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63526         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63527         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63528         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63529         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63531 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63533         [BZ #14117]
63534         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63535         * sysdeps/i386/fpu/Implies: New file.
63536         * sysdeps/x86_64/fpu/Implies: Likewise.
63537         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63538         * sysdeps/x86/fpu/bits/fenv.h: This.
63540         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63541         __SSE_MATH__.
63543 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63545         [BZ #14134]
63546         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63547         character 0xffff that matches the last element of the
63548         conversion table.
63550 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63552         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63553         fmodl commit.
63555 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63557         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63558         values higher than 25.6283.
63560 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63562         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63563         subnormal exponent extraction and add some __builtin_expect.
63564         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63565         Fix for subnormal mantissa calculation.
63567 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63569         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63570         cpu2 is -1 and errno is not ENOSYS.
63572 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63574         [BZ #14117]
63575         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63576         * sysdeps/x86/bits/string.h: This.
63577         * sysdeps/x86_64/bits/string.h: Removed.
63579         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63580         if not compiling for x86-64, but compiling for >= i486.
63582         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63583         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63585         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63586         New macro from Linux kernel 3.4.0.
63587         (FP_XSTATE_MAGIC2): Likewise.
63588         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63589         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63590         (struct _fpx_sw_bytes): New struct.
63591         (struct _xsave_hdr): Likewise.
63592         (struct _ymmh_state): Likewise.
63593         (struct _xstate): Likewise.
63595         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63596         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63597         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63598         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63599         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63600         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63602         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63603         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63604         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63605         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63606         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63607         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63609 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63611         [BZ #13743]
63612         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63613         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63614         (sysdep_headers): Include sys/platform/ppc.h.
63615         * sysdeps/powerpc/test-gettimebase.c: Test for
63616         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63617         * manual/Makefile (appendices): Include platform.texi.
63618         * manual/contrib.texi (Contributors): Update @node pointers.
63619         * manual/maint.texi (Maintenance): Likewise.
63620         (Platform): New node.
63621         * manual/platform.texi: New file.  Document the new features.
63623 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63624             Jakub Jelinek  <jakub@redhat.com>
63626         [BZ #14188]
63627         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63628         where __builtin_expect is unavailable.
63630 2012-06-03  David S. Miller  <davem@davemloft.net>
63632         * stdlib/longlong.h: Updated from GCC.
63634 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63636         [BZ #14042]
63637         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63638         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63639         __mcount_internal.
63640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63641         (GLIBC_2.16): Likewise.
63643 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63645         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63647 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63650         (default-abi): New variable.
63651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63652         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63653         variable.
63654         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63655         Likewise.
63656         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63657         Likewise.
63658         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63659         Likewise.
63661         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63662         definition.  Document in comment.
63664 2012-06-01  David S. Miller  <davem@davemloft.net>
63666         * stdlib/longlong.h: Updated from GCC.
63668 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63670         [BZ #14117]
63671         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63672         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63673         sys/debugreg.h sys/io.h here.
63674         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63675         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63676         sys/io.h.
63677         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63678         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63679         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63680         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63681         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63682         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63684         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63685         Define only if __x86_64__ is defined.
63687 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63689         [BZ #14048]
63690         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63691         Use int64_t for variable i.
63692         * math/libm-test.inc (fmod_test): Add more tests.
63694         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63695         z computation is not scheduled after fetestexcept.
63696         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63697         Use math_force_eval instead of asm to ensure calculation scheduled
63698         before exception test.
63699         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63700         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63702 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63705         computation is not scheduled after fetestexcept.
63707 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63709         [BZ #14117]
63710         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63711         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63713 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63715         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63716         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63718 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63720         [BZ #14117]
63721         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63722         <bits/wordsize.h>.
63723         (__WCHAR_MIN): Support __WORDSIZE == 64.
63724         (__WCHAR_MAX): Likewise.
63726         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63727         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63729         [BZ #14183]
63730         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63731         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63733         [BZ #14117]
63734         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63735         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63737         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63738         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63740         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63741         Defined to 1 if __x86_64__ isn't defined.
63742         (_STAT_VER_LINUX_OLD): New.
63743         (st_atime): Remove duplicate.
63744         (st_mtime): Likewise.
63745         (st_ctime): Likewise.
63747 2012-05-31  David S. Miller  <davem@davemloft.net>
63749         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63750         entries.
63752 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63754         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63755         gen-libm-test.pl.
63757         [BZ #14132]
63758         * elf/dl-reloc.c: Include <_itoa.h>.
63759         (_dl_reloc_bad_type): Remove use of INTUSE.
63760         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63761         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63762         * stdio-common/psiginfo.c (psiginfo): Likewise.
63763         * stdio-common/psignal.c (psignal): Likewise.
63764         * string/strsignal.c (strsignal): Likewise.
63765         * include/signal.h (_sys_siglist): Declare hidden proto.
63766         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63767         INTVARDEF with libc_hidden_data_def.
63768         * stdio-common/itoa-udigits.c: Likewise.
63769         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63770         (_itoa_lower_digits_internal): Remove declaration.
63771         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63772         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63773         (_sys_sigabbrev_internal): Remove aliases.
63774         (_sys_siglist): Define hidden alias.
63776 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63778         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63779         bits/sysctl.h.
63781 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63783         [BZ #14117]
63784         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63785         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63787         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63788         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63789         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63790         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63791         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63792         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63794         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63795         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63796         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63798         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63799         with __addr.
63800         (insw): Likewise.
63801         (insl): Likewise.
63802         (outsb): Likewise.
63803         (outsw): Likewise.
63804         (outsl): Likewise.
63806         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63807         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63808         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63810         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63811         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63812         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63813         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63814         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63815         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63817         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63818         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63820         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63821         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63823         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63824         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63825         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63827         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63828         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63829         to ...
63830         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63832         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63833         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63834         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63836         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63837         for x86-64.
63838         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63840 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63842         * math/math.h (M_El): Use two more decimal places.
63843         (M_LOG2El): Likewise.
63844         (M_LOG10El): Likewise.
63845         (M_LN2l): Likewise.
63846         (M_LN10l): Likewise.
63847         (M_PIl): Likewise.
63848         (M_PI_2l): Likewise.
63849         (M_PI_4l): Likewise.
63850         (M_1_PIl): Likewise.
63851         (M_2_PIl): Likewise.
63852         (M_2_SQRTPIl): Likewise.
63853         (M_SQRT2l): Likewise.
63854         (M_SQRT1_2l): Likewise.
63856 2012-05-31  David S. Miller  <davem@davemloft.net>
63858         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63859         values between float registers.
63860         * sysdeps/sparc/sparc64/memset.S: Likewise.
63861         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63863 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63865         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63866         -D_FORTIFY_SOURCE=1.
63867         (CPPFLAGS-tst-longjmp_chk.c): Define.
63868         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63869         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63870         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63871         CFLAGS-tst-wchar-h.c.
63873 2012-05-31  Marek Polacek  <polacek@redhat.com>
63875         [BZ #14132]
63876         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63877         __endmntent_internal): Remove declaration.
63878         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63879         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63880         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63882 2012-05-30  David S. Miller  <davem@davemloft.net>
63884         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63885         (___Q_simulate_exceptions): Use real FP ops rather than writing
63886         into the %fsr.
63887         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63888         Likewise.
63890 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63892         [BZ #14117]
63893         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63894         * sysdeps/x86/bits/xtitypes.h: This.
63896         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63897         * sysdeps/x86/bits/wordsize.h: This.
63899         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63900         * sysdeps/x86/bits/huge_vall.h: This.
63902         * sysdeps/i386/bits/select.h: Removed.
63903         * sysdeps/x86_64/bits/select.h: Renamed to ...
63904         * sysdeps/x86/bits/select.h: This.
63906         * sysdeps/i386/bits/setjmp.h: Removed.
63907         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63908         * sysdeps/x86/bits/setjmp.h: This.
63910         * sysdeps/i386/bits/mathdef.h: Removed.
63911         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63912         * sysdeps/x86/bits/mathdef.h: This.
63914 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63916         [BZ #14132]
63917         * include/sys/socket.h (__connect_internal)
63918         (__libc_sa_len_internal): Remove declaration.
63919         (__connect, __libc_sa_len): Declare hidden_proto.
63920         (SA_LEN): Remove use of INTUSE.
63921         * socket/connect.c: Add libc_hidden_def.
63922         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63923         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63924         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63925         alias.
63926         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63927         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63928         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63929         of adding _internal alias.
63931 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63933         [BZ #14117]
63934         * sysdeps/i386/bits/link.h: Removed.
63935         * sysdeps/i386/bits/linkmap.h: Likewise.
63936         * sysdeps/x86_64/bits/link.h: Renamed to ...
63937         * sysdeps/x86/bits/link.h: This.
63938         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63939         * sysdeps/x86/bits/linkmap.h: This.
63941         * sysdeps/i386/bits/endian.h: Removed.
63942         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63943         * sysdeps/x86/bits/endian.h: This.
63945         * sysdeps/i386/bits/byteswap.h: Removed.
63946         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63947         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63948         * sysdeps/x86/bits/byteswap.h: This.
63949         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63950         * sysdeps/x86/bits/byteswap-16.h: This.
63951         * sysdeps/i386/Implies: Add x86.
63952         * sysdeps/x86_64/Implies: Likewise.
63954 2012-05-30  David S. Miller  <davem@davemloft.net>
63956         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63957         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63958         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63959         (FP_TRAPPING_EXCEPTIONS): Define.
63960         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63961         (FP_TRAPPING_EXCEPTIONS): Define.
63962         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63963         subnormals only when inexact has been signalled or underflow
63964         exceptions are enabled.
63965         (_FP_PACK_CANONICAL): Likewise.
63967 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63969         [BZ #14183]
63970         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63971         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63973 2012-05-30  Richard Henderson  <rth@twiddle.net>
63975         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63976         with #ifndef NOT_IN_libc.
63978         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63979         marked to avoid plt entry.
63981 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63983         [BZ #14112]
63984         * Makeconfig (default-abi): New macro.
63985         (abi-includes): Likewise.
63986         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63987         $(abi-$(default-abi)-lib-soname) for soname if defined.
63988         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63989         abi-variants.
63990         * Makefile (installed-stubs): Likewise.
63991         * include/stubs-biarch.h: Removed.
63992         * scripts/lib-names.awk: Only handle one library at a time.
63993         * scripts/soversions.awk: Remove WORDSIZE support.
63994         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63995         entries.
63996         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63997         Removed.
63998         (syscall-list-default-condition): Likewise.
63999         (syscall-list-default-condition): Likewise.
64000         (syscall-list-includes): Likewise.
64001         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64002         syscall-list-* with abi-*.  Handle undefined abi-variants.
64003         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64004         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64005         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64006         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64007         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64008         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64009         Removed.
64010         (syscall-list-32-options): Likewise.
64011         (syscall-list-32-condition): Likewise.
64012         (syscall-list-64-options): Likewise.
64013         (syscall-list-64-condition): Likewise.
64014         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64015         macro.
64016         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64017         Renamed to ...
64018         (abi-*): This.
64019         (abi-64-ld-soname): New macro.
64020         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64021         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64022         Renamed to ...
64023         (abi-*): This.
64024         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64025         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64027 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64029         * sysdeps/unix/sysv/linux/kernel-features.h
64030         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64031         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64032         include <kernel-features.h>.
64033         [!__NR_ftruncate64]: Remove conditional code.
64034         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64035         [__NR_ftruncate64]: Make code unconditional.
64036         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64037         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64038         include <kernel-features.h>.
64039         [!__NR_ftruncate64]: Remove conditional code.
64040         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64041         [__NR_ftruncate64]: Make code unconditional.
64042         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64044         include <kernel-features.h>.
64045         [!__NR_ftruncate64]: Remove conditional code.
64046         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64047         [__NR_ftruncate64]: Make code unconditional.
64048         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64050         include <kernel-features.h>.
64051         [!__NR_ftruncate64]: Remove conditional code.
64052         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64053         [__NR_ftruncate64]: Make code unconditional.
64054         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64056         * configure.in (libc_cv_fpie): Weaken to a compile test using
64057         LIBC_TRY_CC_OPTION.
64058         * configure: Regenerated.
64060 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64066         Refreshed.
64067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64073         Refreshed.
64075 2012-05-27  David S. Miller  <davem@davemloft.net>
64077         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64078         (___Q_zero): New.
64079         (__Q_simulate_exceptions): Return void.  Change to simulate
64080         exceptions by writing into the %fsr.
64081         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64082         (__Qp_handle_exceptions): Likewise.
64083         (numbers): Delete.
64084         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64085         __Qp_handle_exceptions.
64086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64087         __Qp_handle_exceptions.
64088         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64089         as unused and give dummy FP_RND_NEAREST initializer.
64090         (FP_INHIBIT_RESULTS): Define.
64091         (___Q_simulate_exceptions): Update declaration.
64092         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64093         formatting.
64094         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64095         as unused and give dummy FP_RND_NEAREST initializer.
64096         (__Qp_handle_exceptions): Update declaration.
64097         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64098         formatting.
64100 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64102         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64103         the temporary FPU control word.
64104         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64105         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64106         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64107         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64108         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64109         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64110         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64111         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64112         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64113         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64114         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64116 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64118         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64119         fields.
64121 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64123         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64124         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64125         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64126         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64127         Likewise.
64128         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64129         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64130         Likewise.
64132 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64134         * po/h.po: Update from translation team.
64136 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64138         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64140         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64141         handling of denormals.
64142         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64143         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64144         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64145         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64146         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64147         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64148         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64149         Likewise.
64151 2012-05-26  Marek Polacek  <polacek@redhat.com>
64153         [BZ #14152]
64154         * math/libm-test.inc (fma_test): Don't always expect underflow
64155         exception.
64157 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64159         [BZ #12416]
64160         * elf/tst-execstack.c: Include stackinfo.h.
64161         (do_test): Adjust test case to ensure that pthread_getattr_np
64162         behaviour remains the same after marking stack executable.
64164 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64166         * sysdeps/unix/sysv/linux/kernel-features.h
64167         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64168         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64169         kernel-features.h.
64170         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64171         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64172         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64173         kernel-features.h.
64174         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64175         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64177 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64179         * configure.in: Define the default includes to being none.
64180         * configure: Regenerated.
64182 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64184         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64185         * sysdeps/x86_64/setjmp.S: Likewise.
64186         * sysdeps/i386/bsd-setjmp.S: Likewise.
64187         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64188         * sysdeps/i386/setjmp.S: Likewise.
64189         * sysdeps/i386/__longjmp.S: Likewise.
64190         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64191         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64193         * include/stap-probe.h: New file.
64194         * configure.in: Handle --enable-systemtap.
64195         * configure: Regenerated.
64196         * config.h.in (USE_STAP_PROBE): New #undef.
64197         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64198         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64199         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64201 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64203         [BZ #13717]
64204         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64205         to 2.4.0 where earlier.
64206         * sysdeps/unix/sysv/linux/configure: Regenerated.
64207         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64208         <kernel-features.h>.
64209         [__ASSUME_32BITUIDS]: Make code unconditional.
64210         [!__ASSUME_32BITUIDS]: Remove conditional code.
64211         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64212         <kernel-features.h>.
64213         [__ASSUME_32BITUIDS]: Make code unconditional.
64214         [!__ASSUME_32BITUIDS]: Remove conditional code.
64215         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64216         [__ASSUME_32BITUIDS]: Make code unconditional.
64217         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64218         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64219         <kernel-features.h>.
64220         [__ASSUME_32BITUIDS]: Make code unconditional.
64221         [!__ASSUME_32BITUIDS]: Remove conditional code.
64222         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64223         <kernel-features.h>.
64224         [__ASSUME_32BITUIDS]: Make code unconditional.
64225         [!__ASSUME_32BITUIDS]: Remove conditional code.
64226         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64227         <kernel-features.h>.
64228         [__ASSUME_32BITUIDS]: Make code unconditional.
64229         [!__ASSUME_32BITUIDS]: Remove conditional code.
64230         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64231         <kernel-features.h>.
64232         [__ASSUME_32BITUIDS]: Make code unconditional.
64233         [!__ASSUME_32BITUIDS]: Remove conditional code.
64234         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64235         <kernel-features.h>.
64236         [__ASSUME_32BITUIDS]: Make code unconditional.
64237         [!__ASSUME_32BITUIDS]: Remove conditional code.
64238         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64239         <kernel-features.h>.
64240         [__ASSUME_32BITUIDS]: Make code unconditional.
64241         [!__ASSUME_32BITUIDS]: Remove conditional code.
64242         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64243         <kernel-features.h>.
64244         [__ASSUME_32BITUIDS]: Make code unconditional.
64245         [!__ASSUME_32BITUIDS]: Remove conditional code.
64246         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64247         <kernel-features.h>.
64248         [__ASSUME_32BITUIDS]: Make code unconditional.
64249         [!__ASSUME_32BITUIDS]: Remove conditional code.
64250         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64251         <kernel-features.h>.
64252         [__ASSUME_32BITUIDS]: Make code unconditional.
64253         [!__ASSUME_32BITUIDS]: Remove conditional code.
64254         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64255         <kernel-features.h>.
64256         [__ASSUME_32BITUIDS]: Make code unconditional.
64257         [!__ASSUME_32BITUIDS]: Remove conditional code.
64258         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64259         <kernel-features.h>.
64260         [__NR_setresgid] (__setresgid): Do not declare.
64261         [__ASSUME_32BITUIDS]: Make code unconditional.
64262         [!__ASSUME_32BITUIDS]: Remove conditional code.
64263         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64264         <kernel-features.h>.
64265         [__NR_setresuid] (__setresuid): Do not declare.
64266         [__ASSUME_32BITUIDS]: Make code unconditional.
64267         [!__ASSUME_32BITUIDS]: Remove conditional code.
64268         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64269         <kernel-features.h>.
64270         [__ASSUME_32BITUIDS]: Make code unconditional.
64271         [!__ASSUME_32BITUIDS]: Remove conditional code.
64272         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64273         <kernel-features.h>.
64274         [__ASSUME_32BITUIDS]: Make code unconditional.
64275         [!__ASSUME_32BITUIDS]: Remove conditional code.
64276         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64277         <kernel-features.h>.
64278         [__ASSUME_32BITUIDS]: Make code unconditional.
64279         [!__ASSUME_32BITUIDS]: Remove conditional code.
64280         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64281         <kernel-features.h>.
64282         [__ASSUME_32BITUIDS]: Make code unconditional.
64283         [!__ASSUME_32BITUIDS]: Remove conditional code.
64284         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64285         <kernel-features.h>.
64286         [__ASSUME_32BITUIDS]: Make code unconditional.
64287         [!__ASSUME_32BITUIDS]: Remove conditional code.
64288         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64289         <kernel-features.h>.
64290         [__ASSUME_32BITUIDS]: Make code unconditional.
64291         [!__ASSUME_32BITUIDS]: Remove conditional code.
64292         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64293         <kernel-features.h>.
64294         [__ASSUME_32BITUIDS]: Make code unconditional.
64295         [!__ASSUME_32BITUIDS]: Remove conditional code.
64296         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64297         <kernel-features.h>.
64298         [__ASSUME_32BITUIDS]: Make code unconditional.
64299         [!__ASSUME_32BITUIDS]: Remove conditional code.
64300         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64301         <kernel-features.h>.
64302         [__ASSUME_32BITUIDS]: Make code unconditional.
64303         [!__ASSUME_32BITUIDS]: Remove conditional code.
64304         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64305         <kernel-features.h>.
64306         [__ASSUME_32BITUIDS]: Make code unconditional.
64307         [!__ASSUME_32BITUIDS]: Remove conditional code.
64308         * sysdeps/unix/sysv/linux/kernel-features.h
64309         (__ASSUME_SETRESUID_SYSCALL): Remove.
64310         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64311         (__ASSUME_32BITUIDS): Likewise.
64312         (__ASSUME_LDT_WORKS): Likewise.
64313         (__ASSUME_O_DIRECTORY): Likewise.
64314         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64315         architecture but not kernel version.
64316         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64317         (__ASSUME_MMAP2_SYSCALL): Likewise.
64318         (__ASSUME_STAT64_SYSCALL): Likewise.
64319         (__ASSUME_IPC64): Likewise.
64320         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64321         <kernel-features.h>.
64322         [__ASSUME_32BITUIDS]: Make code unconditional.
64323         [!__ASSUME_32BITUIDS]: Remove conditional code.
64324         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64325         <kernel-features.h>.
64326         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64327         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64328         132096]: Remove conditional code.
64329         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64330         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64331         <kernel-features.h>.
64332         [__ASSUME_32BITUIDS]: Make code unconditional.
64333         [!__ASSUME_32BITUIDS]: Remove conditional code.
64334         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64335         <kernel-features.h>.
64336         [__ASSUME_32BITUIDS]: Make code unconditional.
64337         [!__ASSUME_32BITUIDS]: Remove conditional code.
64338         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64339         <kernel-features.h>.
64340         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64341         unconditional.
64342         (__setresgid): Do not declare.
64343         [__ASSUME_32BITUIDS]: Make code unconditional.
64344         [!__ASSUME_32BITUIDS]: Remove conditional code.
64345         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64346         <kernel-features.h>.
64347         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64348         unconditional.
64349         (__setresuid): Do not declare.
64350         [__ASSUME_32BITUIDS]: Make code unconditional.
64351         [!__ASSUME_32BITUIDS]: Remove conditional code.
64352         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64353         <kernel-features.h>.
64354         [__ASSUME_32BITUIDS]: Make code unconditional.
64355         [!__ASSUME_32BITUIDS]: Remove conditional code.
64356         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64357         <kernel-features.h>.
64358         [__ASSUME_32BITUIDS]: Make code unconditional.
64359         [!__ASSUME_32BITUIDS]: Remove conditional code.
64361 2012-05-25  Richard Henderson  <rth@twiddle.net>
64363         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64364         dl_hwcap to ifunc resolver.
64365         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64366         elf_ifunc_invoke.
64367         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64368         dl_hwcap to ifunc resolver.
64369         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64371 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64373         [BZ #14153]
64374         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64375         for |x| <= 2**-26, not 2**-57.
64376         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64377         exception.
64379 2012-05-24  Jeff Law  <law@redhat.com>
64381         * stdio-common/Makefile (tests): Add bug25.
64382         * stdio-common/bug25.c: New test.
64384 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64386         [BZ #13576]
64387         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64388         multiple of MALLOC_ALIGNMENT in size.
64389         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64391 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64393         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64394         Require >= 256.
64395         (FILENAME_MAX): Use macro-int-constant.
64396         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64397         (_IOFBF): Use macro-int-constant.
64398         (_IOLBF): Likewise.
64399         (_IONBF): Likewise.
64400         (SEEK_CUR): Likewise.
64401         (SEEK_END): Likewise.
64402         (SEEK_SET): Likewise.
64403         (TMP_MAX): Likewise.
64404         (EOF): Use macro-int-constant.  Require < 0.
64405         (NULL): Use macro-constant.  Require == 0.
64406         (stdin): Require type to be FILE *.
64407         (stdout): Likewise.
64408         (stderr): Likewise.
64409         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64410         macro-int-constant.
64411         (EXIT_SUCCESS): Likewise.
64412         (NULL): Use macro-constant.  Require == 0.
64413         (RAND_MAX): Use macro-int-constant.
64414         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64415         [C99-based standards] (strtof): Require function.
64416         [C99-based standards] (strtold): Likewise.
64417         [C99-based standards] (strtoll): Likewise.
64418         [C99-based standards] (strtoull): Likewise.
64419         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64420         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64421         [ISO || ISO99 || ISO11] (math.h): Likewise.
64422         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64423         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64424         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64426 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64428         [BZ #14132]
64429         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64430         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64431         * intl/dgettext.c (DCGETTEXT): Likewise.
64432         * intl/gettext.c (DCGETTEXT): Likewise.
64433         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64434         * posix/regex_internal.h (gettext): Likewise.
64435         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64436         Remove declaration.
64437         * include/argz.h (__argz_count_internal)
64438         (__argz_stringify_internal): Remove declaration.
64439         (__argz_count, __argz_stringify): Declare hidden proto.
64440         * intl/dcgettext.c: Remove use of INTDEF.
64441         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64442         * string/argz-stringify.c: Likewise.
64443         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64444         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64445         Declare hidden proto.
64446         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64447         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64448         Declare hidden proto.
64449         * include/stdio.h (__asprintf_internal): Don't declare.
64450         (__asprintf): Don't define as macro.  Declare hidden proto.
64451         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64452         (__fsetlocking): Declare hidden proto.
64453         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64454         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64455         hidden proto.
64456         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64457         (_IO_setlinebuf): Remove use of INTUSE.
64458         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64459         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64460         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64461         Remove declaration.
64462         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64463         (_IO_do_flush): Remove use of INTUSE.
64464         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64465         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64466         (_IO_adjust_column, _IO_least_wmarker)
64467         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64468         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64469         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64470         (_IO_default_doallocate, _IO_wdefault_doallocate)
64471         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64472         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64473         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64474         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64475         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64476         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64477         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64478         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64479         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64480         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64481         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64482         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64483         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64484         proto.
64485         (_IO_flush_all_internal, _IO_adjust_column_internal)
64486         (_IO_default_uflow_internal, _IO_default_finish_internal)
64487         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64488         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64489         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64490         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64491         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64492         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64493         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64494         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64495         (_IO_file_close_internal, _IO_file_close_it_internal)
64496         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64497         (_IO_file_init_internal, _IO_file_attach_internal)
64498         (_IO_file_fopen_internal, _IO_file_read_internal)
64499         (_IO_file_sync_internal, _IO_file_seek_internal)
64500         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64501         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64502         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64503         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64504         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64505         (_IO_list_all_internal, _IO_link_in_internal)
64506         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64507         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64508         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64509         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64510         (_IO_do_write_internal, _IO_padn_internal)
64511         (_IO_getline_info_internal, _IO_getline_internal)
64512         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64513         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64514         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64515         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64516         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64517         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64518         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64519         with libc_hidden_ver, remove use of INTUSE.
64520         * libio/genops.c: Likewise.
64521         * libio/freopen.c: Likewise.
64522         * libio/freopen64.c: Likewise.
64523         * libio/iofclose.c: Likewise.
64524         * libio/iofdopen.c: Likewise.
64525         * libio/iofflush.c: Likewise.
64526         * libio/iofflush_u.c: Likewise.
64527         * libio/iofgets.c: Likewise.
64528         * libio/iofgets_u.c: Likewise.
64529         * libio/iofopen.c: Likewise.
64530         * libio/iofopncook.c: Likewise.
64531         * libio/iofread.c: Likewise.
64532         * libio/iofread_u.c: Likewise.
64533         * libio/ioftell.c: Likewise.
64534         * libio/iofwrite.c: Likewise.
64535         * libio/iogetline.c: Likewise.
64536         * libio/iogets.c: Likewise.
64537         * libio/iogetwline.c: Likewise.
64538         * libio/iopadn.c: Likewise.
64539         * libio/iopopen.c: Likewise.
64540         * libio/ioseekoff.c: Likewise.
64541         * libio/ioseekpos.c: Likewise.
64542         * libio/iosetbuffer.c: Likewise.
64543         * libio/iosetvbuf.c: Likewise.
64544         * libio/ioungetc.c: Likewise.
64545         * libio/ioungetwc.c: Likewise.
64546         * libio/iovdprintf.c: Likewise.
64547         * libio/iovsprintf.c: Likewise.
64548         * libio/iovsscanf.c: Likewise.
64549         * libio/memstream.c: Likewise.
64550         * libio/obprintf.c: Likewise.
64551         * libio/oldfileops.c: Likewise.
64552         * libio/oldiofclose.c: Likewise.
64553         * libio/oldiofdopen.c: Likewise.
64554         * libio/oldiofopen.c: Likewise.
64555         * libio/oldiopopen.c: Likewise.
64556         * libio/oldstdfiles.c: Likewise.
64557         * libio/putc.c: Likewise.
64558         * libio/setbuf.c: Likewise.
64559         * libio/setlinebuf.c: Likewise.
64560         * libio/stdfiles.c: Likewise.
64561         * libio/strops.c: Likewise.
64562         * libio/vasprintf.c: Likewise.
64563         * libio/vscanf.c: Likewise.
64564         * libio/vsnprintf.c: Likewise.
64565         * libio/vswprintf.c: Likewise.
64566         * libio/wfiledoalloc.c: Likewise.
64567         * libio/wfileops.c: Likewise.
64568         * libio/wgenops.c: Likewise.
64569         * libio/wmemstream.c: Likewise.
64570         * libio/wstrops.c: Likewise.
64571         * libio/__fpurge.c: Likewise.
64572         * libio/__fsetlocking.c: Likewise.
64573         * assert/assert.c: Likewise.
64574         * debug/fgets_chk.c: Likewise.
64575         * debug/fgets_u_chk.c: Likewise.
64576         * debug/fread_chk.c: Likewise.
64577         * debug/fread_u_chk.c: Likewise.
64578         * debug/gets_chk.c: Likewise.
64579         * debug/obprintf_chk.c: Likewise.
64580         * debug/vasprintf_chk.c: Likewise.
64581         * debug/vdprintf_chk.c: Likewise.
64582         * debug/vsnprintf_chk.c: Likewise.
64583         * debug/vsprintf_chk.c: Likewise.
64584         * malloc/mtrace.c: Likewise.
64585         * misc/error.c: Likewise.
64586         * misc/syslog.c: Likewise.
64587         * stdio-common/asprintf.c: Likewise.
64588         * stdio-common/fxprintf.c: Likewise.
64589         * stdio-common/getw.c: Likewise.
64590         * stdio-common/isoc99_fscanf.c: Likewise.
64591         * stdio-common/isoc99_scanf.c: Likewise.
64592         * stdio-common/isoc99_vfscanf.c: Likewise.
64593         * stdio-common/isoc99_vscanf.c: Likewise.
64594         * stdio-common/isoc99_vsscanf.c: Likewise.
64595         * stdio-common/printf-prs.c: Likewise.
64596         * stdio-common/printf_fp.c: Likewise.
64597         * stdio-common/printf_fphex.c: Likewise.
64598         * stdio-common/printf_size.c: Likewise.
64599         * stdio-common/putw.c: Likewise.
64600         * stdio-common/scanf.c: Likewise.
64601         * stdio-common/sprintf.c: Likewise.
64602         * stdio-common/tmpfile.c: Likewise.
64603         * stdio-common/vfprintf.c: Likewise.
64604         * stdio-common/vfscanf.c: Likewise.
64605         * stdlib/strfmon_l.c: Likewise.
64606         * sunrpc/openchild.c: Likewise.
64607         * sunrpc/xdr_stdio.c: Likewise.
64608         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64609         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64611 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64613         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64615         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64616         in the third column, to generate for the shared library an IFUNC
64617         that uses _dl_vdso_vsym.
64618         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64619         * Makeconfig (object-suffixes-noshared): New variable.
64621         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64622         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64623         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64624         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64626         [BZ #14132]
64627         * include/sys/time.h (__gettimeofday): Remove macro.
64628         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64629         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64630         Remove INTDEF.
64631         (__gettimeofday): Add libc_hidden_def.
64632         (gettimeofday): Add libc_hidden_weak.
64633         * sysdeps/mach/gettimeofday.c: Likewise.
64634         * sysdeps/posix/gettimeofday.c: Likewise.
64635         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64636         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64637         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64638         (__gettimeofday_internal): Remove strong_alias.
64639         (__gettimeofday): Add libc_hidden_def.
64640         (gettimeofday): Add libc_hidden_weak.
64641         * sysdeps/unix/syscalls.list (gettimeofday):
64642         Remove __gettimeofday_internal alias.
64644 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64645             H.J. Lu  <hongjiu.lu@intel.com>
64647         [BZ #12495]
64648         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64649         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64650         (largebin_index_32_big): New.
64651         (largebin_index): Use it for 16-byte alignment.
64652         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64653         correction with front_misalign.
64655 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64659         Likewise.
64660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64661         Likewise.
64662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64663         Likewise.
64664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64665         Likewise.
64666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64667         Likewise.
64668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64669         Likewise.
64670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64671         Likewise.
64672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64673         Likewise.
64674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64675         Likewise.
64676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64677         Likewise.
64678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64679         Likewise.
64680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64681         Likewise.
64683         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64684         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64686 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64688         [BZ #10846]
64689         [BZ #14036]
64690         * math/libm-test.inc (exp_test): Add test from bug 14036.
64691         (pow_test): Add test from bug 10846.
64693         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64694         and other flags.
64695         (special_function): Do not include flags in test name.
64696         (parse_args): Likewise.
64697         * sysdeps/i386/fpu/libm-test-ulps: Update.
64698         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64699         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64700         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64703         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64704         exceptions.
64705         * math/libm-test.inc ("Philosophy"): Update comment about
64706         exception testing.
64707         (UNDERFLOW_EXCEPTION): New macro.
64708         (UNDERFLOW_EXCEPTION_OK): Likewise.
64709         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64710         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64711         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64712         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64713         (INVALID_EXCEPTION_OK): Update value.
64714         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64715         (OVERFLOW_EXCEPTION_OK): Likewise.
64716         (IGNORE_ZERO_INF_SIGN): Likewise.
64717         (test_exceptions): Handle underflow exceptions.
64718         (acos_test): Update for underflow exception expectations.
64719         (cexp_test): Likewise.
64720         (clog_test): Likewise.
64721         (clog10_test): Likewise.
64722         (csqrt_test): Likewise.
64723         (ctan_test): Likewise.
64724         (ctanh_test): Likewise.
64725         (exp_test): Likewise.
64726         (exp10_test): Likewise.
64727         (exp2_test): Likewise.
64728         (expm1_test): Likewise.
64729         (fma_test): Likewise.
64730         (j0_test): Likewise.
64731         (jn_test): Likewise.
64732         (nexttoward_test): Likewise.
64733         (pow_test): Likewise.
64734         (scalbn_test): Likewise.
64735         (scalbln_test): Likewise.
64736         (tan_test): Likewise.
64737         (y1_test): Likewise.
64738         * sysdeps/i386/fpu/libm-test-ulps: Update.
64739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64741 2012-05-23  David S. Miller  <davem@davemloft.net>
64743         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64744         (__libc_sigaction): Remove unused local variables.
64746 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64748         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64750 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64752         mktime: avoid signed integer overflow
64753         * time/mktime.c (__mktime_internal): Do not mishandle the case
64754         where diff == INT_MIN.
64756         mktime: simplify computation of average
64757         * time/mktime.c (ranged_convert): Use new time_t_avg function
64758         instead of rolling our own (probably-slower) code.
64760         mktime: do not assume signed right shift propagates sign bit
64761         * time/mktime.c (isdst_differ): New static function.
64762         (__mktime_internal): No need to normalize tm_isdst now.
64763         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64764         tm_isdst values.
64766         mktime: merge another wrapv change from gnulib
64767         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64768         from some compilers.
64770         mktime: remove incorrect attempt at unusual arithmetics
64771         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64772         The code didn't really work on such machines anyway.
64773         (TYPE_MINIMUM): Assume two's complement.
64774         (twos_complement_arithmetic): Verify that long_int and time_t
64775         are two's complement (or unsigned, in the latter case).
64777         mktime: check signed shifts on long_int and time_t, too
64778         * time/mktime.c (SHR): Check that shifts work as desired
64779         on the types long_int and time_t too, as SHR is used on
64780         such types.
64782         mktime: do not assume 'long' is wide enough
64783         * time/mktime.c (verify): Move decl up.
64784         (long_int): New type.
64785         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64786         to remove assumption in the code that 'long' is wide enough to
64787         store year values.  This assumption is not true on x32 and on
64788         some non-glibc platforms.
64790         mktime: merge wrapv change from gnulib
64791         * time/mktime.c (WRAPV): New macro.
64792         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64793         (guess_time_tm, __mktime_internal): Do not assume that signed
64794         integer overflow wraps around; modern compilers generate code
64795         where this assumption is no longer valid.
64797 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64799         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64800         Replace "jmp L(pseudo_end)" with "ret".
64801         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64802         Likewise.
64804 2012-05-23  Andreas Jaeger  <aj@suse.de>
64806         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64807         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64809 2012-05-23  Andreas Jaeger  <aj@suse.de>
64810             Maximilian Attems  <max@stro.at>
64812         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64813         New macros.
64815 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64817         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64818         code so that pseudo_end is just ret and the stack pointer is
64819         correct also for static library in error case.
64821 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64823         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64824         move to syscalls.list.
64825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64830         * manual/install.texi (Running make install): Do not mention Linux
64831         kernel version for which pt_chown is not needed.
64832         (Linux): Do not mention problems with nscd with 2.0 kernels.
64833         * INSTALL: Regenerated.
64835 2012-05-23  Andreas Jaeger  <aj@suse.de>
64837         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64838         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64839         macro.
64840         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64841         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64842         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64843         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64844         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64845         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64846         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64847         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64848         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64849         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64850         * sysdeps/unix/sysv/linux/bits/in.h
64851         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64853 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64855         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64856         (PREPARE_VERSION): Just use assert instead, it will be elided
64857         under [NDEBUG] anyway.
64859 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64861         * sysdeps/unix/sysv/linux/Makefile: Include
64862         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64863         (sysdep_routines): Remove sysctl.
64864         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64865         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64866         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64867         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64868         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64870 2012-05-22  Andreas Jaeger  <aj@suse.de>
64872         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64873         that pseudo_end is just ret and the stack pointer is correct also
64874         for static library in error case.
64876 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64878         [BZ #14122]
64879         * nss/nsswitch.c (defconfig_entries): New variable.
64880         (__nss_database_lookup): Don't leak defconfig entries.
64881         (nss_parse_service_list): Don't leak on error paths.
64882         (free_database_entries): New function.
64883         (free_defconfig): New function.
64884         (free_mem): Move common code to free_database_entries.
64886 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64888         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64889         Add arch_prctl.
64890         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64892         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64893         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64895         New macro.
64896         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64897         (INTERNAL_SYSCALL_TYPES): Likewise.
64898         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64899         (LOAD_REGS_TYPES_[1-6]): Likewise.
64900         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64901         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64903 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64905         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64906         copysignl for GLIBC_2_0.
64907         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64908         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64909         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64910         logbl for GLIBC_2_0.
64911         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64912         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64914 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64916         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64917         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64919         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64920         Use "neg %eax".
64922         * time/mktime.c: Update copyright years.
64924 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64926         mktime: merge comment-quoting-style change from gnulib
64927         * time/mktime.c: Quote 'like this' in comments.
64928         The GNU coding standards suggest that we no longer quote `like this',
64929         as "`" and "'" are typically rendered asymmetrically nowadays.
64930         The typical gnulib style is to quote 'like this' when quoting
64931         code, and "like this" when quoting English.
64933         * time/mktime.c (compile-command): Add "-I.".
64935         mktime: merge mktime-internal.h change from gnulib
64936         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64938         mktime: merge time_r change from gnulib
64939         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64941         mktime: merge DEBUG change from gnulib
64942         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64943         case system <time.h> has a #define.
64945         mktime: merge <sys/types.h> change from gnulib
64946         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64947         since <time.t> is now guaranteed to define time_t.
64949         mktime: merge HAVE_CONFIG_H change from gnulib
64950         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64952 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64955         Use "neg %eax".
64957         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64958         __rlim_t cast.
64959         (struct rusage): Use anonymous union to pad each field to
64960         __syscall_slong_t.
64962 2012-05-21  David S. Miller  <davem@davemloft.net>
64964         * Makefules (o-iterator): Remove .s cases.
64965         (compile-command.s): Delete.
64966         (COMPILE.s): Delete.
64967         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64969 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64971         * configure.in (libc_cv_predef_stack_protector): Only consider
64972         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64973         * configure: Regenerated.
64975 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64978         New macro.  Use R*LP on int and pointer.
64979         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64980         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64981         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64982         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64984         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64985         [__WORDSIZE_TIME64_COMPAT32] instead of
64986         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64987         (struct utmp): Likewise.
64988         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64989         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64990         Renamed to ...
64991         (__WORDSIZE_TIME64_COMPAT32): This.
64992         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64993         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64994         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64995         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64996         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64997         (__WORDSIZE_TIME64_COMPAT32): New macro.
64999 2012-05-21  Andreas Jaeger  <aj@suse.de>
65001         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65002         only if [SHARED]. Add prototype for __wcschr_ia32.
65004 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65006         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65007         of %rbp unmolested in the jmp_buf while mangling the low bits.
65008         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65009         unmolested high bits of %rbp while demangling the low bits.
65010         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65012 2012-05-21  Andreas Jaeger  <aj@suse.de>
65014         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65015         * sunrpc/svc_simple.c: Use it for registerrpc.
65016         * sunrpc/xcrypt.c: Use it for passwd2des.
65018         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65020 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65022         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65023         Don't define if [__SYSCALL_WORDSIZE != 32].
65024         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65025         New macro.
65027 2012-05-21  Bruno Haible  <bruno@clisp.org>
65028             Andreas Jaeger  <aj@suse.de>
65030         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65031         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65032         inptr and inend for must_buffer_ch.
65033         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65034         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65035         * stdio-common/Makefile (tests): Remove bug15.
65036         (bug15-ENV): Remove macro.
65037         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65038         anymore.
65040 2012-05-19  Andreas Jaeger  <aj@suse.de>
65041             Roland McGrath  <roland@hack.frob.com>
65043         * manual/contrib.texi: Completely rewritten. It contains now an
65044         alphabetical list of contributors and their contributions.
65046 2012-05-21  Richard Henderson  <rth@twiddle.net>
65048         * misc/getauxval.c (__getauxval): Use unsigned long int.
65049         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65050         (getauxval): Use unsigned long int.
65052 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65054         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65056 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65058         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65059         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65060         __alignof__ (long double).
65062 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65066 2012-05-20  Richard Henderson  <rth@twiddle.net>
65068         * misc/getauxval.c: New file.
65069         * misc/sys/auxv.h: New file.
65070         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65071         (routines): Add getauxval.
65072         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65073         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65074         * elf/dl-sysdep.c (_dl_auxv): Remove.
65075         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65076         * elf/dl-support.c (_dl_auxv): New variable.
65077         (_dl_aux_init): Initialize it.
65078         * manual/startup.texi (Auxiliary Vector): New node.
65079         * sysdeps/generic/bits/hwcap.h: New file.
65080         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65081         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65082         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65083         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65084         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65085         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65087         Update.
65088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65091         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65097 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65101 2012-05-19  David S. Miller  <davem@davemloft.net>
65103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65105 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65107         [BZ #14123]
65108         * math/s_ccosh.c: Include <float.h>
65109         (__ccosh): Avoid internal overflow calculating sinh and cosh
65110         values before multiplying by sin and cos values.
65111         * math/s_ccoshf.c: Likewise.
65112         * math/s_ccoshl.c: Likewise.
65113         * math/s_csin.c: Likewise.
65114         * math/s_csinf.c: Likewise.
65115         * math/s_csinl.c: Likewise.
65116         * math/s_csinh.c: Likewise.
65117         * math/s_csinhf.c: Likewise.
65118         * math/s_csinhl.c: Likewise.
65119         * math/libm-test.inc (ccos_test): Add more tests.
65120         (ccosh_test): Likewise.
65121         (csin_test): Likewise.
65122         (csinh_test): Likewise.
65123         * sysdeps/i386/fpu/libm-test-ulps: Update.
65124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65126 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65128         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65129         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65131         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65133 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65135         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65136         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65137         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65138         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65139         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65140         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65141         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65142         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65143         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65144         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65145         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65146         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65147         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65148         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65149         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65150         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65151         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65152         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65153         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65154         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65155         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65156         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65157         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65158         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65159         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65160         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65161         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65162         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65163         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65164         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65165         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65167 2012-05-18  Andreas Jaeger  <aj@suse.de>
65169         * csu/.gitignore: Delete.
65171 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65173         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65174         (timex): Use __syscall_slong_t.
65176 2012-05-18  Andreas Jaeger  <aj@suse.de>
65177             Carlos O'Donell  <carlos_odonell@mentor.com>
65179         * manual/install.texi (Configuring and compiling): Update
65180         description about files modified in the source directory.
65181         * INSTALL: Regenerated.
65183 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65185         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65186         value.  Use "or" to set return value to -1.
65187         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65188         negate return value.
65190 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65192         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65193         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65194         failure if the compiler has Graphite support disabled.
65195         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65196         Likewise.
65197         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65198         (CFLAGS-memmove.c): Likewise.
65199         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65200         Likewise.
65202 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65204         * sysdeps/x86_64/x32/_itoa.h: New file.
65206         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65207         getdents system call only if kernel and user dirents have the
65208         same d_ino and d_off.
65210         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65211         LLONG_MAX != LONG_MAX.
65212         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65213         (_fitoa_word): Likewise.
65215         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65216         years.
65217         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65218         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65219         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65221         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65222         include <bits/wordsize.h>.  Check __x86_64__ instead of
65223         __WORDSIZE.
65224         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65225         if __x86_64__ is defined.  Use anonymous union on fpstate.
65227         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65228         anonymous union.
65230 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65232         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65233         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65234         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65235         Refer to _rtld_local_ro instead of _rtld_global_ro.
65236         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65237         Likewise.
65238         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65239         Likewise.
65240         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65241         Likewise.
65242         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65243         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65244         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65246         [BZ #10882]
65247         * sysdeps/powerpc/powerpc32/dl-machine.c
65248         (__elf_machine_runtime_setup) [PROF]: Don't reference
65249         _dl_prof_resolve.
65251 2012-05-18  Andreas Jaeger  <aj@suse.de>
65253         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65254         function only available for GCCs before 3.4 since GCC 3.4
65255         introduced a builtin.
65256         (lrint): Likewise.
65257         (llrintf): Likewise.
65258         (llrint): Likewise.
65259         (fmaxf): Likewise.
65260         (fmax): Likewise.
65261         (fminf): Likewise.
65262         (fmin): Likewise.
65263         (rint): Likewise.
65264         (rintf): Likewise.
65265         (nearbyint): Likewise.
65266         (nearbyintf): Likewise.
65267         (ceil): Likewise.
65268         (ceilf): Likewise.
65269         (floor): Likewise.
65270         (floorf): Likewise.
65272 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65274         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65275         on both fields and cast pointer to __syscall_ulong_t.
65277         * bits/types.h (__fsword_t): New type.
65278         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65279         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65280         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65281         (__FSWORD_T_TYPE): Likewise.
65282         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65283         (__FSWORD_T_TYPE): Likewise.
65284         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65285         (__FSWORD_T_TYPE): Likewise.
65286         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65287         (__FSWORD_T_TYPE): Likewise.
65288         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65289         __SWORD_TYPE with __fsword_t.
65290         (statfs64): Likewise.
65292 2012-05-17  David S. Miller  <davem@davemloft.net>
65294         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65296 2012-05-17  Andreas Jaeger  <aj@suse.de>
65298         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65299         warning.
65301 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65303         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65305 2012-05-17  Andreas Jaeger  <aj@suse.de>
65307         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65308         when it is used.
65310 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65312         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65314 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65316         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65317         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65319 2012-05-17  Andreas Jaeger  <aj@suse.de>
65320             Carlos O'Donell  <carlos_odonell@mentor.com>
65322         [BZ #14059]
65323         * sysdeps/x86_64/multiarch/init-arch.h
65324         (bit_YMM_Usable): Rename to...
65325         (bit_AVX_Usable): ... this.
65326         (bit_FMA4_Usable): New macro.
65327         (bit_XMM_state): New macro.
65328         (bit_YMM_state): New macro.
65329         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65330         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65331         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65332         (CPUID_OSXSAVE): New macro.
65333         (CPUID_AVX): New macro.
65334         (CPUID_FMA4): New macro.
65335         (index_YMM_Usable): Rename to...
65336         (index_AVX_Usable): ... this.
65337         (HAS_AVX): Use HAS_ARCH_FEATURE.
65338         (HAS_FMA4): Likewise.
65339         (HAS_YMM_USABLE): Remove.
65340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65341         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65342         are present.
65343         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65344         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65345         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65346         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65347         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65349 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65351         * math/libm-test.c: Support platforms without multiple rounding modes.
65352         * math/bug-nextafter.c: Support platforms without FP exceptions.
65353         * math/bug-nexttoward.c: Likewise.
65354         * math/test-fenv.c: Likewise.
65355         * math/test-misc.c: Likewise.
65356         * stdlib/bug-getcontext.c: Likewise.
65358 2012-05-17  Andreas Jaeger  <aj@suse.de>
65360         * manual/examples/search.c (critter_cmp): Change signature to
65361         avoid warnings.
65362         * manual/string.texi (Collation Functions): Likewise.
65364 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65366         * bits/types.h: Fold copyright years.
65367         * bits/typesizes.h: Likewise.
65368         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65369         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65370         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65371         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65372         * time/time.h: Likewise.
65374 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65376         [BZ #208]
65377         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65378         in instead of returning them.  Return void.
65379         (__libc_mallinfo): Accumulate over all arenas.
65380         (__malloc_stats): Adjust for change in int_mallinfo interface.
65382 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65384         [BZ #10375]
65385         * configure.in (NM): Add AC_CHECK_TOOL for it.
65386         (libc_extra_cflags): New substituted variable.
65387         Check for -fstack-protector being used implicitly.
65388         * configure: Regenerated.
65389         * config.make.in (config-extra-cflags): New variable,
65390         gets @libc_extra_cflags@.
65391         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65393         [BZ #10375]
65394         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65395         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65396         * configure: Regenerated.
65397         * config.make.in (CPPUNDEFS): New substituted variable.
65398         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65399         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65400         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65402 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65404         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65405         (mq_attr): Use __syscall_slong_t.
65407 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65409         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65410         Check __x86_64__ instead of __WORDSIZE.
65411         (_STAT_VER_LINUX): Likewise.
65412         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65413         __syscall_ulong_t and __syscall_slong_t.
65414         (stat64): Likewise.
65416 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65418         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65420 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65422         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65424 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65426         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65427         __syscall_ulong_t.
65429         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65430         include <bits/wordsize.h>.  Check __x86_64__ instead of
65431         __WORDSIZE.
65432         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65433         defined.
65434         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65436         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65437         include <bits/wordsize.h>.  Check __x86_64__ instead of
65438         __WORDSIZE.
65439         (user_regs_struct): Use "__extension__ unsigned long long"
65440         instead of "unsigned long" if __x86_64__ is defined.
65441         (user): Likewise.  Pad after pointer field if __ILP32__ is
65442         defined.
65444 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65446         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65447         versions 5 to 9.
65448         * configure: Regenerated.
65449         * manual/install.texi (texinfo): Increase version requirement to
65450         4.5 or later.
65451         * INSTALL: Regenerated.
65453         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65455 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65457         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65459         * sysdeps/x86_64/x32/ffs.c: New file.
65461         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65462         __syscall_ulong_t.
65463         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65464         defined.  Use __syscall_ulong_t.
65465         (shminfo): Use __syscall_ulong_t.
65466         (shm_info): Likewise.
65468         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65469         __syscall_ulong_t.
65471         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65472         <bits/wordsize.h>.
65473         (msgqnum_t): Use __syscall_ulong_t.
65474         (msglen_t): Likewise.
65475         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65476         __syscall_ulong_t.
65478         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65479         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65481         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65483         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65484         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65486         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65487         __syscall_slong_t.
65489         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65490         include <bits/wordsize.h>.  Check __x86_64__ instead of
65491         __WORDSIZE.
65493         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65494         "unsigned long long int" if __x86_64__ is defined.
65495         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65497         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65498         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65499         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65501         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65502         <stdint.h>.
65503         (GET_PC): Cast to uintptr_t first.
65504         (GET_FRAME): Likewise.
65505         (GET_STACK): Likewise.
65507         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65508         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65509         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65510         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65511         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65512         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65513         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65514         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65515         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65516         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65517         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65518         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65519         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65520         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65521         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65522         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65523         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65524         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65525         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65526         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65527         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65528         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65529         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65530         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65531         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65532         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65533         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65534         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65535         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65537 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65539         * Makerules (+depfiles): Also collect depfiles from .oS in
65540         $(extra-objs).
65541         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65542         .oS, $(libnldbl-routines)).
65544         * Makerules (native-compile-mkdep-flags): Define.
65545         * sunrpc/Makefile (extra-objs): Add $(addprefix
65546         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65547         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65548         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65549         calling $(make-target-directory).
65551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65553         * bits/types.h (__snseconds_t): Removed.
65554         * time/time.h (struct timespec): Replace __snseconds_t with
65555         __syscall_slong_t.
65556         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65557         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65558         Likewise.
65559         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65560         (__SNSECONDS_T_TYPE): Likewise.
65561         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65562         (__SNSECONDS_T_TYPE): Likewise.
65563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65564         (__SNSECONDS_T_TYPE): Likewise.
65566 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65568         * sysdeps/mach/hurd/bits/typesizes.h
65569         (__SYSCALL_SLONG_TYPE): New macro.
65570         (__SYSCALL_ULONG_TYPE): Likewise.
65572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65574         * bits/types.h (__syscall_slong_t): New type.
65575         (__syscall_ulong_t): Likewise.
65577         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65578         (__SYSCALL_ULONG_TYPE): Likewise.
65579         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65580         (__SYSCALL_SLONG_TYPE): Likewise.
65581         (__SYSCALL_ULONG_TYPE): Likewise.
65582         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65583         (__SYSCALL_SLONG_TYPE): Likewise.
65584         (__SYSCALL_ULONG_TYPE): Likewise.
65585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65586         (__SYSCALL_SLONG_TYPE): Likewise.
65587         (__SYSCALL_ULONG_TYPE): Likewise.
65589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65591         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65592         Add sigaltstack-offsets.sym.
65593         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65594         <sigaltstack-offsets.h>.
65595         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65596         longjmp_msg pointer.
65597         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65598         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65599         signal stack.
65600         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65602 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65604         * elf/stackguard-macros.h: Remove file.
65605         * sysdeps/generic/stackguard-macros.h: New file.
65606         * sysdeps/i386/stackguard-macros.h: Likewise.
65607         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65608         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65609         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65610         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65611         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65612         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65613         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65614         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65615         <elf/stackguard-macros.h>.
65617         [BZ #14109]
65618         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65619         __aligned__ in attribute.
65620         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65621         (gregset_t): Likewise.
65623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65625         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65626         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65627         * sysdeps/x86_64/x32/Implies-after: New file.
65629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65631         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65632         and access return value for _dl_profile_fixup.  Use R10_LP to
65633         load frame size.
65635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65637         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65641         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65642         * sysdeps/x86_64/x32/sysdep.h: New file.
65644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65646         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65647         * sysdeps/x86_64/setjmp.S: Likewise.
65649 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65651         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65652         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65653         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65654         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65655         remove unused global constant.
65657 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65659         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65660         include of <not-cancel.h>.
65662 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65664         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65666 2012-05-15  Jeff Law  <law@redhat.com>
65667             Andreas Jaeger  <aj@suse.de>
65669         [BZ #13594]
65670         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65671         out from...
65672         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65673         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65674         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65675         code changing __hst_map_handle.map.
65677 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65679         * configure.in (sysnames): Look for Implies-before and Implies-after
65680         files.
65681         * configure: Regenerated.
65683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65685         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65686         8-byte data alignment with LP_SIZE alignment.
65688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65690         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65691         into R10_LP.
65693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65695         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65699         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65700         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65701         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65702         Likewise.
65703         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65707         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65708         (stackinfo_sub_sp): Likewise.
65710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65712         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65713         RAX_LP.
65715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65717         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65718         into R*_LP.
65720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65722         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65723         sizes into R*_LP.
65725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65727         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65731         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65732         into R11_LP and load __x86_64_shared_cache_size_half into
65733         R8_LP.
65735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65737         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65738         R8_LP.
65740 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65742         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65743         logb for POWER7.
65744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65745         logbf for POWER7.
65746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65747         logbl for POWER7.
65748         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65749         powerpc32/power7/fpu/s_logb.c via #include.
65750         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65751         powerpc32/power7/fpu/s_logbf.c via #include.
65752         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65753         powerpc32/power7/fpu/s_logbl.c via #include.
65755 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65757         * README.libm: Remove file.
65759 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65761         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65762         count for x32.  Use R*_LP and omit operand-size suffix.
65764 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65766         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65767         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65768         * sysdeps/x86_64/x32/shlib-versions: New file.
65770 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65772         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65773         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65774         Use _dl_fatal_printf instead.
65776 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65778         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65779         set if not set by the user.  Do not allow for being unset.
65780         * sysdeps/unix/sysv/linux/configure: Regenerated.
65782 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65784         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65785         the `q' suffix from lea and replace .quad with ASM_ADDR.
65787 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65790         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65791         instead of $17.
65792         (PTR_DEMANGLE): Likewise.
65794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65796         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65797         (LP_OP): Likewise.
65798         (ASM_ADDR): Likewise.
65799         (RAX_LP): Likewise.
65800         (RBP_LP): Likewise.
65801         (RBX_LP): Likewise.
65802         (RCX_LP): Likewise.
65803         (RDI_LP): Likewise.
65804         (RSI_LP): Likewise.
65805         (RSP_LP): Likewise.
65806         (R8_LP): Likewise.
65807         (R9_LP): Likewise.
65808         (R10_LP): Likewise.
65809         (R10_LP): Likewise.
65810         (R11_LP): Likewise.
65811         (R12_LP): Likewise.
65812         (R13_LP): Likewise.
65813         (R14_LP): Likewise.
65814         (R15_LP): Likewise.
65816 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65818         * sysdeps/x86_64/x32/dl-machine.h: New file.
65820 2012-05-14  Andreas Jaeger  <aj@suse.de>
65822         * manual/Makefile (subdir): Remove export of subdir.
65823         (all): Remove target.
65824         (.PHONY): Remove all from list.
65825         (mkinstalldirs): Remove.
65826         (.PHONY): Remove installdirs from list.
65827         ($(inst_infodir)/libc.info): Use make-target-directory.
65828         (installdirs): Remove.
65829         (subdir_%): Remove.
65830         (glibc-targets): Remove.
65831         (lib): Remove.
65832         (stubs): Remove.
65833         ($(objpfx)stubs ../po/manual.pot): Remove.
65834         ($(objpfx)stamp%): Remove.
65835         (make-target-directory): Remove.
65836         (subdir_install): Remove.
65837         (routines): Remove.
65838         (aux): Remove.
65839         (sources): Remove.
65840         (objects): Remove.
65841         (headers): Remove.
65843         [BZ #13750]
65844         * manual/.gitignore: Remove, it's not needed anymore.
65845         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65846         all files in it.
65847         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65848         directory.
65849         (texis): Renamed to $(objpfx)texis.
65850         (texis-path): New, contains path to generated files.
65851         (chapters.%): Use texis-path for complete path, add extra argument
65852         libc-texinfo.sh.
65853         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65854         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65855         (summary,texi, stamp-summary): Use complete path of
65856         files. Generate files in build dir.
65857         (dir-add.texi): Build in build dir.
65858         (libm-err.texi,stamp-libm-err): Likewise.
65859         (version.texi, stamp-version): Likewise.
65860         (.%c.texi): Likewise.
65861         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65862         (mostlyclean): Remove target.
65863         (realclean): Remove target.
65864         (generated): Add new variable with contents from mostlyclean and
65865         realclean, remove entries duplicated in common-mostlyclean, add
65866         stamp-libm-err and stamp-version.
65867         (generated-dirs): Add libc directory.
65868         ($(inst_infodir)/libc.info): Install files from build dir.
65870         * manual/install.texi (Configuring and compiling): Adjust since
65871         the info files are not part of the tar ball anymore.
65873 2012-05-14  Andreas Jaeger  <aj@suse.de>
65875         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65876         variable.
65878 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65880         [BZ #13717]
65881         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65882         to 2.2.0 where earlier.
65883         * sysdeps/unix/sysv/linux/configure: Regenerated.
65884         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65885         Remove conditional code.
65886         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65887         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65888         Remove conditional code.
65889         [!__NR_lchown]: Likewise.
65890         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65891         [__NR_lchown]: Likewise.
65892         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65893         comment referencing __ASSUME_LCHOWN_SYSCALL.
65894         * sysdeps/unix/sysv/linux/i386/sigaction.c
65895         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65896         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65897         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65898         Remove conditional code.
65899         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65900         (__protocol_available): Remove #if 0 code.
65901         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65902         conditional code.
65903         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65904         * sysdeps/unix/sysv/linux/kernel-features.h
65905         (__ASSUME_GETCWD_SYSCALL): Don't define.
65906         (__ASSUME_REALTIME_SIGNALS): Likewise.
65907         (__ASSUME_PREAD_SYSCALL): Likewise.
65908         (__ASSUME_PWRITE_SYSCALL): Likewise.
65909         (__ASSUME_POLL_SYSCALL): Likewise.
65910         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65911         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65912         non-SPARC.
65913         (__ASSUME_SIOCGIFNAME): Don't define.
65914         (__ASSUME_MSG_NOSIGNAL): Likewise.
65915         (__ASSUME_SENDFILE): Define unconditionally.
65916         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65917         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65918         conditional code.
65919         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65920         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65921         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65922         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65923         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65924         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65925         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65927         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65928         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65930         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65931         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65933         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65934         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65936         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65937         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65939         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65940         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65942         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65943         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65945         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65946         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65948         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65949         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65950         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65951         Remove conditional code.
65952         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65953         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65954         Remove conditional code.
65955         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65956         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65957         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65958         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65959         Remove conditional code.
65960         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65961         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65962         Remove conditional code.
65963         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65964         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65965         Remove conditional code.
65966         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65967         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65968         Remove conditional code.
65969         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65970         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65971         Remove conditional code.
65972         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65973         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65974         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65975         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65976         * sysdeps/unix/sysv/linux/sigaction.c
65977         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65978         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65979         * sysdeps/unix/sysv/linux/sigpending.c
65980         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65981         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65982         * sysdeps/unix/sysv/linux/sigprocmask.c
65983         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65984         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65985         * sysdeps/unix/sysv/linux/sigsuspend.c
65986         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65987         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65988         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65989         (__libc_missing_rt_sigs): Remove.
65990         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65991         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65992         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65993         Remove conditional code.
65994         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65995         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65996         return 1.
65997         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65998         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65999         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66000         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66002 2012-05-14  Andreas Jaeger  <aj@suse.de>
66004         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66005         it's not used in glibc.
66006         (__coshm1): Likewise.
66007         (__acosh1p): Likewise.
66008         (__sgn): Likewise.
66010         * manual/string.texi (Copying and Concatenation): Add missing
66011         variable in concat example.
66012         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66014 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66016         [BZ #14103]
66017         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66018         __builtin_clzl with __builtin_clzll.
66020 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66022         [BZ #14104]
66023         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66024         libc_freeres_ptr.
66026 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66028         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66029         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66030         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66031         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66033 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66035         * NEWS: Update ia64 info.
66037 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66039         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66040         used as bcopy.
66042 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66044         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66045         * sysdeps/unix/syscalls.list (dup3): Likewise.
66046         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66047         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66049 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66051         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66052         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66054 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66056         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66057         thread pointer.
66058         (TLS_IE): Use mov/add instead of movq/addq to load thread
66059         pointer.
66060         (TLS_GD_PREFIX): New.
66061         (TLS_GD): Use it.
66063 2012-05-11  David S. Miller  <davem@davemloft.net>
66065         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66066         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66067         (_FPU_SETCW): Likewise.
66069 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66071         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66072         is 32-byte aligned.
66074 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66076         [BZ #11837]
66077         * iconvdata/gb18030.c: Update tables.
66078         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66079         characters specially.
66080         (BODY for TO_LOOP): Add encoding of missing ranges.
66082 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66084         [BZ #13673]
66085         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66086         * sysdeps/mach/hurd/dup3.c: Likewise.
66087         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66088         * sysdeps/powerpc/memmove.c:: Likewise.
66090 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66092         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66093         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66095 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66097         * elf/elf.h (R_X86_64_RELATIVE64): New.
66098         (R_X86_64_NUM): Updated.
66099         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66100         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66101         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66102         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66103         tst-quad1pie tst-quad2pie
66104         (modules-names): Add tst-quadmod1 tst-quadmod2.
66105         ($(objpfx)tst-quad1): New dependency.
66106         ($(objpfx)tst-quad2): Likewise.
66107         ($(objpfx)tst-quad1pie): Likewise.
66108         ($(objpfx)tst-quad2pie): Likewise.
66109         * sysdeps/x86_64/tst-quad1.c: New file.
66110         * sysdeps/x86_64/tst-quad1pie.c: New file.
66111         * sysdeps/x86_64/tst-quad2.c: Likewise.
66112         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66113         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66114         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66115         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66116         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66118 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66120         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66121         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66122         * streams/stropts.h (t_scalar_t): Define type.
66124         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66125         (_PATH_PRESERVE): Set to "/var/lib".
66126         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66128         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66129         instead of int.
66131         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66132         if __dir_mkfile succeeded.
66134         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66135         checking for _hurd_dtablesize.  Unlock it right after having
66136         finished _hurd_dtable allocation.
66138 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66140         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66141         * sysdeps/mach/hurd/configure: Regenerated.
66142         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66143         special-casing to...
66144         * sysdeps/gnu/configure.in: ... this new file.
66145         * sysdeps/unix/sysv/linux/configure: Regenerated.
66146         * sysdeps/gnu/configure: New generated file.
66148         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66149         for Linux: use nsec instead of usec, as well as:
66150         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66151         members of type struct timespec.
66152         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66153         New macros.
66154         (struct stat64): Likewise.
66155         (_STATBUF_ST_NSEC): New macro.
66156         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66158         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66159         __strtoul_internal rather than strtoul.
66161 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66163         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66164         and reject them.
66166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66168         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66169         which preserves existing values.
66170         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66172 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66174         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66175         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66176         greater than FD_SETSIZE.
66178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66180         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66181         allocated, call __vm_protect to finish enabling the existing space, and
66182         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66183         allocate the remainder.
66185 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66187         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66188         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66190 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66192         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66193         sysdeps/mach/hurd/readlink.c.
66195         * posix/tst-sysconf.c (posix_options): Only use
66196         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66197         _POSIX_SYNCHRONIZED_IO when they are defined
66198         * sysdeps/mach/hurd/bits/posix_opt.h:
66199         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66200         (_XOPEN_REALTIME): Undefine macro.
66201         (_XOPEN_REALTIME_THREADS): Undefine macro.
66202         (_XOPEN_SHM): Undefine macro.
66203         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66204         macro to -1.
66205         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66206         macro to -1.
66207         (_POSIX_ASYNC_IO): Undefine macro.
66208         (_POSIX_PRIORITIZED_IO): Undefine macro.
66209         (_POSIX_SPIN_LOCKS): Define macro to -1.
66211         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66212         SA_NODEFER, SA_RESETHAND.
66213         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66214         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66215         F_DUPFD_CLOEXEC.
66217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66219         * elf/Makefile (pldd-modules): Define unconditionally.
66221 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66223         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66225 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66227         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66228         Return ENOENT when name is empty.
66229         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66231 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66233         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66235         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66237 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66239         Fix mlock in all cases except non-readable pages.
66240         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66241         instead of VM_PROT_ALL as parameter to __vm_wire function.
66243         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66244         (__mkdir): When path is `/', just fail with EEXIST.
66245         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66247 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66249         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66250         <sys/uio.h> (for writev).
66251         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66252         and <sys/param.h> (for MIN).
66254 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66256         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66257         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66258         if interrupted.
66260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66262         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66263         Depend on against $(link-rpcuserlibs).
66265 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66267         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66268         (__libc_stack_end): Do not use attribute_relro.
66269         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66270         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66271         to libthread-provided value.
66272         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66273         attribute_relro.
66275 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66277         [BZ #3748]
66278         * bits/libc-lock.h (__libc_once_get): New macro.
66279         * sysdeps/mach/bits/libc-lock.h: Likewise.
66280         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66281         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66282         instead of using implementation details.
66284         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66285         * libio/freopen.c: Likewise.
66286         * libio/freopen64.c: Likewise.
66287         * misc/syslog.c: Likewise.
66288         * nscd/connections.c: Likewise.
66289         * nscd/netgroupcache.c: Likewise.
66290         * sysdeps/posix/getcwd.c: Likewise.
66292 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66294         * math/w_ilogbf.c: Add #include <limits.h>.
66296 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66298         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66299         path instead of returning without unlocking.
66301         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66302         immediate-write ioctls.
66303         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66305 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66307         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66308         __builtin_frame_address instead of making assumptions about the
66309         location of the return address relative to DATA.  Force early load of
66310         the return address.
66311         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66312         __builtin_frame_address.
66314         dup3 for GNU Hurd.
66315         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66316         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66317         implement dup3 and do some further code clean-ups.
66318         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66319         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66323         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66325         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66326         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66327         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66328         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66329         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66330         d->port.lock.
66332         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66333         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66334         when handler == SIG_ERR, not when handler != SIG_ERR.
66336 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66338         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66339         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66340         definitions.
66342         accept4 for GNU Hurd.
66343         * include/sys/socket.h (__libc_accept4): New prototype.
66344         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66345         to implement __libc_accept4.
66346         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66347         __libc_accept4.
66348         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66350         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66351         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66352         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66353         signal-defines.sym.
66355 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66357         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66359 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66361         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66362         assertion on O_CLOEXEC flag.
66363         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66364         * hurd/intern-fd.c: Likewise.
66365         * hurd/port2fd.c: Likewise.
66367 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66369         [BZ #3906]
66370         * bits/in.h (IPV6_PKTINFO): Define new macro.
66371         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66373 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66375         [BZ #13954]
66376         [BZ #13955]
66377         [BZ #13956]
66378         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66379         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66380         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66381         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66382         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66383         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66384         * math/libm-test.inc (logb_test) : Additional logb tests.
66386 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66387             Andreas Jaeger  <aj@suse.de>
66389         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66390         * configure: Regenerated.
66391         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66392         * config.make.in (link-obsolete-rpc): New substituted variable.
66393         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66394         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66395         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66396         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66397         so that libc.a contains the symbols.
66398         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66399         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66400         * sunrpc/auth_none.c: Likewise.
66401         * sunrpc/auth_unix.c: Likewise.
66402         * sunrpc/authdes_prot.c: Likewise.
66403         * sunrpc/authuxprot.c: Likewise.
66404         * sunrpc/clnt_gen.c: Likewise.
66405         * sunrpc/clnt_perr.c: Likewise.
66406         * sunrpc/clnt_raw.c: Likewise.
66407         * sunrpc/clnt_simp.c: Likewise.
66408         * sunrpc/clnt_tcp.c: Likewise.
66409         * sunrpc/clnt_udp.c: Likewise.
66410         * sunrpc/clnt_unix.c: Likewise.
66411         * sunrpc/des_crypt.c: Likewise.
66412         * sunrpc/des_soft.c: Likewise.
66413         * sunrpc/get_myaddr.c: Likewise.
66414         * sunrpc/key_call.c: Likewise.
66415         * sunrpc/key_prot.c: Likewise.
66416         * sunrpc/netname.c: Likewise.
66417         * sunrpc/pm_getmaps.c: Likewise.
66418         * sunrpc/pm_getport.c: Likewise.
66419         * sunrpc/pmap_clnt.c: Likewise.
66420         * sunrpc/pmap_prot.c: Likewise.
66421         * sunrpc/pmap_prot2.c: Likewise.
66422         * sunrpc/pmap_rmt.c: Likewise.
66423         * sunrpc/publickey.c: Likewise.
66424         * sunrpc/rpc_cmsg.c: Likewise.
66425         * sunrpc/rpc_common.c: Likewise.
66426         * sunrpc/rpc_dtable.c: Likewise.
66427         * sunrpc/rpc_prot.c: Likewise.
66428         * sunrpc/rpc_thread.c: Likewise.
66429         * sunrpc/rtime.c: Likewise.
66430         * sunrpc/svc.c: Likewise.
66431         * sunrpc/svc_auth.c: Likewise.
66432         * sunrpc/svc_raw.c: Likewise.
66433         * sunrpc/svc_run.c: Likewise.
66434         * sunrpc/svc_tcp.c: Likewise.
66435         * sunrpc/svc_udp.c: Likewise.
66436         * sunrpc/svc_unix.c: Likewise.
66437         * sunrpc/svcauth_des.c: Likewise.
66438         * sunrpc/xcrypt.c: Likewise.
66439         * sunrpc/xdr.c: Likewise.
66440         * sunrpc/xdr_array.c: Likewise.
66441         * sunrpc/xdr_float.c: Likewise.
66442         * sunrpc/xdr_intXX_t.c: Likewise.
66443         * sunrpc/xdr_mem.c: Likewise.
66444         * sunrpc/xdr_rec.c: Likewise.
66445         * sunrpc/xdr_ref.c: Likewise.
66446         * sunrpc/xdr_sizeof.c: Likewise.
66447         * sunrpc/xdr_stdio.c: Likewise.
66449 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66451         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66452         change.  Update copyright years.
66454 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66456         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66458 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66459             Joseph Myers  <joseph@codesourcery.com>
66460             Paul Pluzhnikov  <ppluzhnikov@google.com>
66462         [BZ #14012]
66463         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66464         requiring rpcgen.
66465         [cross-compiling] (extra-libs): Likewise.
66466         [cross-compiling] (extra-libs-others): Likewise.
66467         [cross-compiling] (librpcsvc-routines): Likewise.
66468         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66469         [cross-compiling] (omit-deps): Likewise.
66470         (sunrpc-CPPFLAGS): New variable.
66471         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66472         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66473         (cross-rpcgen-objs): New variable.
66474         (extra-objs): Append $(cross-rpcgen-objs).
66475         ($(cross-rpcgen-objs)): New rule.
66476         ($(objpfx)cross-rpcgen): Likewise.
66477         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66478         comment.
66479         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66480         ($(objpfx)x%.stmp): Likewise.
66481         * sunrpc/proto.h [IS_IN_build] (_): Define.
66482         [IS_IN_build] (_libc_intl_domainname): Likewise.
66484 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66486         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66487         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66488         and R_X86_64_TPOFF64.
66490 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66492         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66493         sysdeps/unix/sysv/syscalls.list.
66494         (stime): Likewise.
66495         (utime): Likewise.
66496         * sysdeps/unix/sysv/syscalls.list: Remove file.
66498 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66500         [BZ #3440]
66501         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66502         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66503         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66504         (__LC_IDENTIFICATION): Make these macros useful in #if
66505         expressions, as required by C99.
66507 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66509         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66510         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66511         after this.
66513 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66515         * stdlib/longlong.h: Updated from GCC.
66517 2012-05-09  Andreas Jaeger  <aj@suse.de>
66519         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66520         default is first entry.
66521         (run_mode): Set type.
66522         (main): Remove informal message about syslog.
66523         (options): Fix typo.
66525         [BZ #14053]
66526         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66527         to asm.
66528         (lrint): Likewise.
66529         (llrintf): Likewise.
66530         (llrint): Likewise.
66531         (rint): Likewise.
66532         (rintf): Likewise.
66533         (nearbyint): Likewise.
66534         (nearbyintf): Likewise.
66536 2012-05-09  Andreas Jaeger  <aj@suse.de>
66537             Pedro Alves  <palves@redhat.com>
66539         * nscd/nscd.c (run_mode): Use enum.
66540         (main): Cleanup coding style issue.
66542 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66543             Andreas Jaeger  <aj@suse.de>
66545         * nscd/nscd.c (go_background): Replaced with...
66546         (run_mode): ... this.
66547         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66548         (options): Add -F --foreground.
66549         (main): Implement it.
66550         (parse_opt): Parse it.
66552 2012-05-09  Andreas Jaeger  <aj@suse.de>
66554         [BZ #14083]
66555         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66556         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66557         -Wconversion warning.
66558         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66559         Likewise.
66561 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66563         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66564         == 0.
66565         (LC_ALL): Use macro-int-constant.
66566         (LC_COLLATE): Likewise.
66567         (LC_CTYPE): Likewise.
66568         (LC_MESSAGES): Likewise.
66569         (LC_MONETARY): Likewise.
66570         (LC_NUMERIC): Likewise.
66571         (LC_TIME): Likewise.
66572         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66573         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66574         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66575         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66576         Specify type.
66577         [C99-based standards] (float_t): Expect type.
66578         [C99-based standards] (double_t): Expect type.
66579         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66580         type.
66581         [C99-based standards] (HUGE_VALL): Likewise.
66582         [C99-based standards] (INFINITY): Likewise.
66583         [C99-based standards] (NAN): Likewise.
66584         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66585         [C99-based standards] (FP_NAN): Likewise.
66586         [C99-based standards] (FP_NORMAL): Likewise.
66587         [C99-based standards] (FP_SUBNORMAL): Likewise.
66588         [C99-based standards] (FP_ZERO): Likewise.
66589         [C99-based standards] (FP_FAST_FMA): Use
66590         optional-macro-int-constant.  Specify type.  Require == 1.
66591         [C99-based standards] (FP_FAST_FMAF): Likewise.
66592         [C99-based standards] (FP_FAST_FMAL): Likewise.
66593         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66594         [C99-based standards] (FP_ILOGBNAN): Likewise.
66595         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66596         Specify type.
66597         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66598         [C99-based standards] (math_errhandling): Specify type.
66599         [ISO99 || ISO11] (signgam): Do not allow.
66600         [non-C99-based standards] (copysignf): Do not allow.
66601         [non-C99-based standards] (exp2f): Likewise.
66602         [non-C99-based standards] (log2f): Likewise.
66603         [non-C99-based standards] (modff): Allow.
66604         [non-C99-based standards] (erff): Do not allow.
66605         [non-C99-based standards] (erfcf): Likewise.
66606         [non-C99-based standards] (gammaf): Likewise.
66607         [non-C99-based standards] (hypotf): Likewise.
66608         [non-C99-based standards] (j0f): Likewise.
66609         [non-C99-based standards] (j1f): Likewise.
66610         [non-C99-based standards] (jnf): Likewise.
66611         [non-C99-based standards] (lgammaf): Likewise.
66612         [non-C99-based standards] (tgammaf): Likewise.
66613         [non-C99-based standards] (y0f): Likewise.
66614         [non-C99-based standards] (y1f): Likewise.
66615         [non-C99-based standards] (ynf): Likewise.
66616         [non-C99-based standards] (isnanf): Likewise.
66617         [non-C99-based standards] (acoshf): Likewise.
66618         [non-C99-based standards] (asinhf): Likewise.
66619         [non-C99-based standards] (atanhf): Likewise.
66620         [non-C99-based standards] (cbrtf): Likewise.
66621         [non-C99-based standards] (expm1f): Likewise.
66622         [non-C99-based standards] (ilogbf): Likewise.
66623         [non-C99-based standards] (log1pf): Likewise.
66624         [non-C99-based standards] (logbf): Likewise.
66625         [non-C99-based standards] (nextafterf): Likewise.
66626         [non-C99-based standards] (remainderf): Likewise.
66627         [non-C99-based standards] (rintf): Likewise.
66628         [non-C99-based standards] (scalbf): Likewise.
66629         [non-C99-based standards] (copysignl): Likewise.
66630         [non-C99-based standards] (exp2l): Likewise.
66631         [non-C99-based standards] (log2l): Likewise.
66632         [non-C99-based standards] (modfl): Allow.
66633         [non-C99-based standards] (erfl): Do not allow.
66634         [non-C99-based standards] (erfcl): Likewise.
66635         [non-C99-based standards] (gammal): Likewise.
66636         [non-C99-based standards] (hypotl): Likewise.
66637         [non-C99-based standards] (j0l): Likewise.
66638         [non-C99-based standards] (j1l): Likewise.
66639         [non-C99-based standards] (jnl): Likewise.
66640         [non-C99-based standards] (lgammal): Likewise.
66641         [non-C99-based standards] (tgammal): Likewise.
66642         [non-C99-based standards] (y0l): Likewise.
66643         [non-C99-based standards] (y1l): Likewise.
66644         [non-C99-based standards] (ynl): Likewise.
66645         [non-C99-based standards] (isnanl): Likewise.
66646         [non-C99-based standards] (acoshl): Likewise.
66647         [non-C99-based standards] (asinhl): Likewise.
66648         [non-C99-based standards] (atanhl): Likewise.
66649         [non-C99-based standards] (cbrtl): Likewise.
66650         [non-C99-based standards] (expm1l): Likewise.
66651         [non-C99-based standards] (ilogbl): Likewise.
66652         [non-C99-based standards] (log1pl): Likewise.
66653         [non-C99-based standards] (logbl): Likewise.
66654         [non-C99-based standards] (nextafterl): Likewise.
66655         [non-C99-based standards] (remainderl): Likewise.
66656         [non-C99-based standards] (rintl): Likewise.
66657         [non-C99-based standards] (scalbl): Likewise.
66658         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66659         [non-C99-based standards] (FP_*): Do not allow.
66660         [C99-based standards] (FP_*): Change to
66661         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66662         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66663         allow.
66664         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66665         (SIG_ERR): Likewise.
66666         [X/Open-based standards] (SIG_HOLD): Likewise.
66667         (SIG_IGN): Likewise.
66668         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66669         positive value.
66670         (SIGFPE): Likewise.
66671         (SIGILL): Likewise.
66672         (SIGINT): Likewise.
66673         (SIGSEGV): Likewise.
66674         (SIGTER): Likewise.
66675         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66676         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66677         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66678         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66679         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66680         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66681         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66682         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66683         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66684         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66685         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66686         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66687         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66688         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66689         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66690         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66691         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66692         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66693         [X/Open-based standards] (SIGTRAP): Likewise.
66694         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66695         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66696         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66697         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66698         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66699         allow.
66701 2012-05-08  Ian Wienand  <ianw@vmware.com>
66703         [BZ #14080]
66704         * time/tzset.c (__tzset_parse_tz): Update default rules for
66705         daylight time changes in the Energy Policy Act of 2005.
66707 2012-05-09  Andreas Jaeger  <aj@suse.de>
66709         [BZ #13983]
66710         * elf/ldconfig.c (parse_conf): Change string to make clear that
66711         ldconfig only issued a warning if ld.so.conf does not exist.
66713 2012-05-08  David S. Miller  <davem@davemloft.net>
66715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66716         movxtod instead of popping the value on the stack.
66718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66720 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66722         * config.h.in: Add HAVE_ARM_PCS_VFP.
66724 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66726         [BZ #13979]
66727         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66728         checking but the checks are disabled for any reason.
66730 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66732         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66733         and ELF64_R_TYPE with ELFW(R_TYPE).
66735 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66737         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66738         (ulimit): Likewise.
66740         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66741         (settimeofday): Likewise.
66743 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66745         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66746         a struct th_u2 inside the union, and move tu_block/tu_code into
66747         a new th_u3 union of tu_block/tu_code inside of that.  Move
66748         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66749         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66750         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66751         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66752         (th_stuff): Change to th_u1.tu_stuff.
66753         (th_data): Define.
66754         (th_msg): Change to th_u1.th_u2.tu_data.
66756 2012-05-07  David S. Miller  <davem@davemloft.net>
66758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66760         [BZ #14074]
66761         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66762         (SETUP_PIC_REG): Use it.
66763         (SETUP_PIC_REG_LEAF): Use it.
66765 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66767         [BZ #13885]
66768         [BZ #13923]
66769         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66770         USE_AS_EXPM1L.
66771         (EXPL_FINITE): Likewise.
66772         (FLDLOG): Likewise.
66773         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66774         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66775         e_expl.S.
66776         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66777         USE_AS_EXPM1L.
66778         (EXPL_FINITE): Likewise.
66779         (FLDLOG): Likewise.
66780         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66781         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66782         e_expl.S.
66783         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66784         test of -max_value argument for long double.
66785         * sysdeps/i386/fpu/libm-test-ulps: Update.
66786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66788 2012-05-06  David S. Miller  <davem@davemloft.net>
66790         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66791         quad soft-float symbols whose references which are compiler
66792         generated.
66793         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66795 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66797         [BZ #13884]
66798         [BZ #13914]
66799         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66800         USE_AS_EXP10L.
66801         (EXPL_FINITE): Likewise.
66802         (FLDLOG): Likewise.
66803         (c0): Likewise.
66804         (c1): Likewise.
66805         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66806         Adjust comments for base varying.
66807         (__expl_finite): Change alias to EXPL_FINITE.
66808         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66809         e_expl.S.
66810         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66811         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66812         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66813         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66814         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66815         USE_AS_EXP10L.
66816         (EXPL_FINITE): Likewise.
66817         (FLDLOG): Likewise.
66818         (c0): Likewise.
66819         (c1): Likewise.
66820         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66821         Adjust comments for base varying.
66822         (__expl_finite): Change alias to EXPL_FINITE.
66823         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66824         tests for bugs.
66825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66827         [BZ #14064]
66828         * math/libm-test.inc (check_float_internal): Correct ulp
66829         calculation for subnormal expected results.
66831 2012-05-06  Andreas Jaeger  <aj@suse.de>
66833         * Makeconfig (+math-flags): New, set to -frounding-math.
66834         (+cflags): Add +math-flags so that all of glibc gets compiled with
66835         it.
66837         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66839 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66841         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66842         Disable one test.
66844         [BZ #13787]
66845         [BZ #13922]
66846         [BZ #14036]
66847         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66848         (__ieee754_expl): Allow for and saturate large arguments.
66849         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66850         (u_threshold): Likewise.
66851         (__exp): Call __ieee754_exp before checking for overflow and
66852         underflow.
66853         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66854         (u_threshold): Likewise.
66855         (__expf): Call __ieee754_expf before checking for overflow and
66856         underflow.
66857         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66858         (u_threshold): Likewise.
66859         (__expl): Call __ieee754_expl before checking for overflow and
66860         underflow.
66861         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66862         (__ieee754_expl): Allow for and saturate large arguments.
66863         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66864         missing overflow exception on overflow.
66865         (expm1_test): Do not allow missing overflow exception on overflow.
66867         * sysdeps/i386/fpu/e_expl.c: Move to ...
66868         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66869         rather than using inline asm.
66870         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66871         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66872         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66874         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66875         (nice): Likewise.
66876         (poll): Likewise.
66877         (signal): Likewise.
66878         (time): Likewise.
66879         (times): Likewise.
66881 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66883         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66884         sysdeps/unix/common/syscalls.list.
66885         (fchmod): Likewise.
66886         (fchown): Likewise.
66887         (ftruncate): Likewise.
66888         (getrusage): Likewise.
66889         (gettimeofday): Likewise.
66890         (setpgid): Likewise.
66891         (setregid): Likewise.
66892         (setreuid): Likewise.
66893         (sigaction): Likewise.
66894         (truncate): Likewise.
66895         (vhangup): Likewise.
66896         * sysdeps/unix/common/syscalls.list: Remove file.
66897         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66898         * sysdeps/unix/sysv/linux/Implies: Likewise.
66900 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66902         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66904         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66905         Moved to ...
66906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66907         Here.
66908         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66909         to ...
66910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66911         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66912         to ...
66913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66914         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66915         to ...
66916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66917         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66918         to ...
66919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66920         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66921         to ...
66922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66923         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66924         to ...
66925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66926         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66927         to ...
66928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66929         Here.
66930         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66931         to ...
66932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66933         Here.
66934         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66935         to ...
66936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66937         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66938         Moved to ...
66939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66940         Here.
66941         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66942         to ...
66943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66945 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66947         * sysdeps/unix/common/bits/dirent.h: Remove file.
66948         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66950         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66951         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66952         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66953         * sysdeps/unix/bsd/isatty.c: Likewise.
66954         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66955         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66956         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66958 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66960         [BZ #13563]
66961         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66962         long double comparison inaccuracies.
66963         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66966 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66968         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66971 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66973         [BZ #14049]
66974         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66975         nonzero digits before rounding a hex value.
66976         * stdlib/tst-strtod.c (tests): Add another test.
66978 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66980         * sysdeps/s390/fpu/libm-test-ulps: Update.
66982 2012-05-03  Andreas Jaeger  <aj@suse.de>
66984         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66985         does not get optimized out.
66986         (malloc_opt_barrier): New.
66988 2012-05-03  Andreas Jaeger  <aj@suse.de>
66989             Roland McGrath  <roland@hack.frob.com>
66991         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66992         intermediate file deletion.
66993         (generated): Add .symlist files.
66995 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66997         [BZ #13775]
66998         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66999         Redirect under this condition.
67000         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67001         [__USE_GNU] (__dprintf_chk): Not under this condition.
67002         [__USE_GNU] (__vdprintf_chk): Likewise.
67003         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67004         under this condition.
67005         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67006         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67007         [__USE_XOPEN2K8] (vdprintf): Likewise.
67008         [__USE_GNU] (__dprintf_chk): Not under this condition.
67009         [__USE_GNU] (__vdprintf_chk): Likewise.
67010         [__USE_GNU] (dprintf): Likewise.
67011         [__USE_GNU] (vdprintf): Likewise.
67013 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67015         * elf/Makefile (common-generated): Set this instead of generated for
67016         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67017         $(all-built-dso)-derived lists.
67019 2012-05-03  Andreas Jaeger  <aj@suse.de>
67021         * sysdeps/i386/fpu/libm-test-ulps: Update.
67023         * FAQ: Removed.
67024         * FAQ.in: Likewise.
67025         * scripts/gen-FAQ.pl: Likewise.
67026         * manual/install.texi (Installation): Point to online location of
67027         FAQ.
67028         * Makefile (files-for-dist): Remove FAQ.
67029         (FAQ): Remove.
67031 2012-05-02  Allan McRae  <allan@archlinux.org>
67033         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67034         (LDFLAGS-reldepmod5.so): Likewise.
67035         (LDFLAGS-reldep6mod1.so): Likewise.
67036         (LDFLAGS-reldep6mod4.so): Likewise.
67037         (LDFLAGS-reldep8mod3.so): Likewise.
67038         (LDFLAGS-unload4mod1.so): Likewise.
67039         (LDFLAGS-unload4mod2.so): Likewise.
67040         (LDFLAGS-tst-initorder): Likewise.
67041         (LDFLAGS-tst-initordera2.so): Likewise.
67042         (LDFLAGS-tst-initordera3.so): Likewise.
67043         (LDFLAGS-tst-initordera4.so): Likewise.
67044         (LDFLAGS-tst-initorderb2.so): Likewise.
67045         (LDFLAGS-noload): Likewise.
67046         (LDFLAGS-next): Likewise.
67047         (LDFLAGS-order2mod1.so): Likewise.
67048         (LDFLAGS-order2mod2.so): Likewise.
67049         (LDFLAGS-tst-initorder2): Likewise.
67050         (LDFLAGS-tst-initorder2a.so): Likewise.
67051         (LDFLAGS-tst-initorder2b.so): Likewise.
67052         (LDFLAGS-tst-initorder2c.so): Likewise.
67053         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67055 2012-05-02  David S. Miller  <davem@davemloft.net>
67057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67059 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67061         [BZ #14055]
67062         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67064 2012-05-02  Andreas Jaeger  <aj@suse.de>
67066         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67067         since we manipulate rounding mode.
67068         (CPPFLAGS-test-idouble.c): Likewise.
67069         (CPPFLAGS-test-ifloat.c): Likewise.
67070         (CFLAGS-test-ldouble.c): Likewise.
67071         (CFLAGS-test-double.c): Likewise.
67072         (CFLAGS-test-float.c): Likewise.
67073         (CFLAGS-test-misc.c): Likewise.
67074         (CFLAGS-test-test-fenv.c): Likewise.
67076 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67078         [BZ #2550]
67079         [BZ #2570]
67080         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67081         comparisons to determine direction to adjust input.
67083 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67085         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67086         output to the target.
67088         * scripts/localplt.awk: New file.
67089         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67090         (check-localplt-CFLAGS): Variable removed.
67091         ($(all-built-dso:=.jmprel)): New static pattern rule.
67092         (generated): Add those targets.
67093         (localplt-built-dso): New variable.
67094         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67096         * elf/check-localplt.c: File removed.
67098         * scripts/check-execstack.awk: New file.
67099         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67100         (check-execstack-CFLAGS): Variable removed.
67101         ($(objpfx)check-execstack.h): Target removed.
67102         ($(objpfx)execstack-default): New target.
67103         (generated): Add that instead of check-execstack.h.
67104         ($(all-built-dso:=.phdr)): New static pattern rule.
67105         (generated): Add those targets.
67106         * elf/check-execstack.c: File removed.
67108         * scripts/check-textrel.awk: New file.
67109         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67110         (check-textrel-CFLAGS): Variable removed.
67111         (all-built-dso): Use := to define.o
67112         ($(all-built-dso:=.dyn)): New static pattern rule.
67113         (generated): Add those targets.
67114         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67115         * config.make.in (READELF): New substituted variable.
67116         * elf/check-textrel.c: File removed.
67118 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67120         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67121         allow.
67122         * conform/data/ctype.h-data [C99-based standards] (isblank):
67123         Expect function.
67124         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67125         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67126         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67127         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67128         Specify type.  Require positive value.
67129         (EILSEQ): Likewise.
67130         (ERANGE): Likewise.
67131         [ISO || POSIX] (EILSEQ): Do not expect.
67132         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67133         Specify type.  Require positive value.
67134         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67135         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67136         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67137         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67138         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67139         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67140         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67141         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67142         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67143         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67144         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67145         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67146         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67147         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67148         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67149         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67150         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67151         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67152         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67153         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67154         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67155         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67156         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67157         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67158         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67159         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67160         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67161         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67162         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67163         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67164         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67165         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67166         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67167         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67168         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67169         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67170         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67171         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67172         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67173         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67174         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67175         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67176         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67177         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67178         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67179         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67180         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67181         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67182         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67183         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67184         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67185         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67186         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67187         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67188         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67189         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67190         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67191         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67192         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67193         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67194         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67195         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67196         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67197         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67198         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67199         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67200         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67201         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67202         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67203         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67204         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67205         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67206         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67207         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67208         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67209         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67210         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67211         Require >= 2.
67212         (FLT_ROUNDS): Expect as macro, not constant.
67213         (FLT_MANT_DIG): Use macro-int-constant.
67214         (DBL_MANT_DIG): Likewise.
67215         (LDBL_MANT_DIG): Likewise.
67216         (FLT_DIG): Likewise.
67217         (DBL_DIG): Likewise.
67218         (LDBL_DIG): Likewise.
67219         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67220         (DBL_MIN_EXP): Likewise.
67221         (LDBL_MIN_EXP): Likewise.
67222         (FLT_MAX_EXP): Use macro-int-constant.
67223         (DBL_MAX_EXP): Likewise.
67224         (LDBL_MAX_EXP): Likewise.
67225         (FLT_MAX_10_EXP): Likewise.
67226         (DBL_MAX_10_EXP): Likewise.
67227         (LDBL_MAX_10_EXP): Likewise.
67228         (FLT_MAX): Use macro-constant.
67229         (DBL_MAX): Likewise.
67230         (LDBL_MAX): Likewise.
67231         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67232         (DBL_EPSILON): Likewise.
67233         (LDBL_EPSILON): Likewise.
67234         (FLT_MIN): Likewise.
67235         (DBL_MIN): Likewise.
67236         (LDBL_MIN): Likewise.
67237         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67238         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67239         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67240         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67241         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67242         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67243         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67244         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67245         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67246         [ISO11] (FLT_TRUE_MIN): Likewise.
67247         [ISO11] (LDBL_TRUE_MIN): Likewise.
67248         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67249         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67250         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67251         (SCHAR_MAX): Likewise.
67252         (UCHAR_MAX): Likewise.
67253         (CHAR_MIN): Likewise.
67254         (CHAR_MAX): Likewise.
67255         (MB_LEN_MAX): Use macro-int-constant.
67256         (SHRT_MIN): Use macro-int-constant.  Specify type.
67257         (SHRT_MAX): Likewise.
67258         (USHRT_MAX): Likewise.
67259         (INT_MAX): Likewise.
67260         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67261         bound negative.
67262         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67263         bound with "U".
67264         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67265         bound with "L".
67266         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67267         bound negative.  Suffix upper bound with "L".
67268         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67269         bound with "UL".
67270         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67271         Specify type.
67272         [C99-based standards] (LLONG_MAX): Likewise.
67273         [C99-based standards] (ULLONG_MAX): Likewise.
67274         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67275         == 0.
67276         [ISO11] (max_align_t): Require type.
67277         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67279         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67280         from $CFLAGS, without defining away __attribute__ calls.
67281         (checknamespace): Use $CFLAGS_namespace.
67283         * conform/conformtest.pl (@keywords): Only include C99 keywords
67284         for standards based on C99 or C11.
67286         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67287         Disable tests.
67288         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67289         UNIX98]: Likewise.
67291         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67292         usability of symbols in #if.
67294         * conform/conformtest.pl: If macro or constant types start
67295         "promoted:", expect the symbol to be of the following type
67296         promoted by the integer promotions.
67298         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67299         in one place.  Also handle "macro-constant".
67301         * conform/conformtest.pl: Only accept expected macro values with
67302         "==".  Parse all "macro" lines in one place.
67303         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67305         * conform/conformtest.pl: Handle braced types on "constant" lines
67306         instead of handling "typed-constant".
67307         * conform/data/signal.h-data: Use "constant" instead of
67308         "typed-constant".
67310         * conform/conformtest.pl: Handle "optional-" at start of lines in
67311         one place rather than duplicating several cases.  Handle each
67312         format of "macro" line with initial "optional-".
67314         * conform/conformtest.pl: Only accept expected constant or
67315         optional-constant values with "==".  Parse all "constant" lines in
67316         one place.  Parse all "optional-constant" lines in one place.
67317         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67318         * conform/data/fmtmsg.h-data: Likewise.
67319         * conform/data/netinet/in.h-data: Likewise.
67320         * conform/data/tar.h-data: Likewise.
67321         * conform/data/limits.h-data: Use "==" form on "constant" and
67322         "optional-constant" lines.
67324         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67325         Use -std=c99 for XOPEN2K.
67326         (@knownproblems): Remove.
67327         (newtoken): Don't check %isknown.
67329         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67330         Do not expect macro.
67331         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67332         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67333         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67334         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67335         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67336         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67337         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67338         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67339         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67340         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67341         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67342         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67343         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67344         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67345         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67346         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67347         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67348         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67349         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67350         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67351         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67352         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67353         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67354         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67355         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67356         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67357         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67358         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67359         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67360         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67361         [XPG3] (acosh): Likewise.
67362         [XPG3] (asinh): Likewise.
67363         [XPG3] (atanh): Likewise.
67364         [XPG3] (cbrt): Likewise.
67365         [XPG3] (expm1): Likewise.
67366         [XPG3] (ilogb): Likewise.
67367         [XPG3] (log1p): Likewise.
67368         [XPG3] (logb): Likewise.
67369         [XPG3] (nextafter): Likewise.
67370         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67371         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67372         [XPG3] (remainder): Likewise.
67373         [XPG3] (rint): Likewise.
67374         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67375         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67376         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67377         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67378         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67379         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67380         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67381         [UNIX98 || XOPEN2K] (scalb): Expect.
67382         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67383         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67384         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67385         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67386         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67387         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67388         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67389         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67390         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67391         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67392         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67393         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67394         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67395         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67396         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67397         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67398         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67399         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67400         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67401         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67402         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67403         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67404         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67405         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67406         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67407         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67408         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67409         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67410         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67411         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67412         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67413         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67414         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67415         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67416         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67417         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67418         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67419         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67420         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67421         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67422         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67423         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67424         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67425         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67426         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67427         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67428         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67429         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67430         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67431         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67432         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67433         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67434         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67435         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67436         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67437         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67438         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67439         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67440         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67441         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67442         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67443         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67444         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67445         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67446         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67447         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67448         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67449         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67450         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67451         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67452         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67453         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67454         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67455         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67456         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67457         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67458         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67459         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67460         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67461         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67462         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67463         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67464         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67465         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67466         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67467         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67468         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67469         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67470         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67471         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67472         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67473         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67474         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67475         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67476         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67477         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67478         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67479         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67480         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67481         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67482         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67483         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67484         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67485         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67486         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67487         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67488         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67489         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67490         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67491         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67492         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67493         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67494         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67495         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67496         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67497         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67498         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67499         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67500         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67501         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67502         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67503         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67504         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67505         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67506         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67507         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67508         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67509         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67510         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67511         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67512         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67513         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67514         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67515         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67516         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67517         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67518         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67520         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67521         _XOPEN_SOURCE_EXTENDED for XPG4.
67523         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67525         * Makeconfig (localtime): Remove variable.
67526         (inst_localtime-file): Likewise.
67528 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67531         Update.
67532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67533         Update.
67534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67535         Update.
67536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67537         Update.
67538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67539         Update.
67540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67541         Update.
67542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67543         Update.
67544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67545         Update.
67546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67547         Update.
67549 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67551         [BZ #2550]
67552         [BZ #2570]
67553         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67554         comparisons to determine direction to adjust input.
67555         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67556         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67557         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67558         Likewise.
67559         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67560         Likewise.
67561         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67562         Likewise.
67563         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67564         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67565         Likewise.
67566         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67567         Likewise.
67568         * math/libm-test.inc (nexttoward_test): Add more tests.
67570 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67572         [BZ #14040]
67573         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67574         in version GLIBC_2.1, not GLIBC_2.0.
67575         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67576         Likewise.
67578 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67580         [BZ #13942]
67581         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67582         (1 - x) * (1 + x).
67583         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67584         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67585         * math/libm-test.inc (acos_test): Add more tests.
67586         (asin_test): Likewise.
67587         * sysdeps/i386/fpu/libm-test-ulps: Update.
67588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67590         [BZ #14034]
67591         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67592         of square root.
67593         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67594         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67595         * math/libm-test.inc (acos_test_tonearest): New function.
67596         (acos_test_towardzero): Likewise.
67597         (acos_test_downward): Likewise.
67598         (acos_test_upward): Likewise.
67599         (asin_test_tonearest): Likewise.
67600         (asin_test_towardzero): Likewise.
67601         (asin_test_downward): Likewise.
67602         (asin_test_upward): Likewise.
67603         (main): Call the new functions.
67604         * sysdeps/i386/fpu/libm-test-ulps: Update.
67605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67607         [BZ #13884]
67608         [BZ #13924]
67609         * math/e_exp10.c: Include <float.h>.
67610         (__ieee754_exp10): Handle underflow here rather than multiplying
67611         large negative argument by M_LN10.
67612         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67613         of __ieee754_expf.
67614         * math/e_exp10l.c: Include <float.h>.
67615         (__ieee754_exp10l): Handle underflow here rather than multiplying
67616         large negative argument by M_LN10l.
67617         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67618         spurious overflow exception on underflow.
67620 2012-04-29  Marek Polacek  <polacek@redhat.com>
67622         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67623         (__fortify_function): New macro.
67624         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67625         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67626         __extern_always_inline.
67627         * libio/bits/stdio2.h: Likewise.
67628         * libio/bits/stdio.h: Likewise.
67629         * string/string.h: Likewise.
67630         * string/bits/string3.h: Likewise.
67631         * include/stdio.h: Likewise.
67632         * stdlib/bits/stdlib.h: Likewise.
67633         * stdlib/stdlib.h: Likewise.
67634         * rt/bits/mqueue2.h: Likewise.
67635         * rt/mqueue.h: Likewise.
67636         * posix/bits/unistd.h: Likewise.
67637         * posix/unistd.h: Likewise.
67638         * io/bits/poll2.h: Likewise.
67639         * io/bits/fcntl2.h: Likewise.
67640         * io/fcntl.h: Likewise.
67641         * io/sys/poll.h: Likewise.
67642         * misc/bits/syslog.h: Likewise.
67643         * misc/bits/syslog-ldbl.h: Likewise.
67644         * misc/sys/syslog.h: Likewise.
67645         * socket/bits/socket2.h: Likewise.
67646         * socket/sys/socket.h: Likewise.
67647         * debug/tst-chk1.c: Likewise.
67648         * wcsmbs/bits/wchar2.h: Likewise.
67649         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67650         * wcsmbs/wchar.h: Likewise.
67652 2012-04-29  Andreas Jaeger  <aj@suse.de>
67654         * Makerules (tests): Remove enable-check-abi protection.
67655         (check-abi-warn): Remove.
67656         (check-abi-%): Remove check-abi-warn usage.
67658         * configure.in: Remove check-abi configure option.
67659         * configure: Regenerated.
67660         * config.make.in (enable-check-abi): Remove.
67662 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67664         [BZ #14033]
67665         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67666         double functions to double *_finite functions.
67668         [BZ #13941]
67669         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67670         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67671         LDBL_MIN_EXP.
67672         * stdio-common/Makefile (tests): Add tst-sprintf3.
67673         * stdio-common/tst-sprintf3.c: New file.
67675         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67676         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67678 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67680         * conform/conformtest.pl: Remove duplicate typed-constant
67681         handling.
67683 2012-04-28  David S. Miller  <davem@davemloft.net>
67685         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67686         (check-abi-%): Remove AWK script prerequisite and explicit
67687         abilist directory.
67688         (check-abi): Rewrite to just diff the symlist with the abilist.
67689         (config-tls, config-abi-config): Delete, no longer used.
67690         (update-abi-%): Remove AWK script and explicit abilist directory.
67691         (update-abi): Rewrite to simply compare and conditionally copy the
67692         symlist and the sysdep abilist file.  Remove update-abi-config
67693         checks.
67694         * abilist/ld.abilist: Remove.
67695         * abilist/libBrokenLocale.abilist: Remove.
67696         * abilist/libanl.abilist: Remove.
67697         * abilist/libcrypt.abilist: Remove.
67698         * abilist/libdl.abilist: Remove.
67699         * abilist/librt.abilist: Remove.
67700         * abilist/libthread_db.abilist: Remove.
67701         * abilist/libutil.abilist: Remove.
67702         * scripts/extract-abilist.awk: Remove.
67703         * scripts/merge-abilist.awk: Remove.
67704         * sysdeps/generic/libcidn.abilist: New file.
67705         * sysdeps/generic/libnss_compat.abilist: New file.
67706         * sysdeps/generic/libnss_db.abilist: New file.
67707         * sysdeps/generic/libnss_dns.abilist: New file.
67708         * sysdeps/generic/libnss_files.abilist: New file.
67709         * sysdeps/generic/libnss_hesiod.abilist: New file.
67710         * sysdeps/generic/libnss_nis.abilist: New file.
67711         * sysdeps/generic/libnss_nisplus.abilist: New file.
67712         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67713         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67714         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67715         file.
67716         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67717         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67718         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67719         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67720         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67721         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67722         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67723         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67724         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67725         file.
67726         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67727         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67728         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67729         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67730         file.
67731         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67732         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67733         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67734         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67735         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67736         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67737         file.
67738         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67739         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67740         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67741         file.
67742         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67743         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67744         New file.
67745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67746         New file.
67747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67748         New file.
67749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67750         New file.
67751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67752         New file.
67753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67754         New file.
67755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67756         New file.
67757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67758         New file.
67759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67760         New file.
67761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67762         New file.
67763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67764         New file.
67765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67766         New file.
67767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67768         New file.
67769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67770         file.
67771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67772         New file.
67773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67774         New file.
67775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67776         file.
67777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67778         New file.
67779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67780         New file.
67781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67782         file.
67783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67784         New file.
67785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67786         New file.
67787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67788         New file.
67789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67790         New file.
67791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67792         New file.
67793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67794         New file.
67795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67797         file.
67798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67799         New file.
67800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67801         file.
67802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67803         file.
67804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67805         file.
67806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67807         file.
67808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67809         file.
67810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67811         New file.
67812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67813         file.
67814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67815         file.
67816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67817         New file.
67818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67819         file.
67820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67822         file.
67823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67824         New file.
67825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67826         file.
67827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67828         file.
67829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67830         file.
67831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67832         file.
67833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67834         file.
67835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67836         New file.
67837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67838         file.
67839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67840         file.
67841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67842         New file.
67843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67844         file.
67845         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67846         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67847         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67848         file.
67849         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67850         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67851         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67852         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67853         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67854         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67855         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67856         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67857         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67858         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67861         file.
67862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67863         New file.
67864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67865         file.
67866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67867         file.
67868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67869         file.
67870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67871         file.
67872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67873         file.
67874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67875         New file.
67876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67877         New file.
67878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67879         file.
67880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67881         New file.
67882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67883         file.
67884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67886         file.
67887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67888         New file.
67889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67890         file.
67891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67892         file.
67893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67894         file.
67895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67896         file.
67897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67898         file.
67899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67900         New file.
67901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67902         New file.
67903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67904         file.
67905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67906         New file.
67907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67908         file.
67910 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67912         * conform/conformtest.pl: Fix typo in handling typed-constant from
67913         allow-header.
67915 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67917         * README: Cut down references to pre-2.6 Linux kernels and
67918         Linuxthreads.  Update lists of configurations in libc and ports
67919         and sort alphabetically.  Say "or newer" with Linux kernel version
67920         requirements.
67922         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67924 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67926         [BZ #887]
67927         * math/libm-test.inc (logb_test_downward): New test to expose
67928         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67929         rounding mode.
67931 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67933         [BZ #14027]
67934         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67935         to be done.
67936         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67937         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67939 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67941         * sysdeps/unix/i386/brk.S: Remove file.
67942         * sysdeps/unix/i386/dl-brk.S: Likewise.
67943         * sysdeps/unix/i386/pipe.S: Likewise.
67944         * sysdeps/unix/i386/sigreturn.S: Likewise.
67945         * sysdeps/unix/i386/syscall.S: Likewise.
67946         * sysdeps/unix/i386/vfork.S: Likewise.
67947         * sysdeps/unix/i386/wait.S: Likewise.
67949         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67950         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67952         * configure.in (arm*-none*): Do not allow without
67953         --enable-hacker-mode.
67954         (netbsd*): Remove case setting base_os.
67955         (386bsd*): Likewise.
67956         (freebsd*): Likewise.
67957         (bsdi*): Likewise.
67958         (osf*): Likewise.
67959         (sunos*): Likewise.
67960         (ultrix*): Likewise.
67961         (newsos*): Likewise.
67962         (dynix*): Likewise.
67963         (*bsd*): Likewise.
67964         (sysv*): Likewise.
67965         (isc*): Likewise.
67966         (esix*): Likewise.
67967         (sco*): Likewise.
67968         (minix*): Likewise.
67969         (irix4*): Likewise.
67970         (irix6*): Likewise.
67971         (solaris[2-9]*): Likewise.
67972         (none): Likewise.
67973         * configure: Regenerated.
67975 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67977         [BZ #11521]
67978         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67979         overflow or cancellation in calculating denominator.
67980         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67981         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67982         down expression to avoid unexpected rounding in newer GCCs.
67983         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67985 2012-04-26  David S. Miller  <davem@davemloft.net>
67987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67988         long-double compat symbols.
67989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68003 2012-04-25  David S. Miller  <davem@davemloft.net>
68005         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68006         HWCAP_* values only after the memory barriers have been defined.
68007         (atomic_full_barrier): Define.
68008         (atomic_read_barrier): Define.
68009         (atomic_write_barrier): Define.
68011 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68013         * shlib-versions: Add libgcc_s version information.
68014         * sysdeps/generic/libgcc_s.h: Remove.
68015         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68016         libgcc_s.h.
68017         * sysdeps/gnu/unwind-resume.c: Likewise.
68018         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68020 2012-04-25  David S. Miller  <davem@davemloft.net>
68022         * sysdeps/unix/sparc/brk.S: Delete.
68023         * sysdeps/unix/sparc/dl-brk.S: Delete.
68024         * sysdeps/unix/sparc/pipe.S: Delete.
68025         * sysdeps/unix/sparc/sysdep.S: Delete.
68026         * sysdeps/unix/sparc/sysdep.h: Delete.
68027         * sysdeps/unix/sparc/vfork.S: Delete.
68028         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68029         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68030         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68031         (ret_ERRVAL, r0, r1, MOVE): Define.
68032         (JUMPTARGET): Remove.
68033         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68034         sysdeps/unix/sparc/sysdep.h
68035         (ENTRY, END): Remove.
68036         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68038 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68040         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68041         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68042         -DIS_IN_build.
68044         * timezone/README: Update upstream location and email address for
68045         tzcode and tzdata.
68046         * timezone/zdump.c: Update from tzcode 2012b.
68047         * timezone/zic.c: Likewise.
68049         * configure.in (libc_cv_as_needed): Remove test.
68050         * configure: Regenerated.
68051         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68052         conditional definition.
68053         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68054         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68055         * config.make.in (have-as-needed): Remove variable.
68057 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68058             Paul Pluzhnikov  <ppluzhnikov@google.com>
68060         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68061         strings correctly.
68063 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68065         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68066         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68067         * sysdeps/sh/strlen.S: Likewise.
68069 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68071         * sysdeps/unix/fork.S: Remove file.
68072         * sysdeps/unix/i386/fork.S: Likewise.
68073         * sysdeps/unix/sparc/fork.S: Likewise.
68075         * sysdeps/unix/system.c: Remove file.
68076         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68078         * sysdeps/unix/getegid.S: Remove file.
68079         * sysdeps/unix/geteuid.S: Likewise.
68081 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68083         * scripts/check-localplt.awk: New file.
68084         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68085         of diff.
68086         * scripts/data/localplt-generic.data: Add a comment.
68088         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68089         NODE when __dir_mkfile failed.
68090         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68091         Reported by Ludovic Courtès <ludo@gnu.org>.
68093 2012-04-24  Andreas Jaeger  <aj@suse.de>
68095         * Makerules (common-clean): Also remove gen-as-const-headers
68096         files.
68098 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68100         * Makerules (native-compile): Do not change working directory for
68101         build.  Use $(OUTPUT_OPTION) in command.
68102         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68104 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68106         [BZ #13886]
68107         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68108         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68109         * math/libm-test.inc (floor_test): Add more tests.
68110         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68112 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68114         * sysdeps/unix/getdents.c: Remove file.
68115         * sysdeps/unix/sysv/getdents.c: Likewise.
68116         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68118         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68119         sysdeps/unix/mman/syscalls.list.
68120         (mmap): Likewise.
68121         (mprotect): Likewise.
68122         (msync): Likewise.
68123         (munmap): Likewise.
68124         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68125         * sysdeps/unix/mman/syscalls.list: Remove.
68126         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68128         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68129         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68130         * configure: Regenerated.
68131         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68132         $(libgcc_s_suffix).
68133         * config.make.in (libgcc_s_suffix): Remove variable.
68135 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68137         * sysdeps/unix/sysv/gethostname.c: Move to ...
68138         * sysdeps/posix/gethostname.c: ... here.
68140         * sysdeps/unix/execve.S: Remove file.
68142         * sysdeps/unix/_exit.S: Remove file.
68144 2012-04-23  Andreas Jaeger  <aj@suse.de>
68146         [BZ #13739]
68147         * manual/Makefile: Remove make dist support, there's no
68148         need for a stand-alone documentation tar ball.
68149         (TEXI2DVI): Define always, it's not in Makeconfig.
68150         (dist): Removed.
68151         (tar-it): Removed.
68152         (edition): Removed.
68153         (glibc-doc-$(edition).tar): Removed
68154         (%.Z): Removed.
68155         (%.gz): Removed.
68156         (%.uu): Removed.
68157         (ETAGS): Remove, it's in Makeconfig.
68158         (move-if-change): Remove, it's in Makeconfig.
68160 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68162         [BZ #13970]
68163         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68164         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68165         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68166         (strtod_l, strtof_l, strtold_l): Remove __wur.
68167         It is not necessarily an error to ignore strtol's return value.
68168         One can reliably look at the stored endptr to decide whether
68169         the number had valid syntax.
68171 2012-04-21  Andreas Jaeger  <aj@suse.de>
68173         [BZ #13739]
68174         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68176 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68178         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68179         * sysdeps/unix/sysv/Versions: Remove file.
68181 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68183         [BZ #13927]
68184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68186 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68188         [BZ #7064]
68189         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68190         version from __vm86.
68192 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68194         * sysdeps/unix/common/lxstat.c: Remove file.
68195         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68197         * sysdeps/unix/sysv/Makefile: Remove file.
68199         * sysdeps/unix/sysv/direct.h: Remove file.
68201         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68202         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68203         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68204         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68205         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68206         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68207         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68209         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68211         * sysdeps/unix/xmknod.c: Remove file.
68212         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68214         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68216         * sysdeps/unix/sysv/i386/time.S: Remove file.
68218         * sysdeps/unix/fxstat.c: Remove file.
68219         * sysdeps/unix/xstat.c: Likewise.
68220         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68222         * sysdeps/unix/sysv/sigaction.c: Remove file.
68224         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68225         (sysdep_headers): Remove variable.
68226         [termio.h not in sysdep_headers] (generated): Likewise.
68227         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68228         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68229         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68230         * sysdeps/unix/sysv/tcflow.c: Likewise.
68231         * sysdeps/unix/sysv/tcflush.c: Likewise.
68232         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68233         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68234         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68235         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68236         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68238         * sysdeps/unix/siglist.c: Remove file.
68240         * sysdeps/unix/getppid.S: Remove file.
68242         * sysdeps/unix/mkdir.c: Remove file.
68243         * sysdeps/unix/rmdir.c: Likewise.
68245 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68247         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68248         ERR_MAX value.
68249         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68250         errlist-compat value.
68252 2012-04-18  David S. Miller  <davem@davemloft.net>
68254         * sysdeps/generic/memcopy.h (reg_char): Delete.
68255         * debug/strcat_chk.c: Use char, not reg_char.
68256         * debug/strcpy_chk.c: Likewise.
68257         * debug/strncat_chk.c: Likewise.
68258         * debug/strncpy_chk.c: Likewise.
68259         * string/memchr.c: Likewise.
68260         * string/memrchr.c: Likewise.
68261         * string/rawmemchr.c: Likewise.
68262         * string/strcat.c: Likewise.
68263         * string/strchr.c: Likewise.
68264         * string/strchrnul.c: Likewise.
68265         * string/strcmp.c: Likewise.
68266         * string/strcpy.c: Likewise.
68267         * string/strncat.c: Likewise.
68268         * string/strncmp.c: Likewise.
68269         * string/strncpy.c: Likewise.
68271 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68273         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68274         __builtin_memcopy is called when src and dest ranges are known to not
68275         overlap.
68277 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68279         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68280         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68281         fwd_align_merge macro call.
68282         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68283         bwd_align_merge macro call.
68284         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68286 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68288         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68289         bwd_align_merge macros.
68290         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68291         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68292         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68294 2012-04-18  David S. Miller  <davem@davemloft.net>
68296         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68298 2012-04-18  Andreas Jaeger  <aj@suse.de>
68300         [BZ# 6794]
68301         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68302         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68303         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68305         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68306         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68307         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68309         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68310         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68311         Adjust for changed ldbl-128 files.
68313         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68314         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68315         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68317 2012-04-17  David S. Miller  <davem@davemloft.net>
68319         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68321 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68323         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68324         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68325         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68326         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68327         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68328         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68330 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68332         [BZ #6794]
68333         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68334         * math/libm-test.inc: Add ilogb errno and exception tests.
68335         * math/w_ilogb.c: New file: ilogb wrapper.
68336         * math/w_ilogbf.c: New file: ilogbf wrapper.
68337         * math/w_ilogbl.c: New file: ilogbl wrapper.
68338         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68339         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68340         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68341         exception being thrown with 0.0 as argument.
68342         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68343         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68344         exception being thrown with 0.0 as argument.
68345         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68346         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68347         exception being thrown with 0.0 as argument.
68348         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68349         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68350         exception being thrown with 0.0 as argument.
68351         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68352         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68353         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68354         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68355         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68356         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68357         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68358         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68359         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68361 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68363         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68364         with altivec.
68366 2012-04-16  Marek Polacek  <polacek@redhat.com>
68368         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68370 2012-04-16  Marek Polacek  <polacek@redhat.com>
68372         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68373         operands of fdivp instruction.
68375 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68377         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68378         * elf/tst-auditmod3b.c: Likewise.
68379         * elf/tst-auditmod4b.c: Likewise.
68380         * elf/tst-auditmod5b.c: Likewise.
68381         * elf/tst-auditmod6b.c: Likewise.
68382         * elf/tst-auditmod6c.c: Likewise.
68383         * elf/tst-auditmod7b.c: Likewise.
68384         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68385         * sysdeps/x86_64/preconfigure.in: Likewise.
68386         * sysdeps/x86_64/preconfigure: Regenerated.
68388 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68390         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68391         __ILP32__.
68393 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68395         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68396         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68398 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68400         [BZ #13973]
68401         * locale/iso-639.def: Fix gl language name. Spotted by
68402         Yaron Shahrabani.
68404 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68406         [BZ #2074]
68407         * libio/libio.h (__io_write_fn): Update comment.
68409 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68411         [BZ #2074]
68412         * stdio.texi (Hook Functions): The user provided writer function
68413         is not allowed to return -1.
68415 2012-04-11  David S. Miller  <davem@davemloft.net>
68417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68419 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68421         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68422         Add a leading slash to rtkaio.
68424 2012-04-11  Jim Meyering  <meyering@redhat.com>
68426         [BZ #11959]
68427         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68428         It is not necessarily an error to ignore fwrite's return
68429         value.  One can reliably use ferror to test for errors after
68430         the fact.
68432 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68434         * bits/types.h (__snseconds_t): New type.
68435         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68437         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68438         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68439         (__SNSECONDS_T_TYPE): Likewise.
68440         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68441         (__SNSECONDS_T_TYPE): Likewise.
68442         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68443         (__SNSECONDS_T_TYPE): Likewise.
68445 2012-04-10  Andreas Jaeger  <aj@suse.de>
68447         [BZ #2636]
68448         * manual/time.texi (Processor Time): Return type of times is
68449         elapsed real time since an arbitrary point in the past.
68450         (CPU Time): Move CLK_TCK from here...
68451         (Processor Time): ...to here.  Correct description.
68452         * manual/conf.texi (Constants for Sysconf): Correct description of
68453         _SC_CLK_TCK.
68455 2012-04-10  David S. Miller  <davem@davemloft.net>
68457         [BZ #13967]
68458         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68459         where the is a gap between DT_REL(A) and DT_JMPREL.
68461 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68463         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68464         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68465         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68467 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68469         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68470         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68471         (dl_main): Handle --inhibit-cache.
68472         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68473         _dl_inhibit_cache.
68474         * elf/dl-load.c (_dl_map_object): Use it.
68475         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68477 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68479         [BZ #13872]
68480         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68481         (__ieee754_powl): Saturate large exponents rather than testing for
68482         overflow of y*log2(x).
68483         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68484         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68485         exceptions.
68487         [BZ #11521]
68488         * math/s_ctan.c: Include <float.h>.
68489         (__ctan): Avoid internal overflow or cancellation in calculating
68490         denominator.
68491         * math/s_ctanf.c: Likewise.
68492         * math/s_ctanl.c: Likewise.
68493         * math/s_ctanh.c: Likewise.
68494         * math/s_ctanhf.c: Likewise.
68495         * math/s_ctanhl.c: Likewise.
68496         * math/libm-test.inc (ctan_test): Add more tests.
68497         (ctanh_test): Likewise.
68498         * sysdeps/i386/fpu/libm-test-ulps: Update.
68499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68501 2012-04-09  Andreas Jaeger  <aj@suse.de>
68503         [BZ #6894]
68504         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68505         is an optional BSD extension.
68507         [BZ #10254]
68508         * manual/stdio.texi (Opening Streams): Document additional fopen
68509         parameters.
68511 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68513         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68514         %eax without telling the compiler.
68516 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68518         [BZ # 13963]
68519         * manual/install.texi: Use sourceware.org.
68521 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68523         [BZ #13873]
68524         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68525         (__ieee754_pow): Generate overflow and underflow using huge*huge
68526         and tiny*tiny rather than just returning constant infinity or zero
68527         for large exponents.
68528         * math/libm-test.inc (pow_test): Require overflow exceptions for
68529         applicable cases of large exponents.
68531         [BZ #706]
68532         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68533         (__ieee754_pow): Use iterative multiplication algorithm only for
68534         integer exponents with absolute value below 1024.  Check for odd
68535         integer exponents when using algorithm for real exponents.
68536         * math/libm-test.inc (pow_test): Add more tests.
68537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68539 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68541         [BZ #13705]
68542         * math/libm-test.inc (exp_test): Do not allow overflow exception
68543         on underflow test.
68545 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68547         [BZ #13705]
68548         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68549         instead of __kernel_standard_f.
68551 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68553         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68554         * sysdeps/x86_64/memset_chk.S: Likewise.
68556 2012-04-08  Andreas Jaeger  <aj@suse.de>
68558         [BZ #10153]
68559         * manual/startup.texi (Environment Access): Describe return value
68560         for putenv and setenv.
68562         [BZ #6895]
68563         * manual/filesys.texi (Directory Entries): Add description for
68564         DT_LNK.
68566         [BZ #6890]
68567         * manual/filesys.texi (Directory Entries): Clarify that it's file
68568         system not operating system in the description of DT_UNKNOWN.
68570         [BZ #6578]
68571         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68573 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68575         [BZ #6649]
68576         * manual/llio.texi (Opening and Closing Files): Add cross
68577         reference to explain mode argument.
68579 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68581         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68582         * sysdeps/x86_64/memset_chk.S: Likewise.
68584 2012-04-07  David S. Miller  <davem@davemloft.net>
68586         * elf/elf.h (R_SPARC_WDISP10): Define.
68587         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68588         R_SPARC_SIZE32.
68589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68590         R_SPARC_SIZE64 and R_SPARC_H34.
68592 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68594         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68595         conditions and remove no longer applicable assertion.
68597 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68599         * bits/byteswap.h: Include <features.h>.
68600         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68601         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68603 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68605         * bits/byteswap.h (__bswap_16): Removed.
68606         Include <bits/byteswap-16.h> to get __bswap_16.
68607         * sysdeps/i386/bits/byteswap.h: Likewise.
68608         * sysdeps/s390/bits/byteswap.h: Likewise.
68609         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68610         * bits/byteswap-16.h: New file.
68611         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68612         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68613         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68614         * string/Makefile (headers): Add bits/byteswap-16.h.
68616 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68618         [BZ #13895]
68619         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68620         extra indirection.
68621         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68622         * nss/tst-nss-static.c: New.
68624 2012-04-06  Robert Millan  <rmh@gnu.org>
68626         [BZ #6486]
68627         * manual/llio.texi (File Position Primitive): lseek
68628         refers to WHENCE when it really means OFFSET.
68630 2012-04-06  Andreas Jaeger  <aj@suse.de>
68632         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68633         strncmp declarations.
68635         * abilist/libc.abilist: Add __poll and __ppoll.
68637 2012-04-05  David S. Miller  <davem@davemloft.net>
68639         * scripts/check-local-headers.sh: Accept a host triplet in the
68640         path matched by the exclude regexp.
68642         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68643         definition.
68644         * sysdeps/powerpc/powerpc32/dl-machine.h
68645         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68646         * sysdeps/s390/s390-32/dl-machine.h
68647         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68648         * sysdeps/sparc/sparc32/dl-machine.h
68649         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68650         * sysdeps/sparc/sparc64/dl-machine.h
68651         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68653         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68654         lazy binding.
68655         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68656         undefined symbol errors.
68658         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68659         DT_NEEDED entries.
68661 2012-04-05  Michael Matz  <matz@suse.de>
68663         [BZ #13592]
68664         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68666 2012-04-05  Andreas Jaeger  <aj@suse.de>
68668         [BZ #13908]
68669         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68670         comment.
68672 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68674         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68675         which ROUND is no valid rounding mode.
68677 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68679         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68680         read again.
68681         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68683 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68685         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68686         an exception using FPU order intentionally.
68688 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68690         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68691         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68692         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68693         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68695 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68697         [BZ #12340]
68698         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68699         EINVAL when BUFLEN is too smal.
68701 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68703         [BZ #13553]
68704         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68705         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68707 2012-04-03  Andreas Jaeger  <aj@suse.de>
68709         [BZ #13938]
68710         * manual/setjmp.texi (System V contexts): Fix sentence.
68712         [BZ #13926]
68713         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68714         New macro for this case.
68715         [!__GNUC__] (__bswap_64): New inline function for this case.
68716         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68717         * bits/byteswap.h: Likewise.
68718         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68719         ull, guard with __GLIBC_HAVE_LONG_LONG.
68721         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68722         __GLIBC_HAVE_LONG_LONG.
68724         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68725         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68727 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68729         [BZ #13691]
68730         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68731         inptr and inend, rather than using last_ch.
68733 2012-04-02  David S. Miller  <davem@davemloft.net>
68735         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68736         * stdio-common/printf-parse.h (read_int): Change return type to
68737         'int', return -1 on INT_MAX overflow.
68738         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68739         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68740         overflows INT_MAX.  Check for overflow of in-format-string precision
68741         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68742         SIZE_MAX not INT_MAX for integer overflow test.
68743         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68744         skip the construct in the format string but do not record anything.
68745         * stdio-common/bug22.c: Adjust to test both width/prevision
68746         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68747         explicitly for proper errno values.
68749 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68751         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68752         CHAR_MAX.
68753         * string/test-strcmp.c [! WIDE]: Likewise.
68754         * time/tst-mktime2.c: Likewise for INT_MAX.
68755         * string/test-string.h: #include <sys/param.h> for MIN.
68757         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68758         * sysdeps/i386/init-first.c (init): Likewise.
68759         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68760         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68761         * sysdeps/sh/init-first.c (init): Likewise.
68763 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68765         * po/ru.po: Update from translation team.
68766         * po/vi.po: Likewise.
68768 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68770         * resolv/nss_dns/dns-host.c: Merge copyright years.
68772 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68774         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68775         Optimize memcpy with prefetch if
68776         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68777         src, dst pointers have unequal 16 byte alignments.
68779 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68781         [BZ #13928]
68782         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68783         from a CNAME entry and return the minimum ttl for the query.
68784         (gaih_getanswer_slice): Likewise.
68786 2012-03-30  Jeff Law  <law@redhat.com>
68788         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68789         due to long keys.
68790         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68791         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68793         * resolv/nss_dns/dns-host.c: Update copyright year.
68795 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68797         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68798         requests to save a system call.  Fix check that all bytes are sent.
68800         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68801         comments for sendmmsg.
68803 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68805         [BZ #13691]
68806         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68807         with only 1 character between 0x0041 and 0x01b0.
68808         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68809         * wcsmbs/tst-mbsnrtowcs.c: New file.
68811 2012-03-29  David S. Miller  <davem@davemloft.net>
68813         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68814         small copies by hand.
68816 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68818         [BZ #13761]
68819         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68820         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68821         group memberships.
68823 2012-03-28  David S. Miller  <davem@davemloft.net>
68825         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68826         that branches into memcpy.
68827         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68828         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68829         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68830         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68831         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68832         bits.
68833         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68834         implementation too.
68835         * sysdeps/sparc/mempcpy.S: New file.
68837         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68838         the IFUNC routine in the libc case.
68839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68841         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68842         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68843         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68844         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68845         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68846         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68847         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68848         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68850         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68851         loop to 256 bytes instead of 64 bytes and fix test signedness.
68853         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68854         * sysdeps/sparc/sparc32/Makefile: rather than here...
68855         * sysdeps/sparc/sparc64/Makefile: and here.
68857 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68859         * malloc/mallocbug.c: Avoid warnings about unused variables.
68861 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68863         [BZ #13760]
68864         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68865         in the right place. Discard and retry query if response is
68866         larger than input buffer size.
68868 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68870         [BZ #369]
68871         [BZ #2678]
68872         [BZ #3866]
68873         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68874         x for large integer exponent.
68875         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68876         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68877         sign of result as needed afterwards.
68878         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68879         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68880         result for underflowing pow the same as for overflow.
68881         (__kernel_standard_l): Handle powl overflow and underflow here
68882         rather than calling __kernel_standard.
68883         * math/libm-test.inc (pow_test): Add more tests.
68885         [BZ #3868]
68886         [BZ #13879]
68887         [BZ #13910]
68888         [BZ #13911]
68889         [BZ #13912]
68890         [BZ #13913]
68891         [BZ #13915]
68892         [BZ #13916]
68893         [BZ #13917]
68894         [BZ #13918]
68895         [BZ #13919]
68896         [BZ #13920]
68897         [BZ #13921]
68898         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68899         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68900         (__kernel_standard_l): New function.
68901         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68902         __kernel_standard.
68903         * math/w_acosl.c (__acosl): Likewise.
68904         * math/w_asinl.c (__asinl): Likewise.
68905         * math/w_atan2l.c (__atan2l): Likewise.
68906         * math/w_atanhl.c (__atanhl): Likewise.
68907         * math/w_coshl.c (__coshl): Likewise.
68908         * math/w_exp10l.c (__exp10l): Likewise.
68909         * math/w_exp2l.c (__exp2l): Likewise.
68910         * math/w_fmodl.c (__fmodl): Likewise.
68911         * math/w_hypotl.c (__hypotl): Likewise.
68912         * math/w_j0l.c (__j0l, __y0l): Likewise.
68913         * math/w_j1l.c (__j1l, __y1l): Likewise.
68914         * math/w_jnl.c (__jnl, __ynl): Likewise.
68915         * math/w_lgammal.c (__lgammal): Likewise.
68916         * math/w_log10l.c (__log10l): Likewise.
68917         * math/w_log2l.c (__log2l): Likewise.
68918         * math/w_logl.c (__logl): Likewise.
68919         * math/w_powl.c (__powl): Likewise.
68920         * math/w_remainderl.c (__remainderl): Likewise.
68921         * math/w_scalbl.c (sysv_scalbl): Likewise.
68922         * math/w_sinhl.c (__sinhl): Likewise.
68923         * math/w_sqrtl.c (__sqrtl): Likewise.
68924         * math/w_tgammal.c (__tgammal): Likewise.
68925         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68926         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68927         * math/libm-test.inc (acos_test): Add more tests.
68928         (acosh_test): Likewise.
68929         (asin_test): Likewise.
68930         (atanh_test): Likewise.
68931         (exp_test): Likewise.
68932         (exp10_test): Likewise.
68933         (exp2_test): Likewise.
68934         (expm1_test): Likewise.
68935         (lgamma_test): Likewise.
68936         (log_test): Likewise.
68937         (log10_test): Likewise.
68938         (log1p_test): Likewise.
68939         (log2_test): Likewise.
68940         (pow_test): Do not allow some spurious overflow exceptions.
68941         (sqrt_test): Add more tests.
68942         (tgamma_test): Likewise.
68943         (y0_test): Likewise.
68944         (y1_test): Likewise.
68945         (yn_test): Likewise.
68947 2012-03-27  Anton Blanchard  <anton@samba.org>
68949         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68950         MAP_HUGETLB.
68951         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68952         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68953         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68955 2012-03-27  David S. Miller  <davem@davemloft.net>
68957         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68959         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68960         have-as-vis3 check.
68962 2012-03-27  Andreas Jaeger  <aj@suse.de>
68964         * sysdeps/x86_64/elf/configure.in: Moved to ...
68965         * sysdeps/x86_64/configure.in: ... here.
68966         * sysdeps/x86_64/elf/start.S: Moved to ...
68967         * sysdeps/x86_64/start.S: ... here.
68968         * sysdeps/x86_64/elf/configure: Delete.
68970         * sysdeps/x86_64/configure.in: Merge contents from
68971         sysdeps/i386/configure.in (without i686 check).
68973         * sysdeps/i386/elf/Versions: Merge into ...
68974         * sysdeps/i386/Versions: ... this.
68975         * sysdeps/i386/elf/Versions: Delete file.
68976         * sysdeps/i386/elf/start.S: Moved to ...
68977         * sysdeps/i386/start.S: ...here.
68978         * sysdeps/i386/elf/configure.in: Merge into...
68979         * sysdeps/i386/configure.in: ...here.
68980         * sysdeps/i386/elf/configure.in: Delete file.
68981         * sysdeps/i386/elf/configure: Delete file.
68983         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68984         * debug/backtracesyms.c: ... here.
68985         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68986         * debug/backtracesymsfd.c: ... here.
68987         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68988         * sysdeps/generic/ifunc-sel.h: ... here.
68990         * sysdeps/unix/i386/start.c: Delete file.
68991         * sysdeps/unix/sparc/start.c: Delete file.
68992         * sysdeps/unix/start.c: Delete file.
68994         * sysdeps/sh/elf/configure.in: Moved to ...
68995         * sysdeps/sh/configure.in: ... here.
68996         * sysdeps/sh/elf/start.S: Moved to ...
68997         * sysdeps/sh/start.S: ... here.
68998         * sysdeps/sh/elf/configure: Delete file.
69000         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69001         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69002         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69003         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69004         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69005         * sysdeps/powerpc/powerpc64/start.S: here.
69006         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69007         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69008         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69009         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69010         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69012         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69013         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69014         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69015         * sysdeps/powerpc/powerpc32/start.S: ... here.
69016         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69017         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69018         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69020         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69021         * sysdeps/powerpc/ifunc-sel.h: ... here.
69022         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69023         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69025         * sysdeps/sparc/elf/configure.in: Moved to ...
69026         * sysdeps/sparc/configure.in: ... here.
69027         * sysdeps/sparc/elf/configure: Delete file.
69028         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69029         * sysdeps/sparc/sparc32/start.S: ... here.
69030         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69031         * sysdeps/sparc/sparc64/start.S: ... here.
69032         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69033         * sysdeps/sparc/sparc32/Makefile: ... this.
69034         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69035         * sysdeps/sparc/sparc64/Makefile: ... this.
69037         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69038         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69039         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69040         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69041         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69042         * sysdeps/s390/s390-32/setjmp.S: ... here.
69043         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69044         * sysdeps/s390/s390-32/configure.in: ... here.
69045         * sysdeps/s390/s390-32/elf/configure: Delete file.
69046         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69047         * sysdeps/s390/s390-32/start.S: ... here.
69049         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69050         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69051         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69052         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69053         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69054         * sysdeps/s390/s390-64/setjmp.S: ... here.
69055         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69056         * sysdeps/s390/s390-64/configure.in: ... here
69057         * sysdeps/s390/s390-64/elf/configure: Delete file.
69058         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69059         * sysdeps/s390/s390-64/start.S: ... here.
69060         * sysdeps/s390/s390-64/elf/configure: Delete.
69062         * configure.in: Remove support for elf directories in sysdeps.
69064         * configure: Regenerated.
69065         * sysdeps/i386/configure: Regenerated.
69066         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69067         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69068         * sysdeps/s390/s390-32/configure: Regenerated.
69069         * sysdeps/s390/s390-64/configure: Regenerated.
69070         * sysdeps/sh/configure: Regenerated.
69071         * sysdeps/sparc/configure: Regenerated.
69072         * sysdeps/x86_64/configure: Regenerated.
69074 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69078         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69079         denormal result into account.
69081 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69083         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69084         Reported by Allan McRae <allan@archlinux.org>.
69086 2012-03-23  Jeff Law  <law@redhat.com>
69088         * nss/getnssent.c (__nss_getent): Fix typo.
69090 2012-03-23  David S. Miller  <davem@davemloft.net>
69092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69094 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69096         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69097         to pad to uint64_t for each field.
69098         (dl_tls_index): Replace unsigned long with uint64_t.
69100 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69101         Paul Pluzhnikov  <ppluzhnikov@google.com>
69103         [BZ #6528]
69104         * grp/Makefile (otherlibs): Don't set it.
69105         * inet/Makefile (otherlibs): Likewise.
69106         * login/Makefile (otherlibs): Likewise.
69107         * nscd/Makefile (otherlibs): Likewise.
69108         * posix/Makefile (otherlibs): Likewise.
69109         * pwd/Makefile (otherlibs): Likewise.
69110         * rt/Makefile (otherlibs): Likewise.
69111         * sunrpc/Makefile (otherlibs): Likewise.
69112         * nss/Makefile (otherlibs): Likewise.
69113         Add libnss_files to routines and static-only-routines.
69114         ($(objpfx)getent): Remove rule.
69115         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69116         static-only-routines.
69118 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69120         [BZ #13892]
69121         * math/s_cexp.c: Include <float.h>.
69122         (__cexp): Handle exp result overflowing not necessarily
69123         overflowing both real and imaginary parts of result.
69124         * math/s_cexpf.c: Likewise.
69125         * math/s_cexpl.c: Likewise.
69126         * math/libm-test.inc (cexp_test): Add more tests.
69127         * sysdeps/i386/fpu/libm-test-ulps: Update.
69128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69130 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69132         * include/link.h (ELFW): New macro.
69133         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69134         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69136 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69138         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69139         with uint64_t.
69141 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69143         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69144         declaration.
69145         (struct La_x32_retval): Likewise.
69147 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69149         * sysdeps/x86_64/preconfigure.in: New file.
69150         * sysdeps/x86_64/preconfigure: New generated file.
69152 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69154         [BZ #13824]
69155         * math/e_exp2l.c: Include <float.h>.
69156         (__ieee754_exp2l): Handle overflow and underflow cases
69157         separately.  Only pass fractional part of argument to
69158         __ieee754_expl.
69159         * math/libm-test.inc (exp2_test): Add more tests.
69161         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69162         negating x to take absolute value.
69163         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69164         Likewise.
69165         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69166         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69167         Likewise.
69168         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69169         computing low part if x was negated.
69170         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69172 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69174         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69175         la_x32_gnu_pltexit.
69176         (pltexit): Cast int_retval to ptrdiff_t.
69177         * elf/tst-auditmod3b.c: Likewise.
69178         * elf/tst-auditmod4b.c: Likewise.
69179         * elf/tst-auditmod5b.c: Likewise.
69180         * elf/tst-auditmod6b.c: Likewise.
69181         * elf/tst-auditmod6c.c: Likewise.
69182         * elf/tst-auditmod7b.c: Likewise.
69184         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69185         and x32_gnu_pltexit.
69187         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69188         __ELF_NATIVE_CLASS.
69189         (La_x32_regs): New macro.
69190         (La_x32_retval): Likewise.
69191         (la_x32_gnu_pltenter): New function prototype.
69192         (la_x32_gnu_pltexit): Likewise.
69194 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69196         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69197         exponent.
69199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69201         * configure.in (libc_cv_cc_nofma): Check for option to disable
69202         generation of FMA instructions.
69203         * configure: Regenerate.
69204         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69205         * sysdeps/ieee754/dbl-64/Makefile: New file.
69206         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69207         Remove brandred-fma4.
69208         (CFLAGS-brandred-fma4.c): Remove.
69209         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69210         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69211         define.
69212         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69213         define.
69215 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69217         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69218         LLONG_MAX != LONG_MAX.
69219         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69220         (_fitoa_word): Likewise.
69221         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69222         LLONG_MAX != LONG_MAX.
69223         * stdio-common/_itowa.h: Include <_itoa.h>.
69224         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69225         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69226         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69227         only if not defined.
69228         (_ITOA_WORD_TYPE): Likewise.
69229         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69230         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69232 2012-03-21  David S. Miller  <davem@davemloft.net>
69234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69236 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69238         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69239         of x86_64 when setting libc_cv_slibdir, libdir and
69240         libc_cv_localedir.
69241         * sysdeps/unix/sysv/linux/configure: Regenerated.
69243 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69245         * manual/lang.texi (Old Varargs): Remove section.
69246         (How Variadic): Update menu.
69247         (va_start): Do not mention varargs.h.
69249 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69250             Joseph Myers  <joseph@codesourcery.com>
69252         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69253         link test.
69254         * configure: Regenerated.
69256 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69258         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69259         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69260         conformtest.pl
69262 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69264         * NOTES: Remove.
69265         * Makefile (files-for-dist): Remove NOTES.
69266         (NOTES): Remove rule.
69267         * README: Don't refer to NOTES.
69268         * manual/creature.texi: Don't include macros.texi.
69269         * manual/intro.texi (creature.texi): Remove comment referring to
69270         NOTES.
69272         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69273         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69274         * configure: Regenerated.
69275         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69276         LIBC_TRY_CC_OPTION.
69277         (libc_cv_as_i686): Likewise.
69278         (libc_cv_cc_avx): Likewise.
69279         (libc_cv_cc_sse2avx): Likewise.
69280         (libc_cv_cc_fma4): Likewise.
69281         (libc_cv_cc_novzeroupper): Likewise.
69282         * sysdeps/i386/configure: Regenerated.
69284         [BZ #13883]
69285         * sysdeps/i386/fpu/s_cexp.S: Remove.
69286         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69287         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69288         * math/libm-test.inc (cexp_test): Add more tests.
69289         * sysdeps/i386/fpu/libm-test-ulps: Update.
69290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69292 2012-03-21  Allan McRae  <allan@archlinux.org>
69294         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69296 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69298         [BZ #13871]
69299         * math/w_exp2.c: Do not include <float.h>.
69300         (o_threshold, u_threshold): Remove.
69301         (__exp2): Calculate result before checking finiteness and calling
69302         __kernel_standard.
69303         * math/w_exp2f.c: Likewise.
69304         * math/w_exp2l.c: Likewise.
69305         * math/libm-test.inc (exp2_test): Require overflow exception for
69306         1e6 input.
69308         [BZ #3866]
69309         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69310         range of signed 64-bit integers before using fistpll.  Remove
69311         checks for whether integers fit in mantissa bits.
69312         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69313         the range of signed 32-bit integers before using fistpl.  Remove
69314         checks for whether integers fit in mantissa bits.
69315         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69316         (__ieee754_powl): Test for y outside the range of signed 64-bit
69317         integers before using fistpll.  Reduce 64-bit values to 63-bit
69318         ones as needed.
69319         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69320         divide-by-zero is raised for zero to large negative powers.
69321         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69322         (__ieee754_powl): Test for y outside the range of signed 64-bit
69323         integers before using fistpll.  Reduce 64-bit values to 63-bit
69324         ones as needed.
69325         * math/libm-test.inc (pow_test): Add more tests.
69327 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69329         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69330         <stdio-common/_itoa.h>.
69331         * debug/segfault.c: Likewise.
69332         * elf/dl-cache.c: Likewise.
69333         * elf/dl-minimal.c: Likewise.
69334         * elf/dl-misc.c: Likewise.
69335         * elf/dl-sysdep.c: Likewise.
69336         * elf/dl-version.c: Likewise.
69337         * elf/rtld.c: Likewise.
69338         * hurd/hurdsock.c: Likewise.
69339         * hurd/lookup-retry.c: Likewise.
69340         * malloc/malloc.c: Likewise.
69341         * malloc/mtrace.c: Likewise.
69342         * nscd/nscd_getgr_r.c: Likewise.
69343         * nscd/nscd_getpw_r.c: Likewise.
69344         * nscd/nscd_getserv_r.c: Likewise.
69345         * posix/getopt_init.c: Likewise.
69346         * posix/wordexp.c: Likewise.
69347         * stdio-common/_itoa.c: Likewise.
69348         * stdio-common/printf_fphex.c: Likewise.
69349         * stdio-common/vfprintf.c: Likewise.
69350         * string/_strerror.c: Likewise.
69351         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69352         * sysdeps/i386/i686/hp-timing.h: Likewise.
69353         * sysdeps/mach/_strerror.c: Likewise.
69354         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69355         * sysdeps/mach/hurd/sethostid.c: Likewise.
69356         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69357         * sysdeps/mach/xpg-strerror.c: Likewise.
69358         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69359         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69360         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69361         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69362         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69363         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69364         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69365         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69366         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69367         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69368         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69369         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69370         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69371         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69372         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69373         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69374         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69375         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69376         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69377         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69378         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69380         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69382         * stdio-common/_itoa.h: Moved to ...
69383         * sysdeps/generic/_itoa.h: Here.
69385         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69387         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69388         instead of "_itoa.h" and "_itowa.h".
69389         * stdio-common/vfprintf.: Likewise.
69391 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69393         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69394         <bits/wordsize.h>.
69395         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69396         (__signbit): Likwise.
69397         (llrintf): Likwise.
69398         (llrint): Likwise.
69400 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69402         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69403         __WORDSIZE != 64.
69405 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69407         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69408         OVERFLOW_EXCEPTION_OK.
69409         * math/libm-test.inc ("Philosophy"): Update comment about
69410         exception testing.
69411         (OVERFLOW_EXCEPTION): Define.
69412         (OVERFLOW_EXCEPTION_OK): Likewise.
69413         (INVALID_EXCEPTION_OK): Renumber.
69414         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69415         (IGNORE_ZERO_INF_SIGN): Likewise.
69416         (test_exceptions): Handle FE_OVERFLOW.
69417         (exp10_test): Expect overflow exceptions.
69418         (exp2_test): Likewise.
69419         (expm1_test): Likewise.
69420         (nextafter_test): Likewise.
69421         (pow_test): Likewise.
69422         (scalbn_test): Likewise.
69423         (scalbln_test): Likewise.
69425 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69427         * sysdeps/x86_64/bits/atomic.h
69428         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69429         64bit integer.
69430         (atomic_exchange_acq): Likewise.
69431         (__arch_exchange_and_add_body): Likewise.
69432         (__arch_add_body): Likewise.
69433         (atomic_add_negative): Likewise.
69434         (atomic_add_zero): Likewise.
69436 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69438         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69439         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69441 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69443         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69444         Check __x86_64__ instead of __WORDSIZE.
69446 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69448         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69450 2012-03-19  David S. Miller  <davem@davemloft.net>
69452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69454         * sysdeps/sparc/fpu/fenv_private.h: New file.
69455         * sysdeps/sparc/fpu/math_private.h: Use it.
69456         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69457         Remove.
69458         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69459         (libc_feholdexcept_setroundl): Remove.
69460         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69461         Remove.
69462         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69463         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69465 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69467         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69468         int64_t instead of long int.
69469         (INSERT_WORDS64): Likwise.
69471 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69473         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69474         _Unwind_GetCFA return to _Unwind_Ptr first.
69476 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69478         [BZ #13629]
69479         * math/s_clog.c: Include <float.h>.
69480         (__clog): Scale large or subnormal inputs.
69481         * math/s_clogf.c: Likewise.
69482         * math/s_clogl.c: Likewise.
69483         * math/s_clog10.c: Include <float.h>.
69484         (M_LOG10_2): Define.
69485         (__clog10): Scale large or subnormal inputs.
69486         * math/s_clog10f.c: Likewise.
69487         * math/s_clog10l.c: Likewise.
69488         * math/libm-test.inc (clog_test): Add more tests.
69489         (clog10_test): Likewise.
69490         * sysdeps/i386/fpu/libm-test-ulps: Update.
69491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69493         [BZ #11451]
69494         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69495         x and y.
69496         * math/libm-test.inc (atan2_test): Add another test.
69498         * Makerules (common-objdir-compile): Remove.
69499         * sysdeps/unix/Makefile (config-generated): Do not add
69500         $(unix-generated) to variable.
69501         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69502         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69503         Remove rule.
69504         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69505         Likewise.
69506         [generic bits/local_lim.h] (before-compile): Do not append to
69507         variable.
69508         [generic bits/local_lim.h] (common-generated): Likewise.
69509         [generic sys/param.h] (before-compile): Do not append to variable.
69510         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69511         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69512         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69513         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69514         include.
69515         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69516         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69517         [generic sys/param.h] ($(addprefix
69518         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69519         [generic sys/param.h] (common-generated): Do not append to
69520         variable.
69521         [generic sys/param.h] (sysdep_headers): Likewise.
69522         [generic bits/errno.h] (before-compile): Do not append to
69523         variable.
69524         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69525         rule.
69526         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69527         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69528         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69529         [generic bits/errno.h] (common-generated): Do not append to
69530         variable.
69531         [generic bits/ioctls.h] (before-compile): Do not append to
69532         variable.
69533         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69534         rule.
69535         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69536         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69537         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69538         rule.
69539         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69540         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69541         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69542         [generic bits/ioctls.h] (common-generated): Do not append to
69543         variable.
69544         [generic sys/syscall.h] (syscall.h): Remove variable.
69545         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69546         rule.
69547         [generic sys/syscall.h] (before-compile): Do not append to
69548         variable.
69549         [generic sys/syscall.h] (common-generated): Likewise.
69550         * sysdeps/unix/errnos-tmpl.c: Remove file.
69551         * sysdeps/unix/errnos.awk: Likewise.
69552         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69553         * sysdeps/unix/ioctls.awk: Likewise.
69554         * sysdeps/unix/mk-local_lim.c: Likewise.
69555         * sysdeps/unix/snarf-ioctls: Likewise.
69557 2012-03-19  Richard Henderson  <rth@twiddle.net>
69559         * sysdeps/i386/fpu/fenv_private.h: New file.
69560         * sysdeps/i386/fpu/math_private.h: Use it.
69561         (math_opt_barrier, math_force_eval): Remove.
69562         (libc_feholdexcept_setround_53bit): Remove.
69563         (libc_feupdateenv_53bit): Remove.
69564         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69565         (math_opt_barrier, math_force_eval): Remove.
69566         (libc_feholdexcept): Remove.
69567         (libc_feholdexcept_setround): Remove.
69568         (libc_fetestexcept, libc_fesetenv): Remove.
69569         (libc_feupdateenv_test): Remove.
69570         (libc_feupdateenv, libc_feholdsetround): Remove.
69571         (libc_feresetround): Remove.
69573         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69574         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69576         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69577         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69578         (libc_feupdateenv_testl): New.
69579         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69580         (libc_feupdateenv_testf): New.
69581         (libc_feupdateenv): Use libc_feupdateenv_test.
69582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69583         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69585         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69586         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69587         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69588         (libc_feresetround_noex): New.
69589         (libc_feresetround_noexf): New.
69590         (libc_feresetround_noexl): New.
69591         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69592         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69593         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69594         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69595         SET_RESTORE_ROUND.
69596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69598         (__cos): Likewise.
69599         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69600         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69601         SET_RESTORE_ROUND_NOEX.
69602         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69603         SET_RESTORE_ROUND_NOEXF.
69604         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69605         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69606         (libc_feholdsetroundf): New.
69607         (libc_feresetround, libc_feresetroundf): New.
69609         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69610         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69611         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69613         * sysdeps/generic/math_private.h: Include <fenv.h>.
69614         (default_libc_feholdexcept): New.
69615         (default_libc_feholdexcept_setround): New.
69616         (default_libc_fesetenv, default_libc_feupdateenv): New.
69617         (libc_feholdexcept): Only define if undefined.
69618         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69619         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69620         (libc_feholdexcept_setroundl): Likewise.
69621         (libc_feholdexcept_setround_53bit): Likewise.
69622         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69623         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69624         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69625         (libc_feupdateenv_53bit): Likewise.
69626         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69627         (libc_feholdexcept): Convert from macro to inline function.
69628         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69629         (libc_fesetenv, libc_feupdateenv): Likewise.
69631         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69632         not previously defined.
69633         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69634         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69635         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69636         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69637         * sysdeps/ieee754/flt-32/math_private.h: New file.
69638         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69639         math_private.h below SET_FLOAT_WORD.
69640         (__isnan, __isinf_ns, __finite): Remove.
69641         (__isnanf, __isinf_nsf, __finitef): Remove.
69643 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69647 2012-03-17  David S. Miller  <davem@davemloft.net>
69649         [BZ #6471]
69650         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69651         for 2.16.
69653 2012-03-16  David S. Miller  <davem@davemloft.net>
69655         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69656         warnings.
69658         [BZ #6471]
69659         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69660         properly.
69661         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69662         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69663         sysdep_routines when subdir is sysvipc.
69664         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69665         __getshmlba helper.
69667         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69669 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69671         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69672         [__LP64__].
69674 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69676         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69677         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69678         (__lround): Renamed to ...
69679         (__llround): This.  Replace long int with long long int.
69680         Define lround functions as aliases of llround functions.
69681         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69683 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69685         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69686         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69687         adresses to uintptr_t.  Replace "long int" and "unsigned long
69688         int" with "greg_t" on va_arg.
69690 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69692         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69693         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69695         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69696         Move e_machine check before EI_CLASS check.  Handle x32
69697         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69698         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69699         SKIP_EM_IA_64 and include
69700         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69702         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69703         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69704         (add_system_dir): New macro.
69706         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69707         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69709 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69711         [BZ #2551]
69712         [BZ #2552]
69713         [BZ #2553]
69714         [BZ #2554]
69715         [BZ #2562]
69716         [BZ #2563]
69717         [BZ #2565]
69718         [BZ #2566]
69719         [BZ #2576]
69720         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69721         (y0): Likewise.
69722         * math/w_j0f.c (j0f): Likewise.
69723         (y0f): Likewise.
69724         * math/w_j0l.c (__j0l): Likewise.
69725         (__y0l): Likewise.
69726         * math/w_j1.c (j1): Likewise.
69727         (y1): Likewise.
69728         * math/w_j1f.c (j1f): Likewise.
69729         (y1f): Likewise.
69730         * math/w_j1l.c (__j1l): Likewise.
69731         (__y1l): Likewise.
69732         * math/w_jn.c (jn): Likewise.
69733         (yn): Likewise.
69734         * math/w_jnf.c (jnf): Likewise.
69735         (ynf): Likewise.
69736         * math/w_jnl.c (__jnl): Likewise.
69737         (__ynl): Likewise.
69738         * math/libm-test.inc (j0_test): Add more tests.
69739         (j1_test): Likewise.
69740         (jn_test): Likewise.  Add trailing semicolon to existing test.
69741         (y0_test): Likewise.
69742         (y1_test): Likewise.
69743         * sysdeps/i386/fpu/libm-test-ulps: Update.
69744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69746         [BZ #13851]
69747         [BZ #13854]
69748         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69749         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69750         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69751         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69752         (__tanl): Set errno for infinite argument.
69753         * sysdeps/i386/fpu/mptan.c: Remove.
69754         * sysdeps/i386/fpu/s_tan.S: Likewise.
69755         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69756         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69757         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69758         * math/libm-test.inc (tan_test): Add more tests and enable more
69759         tests for double and long double.
69760         * sysdeps/i386/fpu/libm-test-ulps: Update.
69761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69763 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69765         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69766         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69768 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69770         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69771         * configure.in: Use it for both main tree and add-ons.
69772         * configure: Regenerated.
69774 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69776         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69778 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69780         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69781         in comment.
69783         [BZ #13851]
69784         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69785         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69786         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69787         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69788         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69789         infinite argument.
69790         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69791         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69792         != 0 for prec == 2.
69793         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69794         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69795         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69796         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69797         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69798         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69799         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69800         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69801         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69802         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69803         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69804         * math/libm-test.inc (cos_test): Add more tests and enable more
69805         tests for long double.
69806         (sin_test): Likewise.
69807         (sincos_test): Likewise.
69808         * sysdeps/i386/fpu/libm-test-ulps: Update.
69809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69811 2012-03-16  David S. Miller  <davem@davemloft.net>
69813         * sysdeps/sparc/fpu/math_private.h: New file.
69815 2012-03-15  David S. Miller  <davem@davemloft.net>
69817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69818         file.
69819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69821         file.
69822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69827         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69828         sysdep routines.
69829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69831         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69832         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69834         * sysdeps/sparc/sparc-ifunc.h: New file.
69835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69836         sparc-ifunc.h
69837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69839         Likewise.
69840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69841         Likewise.
69842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69846         Likewise.
69847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69852         Likewise.
69853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69854         Likewise.
69855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69859         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69860         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69861         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69862         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69864         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69869         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69870         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69871         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69872         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69873         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69874         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69875         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69876         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69877         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69878         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69880 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69882         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69883         scaling.
69884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69886 2012-03-15  Andreas Jaeger  <aj@suse.de>
69888         [BZ #13852]
69889         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69890         ieee754/flt-32 implementation for sin, cos and sincos.
69891         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69892         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69893         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69894         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69895         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69896         ieee754/flt-32 implementation for tan.
69898         * math/libm-test.inc (cos_test): Enable some large input tests for
69899         float as well
69900         (sin_test): Likewise.
69901         (sincos_test): Likewise.
69902         (tan_test): Add tests for large input.
69904         * sysdeps/i386/fpu/libm-test-ulps: Update.
69906 2012-03-15  Andreas Jaeger  <aj@suse.de>
69908         [BZ #13658]
69909         * math/libm-test.inc (cos_test): Add more test cases.
69910         (sin_test): Likewise.
69911         (sincos_test): Likewise.
69913 2012-03-15  Andreas Jaeger  <aj@suse.de>
69915         [BZ #13837]
69916         * math/libm-test.inc (cos_test): Add a test case for large input
69917         value.
69918         (sin_test): Likewise.
69919         (sincos_test): Likewise.
69921 2012-03-15  Andreas Jaeger  <aj@suse.de>
69922             Joseph Myers  <joseph@codesourcery.com>
69924         [BZ #13658]
69925         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69926         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69927         * sysdeps/i386/fpu/branred.c: Likewise.
69928         * sysdeps/i386/fpu/dosincos.c: Likewise.
69929         * sysdeps/i386/fpu/mpa.c: Likewise.
69930         * sysdeps/i386/fpu/s_cos.S: Likewise.
69931         * sysdeps/i386/fpu/s_sin.S: Likewise.
69932         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69933         * sysdeps/i386/fpu/sincos32.c: Likewise.
69935         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69936         Define.
69937         (libc_feupdateenv_53bit): Define.
69938         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69939         Define.
69940         (libc_feupdateenv_53bit): Define.
69942         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69943         53 bit (without extend i386 double precision).
69945         * math/libm-test.inc (sincos_test): Add tests for large input.
69946         (sin): Likewise.
69947         (cos): Likewise.
69949         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69951 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69955 2012-03-15  David S. Miller  <davem@davemloft.net>
69957         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69958         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69959         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69960         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69973         file.
69974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69976         file.
69977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69979         file.
69980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69982         file.
69983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69984         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69985         fmin/fmax sysdep routines.
69986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69988 2012-03-14  David S. Miller  <davem@davemloft.net>
69990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69994         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69995         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69996         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69997         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69999         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70002         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70003         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70005         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70006         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70007         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70008         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70010         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70011         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70012         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70013         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70014         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70015         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70016         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70017         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70019         routines.
70020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70021         file.
70022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70024         file.
70025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70027         file.
70028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70030         file.
70031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70033         file.
70034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70036         file.
70037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70038         file.
70039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70040         file.
70041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70042         file.
70043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70044         New file.
70045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70046         file.
70047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70048         file.
70049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70051         file.
70052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70054         file.
70055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70057         file.
70058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70060         VIS3 routines.
70062         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70063         New file.
70065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70067         * sysdeps/sparc/configure.in: New file.
70068         * sysdeps/sparc/configure: Generate.
70069         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70070         * configure: Regenerate.
70071         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70072         * config.make.in (have-as-vis3): New.
70073         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70074         available use -Av9d instead of -Av9a.
70075         * sysdeps/sparc/sparc64/Makefile: Likewise.
70076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70078         New file.
70079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70080         file.
70081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70082         New file.
70083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70084         file.
70085         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70086         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70087         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70088         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70089         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70091         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70092         fzeros/fnegs to load 0x80000000 into a float register instead of
70093         using the stack.
70094         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70096 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70099         bits/syscall.h.
70100         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70101         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70102         ($(inst_includedir)/bits/syscall.h): Remove rule.
70103         ($(objpfx)bits/syscall.d): Include instead of
70104         $(objpfx)syscall-list.d.
70105         (generated): Change syscall-list.h and syscall-list.d to
70106         bits/syscall.h and bits/syscall.d.
70108 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70110         [BZ #13846]
70111         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70113 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70115         [BZ #13841]
70116         * math/s_csqrt.c: Include <float.h>.
70117         (__csqrt): Scale large or subnormal inputs.
70118         * math/s_csqrtf.c: Likewise.
70119         * math/s_csqrtl.c: Likewise.
70120         * math/libm-test.inc (csqrt_test): Add more tests.
70121         * sysdeps/i386/fpu/libm-test-ulps: Update.
70122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70124         [BZ #13840]
70125         * math/libm-test.inc (hypot_test): Add more tests.
70127 2012-03-13  David S. Miller  <davem@davemloft.net>
70129         [BZ #13840]
70130         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70131         double-precision for the calculation instead of scaling.
70133 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70135         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70136         manipulate bits before adding and subtracting TWO52[sx].
70137         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70138         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70139         Likewise.
70140         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70142 2012-03-13  David S. Miller  <davem@davemloft.net>
70144         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70145         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70146         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70147         rtld-global-offsets.h
70148         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70150         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70151         large parameters.
70153         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70155         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70156         'err' in the ifdef scope in which it is actually used.
70158         * nss/nss_db/db-init.c: Include string.h
70160 2012-03-12  David S. Miller  <davem@davemloft.net>
70162         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70163         masking out of the most significant byte of random value used.
70164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70165         Fix coding style in previous change.
70167         * sysdeps/unix/sysv/linux/kernel-features.h
70168         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70169         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70170         expression.
70171         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70172         later.
70174 2012-03-11  David S. Miller  <davem@davemloft.net>
70176         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70177         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70178         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70179         for 'resultvar' otherwise things get truncated on 64-bit.
70181         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70182         Fix masking out of the most significant byte of random value used.
70184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70186 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70190 2012-03-09  David S. Miller  <davem@davemloft.net>
70192         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70193         variables with appropriate CPP guards.
70194         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70195         from the frame pointer, not the stack pointer.  Correct layout
70196         comments.  Fix test on resulting framesize and the management of
70197         the outregs buffer for pltexit.  Preserve floating point return
70198         values across _dl_call_pltexit call.
70199         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70200         framesize and the management of the outregs buffer for pltexit.
70201         Preserve floating point return values across _dl_call_pltexit
70202         call.
70203         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70204         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70205         (la_sparc64_gnu_pltexit): New functions.
70206         (print_exit): Fix format string for return register value.
70208 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70210         * sunrpc/Makefile (others): Add rpcgen.
70211         ($(objpfx)rpcgen): Remove special build rule and dependency on
70212         libc.
70213         * sunrpc/rpcgen.c: New file.
70215 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70217         [BZ #13673]
70218         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70219         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70220         * sysdeps/i386/crti.S: Likewise.
70221         * sysdeps/i386/crtn.S: Likewise.
70222         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70223         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70224         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70225         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70226         * sysdeps/sh/crti.S: Likewise.
70227         * sysdeps/sh/crtn.S: Likewise.
70228         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70230         [BZ #13673]
70231         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70232         with URL.
70233         * locale/programs/locfile-kw.gperf: Likewise.
70234         * locale/programs/charmap-kw.h: Regenerated.
70235         * locale/programs/locfile-kw.h: Likewise.
70237         [BZ #13673]
70238         * intl/plural.y: Replace FSF snail mail address with URL.
70239         * intl/plural.c: Regenerated.
70241 2012-03-09  Richard Henderson  <rth@twiddle.net>
70243         * include/math_private.h: Remove file.
70244         * math/math_private.h: Move file ...
70245         * sysdeps/generic/math_private.h: ... here.
70247         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70248         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70249         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70251         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70252         and <math_private.h>.
70253         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70254         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70255         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70256         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70257         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70258         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70259         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70260         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70261         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70262         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70264         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70265         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70266         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70267         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70268         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70269         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70270         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70271         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70272         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70274         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70275         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70277         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70278         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70279         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70280         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70281         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70283         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70284         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70285         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70286         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70287         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70288         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70289         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70290         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70291         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70292         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70293         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70294         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70295         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70296         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70297         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70298         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70299         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70300         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70301         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70302         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70303         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70304         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70305         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70306         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70307         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70308         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70309         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70310         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70311         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70312         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70313         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70314         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70315         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70316         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70317         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70318         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70319         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70320         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70321         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70322         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70323         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70324         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70325         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70326         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70327         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70328         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70329         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70330         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70331         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70332         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70333         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70334         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70335         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70336         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70337         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70338         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70340         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70341         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70342         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70343         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70344         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70345         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70346         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70347         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70348         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70349         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70350         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70351         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70352         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70353         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70354         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70355         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70356         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70357         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70358         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70359         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70360         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70361         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70362         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70363         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70364         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70365         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70366         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70367         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70368         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70369         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70370         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70371         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70372         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70373         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70374         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70375         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70376         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70377         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70378         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70379         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70380         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70381         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70382         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70383         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70384         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70385         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70386         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70387         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70388         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70389         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70390         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70391         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70392         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70393         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70394         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70395         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70396         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70397         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70398         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70399         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70400         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70401         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70402         * sysdeps/ieee754/k_standard.c: Likewise.
70403         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70404         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70405         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70406         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70407         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70408         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70409         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70410         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70411         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70412         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70415         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70416         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70417         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70418         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70419         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70420         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70421         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70422         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70423         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70424         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70425         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70426         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70427         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70428         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70429         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70430         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70431         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70432         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70433         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70434         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70435         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70436         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70437         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70438         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70439         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70440         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70441         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70442         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70443         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70444         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70445         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70446         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70447         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70448         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70449         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70450         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70451         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70452         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70453         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70454         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70455         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70456         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70457         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70458         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70459         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70460         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70461         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70462         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70463         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70464         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70465         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70467         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70468         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70469         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70470         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70471         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70472         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70473         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70475         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70476         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70477         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70479         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70480         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70482         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70483         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70484         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70485         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70486         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70487         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70488         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70489         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70490         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70491         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70493         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70494         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70495         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70496         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70498         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70499         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70500         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70501         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70502         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70506         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70507         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70508         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70509         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70510         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70511         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70512         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70513         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70514         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70515         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70516         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70517         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70518         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70519         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70520         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70521         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70522         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70523         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70524         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70525         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70526         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70527         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70528         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70529         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70530         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70531         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70532         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70533         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70534         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70535         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70536         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70537         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70538         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70539         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70540         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70541         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70542         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70543         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70544         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70545         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70546         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70547         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70548         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70549         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70550         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70551         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70552         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70553         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70554         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70555         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70556         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70557         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70558         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70559         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70560         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70561         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70562         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70563         * sysdeps/ieee754/s_lib_version.c: Likewise.
70564         * sysdeps/ieee754/s_matherr.c: Likewise.
70565         * sysdeps/ieee754/s_signgam.c: Likewise.
70566         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70567         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70568         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70569         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70570         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70571         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70572         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70573         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70574         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70575         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70576         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70577         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70578         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70579         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70580         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70581         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70582         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70583         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70584         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70588 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70590         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70591         * sunrpc/rpc_main.c: Likewise.
70592         * sunrpc/rpc_svcout.c: Likewise.
70594 2012-03-09  David S. Miller  <davem@davemloft.net>
70596         * include/math_private.h: New file.
70598 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70600         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70601         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70602         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70603         from <bits/socket_type.h>.
70604         (enum __socket_type): Don't define here.
70605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70607         bits/socket_type.h.
70609         [BZ #13566]
70610         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70611         checking __USE_GNU.
70613         * Makerules ($(inst_includedir)/%.h): New rule.
70614         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70615         (install-others): Remove variable setting.
70616         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70618 2012-03-08  Richard Henderson  <rth@twiddle.net>
70620         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70621         from macro to inline function; merge with the
70622         !__LIBC_INTERNAL_MATH_INLINES version.
70623         (__ieee754_sqrtf): Likewise.
70625         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70626         to inline function.
70627         (__rintf, __floor, __floorf): Likewise.
70629         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70630         macro to inline function.
70631         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70633         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70634         not <math/math_private.h>.
70636 2012-03-08  David S. Miller  <davem@davemloft.net>
70638         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70639         copyright year.
70640         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70642 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70644         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70645         normalization.
70646         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70647         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70649 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70651         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70652         be defined individually, they must be defined as a block.  Define
70653         S for printing a string instead of hidint the different by using a
70654         macro for adding the 'l'.
70655         * stdio-common/tst-fphex-wide.c: Adjust.
70657 2012-03-07  Marek Polacek  <polacek@redhat.com>
70659         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70661 2012-03-08  Marek Polacek  <polacek@redhat.com>
70663         [BZ #13806]
70664         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70665         * stdio-common/tst-fphex.c: Define a few macros to make the
70666         test reusable.  Use them.
70667         * stdio-common/tst-fphex-wide.c: New file.
70669 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70671         [BZ #6911]
70672         * manual/macros.texi (gnusystems): New macro.
70673         (nongnusystems): Likewise.
70674         (gnulinuxhurdsystems): Likewise.
70675         (gnuhurdsystems): Likewise..
70676         (gnulinuxsystems): Likewise.
70677         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70678         variants of the GNU system, not "GNU system".
70679         * manual/conf.texi: Likewise.
70680         * manual/errno.texi: Likewise.  Update example of errno macro
70681         expansion.
70682         * manual/filesys.texi: Likewise.
70683         (getumask): Document as specific to GNU/Hurd.
70684         * manual/install.texi: Likewise.  Reword some references to
70685         GNU/Linux.
70686         * manual/intro.texi: Likewise.
70687         * manual/io.texi: Likewise.
70688         (File Name Portability): Detail which constraints are inapplicable
70689         to all GNU systems and which are only inapplicable to GNU/Hurd.
70690         * manual/job.texi: Likewise.
70691         * manual/llio.texi: Likewise.
70692         (O_NOCTTY): Document as present on GNU/Linux.
70693         * manual/maint.texi: Likewise.
70694         * manual/memory.texi: Likewise.
70695         * manual/pattern.texi: Likewise.
70696         * manual/pipe.texi: Likewise.
70697         * manual/process.texi: Likewise.
70698         * manual/resource.texi: Likewise.
70699         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70700         child on GNU/Hurd.
70701         * manual/setjmp.texi: Likewise.
70702         * manual/signal.texi: Likewise.
70703         * manual/startup.texi: Likewise.
70704         * manual/stdio.texi: Likewise.
70705         * manual/terminal.texi: Likewise.
70706         (ONLCR): Document as POSIX.
70707         (OXTABS): Document availability on GNU/Linux as XTABS.
70708         (ONOEOT): Document availability separately from other bits.
70709         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70710         * manual/time.texi: Likewise.
70711         * manual/users.texi: Likewise.
70712         * INSTALL: Regenerated.
70713         * sysdeps/gnu/errlist.c: Regenerated.
70715         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70716         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70717         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70718         puts.
70719         * configure: Regenerated.
70721 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70723         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70724         default includes instead of AC_HEADER_CHECK.
70725         * sysdeps/i386/configure: Regenerated.
70727         [BZ #10716]
70728         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70729         * math/s_cacoshf.c (__cacoshf): Likewise.
70730         * math/s_cacoshl.c (__cacoshl): Likewise.
70731         * math/s_casinh.c (__casinh): Set signs of result from argument.
70732         * math/s_casinhf.c (__casinhf): Likewise.
70733         * math/s_casinhl.c (__casinhl): Likewise.
70734         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70735         (casinh_test): Add more tests.
70736         * sysdeps/i386/fpu/libm-test-ulps: Update.
70737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70739 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70741         * po/zh_TW.po: Update from translation team.
70743         * login/Makefile (distribute): Remove variable.
70744         * catgets/Makefile: Likewise.
70745         * mach/Makefile: Likewise.
70746         * malloc/Makefile: Likewise.
70747         * misc/Makefile: Likewise.
70748         * iconv/Makefile: Likewise.
70749         * nscd/Makefile: Likewise.
70750         * hurd/Makefile: Likewise.
70751         * manual/Makefile: Likewise.
70752         * locale/Makefile: Likewise.
70753         * intl/Makefile: Likewise.
70754         * conform/Makefile: Likewise.
70755         * nss/Makefile: Likewise.
70756         * time/Makefile: Likewise.
70757         * soft-fp/Makefile: Likewise.
70758         * dirent/Makefile: Likewise.
70759         * gmon/Makefile: Likewise.
70760         * po/Makefile: Likewise.
70761         * rt/Makefile: Likewise.
70762         * socket/Makefile: Likewise.
70763         * math/Makefile: Likewise.
70764         * signal/Makefile: Likewise.
70765         * debug/Makefile: Likewise.
70766         * elf/Makefile: Likewise.
70767         * timezone/Makefile: Likewise.
70768         * stdlib/Makefile: Likewise.
70769         * iconvdata/Makefile: Likewise.
70770         * sunrpc/Makefile: Likewise.
70771         * io/Makefile: Likewise.
70772         * argp/Makefile: Likewise.
70773         * inet/Makefile: Likewise.
70774         * hesiod/Makefile: Likewise.
70775         * grp/Makefile: Likewise.
70776         * csu/Makefile: Likewise.
70777         * wctype/Makefile: Likewise.
70778         * crypt/Makefile: Likewise.
70779         * libio/Makefile: Likewise.
70780         * string/Makefile: Likewise.
70781         * nis/Makefile: Likewise.
70782         * resolv/Makefile: Likewise.
70783         * stdio-common/Makefile: Likewise.
70784         * wcsmbs/Makefile: Likewise.
70785         * dlfcn/Makefile: Likewise.
70786         * posix/Makefile: Likewise.
70788         [BZ #6959]
70789         * timezone/Makefile: Don't install timezone files, just the programs
70790         and scripts.
70792 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70794         * nss/databases.def: Add missing gshadow entry.
70796         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70798 2012-03-06  Marek Polacek  <polacek@redhat.com>
70800         [BZ #13726]
70801         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70802         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70803         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70804         * stdio-common/tst-long-dbl-fphex.c: New file.
70806 2012-03-06  David S. Miller  <davem@davemloft.net>
70808         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70809         (set_obp_int): New function.
70810         (get_obp_int): New function.
70811         (__get_clockfreq_via_dev_openprom): Likewise.
70812         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70813         Avoid unused variable warnings on 'val' and use builtin_expect.
70814         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70815         __builtin_expect.
70816         (INLINE_CLONE_SYSCALL): Likewise.
70818 2012-03-05  David S. Miller  <davem@davemloft.net>
70820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70822 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70826         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70827         only for |x| >= 40.
70828         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70830 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70832         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70833         Replace gettimeofday with __vdso_gettimeofday.
70835         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70836         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70837         __vdso_clock_gettime and __vdso_getcpu.
70839         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70840         time with __vdso_time.
70842 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70844         * manual/lang.texi (size_t): Note types to which size_t may be
70845         equivalent with the GNU C Library, but do not describe when
70846         differences between them are significant.
70848 2012-03-05  Andreas Jaeger  <aj@suse.de>
70850         * sysdeps/i386/fpu/libm-test-ulps: Update.
70852 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70854         [BZ #3976]
70855         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70856         (__ieee754_pow): Save and restore rounding mode and use
70857         round-to-nearest for main computations.
70858         * math/libm-test.inc (pow_test_tonearest): New function.
70859         (pow_test_towardzero): Likewise.
70860         (pow_test_downward): Likewise.
70861         (pow_test_upward): Likewise.
70862         (main): Call the new functions.
70863         * sysdeps/i386/fpu/libm-test-ulps: Update.
70864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70866         [BZ #3976]
70867         * math/libm-test.inc (cosh_test_tonearest): New function.
70868         (cosh_test_towardzero): Likewise.
70869         (cosh_test_downward): Likewise.
70870         (cosh_test_upward): Likewise.
70871         (sinh_test_tonearest): Likewise.
70872         (sinh_test_towardzero): Likewise.
70873         (sinh_test_downward): Likewise.
70874         (sinh_test_upward): Likewise.
70875         (main): Call the new functions.
70876         * sysdeps/i386/fpu/libm-test-ulps: Update.
70877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70879 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70881         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70882         default stack guard is set in last bytes.
70883         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70885 2012-03-05  Kees Cook  <keescook@chromium.org>
70887         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70889         [BZ #13656]
70890         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70891         possibly allocate from heap instead of stack.
70892         * stdio-common/bug-vfprintf-nargs.c: New file.
70893         * stdio-common/Makefile (tests): Add nargs overflow test.
70895 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70899 2012-03-03  Marek Polacek  <polacek@redhat.com>
70901         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70902         * math/math_private.h: Likewise.
70903         * stdlib/tst-strtod.c: Likewise.
70904         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70905         * sysdeps/x86_64/bits/atomic.h: Likewise.
70907 2012-03-02  David S. Miller  <davem@davemloft.net>
70909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70913         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70914         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70915         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70916         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70918 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70920         [BZ #13792]
70921         * manual/examples/README: New file, says the example source files
70922         can be used under GPL>=2.
70923         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70924         line containing just "*/".
70925         * manual/examples/add.c: Add copyright header (GPL>=2).
70926         * manual/examples/argp-ex1.c: Likewise.
70927         * manual/examples/argp-ex2.c: Likewise.
70928         * manual/examples/argp-ex3.c: Likewise.
70929         * manual/examples/argp-ex4.c: Likewise.
70930         * manual/examples/atexit.c: Likewise.
70931         * manual/examples/db.c: Likewise.
70932         * manual/examples/dir.c: Likewise.
70933         * manual/examples/dir2.c: Likewise.
70934         * manual/examples/execinfo.c: Likewise.
70935         * manual/examples/filecli.c: Likewise.
70936         * manual/examples/filesrv.c: Likewise.
70937         * manual/examples/fmtmsgexpl.c: Likewise.
70938         * manual/examples/genpass.c: Likewise.
70939         * manual/examples/inetcli.c: Likewise.
70940         * manual/examples/inetsrv.c: Likewise.
70941         * manual/examples/isockad.c: Likewise.
70942         * manual/examples/longopt.c: Likewise.
70943         * manual/examples/memopen.c: Likewise.
70944         * manual/examples/memstrm.c: Likewise.
70945         * manual/examples/mkfsock.c: Likewise.
70946         * manual/examples/mkisock.c: Likewise.
70947         * manual/examples/mygetpass.c: Likewise.
70948         * manual/examples/pipe.c: Likewise.
70949         * manual/examples/popen.c: Likewise.
70950         * manual/examples/rprintf.c: Likewise.
70951         * manual/examples/search.c: Likewise.
70952         * manual/examples/select.c: Likewise.
70953         * manual/examples/setjmp.c: Likewise.
70954         * manual/examples/sigh1.c: Likewise.
70955         * manual/examples/sigusr.c: Likewise.
70956         * manual/examples/stpcpy.c: Likewise.
70957         * manual/examples/strdupa.c: Likewise.
70958         * manual/examples/strftim.c: Likewise.
70959         * manual/examples/strncat.c: Likewise.
70960         * manual/examples/subopt.c: Likewise.
70961         * manual/examples/swapcontext.c: Likewise.
70962         * manual/examples/termios.c: Likewise.
70963         * manual/examples/testopt.c: Likewise.
70964         * manual/examples/testpass.c: Likewise.
70965         * manual/examples/timeval_subtract.c: Likewise.
70967         [BZ #13792]
70968         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70969         function to ...
70970         * manual/timeval_subtract.c.texi: ... here, new file.
70972 2012-03-02  David S. Miller  <davem@davemloft.net>
70974         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70976 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70978         [BZ #3976]
70979         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70980         (__sin): Save and restore rounding mode and use round-to-nearest
70981         for all computations.
70982         (__cos): Save and restore rounding mode and use round-to-nearest
70983         for all computations.
70984         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70985         <fenv.h>.
70986         (tan): Save and restore rounding mode and use round-to-nearest for
70987         all computations.
70988         * math/libm-test.inc (cos_test_tonearest): New function.
70989         (cos_test_towardzero): Likewise.
70990         (cos_test_downward): Likewise.
70991         (cos_test_upward): Likewise.
70992         (sin_test_tonearest): Likewise.
70993         (sin_test_towardzero): Likewise.
70994         (sin_test_downward): Likewise.
70995         (sin_test_upward): Likewise.
70996         (tan_test_tonearest): Likewise.
70997         (tan_test_towardzero): Likewise.
70998         (tan_test_downward): Likewise.
70999         (tan_test_upward): Likewise.
71000         (main): Call the new functions.
71001         * sysdeps/i386/fpu/libm-test-ulps: Update.
71002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71004         [BZ #10135]
71005         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71006         small n, then large n, before computing and testing k+n.
71007         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71008         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71009         Likewise.
71010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71011         Likewise.
71012         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71013         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71014         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71015         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71016         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71017         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71018         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71019         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71020         * math/libm-test.inc (scalbn_test): Add more tests.
71021         (scalbln_test): Likewise.
71023         * manual/filesys.texi (mode_t): Describe constraints on size and
71024         signedness, not exact equivalence to a particular type.
71025         (ino_t): Likewise.
71026         (ino64_t): Likewise.
71027         (dev_t): Likewise.
71028         (nlink_t): Likewise.
71029         (blkcnt_t): Likewise.
71030         (blkcnt64_t): Likewise.
71031         * manual/llio.texi (off_t): Likewise.
71033         [BZ #3976]
71034         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71035         (__ieee754_exp): Save and restore rounding mode and use
71036         round-to-nearest for all computations.
71037         * math/libm-test.inc (exp_test_tonearest): New function.
71038         (exp_test_towardzero): Likewise.
71039         (exp_test_downward): Likewise.
71040         (exp_test_upward): Likewise.
71041         (main): Call the new functions.
71042         * sysdeps/i386/fpu/libm-test-ulps: Update.
71043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71045 2012-03-01  Chris Demetriou  <cgd@google.com>
71047         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71048         have predictable order.
71050 2012-03-01  David S. Miller  <davem@davemloft.net>
71052         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71054         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71055         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71056         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71057         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71059         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71060         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71061         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71063         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71064         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71065         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71066         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71067         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71071         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71072         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71075         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71076         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71077         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71078         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71079         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71080         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71081         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71082         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71083         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71084         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71085         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71089         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71091         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71092         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71093         * sysdeps/sparc/elf/configure: Regenerated.
71095 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71097         * configure.in (AS, LD): Require binutils 2.20 or later.
71098         * configure: Regenerated.
71099         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71100         as required minimum version.
71101         * INSTALL: Regenerated.
71103         [BZ #2541]
71104         [BZ #4108]
71105         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71106         before squaring exponent.
71107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71108         bottom long double and 27 bits of top long double before squaring
71109         exponent.
71110         * math/libm-test.inc (erfc_test): Add more tests.
71111         * sysdeps/i386/fpu/libm-test-ulps: Update.
71112         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71115 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71117         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71118         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71119         containing bit-fields.
71120         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71121         * soft-fp/single.h (_FP_UNION_S): Likewise.
71122         * soft-fp/double.h (_FP_UNION_D): Likewise.
71124 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71126         [BZ #13786]
71127         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71128         not include ../strcmp.S.
71129         [USE_AS_STRNCASECMP_L]: Likewise.
71130         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71131         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71132         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71133         (__strncasecmp_l_ia32): Define as alias to
71134         __strncasecmp_l_nonascii.
71136         [BZ #5794]
71137         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71138         * sysdeps/i386/fpu/libm-test-ulps: Update.
71139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71141         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71144 2012-02-29  Jeff Law  <law@redhat.com>
71146         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71147         out of bounds read.
71149 2012-02-29  Marek Polacek  <polacek@redhat.com>
71151         [BZ #13706]
71152         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71153         * elf/Makefile: Add rules to run tst-unused-dep.out.
71155 2012-02-28  David S. Miller  <davem@davemloft.net>
71157         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71158         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71159         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71160         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71161         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71162         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71164 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71166         * math/libm-test.inc (llround_test): Move one test from
71167         lround_test.  Use TEST_f_L in moved test.
71168         (lround_test): Move misplaced test to llround_test.  Add testcase
71169         from bug 2561.
71171 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71173         * sysdeps/x86_64/fpu/e_expf.S: New file.
71174         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71176 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71178         [BZ #13637]
71179         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71180         of remain_len that may cause incomplete multi-byte character and
71181         false match.
71182         * posix/bug-regex33.c: New file.
71183         * posix/Makefile (tests): Add bug-regex33.
71185 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71187         * manual/macros.texi: New file.
71188         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71189         * manual/libc.texinfo: Include macros.texi.
71190         * manual/creatute.texi: Likewise.
71191         * manual/install.texi: Likewise.
71192         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71193         @glibcadj{} in references to the GNU C Library.
71194         * manual/charset.texi: Likewise.
71195         * manual/conf.texi: Likewise.
71196         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71197         when not using those macros.
71198         * manual/creature.texi: Likewise.
71199         * manual/crypt.texi: Likewise.
71200         * manual/errno.texi: Likewise.
71201         * manual/filesys.texi: Likewise.
71202         * manual/header.texi: Likewise.
71203         * manual/install.texi: Likewise.
71204         * manual/intro.texi: Likewise.
71205         * manual/io.texi: Likewise.
71206         * manual/job.texi: Likewise.
71207         * manual/lang.texi: Likewise.
71208         * manual/libc.texiinfo: Likewise.
71209         * manual/llio.texi: Likewise.
71210         * manual/locale.texi: Likewise.
71211         * manual/maint.texi: Likewise.
71212         * manual/math.texi: Likewise.
71213         * manual/memory.texi: Likewise.
71214         * manual/message.texi: Likewise.
71215         * manual/nss.texi: Likewise.
71216         * manual/pattern.texi: Likewise.
71217         * manual/process.texi: Likewise.
71218         * manual/resource.texi: Likewise.
71219         * manual/search.texi: Likewise.
71220         * manual/setjmp.texi: Likewise.
71221         * manual/signal.texi: Likewise.
71222         * manual/socket.texi: Likewise.
71223         * manual/startup.texi: Likewise.
71224         * manual/stdio.texi: Likewise.
71225         * manual/string.texi: Likewise.
71226         * manual/sysinfo.texi: Likewise.
71227         * manual/syslog.texi: Likewise.
71228         * manual/terminal.texi: Likewise.
71229         * manual/time.texi: Likewise.
71230         * manual/users.texi: Likewise.
71231         * INSTALL: Regenerated.
71232         * NOTES: Regenerated.
71233         * sysdeps/gnu/errlist.c: Regenerated.
71235 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71237         * include/dirent.h: Include <dirstream.h> before
71238         <dirent/dirent.h>.
71240 2012-02-28  David S. Miller  <davem@davemloft.net>
71242         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71243         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71244         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71245         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71247 2012-02-27  David S. Miller  <davem@davemloft.net>
71249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71251         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71252         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71255         frame pointer instead of stack pointer relative arg slot.
71256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71257         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71258         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71260 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71262         [BZ #3992]
71263         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71265 2012-02-27  David S. Miller  <davem@davemloft.net>
71267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71271         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71272         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71273         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71274         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71276 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71278         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71279         later.  Allow versions 5-9.
71280         * configure: Regenerated.
71281         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71282         required minimum version and 4.6 as recommended version.  Do not
71283         mention bugs in GCC 2.7 and 2.8.
71284         * INSTALL: Regenerated.
71286 2012-02-27  David S. Miller  <davem@davemloft.net>
71288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71292         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71293         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71294         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71295         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71297         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71298         manipulate bits before adding and subtracting TWO112[sx].
71299         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71301 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71303         [BZ #13775]
71304         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71305         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71306         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71307         being in POSIX, because they are in 1003.1-2008.
71309         * rt/tst-aio.c: Include <fcntl.h>.
71310         * rt/tst-aio7.c: Likewise.
71311         * rt/tst-aio64.c: Likewise.
71313         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71315 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71317         * manual/install.texi (--with-headers): Describe headers as
71318         interface headers, not private headers.
71319         (Specific advice for GNU/Linux systems): Describe use of headers
71320         from "make headers_install", not private headers from older
71321         kernels.
71322         * INSTALL: Regenerated.
71323         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71324         Change to 2.6.19.
71325         * sysdeps/unix/sysv/linux/configure: Regenerated.
71327         * manual/llio.texi (fclean): Remove documentation.
71329         * manual/Makefile (libc-texi-generated): New variable.  Include
71330         version.texi.
71331         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71332         $(libc-texi-generated), not duplicated list of files.
71333         (version.texi, stamp-version): New rules.
71334         (realclean): Remove $(libc-texi-generated), not individual files
71335         from that list.  Do not remove dir-add.texinfo.
71336         * manual/libc.texinfo: Comment out uses of edition numbers and
71337         references to printed manual.  Remove last-updated dates.
71338         (EDITION): Comment out.
71339         (ISBN): Likewise.
71340         (VERSION, UPDATED): Remove.
71341         (version.texi): Include.
71343 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71345         * sysdeps/posix/spawni.c: Include <signal.h>.
71346         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71347         * sysdeps/pthread/aio_fsync.c: Likewise.
71349 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71351         * conform/Makefile (tests): Run only when not cross-compiling and
71352         when fast-check is not defined.
71354         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71355         * conform/data/limits.h-data: Fixes for POSIX2008.
71356         * conform/run-conformtest.sh: Run all tests.
71357         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71358         headers.
71359         * include/bits/dlfcn.h: Likewise.
71360         * include/langinfo.h: Likewise.
71361         * include/monetary.h: Likewise.
71362         * include/sys/poll.h: Likewise.
71364         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71365         for __USE_GNU.
71366         * posix/spawn.h: Define __need_sigset_t.
71367         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71368         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71369         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71370         to get sigevent_t only.
71371         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71372         only for __USE_GNU.
71373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71374         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71375         process_vm_writev only for __USE_GNU.
71376         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71378         * conform/Makefile: For now ignore errors from run-conformtest.
71379         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71380         POSIX to avoid namespace pollution.  Don't prepend headers.
71381         * conform/data/aio.h-data: Fixes for POSIX testing.
71382         * conform/data/fcntl.h-data: Likewise.
71383         * conform/data/glob.h-data: Likewise.
71384         * conform/data/grp.h-data: Likewise.
71385         * conform/data/pthread.h-data: Likewise.
71386         * conform/data/pwd.h-data: Likewise.
71387         * conform/data/signal.h-data: Likewise.
71388         * conform/data/spawn.h-data: Likewise.
71389         * conform/data/stdio.h-data: Likewise.
71390         * conform/data/stdlib.h-data: Likewise.
71391         * conform/data/stropts.h-data: Likewise.
71392         * conform/data/sys/mman.h-data: Likewise.
71393         * conform/data/sys/stat.h-data: Likewise.
71394         * conform/data/sys/types.h-data: Likewise.
71395         * conform/data/sys/wait.h-data: Likewise.
71396         * conform/data/time.h-data: Likewise.
71397         * conform/data/unistd.h-data: Likewise.
71398         * conform/data/utime.h-data: Likewise.
71400         * io/sys/stat.h: fchmod was always in POSIX.
71401         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71402         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71403         * rt/aio.h: Define __need_timespec before including <time.h>.
71404         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71405         struct.  Add forward declaration of pthread_attr_t and use it in
71406         sigevent.
71407         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71409         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71410         always remove CLK_TCK definition.
71412 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71414         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71416 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71418         * conform/run-conformtest.sh: New file.
71419         * conform/Makefile: Run run-conformtest for tests.
71420         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71421         support.
71423         * conform/data/uchar.h-data: New file.
71424         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71425         * conform/data/arpa/inet.h-data: Likewise.
71426         * conform/data/assert.h-data: Likewise.
71427         * conform/data/complex.h-data: Likewise.
71428         * conform/data/cpio.h-data: Likewise.
71429         * conform/data/ctype.h-data: Likewise.
71430         * conform/data/dirent.h-data: Likewise.
71431         * conform/data/dlfcn.h-data: Likewise.
71432         * conform/data/errno.h-data: Likewise.
71433         * conform/data/fcntl.h-data: Likewise.
71434         * conform/data/float.h-data: Likewise.
71435         * conform/data/fmtmsg.h-data: Likewise.
71436         * conform/data/fnmatch.h-data: Likewise.
71437         * conform/data/ftw.h-data: Likewise.
71438         * conform/data/glob.h-data: Likewise.
71439         * conform/data/grp.h-data: Likewise.
71440         * conform/data/iconv.h-data: Likewise.
71441         * conform/data/inttypes.h-data: Likewise.
71442         * conform/data/langinfo.h-data: Likewise.
71443         * conform/data/libgen.h-data: Likewise.
71444         * conform/data/limits.h-data: Likewise.
71445         * conform/data/locale.h-data: Likewise.
71446         * conform/data/math.h-data: Likewise.
71447         * conform/data/monetary.h-data: Likewise.
71448         * conform/data/mqueue.h-data: Likewise.
71449         * conform/data/ndbm.h-data: Likewise.
71450         * conform/data/net/if.h-data: Likewise.
71451         * conform/data/netdb.h-data: Likewise.
71452         * conform/data/netinet/in.h-data: Likewise.
71453         * conform/data/nl_types.h-data: Likewise.
71454         * conform/data/poll.h-data: Likewise.
71455         * conform/data/pthread.h-data: Likewise.
71456         * conform/data/pwd.h-data: Likewise.
71457         * conform/data/regex.h-data: Likewise.
71458         * conform/data/sched.h-data: Likewise.
71459         * conform/data/search.h-data: Likewise.
71460         * conform/data/semaphore.h-data: Likewise.
71461         * conform/data/setjmp.h-data: Likewise.
71462         * conform/data/signal.h-data: Likewise.
71463         * conform/data/spawn.h-data: Likewise.
71464         * conform/data/stdarg.h-data: Likewise.
71465         * conform/data/stdio.h-data: Likewise.
71466         * conform/data/stdlib.h-data: Likewise.
71467         * conform/data/string.h-data: Likewise.
71468         * conform/data/strings.h-data: Likewise.
71469         * conform/data/stropts.h-data: Likewise.
71470         * conform/data/sys/ipc.h-data: Likewise.
71471         * conform/data/sys/mman.h-data: Likewise.
71472         * conform/data/sys/msg.h-data: Likewise.
71473         * conform/data/sys/resource.h-data: Likewise.
71474         * conform/data/sys/select.h-data: Likewise.
71475         * conform/data/sys/sem.h-data: Likewise.
71476         * conform/data/sys/shm.h-data: Likewise.
71477         * conform/data/sys/socket.h-data: Likewise.
71478         * conform/data/sys/stat.h-data: Likewise.
71479         * conform/data/sys/statvfs.h-data: Likewise.
71480         * conform/data/sys/time.h-data: Likewise.
71481         * conform/data/sys/timeb.h-data: Likewise.
71482         * conform/data/sys/times.h-data: Likewise.
71483         * conform/data/sys/types.h-data: Likewise.
71484         * conform/data/sys/uio.h-data: Likewise.
71485         * conform/data/sys/un.h-data: Likewise.
71486         * conform/data/sys/utsname.h-data: Likewise.
71487         * conform/data/sys/wait.h-data: Likewise.
71488         * conform/data/syslog.h-data: Likewise.
71489         * conform/data/tar.h-data: Likewise.
71490         * conform/data/termios.h-data: Likewise.
71491         * conform/data/utime.h-data: Likewise.
71492         * conform/data/utmpx.h-data: Likewise.
71493         * conform/data/varargs.h-data: Likewise.
71494         * conform/data/wchar.h-data: Likewise.
71495         * conform/data/wctype.h-data: Likewise.
71496         * conform/data/wordexp.h-data: Likewise.
71498         * include/stropts.h: New file.
71499         * include/uchar.h: New file.
71500         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71501         * include/assert.h: Likewise.
71502         * include/ctype.h: Likewise.
71503         * include/dirent.h: Likewise.
71504         * include/dlfcn.h: Likewise.
71505         * include/fcntl.h: Likewise.
71506         * include/fnmatch.h: Likewise.
71507         * include/glob.h: Likewise.
71508         * include/grp.h: Likewise.
71509         * include/libio.h: Likewise.
71510         * include/locale.h: Likewise.
71511         * include/math.h: Likewise.
71512         * include/net/if.h: Likewise.
71513         * include/netdb.h: Likewise.
71514         * include/netinet/in.h: Likewise.
71515         * include/pthread.h: Likewise.
71516         * include/pwd.h: Likewise.
71517         * include/regex.h: Likewise.
71518         * include/sched.h: Likewise.
71519         * include/search.h: Likewise.
71520         * include/setjmp.h: Likewise.
71521         * include/signal.h: Likewise.
71522         * include/stdio.h: Likewise.
71523         * include/stdlib.h: Likewise.
71524         * include/string.h: Likewise.
71525         * include/sys/cdefs.h: Likewise.
71526         * include/sys/mman.h: Likewise.
71527         * include/sys/msg.h: Likewise.
71528         * include/sys/resource.h: Likewise.
71529         * include/sys/select.h: Likewise.
71530         * include/sys/socket.h: Likewise.
71531         * include/sys/stat.h: Likewise.
71532         * include/sys/statvfs.h: Likewise.
71533         * include/sys/time.h: Likewise.
71534         * include/sys/times.h: Likewise.
71535         * include/sys/uio.h: Likewise.
71536         * include/sys/utsname.h: Likewise.
71537         * include/sys/wait.h: Likewise.
71538         * include/termios.h: Likewise.
71539         * include/time.h: Likewise.
71540         * include/ulimit.h: Likewise.
71541         * include/unistd.h: Likewise.
71542         * include/utime.h: Likewise.
71543         * include/wchar.h: Likewise.
71544         * include/wctype.h: Likewise.
71545         * include/wordexp.h: Likewise.
71547         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71549         * time/time.h: TIME_UTC must be a macro.
71550         Make timespec_get available for ISO C11 only as well.
71552 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71554         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71555         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71557 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71559         * configure.in: Use -o not -a in test for unsupported multi-arch.
71561 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71563         * manual/texinfo.tex: Update to version 2012-01-19.16.
71565 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71567         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71569 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71571         [BZ #13738]
71572         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71573         * manual/fdl-1.3.texi: New file.
71574         * manual/fdl-1.1.texi: File removed.
71576         [BZ #13738]
71577         * manual/libc.texinfo (FDL_VERSION): New @set.
71578         Use it for mention of FDL in cover text.
71579         (Documentation License): Use it in @include file name.
71581 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71582             Roland McGrath  <roland@hack.frob.com>
71584         [BZ #5461]
71585         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71586         (not LONG_LONG_MAX and LONG_LONG_MIN.
71587         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71588         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71589         name.
71590         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71592 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71594         [BZ #2547]
71595         [BZ #11365]
71596         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71597         manipulate bits before adding and subtracting TWO23[sx].
71598         * math/libm-test.inc (nearbyint_test): Add more tests.
71600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71602         [BZ #2548]
71603         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71604         bits before adding and subtracting TWO23[sx].
71605         * math/libm-test.inc (rint_test): Add more tests.
71606         (rint_test_tonearest): Likewise.
71607         (rint_test_towardzero): Likewise.
71608         (rint_test_downward): Likewise.
71609         (rint_test_upward: Likewise.
71611 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71613         [BZ #10110]
71614         * include/stdc-predef.h: New file.  Extracted from features.h.
71615         * include/features.h: Include stdc-predef.h.
71616         * Makefile (headers): Add stdc-predef.h.
71617         * CONFORMANCE (Compiler limitations): Update.
71619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71621         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71623 2012-02-21  David S. Miller  <davem@davemloft.net>
71625         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71626         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71628 2012-02-20  David S. Miller  <davem@davemloft.net>
71630         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71631         using a normal save/restore sequence, rather than allocating a
71632         dummy stack frame just to store a frame pointer and restore.
71633         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71635 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71637         * manual/install.texi: Fix stray word in line-wrapped comment.
71639 2012-02-20  David S. Miller  <davem@davemloft.net>
71641         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71642         both binutils and gcc support GOTDATA.
71644         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71645         "rd %pc" in the PIC register setup sequences.
71647         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71648         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71649         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71650         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71651         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71652         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71653         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71654         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71656         (SYSCALL_ERROR_HANDLER): Likewise.
71657         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71658         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71660         (SYSCALL_ERROR_HANDLER): Likewise.
71662         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71663         (HAVE_GCC_GOTDATA): New.
71664         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71665         relocation support in both binutils and gcc.
71666         * sysdeps/sparc/elf/configure: Regenerate.
71668         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71669         * sysdeps/sparc/sparc32/elf/configure: Delete.
71670         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71671         * sysdeps/sparc/sparc64/elf/configure: Delete.
71672         * sysdeps/sparc/elf/configure.in: New file.
71673         * sysdeps/sparc/elf/configure: Generate.
71675         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71676         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71677         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71678         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71679         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71681 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71683         * manual/install.texi: Do not mention specific glibc version
71684         numbers.
71685         * manual/libc.texinfo (VERSION, UPDATED): Update.
71686         (@copying): Use @copyright{} and range of years.
71688 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71690         [BZ #13695]
71691         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71692         [crti.S not in sysdirs] (generated): Do not append.
71693         [crti.S not in sysdirs] (omit-deps): Likewise.
71694         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71695         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71696         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71697         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71698         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71699         Likewise.
71700         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71701         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71702         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71703         * csu/defs.awk: Remove file.
71704         * sysdeps/generic/initfini.c: Likewise.
71705         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71706         variable.
71707         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71708         Likewise.
71710 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71712         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71713         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71714         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71715         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71716         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71717         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71718         <bits/epoll.h>.
71719         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71720         (__EPOLL_PACKED): Define to empty if not defined by
71721         <bits/epoll.h>.
71722         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71724         bits/epoll.h.
71726 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71728         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71729         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71730         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71731         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71732         <bits/timerfd.h>.
71733         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71735         bits/timerfd.h.
71737 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71739         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71740         in C locale.
71741         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71742         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71743         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71746 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71748         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71749         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71751 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71753         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71754         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71755         defined.
71756         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71757         Likewise.
71758         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71759         entry for 2.16.
71761 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71763         * math/w_acos.c: Use non-signaling floating-point comparisons.
71764         * math/w_acosf.c: Likewise.
71765         * math/w_acosh.c: Likewise.
71766         * math/w_acoshf.c: Likewise.
71767         * math/w_acoshl.c: Likewise.
71768         * math/w_acosl.c: Likewise.
71769         * math/w_asin.c: Likewise.
71770         * math/w_asinf.c: Likewise.
71771         * math/w_asinl.c: Likewise.
71772         * math/w_atanh.c: Likewise.
71773         * math/w_atanhf.c: Likewise.
71774         * math/w_atanhl.c: Likewise.
71775         * math/w_exp2.c: Likewise.
71776         * math/w_exp2f.c: Likewise.
71777         * math/w_exp2l.c: Likewise.
71778         * math/w_j0.c: Likewise.
71779         * math/w_j0f.c: Likewise.
71780         * math/w_j0l.c: Likewise.
71781         * math/w_j1.c: Likewise.
71782         * math/w_j1f.c: Likewise.
71783         * math/w_j1l.c: Likewise.
71784         * math/w_jn.c: Likewise.
71785         * math/w_jnf.c: Likewise.
71786         * math/w_log.c: Likewise.
71787         * math/w_log10.c: Likewise.
71788         * math/w_log10f.c: Likewise.
71789         * math/w_log10l.c: Likewise.
71790         * math/w_log2.c: Likewise.
71791         * math/w_log2f.c: Likewise.
71792         * math/w_log2l.c: Likewise.
71793         * math/w_logf.c: Likewise.
71794         * math/w_logl.c: Likewise.
71795         * math/w_sqrt.c: Likewise.
71796         * math/w_sqrtf.c: Likewise.
71797         * math/w_sqrtl.c: Likewise.
71798         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71799         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71800         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71801         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71802         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71804 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71806         [BZ #9739]
71807         * manual/string.texi (strnlen): Use correct parameter name in
71808         equivalent expression.
71810 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71812         [BZ #11174]
71813         * manual/users.texi (seteuid): Consistently use neweuid for
71814         argument name.
71816 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71818         [BZ #13704]
71819         * manual/nss.texi (Services in the NSS configuration): Correct
71820         list of services in example configuration file.
71822 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71824         [BZ #11322]
71825         * manual/arith.texi: Remove statements about negative zero
71826         behaving identically to zero.
71828 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71830         [BZ #5993]
71831         * manual/install.texi: Do not document upgrading from libc5.
71833 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71835         [BZ #4596]
71836         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71838 2012-02-18  David S. Miller  <davem@davemloft.net>
71840         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71841         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71842         %o7 across the call.
71843         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71844         instead.
71845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71846         SETUP_PIC_REG_LEAF.
71847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71848         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71849         * sysdeps/sparc/crtn.S: Likewise.
71851 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71853         * aout/Makefile: Remove.
71855 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71857         [BZ #13058]
71858         * manual/examples/argp-ex1.c (main): Format definition in GNU
71859         style.
71860         * manual/examples/argp-ex2.c (main): Likewise.
71861         * manual/examples/argp-ex3.c (main): Likewise.
71862         * manual/examples/argp-ex4.c (main): Likewise.
71863         * manual/examples/longopt.c (main): Use new-style prototype
71864         definition.
71865         * manual/examples/strncat.c (main): Specify return type and use
71866         (void) for arguments.
71867         * manual/examples/subopt.c (main): Use char **argv argument.
71869 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71871         [BZ #5077]
71872         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71873         rounding modes.
71875 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71877         [BZ #6907]
71878         * manual/string.texi (strchr): Change when strchrnul is
71879         recommended.
71881 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71883         [BZ #174]
71884         * manual/locale.texi (setlocale): Document LOCPATH.
71886 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71888         [BZ #10210]
71889         * manual/process.texi (execle): Move @dots{} before last argument.
71891 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71893         [BZ #12047]
71894         * manual/charset.texi (Generic Charset Conversion): Fix typo
71895         (LC_TYPE -> LC_CTYPE).
71897 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71899         [BZ #5805]
71900         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71901         (scalbnf): Likewise.
71902         (scalbnl): Likewise.
71903         (scalbln): Likewise.
71904         (scalblnf): Likewise.
71905         (scalblnl): Likewise.
71906         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71907         (vwarnx): Likewise.
71908         (verr): Likewise.
71909         (verrx): Likewise.
71910         * manual/filesys.texi (telldir): Use braces around return type.
71911         * manual/llio.texi (mmap): Add space after comma.
71912         (mmap64): Likewise.
71913         * manual/math.texi (jn): Use @var{} on parameter names.
71914         (jnf): Likewise.
71915         (jnl): Likewise.
71916         (yn): Likewise.
71917         (ynf): Likewise.
71918         (ynl): Likewise.
71919         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71920         line.
71921         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71922         "...".
71923         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71924         (sched_get_priority_max): Likewise.
71925         * manual/signal.texi (sigvec): Add space after comma.
71926         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71927         names.
71928         (if_indextoname): Likewise.
71929         (if_freenameindex): Likewise.
71930         (sendto): Use ',' instead of '.' in prototype.
71931         * manual/startup.texi (syscall): Use @dots{} instead of literal
71932         "...".
71933         * manual/stdio.texi (__fpending): Separate initial words of
71934         paragraph from @deftypefun line.
71935         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71936         "...".
71937         (vsyslog): Use @var{} on parameter names.
71938         * manual/terminal.texi (stty): Use @var{} on parameter names.
71939         * manual/users.texi (getutmp): Use @var{} on parameter names.
71940         (getutmpx): Likewise.
71942 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71944         [BZ #6884]
71945         * manual/stdio.texi (fopen): Fix typos in description of
71946         ",ccs=STRING".
71948 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71950         [BZ #4026]
71951         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71952         get clock_id definition.
71954 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71956         [BZ #4822]
71957         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71958         (madvise): Cast every argument to void on its own.
71960 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71962         [BZ #9902]
71963         * manual/startup.texi (Exit Status): Fix typo.
71965 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71967         [BZ #10140]
71968         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71969         * manual/examples/argp-ex2.c: Likewise.
71970         * manual/examples/argp-ex3.c: Likewise.
71972 2012-02-16  Richard Henderson  <rth@redhat.com>
71974         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71975         * sysdeps/s390/s390-32/initfini.c: Remove.
71976         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71977         * sysdeps/s390/s390-64/initfini.c: Remove.
71979 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71981         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71982         compiler output for sysdeps/generic/initfini.c.
71983         * sysdeps/sh/elf/initfini.c: Remove file.
71985 2012-02-16  David S. Miller  <davem@davemloft.net>
71987         [BZ #11494]
71988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71990         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71991         * sysdeps/sparc/crti.S: New file.
71992         * sysdeps/sparc/crtn.S: New file.
71993         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71994         * sysdeps/sparc/sparc64/Makefile: Likewise.
71996 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71998         [BZ #3335]
71999         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72001 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72003         [BZ #4822]
72004         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72006         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72007         (write, read, close): Likewise.
72008         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72010 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72012         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72013         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72014         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72015         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72016         <bits/signalfd.h>.
72017         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72019         bits/signalfd.h.
72021 2012-02-14  Marek Polacek  <polacek@redhat.com>
72023         * sysdeps/x86_64/crti.S: New file.
72024         * sysdeps/x86_64/crtn.S: New file.
72025         * sysdeps/x86_64/elf/initfini.c: Remove file.
72027 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72029         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72030         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72031         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72032         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72033         <bits/inotify.h>.
72034         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72035         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72036         bits/inotify.h.
72038 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72040         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72041         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72042         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72043         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72044         <bits/eventfd.h>.
72045         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72047         bits/eventfd.h.
72049 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72051         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72052         __feraiseexcept instead of feraiseexcept.
72054         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72055         nanosleep invocations.
72056         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72057         strings, and add error checking for a nanosleep invocations.
72059 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72061         Replace FSF snail mail address with URLs, as per GNU coding standards.
72062         Most of the snail mail addresses were wrong anyway, and omitting
72063         them makes the source code easier to maintain.  Almost all of the
72064         changes are to license notices and to locale LC_IDENTIFICATION
72065         addresses, except for this one:
72066         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72067         not its snail mail address.
72069 2012-02-09  Richard Henderson  <rth@twiddle.net>
72071         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72072         of kernel-features.h.
72074         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72076 2012-02-08  Marek Polacek  <polacek@redhat.com>
72078         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72079         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72080         * sysdeps/gnu/_G_config.h: Likewise.
72081         * sysdeps/generic/_G_config.h: Likewise.
72083 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72085         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72086         tests.
72087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72089         * sysdeps/powerpc/powerpc32/crti.S: New file.
72090         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72091         * sysdeps/powerpc/powerpc64/crti.S: New file.
72092         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72094         * Makeconfig (have-initfini): Don't set.
72095         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72096         * configure.in (nopic_initfini): Don't substitute.
72097         * config.h.in (HAVE_INITFINI): Don't #undef.
72098         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72099         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72101 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72103         Support crti.S and crtn.S provided directly by architectures.
72104         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72105         [crti.S in sysdirs] (omit-deps): Likewise.
72106         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72107         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72108         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72109         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72110         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72111         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72112         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72113         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72114         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72115         compiler output for sysdeps/generic/initfini.c.
72116         * sysdeps/i386/elf/Makefile: Remove file.
72117         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72119 2012-02-07  Marek Polacek  <polacek@redhat.com>
72121         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72122         * sysdeps/gnu/_G_config.h: Likewise.
72123         * sysdeps/mach/hurd/_G_config.h: Likewise.
72125 2012-02-07  Marek Polacek  <polacek@redhat.com>
72127         * math/Makefile (tests): Add tst-CMPLX2.
72128         * math/tst-CMPLX2.c: New file.
72130 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72132         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72134         * math/libm-test.inc (jn_test): Add missing L suffix.
72136 2012-02-06  Marek Polacek  <polacek@redhat.com>
72138         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72139         * sysdeps/i386/fpu/e_powf.S: Likewise.
72140         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72141         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72142         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72143         * sysdeps/i386/fpu/e_pow.S: Likewise.
72144         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72145         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72146         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72147         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72148         * sysdeps/i386/fpu/e_log2.S: Likewise.
72149         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72150         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72151         * sysdeps/i386/fpu/e_powl.S: Likewise.
72152         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72153         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72154         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72155         * sysdeps/i386/fpu/e_logl.S: Likewise.
72156         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72157         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72158         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72159         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72160         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72161         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72162         * sysdeps/i386/fpu/e_log.S: Likewise.
72163         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72165         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72166         * sysdeps/i386/fpu/e_logf.S: Likewise.
72167         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72168         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72169         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72170         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72171         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72172         * sysdeps/i386/fpu/e_log10.S: Likewise.
72173         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72174         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72175         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72176         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72177         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72178         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72179         * sysdeps/i386/asm-syntax.h: Likewise.
72180         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72181         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72182         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72183         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72184         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72185         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72186         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72187         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72188         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72189         * sysdeps/powerpc/sysdep.h: Likewise.
72190         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72191         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72193 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72195         [BZ #411]
72196         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72198 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72200         * sysdeps/i386/sysdep.h: Include <features.h>.
72201         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72202         version.
72204 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72206         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72207         Define.
72208         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72209         LOAD_PIC_REG_STR.
72211 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72213         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72214         (SETUP_PIC_REG): Use GET_PC_THUNK.
72215         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72216         macro.
72218 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72220         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72221         for non-PIC compilation.
72222         (SETUP_PIC_REG): Add .p2align directive.
72223         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72224         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72225         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72226         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72227         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72228         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72229         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72230         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72231         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72232         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72233         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72234         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72235         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72236         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72237         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72238         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72239         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72240         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72241         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72242         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72243         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72244         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72245         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72246         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72249         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72250         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72251         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72252         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72253         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72254         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72255         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72256         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72257         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72258         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72259         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72260         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72261         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72262         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72263         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72265 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72267         * math/tst-CMPLX.c: Include <stdio.h>.
72269 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72271         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72272         float.
72273         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72274         * sysdeps/sparc/bits/mathdef.h: Likewise.
72276 2012-01-31  Marek Polacek  <polacek@redhat.com>
72278         * libio/libio.h: Don't define _PARAMS.
72279         * locale/programs/config.h: Don't define PARAMS.
72280         * stdlib/strtol_l.c: Likewise.
72281         (__strtol_l): Remove PARAMS from the prototype.
72283 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72285         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72286         names.  Just use the correct names.  Remove unnecessary wrapper
72287         functions.
72288         * malloc/arena.c: Likewise.
72289         * malloc/hooks.c: Likewise.
72291         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72292         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72293         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72295 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72297         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72298         into tail calls.
72299         (update_get_addr): New function.
72300         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72301         GET_ADDR_MODULE parameter.
72303 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72305         * crypt/cert.c: Remove __STDC__ conditionals.
72306         * crypt/crypt-entry.c: Likewise.
72307         * crypt/crypt_util.c: Likewise.
72308         * libio/filedoalloc.c: Likewise.
72309         * libio/fileops.c: Likewise.
72310         * libio/genops.c: Likewise.
72311         * libio/iofclose.c: Likewise.
72312         * libio/iofdopen.c: Likewise.
72313         * libio/iofopen.c: Likewise.
72314         * libio/iofopen64.c: Likewise.
72315         * libio/iogetdelim.c: Likewise.
72316         * libio/iopopen.c: Likewise.
72317         * libio/obprintf.c: Likewise.
72318         * libio/oldfileops.c: Likewise.
72319         * libio/oldiofclose.c: Likewise.
72320         * libio/oldiofdopen.c: Likewise.
72321         * libio/oldiofopen.c: Likewise.
72322         * libio/oldiopopen.c: Likewise.
72323         * libio/wfiledoalloc.c: Likewise.
72324         * libio/wgenops.c: Likewise.
72325         * locale/programs/xmalloc.c: Likewise.
72326         * misc/syslog.c: Likewise.
72327         * stdio-common/xbug.c: Likewise.
72328         * string/memchr.c: Likewise.
72329         * string/memcmp.c: Likewise.
72330         * string/memrchr.c: Likewise.
72331         * string/rawmemchr.c: Likewise.
72332         * sysdeps/posix/getcwd.c: Likewise.
72333         * time/strftime_l.c: Likewise.
72335 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72337         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72338         * config.make.in (config-cflags-sse2avx): Define.
72339         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72340         Fix typo.
72342 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72344         * scripts/config.guess: Update from upstream config git repository.
72345         * scripts/config.sub: Likewise.
72347 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72349         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72350         (EM_NUM): Update.
72351         (R_TILEPRO_*, R_TILEGX_*): New macros.
72353         * scripts/firstversions.awk: Fix bug in version range handling.
72355         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72357         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72359         * include/sys/epoll.h: New file.
72360         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72361         libc_hidden_def.
72363 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72365         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72366         Avoid unnecessary __WORDSIZE == 64 test.
72367         (fmaxf): Use VEX format if possible.
72368         (fmax): Likewise.
72369         (fminf): Likewise.
72370         (fmin): Likewise.
72372         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72373         * math/math_private.h: Remove libc_fegetround* and
72374         libc_fesetround*.
72375         * sysdeps/i386/configure.in: Check for -msse2avx.
72376         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72377         also if SSE2AVX is defined.
72378         Remove libc_fegetround* and libc_fesetround*.
72379         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72380         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72381         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72382         of HAS_YMM_USABLE.
72383         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72384         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72385         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72386         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72387         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72389         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72391 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72393         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72394         size is not set.
72395         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72397 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72399         [BZ #13618]
72400         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72401         relocation.
72402         * Makeconfig (libm): Define.
72403         * elf/Makefile: Add rules to build and run tst-relsort1.
72404         * elf/tst-relsort1.c: New file.
72405         * elf/tst-relsort1mod1.c: New file.
72406         * elf/tst-relsort1mod2.c: New file.
72408 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72410         * math/s_ldexp.c: Remove __STDC__ conditionals.
72411         * math/s_ldexpf.c: Likewise.
72412         * math/s_ldexpl.c: Likewise.
72413         * math/s_nextafter.c: Likewise.
72414         * math/s_nexttowardf.c: Likewise.
72415         * math/s_significand.c: Likewise.
72416         * math/s_significandf.c: Likewise.
72417         * math/s_significandl.c: Likewise.
72418         * math/w_jnl.c: Likewise.
72419         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72420         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72421         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72422         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72423         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72425         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72426         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72428         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72429         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72430         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72431         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72432         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72433         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72434         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72435         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72436         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72438         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72439         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72440         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72441         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72442         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72443         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72444         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72445         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72446         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72447         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72448         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72449         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72450         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72451         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72452         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72453         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72454         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72455         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72456         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72457         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72458         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72459         * sysdeps/ieee754/k_standard.c: Likewise.
72460         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72461         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72462         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72463         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72464         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72465         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72467         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72468         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72469         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72470         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72471         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72472         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72473         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72474         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72475         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72476         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72477         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72478         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72479         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72480         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72481         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72482         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72483         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72484         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72485         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72486         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72487         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72489         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72490         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72491         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72492         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72493         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72495         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72496         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72498         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72499         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72500         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72501         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72502         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72503         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72505         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72506         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72508         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72509         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72510         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72511         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72512         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72513         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72514         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72515         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72516         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72517         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72518         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72519         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72520         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72521         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72522         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72523         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72524         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72525         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72526         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72527         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72528         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72529         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72530         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72531         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72532         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72533         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72534         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72535         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72536         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72537         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72538         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72539         * sysdeps/ieee754/s_matherr.c: Likewise.
72540         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72541         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72542         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72543         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72545 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72547         * crypt/md5.h: Remove __STDC__ conditionals.
72548         * libio/libioP.h: Likewise.
72549         * locale/programs/config.h: Likewise.
72550         * sysdeps/generic/sysdep.h: Likewise.
72551         * sysdeps/i386/asm-syntax.h: Likewise.
72552         * sysdeps/s390/asm-syntax.h: Likewise.
72553         * sysdeps/unix/sysdep.h: Likewise.
72554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72557 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72559         * libio/libio.h: Remove __STDC__ conditionals.
72560         * malloc/obstack.h: Likewise.
72561         * math/complex.h: Likewise.
72562         * math/math.h: Likewise.
72563         * sysdeps/generic/_G_config.h: Likewise.
72564         * sysdeps/gnu/_G_config.h: Likewise.
72565         * sysdeps/mach/hurd/_G_config.h: Likewise.
72566         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72567         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72568         * sysdeps/sparc/bits/mathdef.h: Likewise.
72570 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72572         [BZ #13583]
72573         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72574         Clean up HAS_* macros.
72575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72576         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72577         possible.
72578         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72579         HAS_AVX.
72580         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72581         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72582         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72583         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72584         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72586 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72588         * elf/tst-unique3.cc (gets): Remove declaration.
72589         * elf/tst-unique3lib.cc (gets): Likewise.
72590         * elf/tst-unique3lib2.cc (gets): Likewise.
72591         * elf/tst-unique4.cc (gets): Likewise.
72593 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72595         * include/stdio.h: Add C++ protection.  Add gets declarations and
72596         definitions.
72597         * debug/tst-chk1.c: Don't declare gets here.
72598         * stdio-common/tst-gets.c: Likewise.
72600 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72602         * posix/glob: Remove directory.
72604 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72606         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72608 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72610         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72611         of the non-standard EPFNOSUPPORT.
72613 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72615         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72616         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72617         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72619 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72621         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72623 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72625         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72626         transient errors.
72627         * nscd/grpcache.c (cache_addgr): Likewise.
72628         * nscd/hstcache.c (cache_addhst): Likewise.
72629         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72630         * nscd/pwdcache.c (cache_addpw): Likewise.
72631         * nscd/servicescache.c (cache_addserv): Likewise.
72633 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72635         * malloc/malloc.c: Various cleanups.
72636         * malloc/hooks.c: Likewise.
72638         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72639         * stdlib/bug-fmtmsg1.c: New file.
72641         * stdlib/fmtmsg.c (init): Add missing unlock.
72642         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72644 2012-01-12  Marek Polacek  <polacek@redhat.com>
72646         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72647         and _GNU_SOURCE.
72649 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72651         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72652         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72653         macro to ensure uniqueness of label name.
72654         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72655         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72657 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72659         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72661         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72662         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72663         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72664         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72666 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72668         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72670         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72671         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72672         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72674         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72676         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72677         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72678         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72679         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72681         * math/bits/math-finite.h: Add ldexp support.
72683 2012-01-10  Marek Polacek  <polacek@redhat.com>
72685         * locale/programs/localedef.h (show_archive_content): Add noreturn
72686         attribute.
72688 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72690         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72692 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72694         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72696         * io/Makefile (headers): Add bits/poll2.h.
72698 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72701         typo #include statement.
72703 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72705         * include/sys/cdefs.h: Define __attribute_alloc_size.
72706         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72707         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72708         * elf/pldd.c: Likewise.
72709         * iconv/iconv_charmap.c: Likewise.
72710         * iconv/iconvconfig.c: Likewise.
72711         * iconv/strtab.c: Likewise.
72712         * locale/programs/locale.c: Likewise.
72713         * locale/programs/localedef.h: Likewise.
72714         * locale/programs/simple-hash.c: Likewise.
72715         * nscd/nscd.h: Likewise.
72716         * nss/makedb.c: Likewise.
72717         * sysdeps/generic/ldconfig.h: Likewise.
72718         * locale/programs/localedef.c: Remove xmalloc prototype.
72719         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72721 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72723         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72724         appropriate.
72726 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72728         * math/Makefile (tests): Add tst-CMPLX.
72729         * math/tst-CMPLX.c: New file.
72731         * math/complex.h (CMPLXL): Fix typo.
72733         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72734         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72735         GLIBC_2.16.
72736         * debug/tst-chk1.c: Add poll and ppoll tests.
72737         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72738         * include/sys/poll.h: Add hidden proto for ppoll.
72739         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72740         * sysdeps/mach/hurd/ppoll.c: Likewise.
72741         * io/ppoll.c: Likewise.
72742         * debug/poll_chk.c: New file.
72743         * debug/ppoll_chk.c: New file.
72744         * include/bits/poll2.h: New file.
72745         * io/bits/poll2.h: New file.
72747         [BZ #1350]
72748         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72750         * configure.in: static is always set to yes.  Remove.
72751         * config.make.in: Don't set build-static.
72752         * Makeconfig: Remove use of build-static.
72753         * dlfcn/Makefile: Likewise.
72754         * elf/Makefile: Likewise.
72755         * math/Makefile: Likewise.
72756         * misc/Makefile: Likewise.
72757         * nptl/Makefile: Likewise.
72758         * sysdeps/mach/hurd/Makefile: Likewise.
72760         * configure.in: PWD_P is not used anymore.
72761         * config.make.in: Remove PWD_P entry.
72763         * configure.in: Remove last remnants of RANLIB.
72764         No need to check for signed size_t anymore.
72765         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72766         and IA-64.
72767         Remove __builtin_expect test because we require at least gcc 3.4.
72768         * aclocal.m4: Likewise.
72770         * wcsmbs/mbrtoc16.c: Implement using towc function.
72771         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72772         * wcsmbs/wcsmbsload.c: Likewise.
72773         * iconv/gconv_simple.c: Likewise.
72774         * iconv/gconv_int.h: Likewise.
72775         * iconv/gconv_builtin.h: Likewise.
72776         * iconv/iconv_prog.c: Remove CHAR16 handling.
72778         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72780         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72782         * configure.in: Remove --with-elf and --enable-bounded options.
72783         Dont set base_machine for ia64.  More non-ELF conditions removed.
72784         Remove testing and setting of leading underscore information.
72785         * config.make.in (build-bounded): Set to no.
72786         * config.h.in: Remove NO_UNDERSCORES entry.
72787         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72788         them.
72789         * csu/start.c: Remove !NO_UNDERSCORE code.
72790         * locale/localeinfo.h: Likewise.
72791         * sysdeps/generic/machine-gmon.h: Likewise.
72792         * sysdeps/generic/sysdep.h: Likewise.
72793         * sysdeps/i386/sysdep.h: Likewise.
72794         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72795         * sysdeps/mach/sysdep.h: Likewise.
72796         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72797         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72798         * sysdeps/sh/sysdep.h: Likewise.
72799         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72800         * sysdeps/unix/i386/sysdep.S: Likewise.
72801         * sysdeps/unix/sparc/start.c: Likewise.
72802         * sysdeps/unix/sparc/sysdep.S: Likewise.
72803         * sysdeps/unix/sparc/sysdep.h: Likewise.
72804         * sysdeps/unix/start.c: Likewise.
72805         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72806         * sysdeps/x86_64/sysdep.h: Likewise.
72808 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72810         [BZ #13553]
72811         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72812         for non-gcc.
72813         * argp/argp-fmtstream.h: Use const instead __const.
72814         * argp/argp.h: Likewise.
72815         * assert/assert.h: Likewise.
72816         * bits/fenv.h: Likewise.
72817         * bits/sched.h: Likewise.
72818         * bits/sigset.h: Likewise.
72819         * bits/sigthread.h: Likewise.
72820         * catgets/nl_types.h: Likewise.
72821         * conform/data/pthread.h-data: Likewise.
72822         * crypt/crypt-private.h: Likewise.
72823         * crypt/crypt.h: Likewise.
72824         * crypt/crypt_util.c: Likewise.
72825         * ctype/ctype.h: Likewise.
72826         * debug/execinfo.h: Likewise.
72827         * debug/mbsnrtowcs_chk.c: Likewise.
72828         * debug/mbsrtowcs_chk.c: Likewise.
72829         * debug/wcsnrtombs_chk.c: Likewise.
72830         * debug/wcsrtombs_chk.c: Likewise.
72831         * debug/wcstombs_chk.c: Likewise.
72832         * dirent/dirent.h: Likewise.
72833         * dlfcn/dlfcn.h: Likewise.
72834         * elf/neededtest4.c: Likewise.
72835         * grp/grp.h: Likewise.
72836         * gshadow/gshadow.h: Likewise.
72837         * iconv/gconv.h: Likewise.
72838         * iconv/gconv_int.h: Likewise.
72839         * iconv/gconv_simple.c: Likewise.
72840         * iconv/iconv.h: Likewise.
72841         * iconv/loop.c: Likewise.
72842         * iconv/skeleton.c: Likewise.
72843         * include/aio.h: Likewise.
72844         * include/aliases.h: Likewise.
72845         * include/argz.h: Likewise.
72846         * include/arpa/inet.h: Likewise.
72847         * include/assert.h: Likewise.
72848         * include/dirent.h: Likewise.
72849         * include/dlfcn.h: Likewise.
72850         * include/execinfo.h: Likewise.
72851         * include/fcntl.h: Likewise.
72852         * include/fenv.h: Likewise.
72853         * include/glob.h: Likewise.
72854         * include/grp.h: Likewise.
72855         * include/libintl.h: Likewise.
72856         * include/mntent.h: Likewise.
72857         * include/netdb.h: Likewise.
72858         * include/pwd.h: Likewise.
72859         * include/rpc/netdb.h: Likewise.
72860         * include/sched.h: Likewise.
72861         * include/search.h: Likewise.
72862         * include/shadow.h: Likewise.
72863         * include/signal.h: Likewise.
72864         * include/stdio.h: Likewise.
72865         * include/stdlib.h: Likewise.
72866         * include/string.h: Likewise.
72867         * include/sys/socket.h: Likewise.
72868         * include/sys/stat.h: Likewise.
72869         * include/sys/statfs.h: Likewise.
72870         * include/sys/statvfs.h: Likewise.
72871         * include/sys/syslog.h: Likewise.
72872         * include/sys/time.h: Likewise.
72873         * include/sys/uio.h: Likewise.
72874         * include/time.h: Likewise.
72875         * include/unistd.h: Likewise.
72876         * include/utmp.h: Likewise.
72877         * include/wchar.h: Likewise.
72878         * include/wctype.h: Likewise.
72879         * inet/aliases.h: Likewise.
72880         * inet/arpa/inet.h: Likewise.
72881         * inet/netinet/ether.h: Likewise.
72882         * inet/netinet/in.h: Likewise.
72883         * intl/libintl.h: Likewise.
72884         * io/bits/fcntl2.h: Likewise.
72885         * io/fcntl.h: Likewise.
72886         * io/ftw.h: Likewise.
72887         * io/sys/poll.h: Likewise.
72888         * io/sys/stat.h: Likewise.
72889         * io/sys/statfs.h: Likewise.
72890         * io/sys/statvfs.h: Likewise.
72891         * io/utime.h: Likewise.
72892         * libio/bits/stdio.h: Likewise.
72893         * libio/bits/stdio2.h: Likewise.
72894         * libio/libio.h: Likewise.
72895         * libio/libioP.h: Likewise.
72896         * libio/stdio.h: Likewise.
72897         * locale/lc-ctype.c: Likewise.
72898         * locale/locale.h: Likewise.
72899         * login/utmp.h: Likewise.
72900         * malloc/arena.c: Likewise.
72901         * malloc/malloc.c: Likewise.
72902         * malloc/malloc.h: Likewise.
72903         * malloc/mcheck.c: Likewise.
72904         * malloc/mtrace.c: Likewise.
72905         * math/bits/mathcalls.h: Likewise.
72906         * math/fenv.h: Likewise.
72907         * math/math_private.h: Likewise.
72908         * misc/bits/error.h: Likewise.
72909         * misc/bits/syslog.h: Likewise.
72910         * misc/err.h: Likewise.
72911         * misc/error.h: Likewise.
72912         * misc/fstab.h: Likewise.
72913         * misc/mntent.h: Likewise.
72914         * misc/regexp.h: Likewise.
72915         * misc/search.h: Likewise.
72916         * misc/sgtty.h: Likewise.
72917         * misc/sys/mman.h: Likewise.
72918         * misc/sys/syslog.h: Likewise.
72919         * misc/sys/uio.h: Likewise.
72920         * misc/sys/xattr.h: Likewise.
72921         * misc/ttyent.h: Likewise.
72922         * nis/rpcsvc/ypclnt.h: Likewise.
72923         * nss/nss.h: Likewise.
72924         * posix/bits/unistd.h: Likewise.
72925         * posix/fnmatch.h: Likewise.
72926         * posix/glob.h: Likewise.
72927         * posix/sched.h: Likewise.
72928         * posix/spawn.h: Likewise.
72929         * posix/sys/wait.h: Likewise.
72930         * posix/unistd.h: Likewise.
72931         * posix/wordexp.h: Likewise.
72932         * pwd/pwd.h: Likewise.
72933         * resolv/netdb.h: Likewise.
72934         * resource/sys/resource.h: Likewise.
72935         * rt/aio.h: Likewise.
72936         * rt/bits/mqueue2.h: Likewise.
72937         * rt/mqueue.h: Likewise.
72938         * shadow/shadow.h: Likewise.
72939         * signal/signal.h: Likewise.
72940         * socket/send.c: Likewise.
72941         * socket/sendto.c: Likewise.
72942         * socket/sys/socket.h: Likewise.
72943         * stdio-common/printf.h: Likewise.
72944         * stdlib/bits/stdlib.h: Likewise.
72945         * stdlib/fmtmsg.h: Likewise.
72946         * stdlib/monetary.h: Likewise.
72947         * stdlib/stdlib.h: Likewise.
72948         * stdlib/ucontext.h: Likewise.
72949         * streams/stropts.h: Likewise.
72950         * string/argz.h: Likewise.
72951         * string/bits/string2.h: Likewise.
72952         * string/string.h: Likewise.
72953         * string/strings.h: Likewise.
72954         * sunrpc/rpc/auth.h: Likewise.
72955         * sunrpc/rpc/auth_des.h: Likewise.
72956         * sunrpc/rpc/clnt.h: Likewise.
72957         * sunrpc/rpc/netdb.h: Likewise.
72958         * sunrpc/rpc/pmap_clnt.h: Likewise.
72959         * sunrpc/rpc/xdr.h: Likewise.
72960         * sysdeps/generic/inttypes.h: Likewise.
72961         * sysdeps/generic/net/if.h: Likewise.
72962         * sysdeps/generic/sys/swap.h: Likewise.
72963         * sysdeps/gnu/net/if.h: Likewise.
72964         * sysdeps/gnu/utmpx.h: Likewise.
72965         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72966         * sysdeps/i386/i486/bits/string.h: Likewise.
72967         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72968         * sysdeps/s390/bits/string.h: Likewise.
72969         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72970         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72971         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72972         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72973         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72974         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72975         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72976         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72977         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72978         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72979         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72980         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72981         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72982         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72983         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72984         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72985         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72986         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72987         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72989         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72990         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72991         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72992         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72993         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72994         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72995         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72996         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72997         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72998         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72999         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73000         * sysvipc/sys/ipc.h: Likewise.
73001         * sysvipc/sys/msg.h: Likewise.
73002         * sysvipc/sys/sem.h: Likewise.
73003         * sysvipc/sys/shm.h: Likewise.
73004         * termios/termios.h: Likewise.
73005         * time/sys/time.h: Likewise.
73006         * time/time.h: Likewise.
73007         * wcsmbs/bits/wchar2.h: Likewise.
73008         * wcsmbs/uchar.h: Likewise.
73009         * wcsmbs/wchar.h: Likewise.
73010         * wctype/wctype.h: Likewise.
73012         [BZ #13551]
73013         * Makeconfig: Remove all but ELF support including AIX support.
73014         * Makerules: Likewise.
73015         * config.h.in: Likewise.
73016         * config.make.in: Likewise.
73017         * configure: Likewise.
73018         * configure.in: Likewise.
73019         * csu/Makefile: Likewise.
73020         * csu/version.c: Likewise.
73021         * debug/Makefile: Likewise.
73022         * dlfcn/Makefile: Likewise.
73023         * elf/Makefile: Likewise.
73024         * extra-lib.mk: Likewise.
73025         * iconv/Makefile: Likewise.
73026         * include/libc-symbols.h: Likewise.
73027         * include/shlib-compat.h: Likewise.
73028         * resolv/Makefile: Likewise.
73029         * resolv/res_libc.c: Likewise.
73030         * rt/Makefile: Likewise.
73031         * sysdeps/i386/asm-syntax.h: Likewise.
73032         * sysdeps/i386/sysdep.h: Likewise.
73033         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73034         * sysdeps/mach/sysdep.h: Likewise.
73035         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73036         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73037         * sysdeps/s390/asm-syntax.h: Likewise.
73038         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73039         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73040         * sysdeps/sh/sysdep.h: Likewise.
73041         * sysdeps/unix/sparc/sysdep.h: Likewise.
73042         * sysdeps/wordsize-32/divdi3.c: Likewise.
73043         * sysdeps/x86_64/sysdep.h: Likewise.
73045         * argp/Versions: Remove _argp_unlock_xxx.
73047         [BZ #13559]
73048         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73049         * abilist/libBrokenLocale.abilist: Likewise.
73050         * abilist/libanl.abilist: Likewise.
73051         * abilist/libc.abilist: Likewise.
73052         * abilist/libcrypt.abilist: Likewise.
73053         * abilist/libdl.abilist: Likewise.
73054         * abilist/libm.abilist: Likewise.
73055         * abilist/libnsl.abilist: Likewise.
73056         * abilist/libpthread.abilist: Likewise.
73057         * abilist/libresolv.abilist: Likewise.
73058         * abilist/librt.abilist: Likewise.
73059         * abilist/libthread_db.abilist: Likewise.
73060         * abilist/libutil.abilist: Likewise.
73061         * abilist/libnss_db.abilist: New file.
73063         * scripts/abilist.awk: Add support for indirect functions.
73065         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73067         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73069         * shlib-versions: Remove entries for ports architectures.
73071         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73072         files in ports.
73073         * elf/stackguard-macros.h: Remove support for IA-64.
73074         * elf/tst-auditmod1.c: Likewise.
73075         * sysdeps/generic/ldsodefs.h: Likewise.
73077         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73078         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73079         configure files.
73081         [BZ #13552]
73082         * configure.in: Remove --enable-omitfp support.
73083         * FAQ.in: Adjust.
73084         * config.make.in: Likewise.
73085         * Makeconfig: Likewise.
73086         * manual/install.texi: Likewise.
73088         In case anyone cares, the IA-64 architecture could move to ports.
73089         * sysdeps/ia64/*: Removed.
73090         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73091         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73093         [BZ #13555]
73094         * configure.in: Remove entries for unsupported architectures.
73096         [BZ #13533]
73097         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73098         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73099         routines.
73100         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73101         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73102         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73103         fall back to using wcrtomb.
73104         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73105         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73106         renaming.
73107         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73108         * wcsmbs/tst-c16c32-1.c: New file.
73110         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73111         local variable.
73113         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73115         * elf/tst-unique3.cc: Add explicit declaration of gets.
73116         * elf/tst-unique3lib.cc: Likewise.
73117         * elf/tst-unique3lib2.cc: Likewise.
73118         * elf/tst-unique4.cc: Likewise.
73120         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73122 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73124         [BZ #13566]
73125         * assert/assert.h (static_assert): Don't define for C++.
73126         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73127         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73129 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73131         * iconv/loop.c (single loop): Fix assertion in storing of
73132         remaining bytes.
73134         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73136 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73138         * posix/getconf.c: Update copyright year.
73139         * nss/getent.c: Likewise.
73140         * nss/makedb.c: Likewise.
73141         * iconv/iconvconfig.c: Likewise.
73142         * iconv/iconv_prog.c: Likewise.
73143         * elf/ldconfig.c: Likewise.
73144         * elf/pldd.c: Likewise.
73145         * elf/sotruss.ksh: Likewise.
73146         * catgets/gencat.c: Likewise.
73147         * csu/version.c: Likewise.
73148         * elf/ldd.bash.in: Likewise.
73149         * elf/sprof.c (print_version): Likewise.
73150         * locale/programs/locale.c: Likewise.
73151         * locale/programs/localedef.c: Likewise.
73152         * login/programs/pt_chown.c: Likewise.
73153         * nscd/nscd.c (print_version): Likewise.
73154         * debug/xtrace.sh: Likewise.
73155         * malloc/memusage.sh: Likewise.
73156         * malloc/mtrace.pl: Likewise.
73157         * debug/catchsegv.sh: Likewise.
73159 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73161         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73162         pure attribute.
73164 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73166         [BZ #13533]
73167         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73168         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73169         transformations.
73170         * iconv/gconv_int.h: Likewise.
73171         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73172         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73173         from libc for GLIBC_2.16.
73174         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73175         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73176         * wcsmbs/uchar.h: Really define mbstate_t.
73177         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73178         * wcsmbs/c16rtomb.c: New file.
73179         * wcsmbs/mbrtoc16.c: New file.
73180         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73181         for C/POSIX locale.
73182         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73183         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73185         * wcsmbs/wchar.h: Add missing __restrict.
73187 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73189         [BZ #13532]
73190         * time/Makefile (routines): Add timespec_get.
73191         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73192         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73193         timespec for ISO C11.
73194         * time/timespec_get.c: New file.
73195         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73196         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73198         [BZ #13531]
73199         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73200         * stdlib/stdlib.h: Declare aligned_alloc.
73201         * Versions.def: Add GLIBC_2.16 for libc.
73202         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73204         [BZ 13527]
73205         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73206         ISO C11.
73208         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73209         code.
73211         [BZ #13528]
73212         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73214         [BZ #13529]
73215         * assert/assert.h (static_assert): Define.
73217         * version.h: Update for 2.16 development version.
73219         [BZ #13526]
73220         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73221         _ISOC11_SOURCE.
73223         * version.h (RELEASE): Bump for 2.15 release.
73224         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73226         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73227         Patch by Marek Polacek <mpolacek@redhat.com>.
73229         * bits/byteswap.h: Protect long long constants with __extension__.
73230         * sysdeps/i386/bits/byteswap.h: Likewise.
73231         * sysdeps/ia64/bits/byteswap.h: Likewise.
73232         * sysdeps/s390/bits/byteswap.h: Likewise.
73233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73235 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73237         [BZ #13540]
73238         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73239         destination buffer.
73240         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73242 2011-12-23  Marek Polacek  <polacek@redhat.com>
73244         * elf/dl-addr.c (determine_info): Add inline keyword.
73245         * elf/tst-auditmod4b.c (check_avx): Likewise.
73246         * elf/tst-auditmod6b.c (check_avx): Likewise.
73247         * elf/tst-auditmod6c.c (check_avx): Likewise.
73248         * elf/tst-auditmod7b.c (check_avx): Likewise.
73250 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73252         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73253         !__SSE_MATH__.
73255 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73257         [BZ #13540]
73258         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73259         processing for last bytes.
73261 2011-08-06  Bruno Haible  <bruno@clisp.org>
73263         [BZ #13061]
73264         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73265         U+0385, not to U+1FEE.
73267         [BZ #13062]
73268         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73269         entry for U+00A5 U+0301.
73271 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73273         [BZ #13166]
73274         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73275         buffer for the output is too small.
73277         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73278         optimization.
73280         [BZ #13185]
73281         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73282         SSE flags if possible.
73284 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73286         [BZ #13540]
73287         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73288         processing for last bytes.
73290 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73292         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73293         (syscall-list-default-options, syscall-list-default-condition)
73294         (syscall-list-includes): Define.
73295         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73296         list of ABIs and options and #if conditions for each ABI.  Do not
73297         handle common syscalls between ABIs specially.
73298         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73299         Remove.
73300         (syscall-list-variants, syscall-list-32bit-options)
73301         (syscall-list-32bit-condition, syscall-list-64bit-options)
73302         (syscall-list-64bit-condition): Define.
73303         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73304         (syscall-list-variants, syscall-list-32bit-options)
73305         (syscall-list-32bit-condition, syscall-list-64bit-options)
73306         (syscall-list-64bit-condition): Define.
73307         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73308         Remove.
73309         (syscall-list-variants, syscall-list-32bit-options)
73310         (syscall-list-32bit-condition, syscall-list-64bit-options)
73311         (syscall-list-64bit-condition): Define.
73312         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73313         Remove.
73314         (syscall-list-variants, syscall-list-32bit-options)
73315         (syscall-list-32bit-condition, syscall-list-64bit-options)
73316         (syscall-list-64bit-condition): Define.
73318 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73320         * locale/iso-639.def: Add brx entry.
73322         [BZ #13328]
73323         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73324         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73326         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73327         __feraiseexcept_renamed.
73329 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73331         [BZ #13538]
73332         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73333         EPOLLET with unsigned values.
73334         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73335         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73337         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73338         to large cancellation.
73339         * math/s_cacoshf.c: Likewise.
73340         * math/s_cacoshl.c: Likewise.
73342 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73344         [BZ #13305]
73345         [BZ #12786]
73346         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73347         * math/s_cacoshf.c: Likewise.
73348         * math/s_cacoshl.c: Likewise.
73350 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73352         [BZ #13439]
73353         * iconv/gconv.h: Define __GCONV_SWAP.
73354         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73355         * iconvdata/utf-16.c: Likewise.
73356         * iconvdata/utf-32.c: Likewise.
73358 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73360         [BZ #13524]
73361         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73362         numerator after shifting it by one limb.
73364 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73366         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73367         under [__USE_EXTERN_INLINES].
73369 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73371         [BZ #13446]
73372         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73374 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73376         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73377         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73378         optimized code.
73379         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73380         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73381         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73382         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73383         for strncasecmp/strncasecmp_l compilation.
73384         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73385         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73387 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73389         [BZ #13484]
73390         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73391         of __asm__.
73393 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73395         [BZ #13506]
73396         * time/tzfile.c (__tzfile_read): Check values from file header.
73398 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73400         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73401         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73402         * powerpc/powerpc32/dl-start.S: Likewise.
73403         * powerpc/powerpc32/elf/start.S: Likewise.
73404         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73405         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73406         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73407         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73408         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73409         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73410         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73411         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73412         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73413         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73414         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73415         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73416         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73417         * powerpc/powerpc32/memset.S: Likewise.
73418         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73419         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73420         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73421         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73422         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73423         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73424         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73425         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73426         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73427         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73428         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73429         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73430         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73432 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73434         * math/libm-test.inc: Added more nearbyint tests.
73435         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73436         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73438         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73440 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73442         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73443         FD_CLOEXEC.
73445 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73447         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73448         Add wcscpy-ssse3 wcscpy-c.
73449         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73450         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73451         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73452         * sysdeps/x86_64/wcschr.S: New file.
73453         * sysdeps/x86_64/wcsrchr.S: New file.
73454         * string/test-strcmp.c: Remove checking of wcscmp function for
73455         wrong alignments.
73456         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73457         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73458         wcsrchr-sse2 wcsrchr-c.
73459         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73460         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73461         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73462         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73463         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73464         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73465         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73466         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73467         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73468         * wcsmbc/wcschr.c (WCSCHR): New macro.
73470 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73472         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73473         * wcsmbs/test-wcsrchr.c: New file.
73474         * string/test-strrchr.c: Add wcsrchr support.
73475         (WIDE): New macro.
73476         * wcsmbs/test-wcscpy.c: New file.
73477         * string/test-strcpy.c: Add wcscpy support.
73478         (WIDE): New macro.
73480 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73482         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73483         the inner loop.
73485 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73487         [BZ #13472]
73488         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73490 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73492         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73493         Minor optimizations.
73495         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73496         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73497         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73499 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73501         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73502         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73503         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73504         for gcc to avoid warnings.
73505         * inet/Makefile (tests): Add tst-checks.
73506         * inet/tst-checks.c: New file.
73508         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73509         warning.
73511         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73512         __wmemcmp_sse2.
73514         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73515         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73517         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73519 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73521         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73522         problem.
73524         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73526 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73528         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73529         conditional on GCC version.
73530         (__arch_compare_and_exchange_val_8_acq)
73531         (__arch_compare_and_exchange_val_16_acq)
73532         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73533         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73534         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73536 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73538         * sysdeps/sh/backtrace.c: New file.
73540 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73542         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73543         parenthesis.
73545 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73547         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73548         falling back to utime.
73550 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73552         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73553         expectations for float.
73555 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73557         * locale/weight.h (findidx): Add parameter len.
73558         * locale/weightwc.h (findidx): Likewise.
73559         * posix/fnmatch_loop.c (FCT): Adjust caller.
73560         * posix/regcomp.c (build_equiv_class): Likewise.
73561         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73562         * posix/regexec.c (check_node_accept_bytes): Likewise.
73563         * string/strcoll_l.c (STRCOLL): Likewise.
73564         * string/strxfrm_l.c (STRXFRM): Likewise.
73566 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73568         * Makefile.in: Remove CVSOPT handling.
73569         * configure.in: Remove use of AC_REVISION.
73570         * iconvdata/Makefile (distribute): No need to filter out CVS.
73571         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73572         handling.
73574 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73576         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73577         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73578         [USE_AS_STRNCASECMP_L]: Likewise.
73579         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73580         NO_TLS_DIRECT_SEG_REFS.
73581         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73582         Fix argument offsets for non-PIC.
73583         [USE_AS_STRNCASECMP_L]: Likewise.
73584         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73585         NO_TLS_DIRECT_SEG_REFS.
73587 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73589         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73590         O_CLOEXEC.
73591         * locale/loadlocale.c (_nl_load_locale): Likewise.
73593 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73595         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73596         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73597         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73598         (SYSCALL_GETTIME): Set errno on error.
73600         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73601         count references to noai6ai_cached.
73603 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73605         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73607         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73608         FD_CLOEXEC for /proc/self/maps.
73610         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73611         FD_CLOEXEC for /proc/meminfo.
73613         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73614         gai.conf.
73616         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73617         FD_CLOEXEC for given file.
73619         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73621         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73622         FD_CLOEXEC for /etc/hosts.
73623         (_gethtent): Likewise.
73625         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73627         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73628         cancellation and set FD_CLOEXEC for /etc/netgroup.
73630         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73631         reading /etc/publickey.
73633         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73634         allow cancellation when reading /etc/group.
73636         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73637         cancellation.
73638         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73640         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73641         when using data file.
73643         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73645         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73646         (write_nis_obj): Use "c" and "e" in fopen.
73648         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73650         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73652         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73654         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73656         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73657         locale.alias.
73659         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73661         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73663         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73665         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73666         file parsing and set FD_CLOEXEC.
73668 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73670         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73672 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73674         * malloc/arena.c (arena_get2): Don't call reused_arena when
73675         _int_new_arena failed.
73677 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73679         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73680         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73681         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73682         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73683         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73684         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73685         to compile strcasecmp and strncasecmp.
73686         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73687         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73691 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73693         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73694         locale-defines.sym to gen-as-const-headers.
73695         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73696         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73697         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73698         to compile strcasecmp and strncasecmp.
73699         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73700         strcasecmp_l and strncasecmp_l.
73701         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73702         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73703         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73704         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73705         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73706         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73707         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73708         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73709         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73710         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73711         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73713 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73715         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73716         result of SYSDEP_GETTIME_CPU to retval.
73717         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73718         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73720         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73721         variable.
73723         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73724         mantissa words.
73725         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73727         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73728         from unused variable.
73730         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73731         DWARF definitions.
73732         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73733         for assembling.
73735         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73736         over namespaces.
73738         * sunrpc/rpc_prot.c (rejected): Fix case value.
73740         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73741         unsigned long long int to avoid warnings in shift.
73743         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73744         of use of trans.
73745         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73746         variable tmp.
73748         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73749         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73750         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73752         * nis/nis_table.c (nis_list): Use variable of correct type for
73753         result of __follow_path call.
73755 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73757         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73758         of math functions ceil, trunc, floor, round, and sqrt, when
73759         avaliable on the platform.
73760         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73761         name clash.
73762         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73763         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73764         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73766 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73768         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73769         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73771 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73773         * include/unistd.h: Fix __readlink return type.
73774         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73776 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73778         * stdlib/ucontext.h: Undo last change for makecontext.
73780 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73782         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73784         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73785         * setjmp/setjmp.h: Mark functions as non-leaf.
73786         * setjmp/bits/setjmp2.h: Likewise.
73787         * stdlib/ucontext.h: Likewise.
73789 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73791         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73792         (reused_arena): Don't check arena limit.
73793         (arena_get2): Atomically check arena limit.
73795 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73797         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73798         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73801         instructions.
73803 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73805         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73806         handler when locking.
73808         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73809         Fix size of allocated buffer.
73811 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73813         [BZ #10103]
73814         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73815         declarations for long double functions.
73816         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73818         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73820 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73822         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73823         installed.
73825         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73826         is disabled.
73828 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73830         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73832 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73834         * include/alloca.h (stackinfo_alloca_round): Define.
73835         (extend_alloca): Use it.
73836         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73837         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73838         here.
73840         * scripts/check-local-headers.sh: Ignore libaudit.h.
73842         * nscd/Makefile (extra-objs): Make recursively expanded.
73844 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73846         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73847         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73849         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73850         * posix/tst-rfc3484-2.c: Likewise.
73851         * posix/tst-rfc3484-3.c: Likewise.
73853         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73854         process_vm_writev.
73855         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73856         process_vm_writev.
73857         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73858         process_vm_writev from libc using GLIBC_2.15 version.
73860         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73862 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73864         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73865         stack usage.
73867 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73869         [BZ #13367]
73870         * nss/getent.c (initgroups_keys): Show error message in case no group
73871         names are given.
73873         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73874         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73875         __bump_nl_timestamp.
73876         * nscd/connections (nscd_init): When host database is served open
73877         netlink socket and request notification about configuration changes.
73878         (main_loop_poll): Track netlink file descriptor and bump timestamp
73879         in case data becomes available.
73880         (main_loop_epoll): Likewise.
73881         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73882         (database_pers_head): Add extra_data fileds.
73883         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73884         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73885         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73886         Adjust caller.
73887         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73888         in6ai data, call __free_in6ai.
73889         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73890         Add -DHAVE_NETLINK.
73891         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73892         interface information.  Reuse previous data if netlink timestamp
73893         is not changed.
73894         (__bump_nl_timestamp): New function.
73895         (__free_in6ai): New function.
73897 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73899         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73900         close_not_cancel_no_status here.
73901         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73903 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73905         [BZ #13276]
73906         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73907         return value.
73909         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73910         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73911         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73913 2011-07-03  Andreas Jaeger  <aj@suse.de>
73915         [BZ #10709]
73916         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73917         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73918         * math/libm-test.inc (sin_test): Add test case.
73920 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73922         [BZ #13337]
73923         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73924         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73926         * elf/chroot_canon.c (chroot_canon): Cleanups.
73928         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73930         [BZ #13335]
73931         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73932         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73934         * string/test-strchr.c: Make usable for strchrnul testing.
73935         * string/test-strchrnul.c: New file.
73936         * string/Makefile (strop-tests): Add strchrnul.
73938         * po/it.po: Update from translation team.
73939         * po/es.po: Likewise.
73941 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73943         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73944         the three constants needed as parameters.  Drop the others.
73945         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73946         __m128i_strloadu_tolower.
73947         Create and initialize variable zero and use it in all the places
73948         where _mm_setzero_si128 was used.
73950         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73951         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73952         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73953         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73954         anymore.
73955         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73956         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73957         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73958         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73959         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73960         __mpranred, __mptan.
73961         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73962         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73963         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73964         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73965         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73966         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73967         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73968         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73969         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73971 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73973         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73974         redefine if SHARED.
73975         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73977         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73978         wide char related routines to wcsmbs subdir.
73980 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73982         [BZ #13344]
73983         * misc/sys/cdefs.h (__THROWNL): Define.
73984         * posix/unistd.h: Use __THREADNL instead of __THREAD
73985         for memory synchronization functions.
73987 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73989         [BZ #13349]
73990         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73991         doesn't exist.
73992         * manual/stdio.texi (Obstack Streams): Node removed.
73994 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73996         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73997         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73998         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74000         * math/math_private.h (math_force_eval): Allow non-addressable
74001         arguments.
74002         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74004 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74006         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74007         file is not needed.
74009         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74010         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74011         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74012         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74013         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74014         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74015         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74016         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74017         Add AVX variants.
74018         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74019         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74020         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74021         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74022         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74023         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74024         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74025         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74026         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74027         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74028         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74029         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74030         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74031         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74032         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74033         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74034         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74035         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74036         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74038         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74039         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74041         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74042         place.  Use VEX encoding when compiling for AVX.
74044 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74046         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74047         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74049         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74051 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74053         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74054         useless if() expression.
74055         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74056         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74057         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74058         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74059         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74060         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74061         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74062         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74063         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74064         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74065         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74066         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74067         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74068         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74069         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74070         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74071         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74072         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74073         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74075         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74077 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74079         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74080         condition.
74081         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74083 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74085         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74086         .text section.  Avoid duplicate constants.
74087         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74088         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74089         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74091         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74094         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74095         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74096         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74097         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74098         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74099         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74100         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74101         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74102         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74103         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74104         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74105         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74107         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74108         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74109         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74110         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74111         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74112         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74113         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74114         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74115         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74116         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74117         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74118         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74119         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74120         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74121         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74122         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74123         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74124         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74125         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74126         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74127         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74128         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74129         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74130         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74131         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74133 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74135         * sysdeps/x86_64/dla.h: Move to ...
74136         * sysdeps/x86_64/fpu/dla.h: ...here.
74137         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74138         situations.  Use __builtin_fma only for gcc 4.6 and up.
74140         * config.make.in: Add have-mfma4 entry.
74141         * configure.in: Substitute libc_cv_cc_fma4.
74142         * math/Makefile (dbl-only-routines): Add sincostab.
74143         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74144         Use __sincostab not sincos.
74145         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74146         name is a macro.
74147         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74151         using __copysign.
74152         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74153         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74154         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74155         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74156         and __inv.
74157         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74158         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74159         __copysign.
74160         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74161         define aliases when function name is a macro.
74162         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74163         sysdeps/ieee754/dbl-64/sincos.tbl.
74164         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74165         fma4-enabled routines.
74166         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74167         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74168         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74169         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74170         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74171         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74173         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74174         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74175         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74176         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74177         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74178         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74179         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74180         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74181         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74182         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74183         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74184         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74185         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74186         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74187         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74188         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74189         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74190         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74191         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74192         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74193         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74194         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74195         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74197         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74198         rename.
74199         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74200         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74201         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74202         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74203         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74204         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74205         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74206         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74208 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74210         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74212 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74214         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74216         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74217         prediction.
74218         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74220         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74221         Remove unused variable magic_bits.
74222         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74224         * string/strnlen.c: Define and use STRNLEN macro.
74225         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74226         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74227         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74228         * wcsmbs/wcslen.c: Define and use WCSLEN.
74229         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74230         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74231         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74232         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74233         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74234         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74235         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74237 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74240         strnlen-sse2-no-bsf.
74241         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74242         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74243         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74244         Add strnlen support.
74245         (USE_AS_STRNLEN): New macro.
74246         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74247         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74248         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74249         * sysdeps/x86_64/wcslen.S: New file.
74251 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74253         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74254         XMM-moves are used for copying on small sizes.
74256 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74258         * wcsmbs/Makefile (strop-tests): Add wcschr.
74259         * wcsmbs/test-wcschr.c: New file.
74260         * string/test-strchr.c: Update.
74261         Add wcschr support.
74262         (WIDE): New macro.
74264 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74266         * wcsmbs/Makefile (strop-tests): Add wcslen.
74267         * wcsmbs/test-wcslen.c: New file.
74268         * string/test-strlen.c: Update.
74269         Add wcslen support.
74270         (WIDE): New macro.
74272 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74274         * po/it.po: Update from translation team.
74276 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74278         * sysdeps/x86_64/wcscmp.S: Update.
74279         Fix wrong comparison semantics.
74280         wcscmp shall use signed comparison not unsigned.
74281         Don't use substraction to avoid overflow bug.
74282         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74283         * wcsmbc/wcscmp.c: Likewise.
74284         * string/test-strcmp.c: Likewise.
74285         Add new tests to check cases with negative values.
74287 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74289         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74290         * sysdeps/x86_64/dla.h: ...here.  New file.
74291         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74292         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74296         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74297         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74298         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74299         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74301 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74304         __ynl_finite aliases.
74306 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74310         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74311         define DLA_FMA.
74312         [DLA_FMA] (EMULV): Use DLA_FMA.
74313         [DLA_FMA] (MUL12): Use EMULV.
74314         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74315         that are not needed.
74316         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74317         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74318         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74320         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74321         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74322         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74324 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74326         * math/s_nan.c: Undef __nan.
74327         * math/s_nanf.c: Undef __nanf.
74328         * math/s_nanl.c: Undef __nanl.
74329         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74330         "math_private.h".
74332 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74334         * math/s_catan.c: Add branch predictions.
74335         * math/s_catanf.c: Likewise.
74336         * math/s_catanh.c: Likewise.
74337         * math/s_catanhf.c: Likewise.
74338         * math/s_catanhl.c: Likewise.
74339         * math/s_catanl.c: Likewise.
74340         * math/s_cexp.c: Likewise.
74341         * math/s_cexpf.c: Likewise.
74342         * math/s_cexpl.c: Likewise.
74343         * math/s_clog.c: Likewise.
74344         * math/s_clog10.c: Likewise.
74345         * math/s_clog10f.c: Likewise.
74346         * math/s_clog10l.c: Likewise.
74347         * math/s_clogf.c: Likewise.
74348         * math/s_clogl.c: Likewise.
74349         * math/s_csqrt.c: Likewise.
74350         * math/s_csqrtf.c: Likewise.
74351         * math/s_csqrtl.c: Likewise.
74352         * math/s_ctanf.c: Likewise.
74353         * math/s_ctanh.c: Likewise.
74354         * math/s_ctanhf.c: Likewise.
74355         * math/s_ctanhl.c: Likewise.
74356         * math/s_ctanl.c: Likewise.
74358         * math/math_private.h: Define __nan, __nanf, __nanl.
74359         * math/s_cacosh.c: Include <math_private.h>.
74360         * math/s_cacoshl.c: Likewise.
74361         * math/s_casinh.c: Likewise.
74362         * math/s_casinhf.c: Likewise.
74363         * math/s_casinhl.c: Likewise.
74364         * math/s_ccos.c: Rely entire on ccosh.
74365         * math/s_ccosf.c: Rely entire on ccoshf.
74366         * math/s_ccosl.c: Rely entirely on ccoshl.
74367         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74368         Remove tests for FE_INVALID.
74369         * math/s_ccoshf.c: Likewise.
74370         * math/s_ccoshl.c: Likewise.
74371         * math/s_csin.c: Likewise.
74372         * math/s_csinf.c: Likewise.
74373         * math/s_csinh.c Likewise.
74374         * math/s_csinhf.c: Likewise.
74375         * math/s_csinhl.c: Likewise.
74376         * math/s_csinl.c: Likewise.
74377         * math/s_ctan.c: Likewise.
74378         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74379         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74380         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74382 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74385         compilation problems.
74387         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74388         __builtin_expect.
74390 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74392         * sysdeps/i386/configure.in: Test for -mfma4 option.
74393         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74394         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74395         COMMON_CPUID_INDEX_80000001.
74396         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74397         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74398         use it if FMA3 is not supported.
74399         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74401         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74402         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74404 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74406         [BZ #12892]
74407         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74408         it would create a cycle with a link time dependency.
74410 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74412         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74413         instruction.
74414         * string/Makefile (strop-tests): Add rawmemchr.
74415         * string/test-rawmemchr.c: New file.
74417         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74418         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74419         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74420         when compiling str{,n}casecmp and when AVX is available.  Hook up
74421         new optimized code in initializers.
74423 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74425         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74426         __feraiseexcept instead of feraiseexcept.
74428 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74430         * math/math_private.h: Define defaults for libc_fetestexcept and
74431         libc_feupdateenv.
74432         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74433         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74434         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74435         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74436         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74437         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74438         libc_fetestexcept and libc_feupdateenv.
74440         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74441         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74442         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74443         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74444         libc_feholdexcept_setround.
74446         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74447         Add s_nearbyint-c and s_nearbyintf-c.
74448         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74449         nearbyintf inlines.
74450         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74451         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74452         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74453         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74455         * math/math_private.h: Define defaults for libc_fegetround,
74456         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74457         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74458         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74459         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74460         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74461         standard functions.
74462         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74463         Remove comments and hacks for old compiler versions.
74464         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74465         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74466         libc_feholdexceptl.
74468 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74470         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74471         (__feraiseexcept_renamed): Add __NTH.
74472         (feraiseexcept): Add __NTH.  Rename local variables to fix
74473         namespace violations.
74475 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74477         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74479         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74481         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74482         recently added interfaces.
74483         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74485         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74486         about macro parameter expansion.
74488         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74489         __NO_MATH_INLINES is defined.  Cleanups.
74491         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74492         and __floorf is target has SSE4.1.
74493         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74494         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74495         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74496         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74498         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74499         name.
74500         (floorf): Likewise.
74502         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74504 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74506         * misc/sys/cdefs.h: Fix last change.
74508         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74509         database lookup.
74511 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74513         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74515         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74517         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74518         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74519         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74520         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74521         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74522         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74523         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74524         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74525         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74526         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74527         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74528         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74529         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74530         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74531         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74532         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74533         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74534         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74535         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74536         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74538         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74539         ceil, ceilf, floor, floorf.
74541         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74542         Perform IRELATIVE relocations last.
74544         * elf/do-rel.h: Add another parameter nrelative, replacing the
74545         local variable with the same name.  Change name of the function
74546         to end in Rel or Rela (uppercase).
74547         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74548         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74549         elf_dynamic_do_##reloc function.
74551 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74553         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74554         is sufficient, at least on modern CPUs.
74556         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74558         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74559         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74561         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74562         __expl_finite.
74563         * math/bits/math-finite.h: Add entries for exp.
74564         * math/e_expl.c: Add __*_finite alias.
74565         * sysdeps/i386/fpu/e_exp.S: Likewise.
74566         * sysdeps/i386/fpu/e_expf.S: Likewise.
74567         * sysdeps/i386/fpu/e_expl.c: Likewise.
74568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74569         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74570         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74571         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74572         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74573         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74574         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74576         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74577         is sufficient, at least on modern CPUs.
74579         * ctype/ctype-info.c (__ctype_init): Define.
74580         * include/ctype.h (__ctype_init): Declare.
74581         (__ctype_b_loc): The variable is always initialized.
74582         (__ctype_toupper_loc): Likewise.
74583         (__ctype_tolower_loc): Likewise.
74584         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74585         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74587 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74589         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74591         * configure.in: Also look in $cxxmachine/include for C++ system
74592         headers.
74594 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74596         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74597         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74598         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74599         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74600         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74601         (USE_AS_WMEMCMP): New macro.
74602         Fixing indents.
74603         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74604         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74605         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74606         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74607         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74608         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74609         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74610         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74611         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74612         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74613         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74614         (USE_AS_WMEMCMP): New macro.
74615         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74616         * sysdeps/string/test-memcmp.c: Update.
74617         Fix simple_wmemcmp.
74618         Add new tests.
74619         * wcsmbs/wmemcmp.c: Update.
74620         (WMEMCMP): New macro.
74621         Fix overflow bug.
74623 2011-10-12  Andreas Jaeger  <aj@suse.de>
74625         [BZ #13268]
74626         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74628 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74630         * libio/iofwide.c (do_length): Avoid warning.
74632         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74634 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74636         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74638         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74639         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74640         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74641         * sysdeps/i386/i686/fpu/e_log.S: New file.
74642         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74643         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74645         * ctype/ctype.h: Add support for inlined isXXX functions when
74646         compiling C++ code.
74648 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74650         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74652         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74654 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74656         [BZ #13291]
74657         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74659 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74661         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74662         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74663         feraiseexcept.
74665         * sysdeps/x86_64/memrchr.S: Check for zero size.
74667         * string/stratcliff.c: Add memrchr tests.
74669 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74672         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74673         rawmemchr-sse2 rawmemchr-sse2-bsf.
74674         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74675         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74676         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74677         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74678         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74679         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74680         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74681         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74682         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74683         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74684         * string/memrchr.c (MEMRCHR): New macro.
74686 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74688         Add integration with gcc's -ffinite-math-only and optimize wrapper
74689         functions in libm.
74690         * Versions.def: Define GLIBC_2.15 version for libm.
74691         * math/Makefile (headers): Add bits/math-finite.h.
74692         * math/bits/math-finite.h: New file.
74693         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74694         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74695         * math/e_acoshl.c: Add __*_finite alias.
74696         * math/e_acosl.c: Likewise.
74697         * math/e_asinl.c: Likewise.
74698         * math/e_atan2l.c: Likewise.
74699         * math/e_atanhl.c: Likewise.
74700         * math/e_coshl.c: Likewise.
74701         * math/e_exp10.c: Likewise.
74702         * math/e_exp10f.c: Likewise.
74703         * math/e_exp10l.c: Likewise.
74704         * math/e_exp2l.c: Likewise.
74705         * math/e_fmodl.c: Likewise.
74706         * math/e_gammal_r.c: Likewise.
74707         * math/e_hypotl.c: Likewise.
74708         * math/e_j0l.c: Likewise.
74709         * math/e_j1l.c: Likewise.
74710         * math/e_jnl.c: Likewise.
74711         * math/e_lgammal_r.c: Likewise.
74712         * math/e_log10l.c: Likewise.
74713         * math/e_log2l.c: Likewise.
74714         * math/e_logl.c: Likewise.
74715         * math/e_powl.c: Likewise.
74716         * math/e_sinhl.c: Likewise.
74717         * math/e_sqrtl.c: Likewise.
74718         * math/e_scalb.c: Completely rewritten and optimized.
74719         * math/e_scalbf.c: Likewise.
74720         * math/e_scalbl.c: Likewise.
74721         * math/w_acos.c: Likewise.
74722         * math/w_acosf.c: Likewise.
74723         * math/w_acosl.c: Likewise.
74724         * math/w_acosh.c: Likewise.
74725         * math/w_acoshf.c: Likewise.
74726         * math/w_acoshl.c: Likewise.
74727         * math/w_asin.c: Likewise.
74728         * math/w_asinf.c: Likewise.
74729         * math/w_asinl.c: Likewise.
74730         * math/w_atan2.c: Likewise.
74731         * math/w_atan2f.c: Likewise.
74732         * math/w_atan2l.c: Likewise.
74733         * math/w_atanh.c: Likewise.
74734         * math/w_atanhf.c: Likewise.
74735         * math/w_atanhl.c: Likewise.
74736         * math/w_exp10.c: Likewise.
74737         * math/w_exp10f.c: Likewise.
74738         * math/w_exp10l.c: Likewise.
74739         * math/w_fmod.c: Likewise.
74740         * math/w_fmodf.c: Likewise.
74741         * math/w_fmodl.c: Likewise.
74742         * math/w_j0.c: Likewise.
74743         * math/w_j0f.c: Likewise.
74744         * math/w_j0l.c: Likewise.
74745         * math/w_j1.c: Likewise.
74746         * math/w_j1f.c: Likewise.
74747         * math/w_j1l.c: Likewise.
74748         * math/w_jn.c: Likewise.
74749         * math/w_jnf.c: Likewise.
74750         * math/w_log.c: Likewise.
74751         * math/w_logf.c: Likewise.
74752         * math/w_logl.c: Likewise.
74753         * math/w_log10.c: Likewise.
74754         * math/w_log10f.c: Likewise.
74755         * math/w_log10l.c: Likewise.
74756         * math/w_log2.c: Likewise.
74757         * math/w_log2f.c: Likewise.
74758         * math/w_log2l.c: Likewise.
74759         * math/w_pow.c: Likewise.
74760         * math/w_powf.c: Likewise.
74761         * math/w_powl.c: Likewise.
74762         * math/w_remainder.c: Likewise.
74763         * math/w_remainderf.c: Likewise.
74764         * math/w_remainderl.c: Likewise.
74765         * math/w_scalb.c: Likewise.
74766         * math/w_scalbf.c: Likewise.
74767         * math/w_scalbl.c: Likewise.
74768         * math/w_sqrt.c: Likewise.
74769         * math/w_sqrtf.c: Likewise.
74770         * math/w_sqrtl.c: Likewise.
74771         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74772         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74773         used.
74774         * math/math_private.h: Declare __kernel_standard_f.
74775         * math/w_cosh.c: Remove cruft and optimize a bit.
74776         * math/w_coshf.c: Likewise.
74777         * math/w_coshl.c: Likewise.
74778         * math/w_exp2.c: Likewise.
74779         * math/w_exp2f.c: Likewise.
74780         * math/w_exp2l.c: Likewise.
74781         * math/w_hypot.c: Likewise.
74782         * math/w_hypotf.c: Likewise.
74783         * math/w_hypotl.c: Likewise.
74784         * math/w_lgamma.c: Likewise.
74785         * math/w_lgamma_r.c: Likewise.
74786         * math/w_lgammaf.c: Likewise.
74787         * math/w_lgammaf_r.c: Likewise.
74788         * math/w_lgammal.c: Likewise.
74789         * math/w_lgammal_r.c: Likewise.
74790         * math/w_sinh.c: Likewise.
74791         * math/w_sinhf.c: Likewise.
74792         * math/w_sinhl.c: Likewise.
74793         * math/w_tgamma.c: Likewise.
74794         * math/w_tgammaf.c: Likewise.
74795         * math/w_tgammal.c: Likewise.
74796         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74797         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74798         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74799         Minor optimizations.  Pretty printing.  Remove cruft.
74800         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74801         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74802         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74803         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74804         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74805         * sysdeps/i386/fpu/e_asin.S: Likewise.
74806         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74807         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74808         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74809         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74810         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74811         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74812         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74813         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74814         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74815         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74816         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74817         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74818         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74819         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74820         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74821         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74822         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74823         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74824         * sysdeps/i386/fpu/e_log.S: Likewise.
74825         * sysdeps/i386/fpu/e_log10.S: Likewise.
74826         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74827         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74828         * sysdeps/i386/fpu/e_log2.S: Likewise.
74829         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74830         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74831         * sysdeps/i386/fpu/e_logf.S: Likewise.
74832         * sysdeps/i386/fpu/e_logl.S: Likewise.
74833         * sysdeps/i386/fpu/e_pow.S: Likewise.
74834         * sysdeps/i386/fpu/e_powf.S: Likewise.
74835         * sysdeps/i386/fpu/e_powl.S: Likewise.
74836         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74837         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74838         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74839         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74840         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74841         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74842         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74843         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74844         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74845         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74846         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74847         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74848         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74849         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74850         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74851         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74852         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74853         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74854         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74855         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74856         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74858         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74859         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74861         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74862         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74863         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74864         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74865         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74866         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74867         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74868         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74869         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74870         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74871         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74872         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74873         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74874         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74875         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74876         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74877         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74878         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74879         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74880         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74881         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74882         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74883         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74884         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74885         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74886         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74887         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74888         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74889         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74890         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74891         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74892         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74893         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74894         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74895         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74896         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74897         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74898         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74899         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74900         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74901         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74902         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74903         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74904         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74905         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74906         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74907         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74909         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74910         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74911         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74912         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74913         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74914         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74915         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74916         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74917         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74918         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74921         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74922         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74923         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74924         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74925         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74926         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74927         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74928         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74929         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74930         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74931         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74932         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74933         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74934         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74935         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74936         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74937         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74938         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74939         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74940         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74941         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74942         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74943         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74944         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74945         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74946         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74947         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74948         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74949         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74950         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74951         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74952         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74953         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74954         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74955         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74956         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74957         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74958         (__isnanf): Likewise.
74959         (__isinf_ns): Likewise.
74960         (__isinf_nsf): Likewise.
74961         (__finite): Likewise.
74962         (__finitef): Likewise.
74963         (__ieee754_sqrt): Define as macro.
74964         (__ieee754_sqrtf): Define as macro.
74965         (__ieee754_sqrtl): Define as macro.
74966         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74967         inlined copy.
74968         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74969         __FINITE_MATH_ONLY__ consistent.
74970         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74972 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74974         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74975         of rawmemchr.
74977         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74979 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74981         * po/ja.po: Update from translation team.
74983 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74985         * locale/programs/locarchive.c (prepare_address_space): New function.
74986         (create_archive, enlarge_archive, open_archive): Use it.
74988         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74989         inside [SHARED], where it is used.
74991         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74993         * nss/getent.c (netgroup_keys): Remove unused variable.
74994         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74996 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74998         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74999         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75001         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75002         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75003         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75004         * math/Makefile (libm-calls): Add s_isinf_ns.
75005         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75006         * math/multc3.c: Likewise.
75007         * math/s_casin.c: Likewise.
75008         * math/s_casinf.c: Likewise.
75009         * math/s_casinl.c: Likewise.
75010         * math/s_ccos.c: Likewise.
75011         * math/s_ccosf.c: Likewise.
75012         * math/s_ccosl.c: Likewise.
75013         * math/s_ctan.c: Likewise.
75014         * math/s_ctanf.c: Likewise.
75015         * math/s_ctanh.c: Likewise.
75016         * math/s_ctanhf.c: Likewise.
75017         * math/s_ctanhl.c: Likewise.
75018         * math/s_ctanl.c: Likewise.
75019         * math/w_fmod.c: Likewise.
75020         * math/w_fmodf.c: Likewise.
75021         * math/w_fmodl.c: Likewise.
75022         * math/w_remainder.c: Likewise.
75023         * math/w_remainderf.c: Likewise.
75024         * math/w_remainderl.c: Likewise.
75025         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75026         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75027         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75028         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75029         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75030         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75031         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75032         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75034         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75035         of the number.
75036         * stdio-common/printf_fphex.c: Likewise.
75037         * stdio-common/printf_size.c: Likewise.
75039         * math/e_exp10.c: Include math_private.h using <...> not "...".
75040         * math/e_exp10f.c: Likewise.
75041         * math/e_exp10l.c: Likewise.
75042         * math/e_exp2l.c: Likewise.
75043         * math/e_j0l.c: Likewise.
75044         * math/e_j1l.c: Likewise.
75045         * math/e_jnl.c: Likewise.
75046         * math/e_lgammal_r.c: Likewise.
75047         * math/e_rem_pio2l.c: Likewise.
75048         * math/e_scalb.c: Likewise.
75049         * math/e_scalbf.c: Likewise.
75050         * math/e_scalbl.c: Likewise.
75051         * math/k_cosl.c: Likewise.
75052         * math/k_sinl.c: Likewise.
75053         * math/k_tanl.c: Likewise.
75054         * math/s_cacoshf.c: Likewise.
75055         * math/s_catan.c: Likewise.
75056         * math/s_catanf.c: Likewise.
75057         * math/s_catanh.c: Likewise.
75058         * math/s_catanhf.c: Likewise.
75059         * math/s_catanhl.c: Likewise.
75060         * math/s_catanl.c: Likewise.
75061         * math/s_ccosh.c: Likewise.
75062         * math/s_ccoshf.c: Likewise.
75063         * math/s_ccoshl.c: Likewise.
75064         * math/s_cexp.c: Likewise.
75065         * math/s_cexpf.c: Likewise.
75066         * math/s_cexpl.c: Likewise.
75067         * math/s_clog.c: Likewise.
75068         * math/s_clog10.c: Likewise.
75069         * math/s_clog10f.c: Likewise.
75070         * math/s_clog10l.c: Likewise.
75071         * math/s_clogf.c: Likewise.
75072         * math/s_clogl.c: Likewise.
75073         * math/s_csin.c: Likewise.
75074         * math/s_csinf.c: Likewise.
75075         * math/s_csinh.c: Likewise.
75076         * math/s_csinhf.c: Likewise.
75077         * math/s_csinhl.c: Likewise.
75078         * math/s_csinl.c: Likewise.
75079         * math/s_csqrt.c: Likewise.
75080         * math/s_csqrtf.c: Likewise.
75081         * math/s_csqrtl.c: Likewise.
75082         * math/s_ctan.c: Likewise.
75083         * math/s_ctanf.c: Likewise.
75084         * math/s_ctanh.c: Likewise.
75085         * math/s_ctanhf.c: Likewise.
75086         * math/s_ctanhl.c: Likewise.
75087         * math/s_ctanl.c: Likewise.
75088         * math/s_ldexp.c: Likewise.
75089         * math/s_ldexpf.c: Likewise.
75090         * math/s_ldexpl.c: Likewise.
75091         * math/s_significand.c: Likewise.
75092         * math/s_significandf.c: Likewise.
75093         * math/s_significandl.c: Likewise.
75094         * math/w_acos.c: Likewise.
75095         * math/w_acosf.c: Likewise.
75096         * math/w_acosh.c: Likewise.
75097         * math/w_acoshf.c: Likewise.
75098         * math/w_acoshl.c: Likewise.
75099         * math/w_acosl.c: Likewise.
75100         * math/w_asin.c: Likewise.
75101         * math/w_asinf.c: Likewise.
75102         * math/w_asinl.c: Likewise.
75103         * math/w_atan2.c: Likewise.
75104         * math/w_atan2f.c: Likewise.
75105         * math/w_atan2l.c: Likewise.
75106         * math/w_atanh.c: Likewise.
75107         * math/w_atanhf.c: Likewise.
75108         * math/w_atanhl.c: Likewise.
75109         * math/w_cosh.c: Likewise.
75110         * math/w_coshf.c: Likewise.
75111         * math/w_coshl.c: Likewise.
75112         * math/w_dremf.c: Likewise.
75113         * math/w_exp10.c: Likewise.
75114         * math/w_exp10f.c: Likewise.
75115         * math/w_exp10l.c: Likewise.
75116         * math/w_exp2.c: Likewise.
75117         * math/w_exp2f.c: Likewise.
75118         * math/w_fmod.c: Likewise.
75119         * math/w_fmodf.c: Likewise.
75120         * math/w_fmodl.c: Likewise.
75121         * math/w_hypot.c: Likewise.
75122         * math/w_hypotf.c: Likewise.
75123         * math/w_hypotl.c: Likewise.
75124         * math/w_j0.c: Likewise.
75125         * math/w_j0f.c: Likewise.
75126         * math/w_j0l.c: Likewise.
75127         * math/w_j1.c: Likewise.
75128         * math/w_j1f.c: Likewise.
75129         * math/w_j1l.c: Likewise.
75130         * math/w_jn.c: Likewise.
75131         * math/w_jnf.c: Likewise.
75132         * math/w_jnl.c: Likewise.
75133         * math/w_lgamma.c: Likewise.
75134         * math/w_lgamma_r.c: Likewise.
75135         * math/w_lgammaf.c: Likewise.
75136         * math/w_lgammaf_r.c: Likewise.
75137         * math/w_lgammal.c: Likewise.
75138         * math/w_lgammal_r.c: Likewise.
75139         * math/w_log.c: Likewise.
75140         * math/w_log10.c: Likewise.
75141         * math/w_log10f.c: Likewise.
75142         * math/w_log10l.c: Likewise.
75143         * math/w_log2.c: Likewise.
75144         * math/w_log2f.c: Likewise.
75145         * math/w_log2l.c: Likewise.
75146         * math/w_logf.c: Likewise.
75147         * math/w_logl.c: Likewise.
75148         * math/w_pow.c: Likewise.
75149         * math/w_powf.c: Likewise.
75150         * math/w_powl.c: Likewise.
75151         * math/w_remainder.c: Likewise.
75152         * math/w_remainderf.c: Likewise.
75153         * math/w_remainderl.c: Likewise.
75154         * math/w_scalb.c: Likewise.
75155         * math/w_scalbf.c: Likewise.
75156         * math/w_scalbl.c: Likewise.
75157         * math/w_sinh.c: Likewise.
75158         * math/w_sinhf.c: Likewise.
75159         * math/w_sinhl.c: Likewise.
75160         * math/w_sqrt.c: Likewise.
75161         * math/w_sqrtf.c: Likewise.
75162         * math/w_sqrtl.c: Likewise.
75163         * math/w_tgamma.c: Likewise.
75164         * math/w_tgammaf.c: Likewise.
75165         * math/w_tgammal.c: Likewise.
75167         * po/ja.po: Update from translation team.
75169 2011-09-29  Andreas Jaeger  <aj@suse.de>
75171         [BZ #13179]
75172         * sunrpc/netname.c (netname2host): Fix logic.
75174         [BZ #6779]
75175         [BZ #6783]
75176         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75177         correctly.
75178         * math/w_remainder.c (__remainder): Likewise.
75179         * math/w_remainderf.c (__remainderf): Likewise.
75180         * math/libm-test.inc (remainder_test): Add test cases.
75182 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75184         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75185         sdiv_qrnnd.
75187 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75189         * string/test-memcmp.c: Avoid unncessary #defines.
75190         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75192 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75194         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75195         Use new sse2 version for core i3 - i7 as it's faster
75196         than sse42 version.
75197         (bit_Prefer_PMINUB_for_stringop): New.
75198         * sysdeps/x86_64/rawmemchr.S: Update.
75199         Replace with faster SSE2 version.
75200         * sysdeps/x86_64/memrchr.S: New file.
75201         * sysdeps/x86_64/memchr.S: Update.
75202         Replace with faster SSE2 version.
75204 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75206         * elf/dl-load.c (lose): Add cast to avoid warning.
75208 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75210         * po/ca.po: Update from translation team.
75212         * inet/getnetgrent_r.c: Hook up nscd.
75213         * nscd/Makefile (routines): Add nscd_netgroup.
75214         (nscd-modules): Add netgroupcache.
75215         (CFLAGS-netgroupcache.c): Define.
75216         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75217         (cache_search): Add const to second parameter.
75218         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75219         INNETGR.
75220         (dbs): Add netgrdb entry.
75221         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75222         (verify_persistent_db): Handle netgrdb.
75223         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75224         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75225         GETFDNETGR.
75226         (netgroup_response_header): Define.
75227         (innetgroup_response_header): Define.
75228         (datahead): Add netgroup_response_header and innetgroup_response_header
75229         elements.
75230         * nscd/nscd.conf: Add entries for netgroup cache.
75231         * nscd/nscd.h (dbtype): Add netgrdb.
75232         (_PATH_NSCD_NETGROUP_DB): Define.
75233         (netgroup_iov_disabled): Declare.
75234         (xmalloc, xcalloc, xrealloc): Move declarations here.
75235         (cache_search): Adjust prototype.
75236         Add netgroup-related prototypes.
75237         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75238         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75239         (__nscd_innetgr): Declare.
75240         * nscd/selinux.c (perms): Use access_vector_t as element type and
75241         add netgroup-related initializers.
75242         * nscd/netgroupcache.c: New file.
75243         * nscd/nscd_netgroup.c: New file.
75244         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75245         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75246         For four parameters use innetgr.
75247         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75248         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75249         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75250         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75252         * nscd/connections.c (register_traced_file): Don't register file
75253         for disabled databases.
75255 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75257         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75259         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75260         from tree and freeing node.
75262 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75264         * nss/nsswitch.c (__nss_database_lookup): Handle
75265         nss_parse_service_list out of memory case.
75267 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75269         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75270         out of memory case.
75272 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75274         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75275         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75276         pass it down.
75277         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75278         elf_machine_rela, elf_machine_lazy_rel.
75279         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75280         (ELF_DYNAMIC_DO_REL): Likewise.
75281         (ELF_DYNAMIC_DO_RELA): Likewise.
75282         (ELF_DYNAMIC_RELOCATE): Likewise.
75283         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75284         to ELF_DYNAMIC_DO_REL.
75285         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75286         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75287         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75288         elf_machine_rela.
75289         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75290         skip_ifunc, don't call ifunc function if non-zero.
75291         (elf_machine_rela): Likewise.
75292         (elf_machine_lazy_rel): Likewise.
75293         (elf_machine_lazy_rela): Likewise.
75294         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75295         (elf_machine_lazy_rel): Likewise.
75296         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75297         Likewise.
75298         (elf_machine_lazy_rel): Likewise.
75299         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75300         Likewise.
75301         (elf_machine_lazy_rel): Likewise.
75302         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75303         (elf_machine_lazy_rel): Likewise.
75304         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75305         (elf_machine_lazy_rel): Likewise.
75306         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75307         (elf_machine_lazy_rel): Likewise.
75308         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75309         (elf_machine_lazy_rel): Likewise.
75310         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75311         (elf_machine_lazy_rel): Likewise.
75312         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75313         (elf_machine_lazy_rel): Likewise.
75315 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75317         * nss/nss_files/files-init.c (_nss_files_init): Use static
75318         initialization for all the *_traced_file variables.
75320 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75322         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75324 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75326         [BZ #13226]
75327         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75329 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75331         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75332         Reread the line before reparsing it.
75334 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75336         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75338 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75339             Maxim Kuvyrkov  <maxim@codesourcery.com>
75340             Joseph Myers  <joseph@codesourcery.com>
75342         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75343         if needed for __stack_chk_guard.
75345 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75347         * sysdeps/posix/spawni.c (script_execute): Always define it.
75348         It will be optimized away if unused.
75349         (maybe_script_execute): New function.
75350         (__spawni): Call it.
75352         * Makerules: Don't include tls.make.
75353         (config-tls): Always set to thread.
75354         * tls.make.c: File removed.
75356 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75358         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75359         * config.make.in (CPPFLAGS-config): New substituted variable.
75361 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75363         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75365         [BZ #13192]
75366         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75367         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75369 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75371         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75372         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75374         (CALL_FAIL): Likewise.
75375         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75376         (CALL_FAIL): Macro removed.
75377         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75379 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75381         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75382         for __FINITE_MATH_ONLY__ == 1.
75384 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75386         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75387         __ieee754_sqrt instead of sqrt.
75388         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75389         __ieee754_sqrtf instead of sqrtf.
75390         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75391         __floorf instead of floorf.
75392         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75393         __floorf, __truncf instead of floorf, truncf.
75395 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75397         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75399         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75400         __extern_always_inline.
75401         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75402         32-bit.
75404 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75406         * elf/rtld.c (dl_main): Also relocate in dependency order when
75407         doing symbol dependency testing.
75409 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75411         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75412         Always define `refsym'.
75414 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75416         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75417         (__FD_ELT): Renamed from __FDELT.
75418         * misc/bits/select2.h (__FD_ELT): Likewise.
75419         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75420         __FD_MASK instead of __FDELT, __FDMASK.
75421         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75422         Likewise.
75423         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75424         Likewise.
75426         * elf/Makefile (gen-ldd): Fix pattern.
75428         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75429         (init_tls): Likewise.
75431 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75435 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75437         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75438         `struct cmsghdr *' instead of `void *'.
75439         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75440         Likewise.
75442 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75444         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75445         if non-absolute.
75446         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75447         ldd_rewrite_script.
75449 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75451         * configure.in: Remove --with-tls option.
75452         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75453         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75454         out in case it is missing.
75455         * sysdeps/ia64/elf/configure.in: Likewise.
75456         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75457         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75458         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75459         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75460         * sysdeps/sh/elf/configure.in: Likewise.
75461         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75462         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75463         * sysdeps/x86_64/elf/configure.in: Likewise.
75464         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75465         * sysdeps/mach/hurd/tls.h: Likewise.
75467         [BZ #13067]
75468         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75470         [BZ #13090]
75471         * configure.in: Fix use of AC_INIT.
75473         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75475 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75477         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75478         __set_errno.
75479         * malloc/hooks.c: Likewise.
75481         [BZ #11929]
75482         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75483         variables statically.
75484         (narenas): Initialize.
75485         (list_lock): Initialize.
75486         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75487         initializtion of main_arena and list_lock.  Small cleanups.
75488         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75489         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75490         Add initializers to main_arena and mp_.
75491         (malloc_state): Remove pagesize member.  Change all users to use
75492         GLRO(dl_pagesize).
75494         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75495         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75496         is always initialized.
75498         * malloc/malloc.c: Removed unused configurations and dead code.
75499         * malloc/arena.c: Likewise.
75500         * malloc/hooks.c: Likewise.
75501         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75503         * include/tls.h: Removed.  USE___THREAD must always be defined.
75504         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75505         * elf/dl-libc.c: Likewise.
75506         * elf/dl-tsd.c: Likewise.
75507         * include/errno.h: Likewise.
75508         * include/netdb.h: Likewise.
75509         * include/resolv.h: Likewise.
75510         * inet/herrno-loc.c: Likewise.
75511         * inet/herrno.c: Likewise.
75512         * malloc/arena.c: Likewise.
75513         * malloc/hooks.c: Likewise.
75514         * malloc/malloc.c: Likewise.
75515         * resolv/res-state.c: Likewise.
75516         * resolv/res_libc.c: Likewise.
75517         * sysdeps/i386/dl-machine.h: Likewise.
75518         * sysdeps/ia64/dl-machine.h: Likewise.
75519         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75520         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75521         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75522         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75523         * sysdeps/sh/dl-machine.h: Likewise.
75524         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75525         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75526         * sysdeps/unix/i386/sysdep.S: Likewise.
75527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75528         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75533         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75535         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75537         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75538         * sysdeps/x86_64/dl-machine.h: Likewise.
75539         * tls.make.c: Likewise.
75541         * configure.in: Remove --with-__thread option.  Make tests for
75542         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75543         tls_model attribute fail if no support is available.  Remove
75544         USE_IN_LIBIO.
75545         * Makeconfig: Adjust for dropped configure option.  All features are
75546         now mandatory.
75547         * Makerules: Likewise.
75548         * Versions.def: Likewise.
75549         * argp/argp-fmtstream.c: Likewise.
75550         * argp/argp-fmtstream.h: Likewise.
75551         * argp/argp-help.c: Likewise.
75552         * assert/assert.c: Likewise.
75553         * config.h.in: Likewise.
75554         * config.make.in: Likewise.
75555         * configure: Likewise.
75556         * configure.in: Likewise.
75557         * csu/Versions: Likewise.
75558         * csu/init.c: Likewise.
75559         * elf/tst-audit2.c: Likewise.
75560         * elf/tst-tls10.c: Likewise.
75561         * elf/tst-tls10.h: Likewise.
75562         * elf/tst-tls11.c: Likewise.
75563         * elf/tst-tls12.c: Likewise.
75564         * elf/tst-tls14.c: Likewise.
75565         * elf/tst-tlsmod11.c: Likewise.
75566         * elf/tst-tlsmod12.c: Likewise.
75567         * elf/tst-tlsmod13.c: Likewise.
75568         * elf/tst-tlsmod13a.c: Likewise.
75569         * elf/tst-tlsmod14a.c: Likewise.
75570         * elf/tst-tlsmod15b.c: Likewise.
75571         * elf/tst-tlsmod16a.c: Likewise.
75572         * elf/tst-tlsmod16b.c: Likewise.
75573         * elf/tst-tlsmod7.c: Likewise.
75574         * elf/tst-tlsmod8.c: Likewise.
75575         * elf/tst-tlsmod9.c: Likewise.
75576         * gmon/gmon.c: Likewise.
75577         * grp/fgetgrent_r.c: Likewise.
75578         * grp/putgrent.c: Likewise.
75579         * hurd/fopenport.c: Likewise.
75580         * include/libc-symbols.h: Likewise.
75581         * include/tls.h: Likewise.
75582         * intl/gettextP.h: Likewise.
75583         * intl/loadinfo.h: Likewise.
75584         * locale/global-locale.c: Likewise.
75585         * locale/localeinfo.h: Likewise.
75586         * mach/devstream.c: Likewise.
75587         * malloc/arena.c: Likewise.
75588         * malloc/set-freeres.c: Likewise.
75589         * misc/err.c: Likewise.
75590         * misc/getttyent.c: Likewise.
75591         * misc/mntent_r.c: Likewise.
75592         * posix/getopt.c: Likewise.
75593         * posix/wordexp.c: Likewise.
75594         * pwd/fgetpwent_r.c: Likewise.
75595         * resolv/Versions: Likewise.
75596         * resolv/res_hconf.c: Likewise.
75597         * shadow/fgetspent_r.c: Likewise.
75598         * shadow/putspent.c: Likewise.
75599         * stdio-common/printf_fphex.c: Likewise.
75600         * stdio-common/tmpfile.c: Likewise.
75601         * stdlib/abort.c: Likewise.
75602         * stdlib/fmtmsg.c: Likewise.
75603         * sunrpc/auth_unix.c: Likewise.
75604         * sunrpc/clnt_perr.c: Likewise.
75605         * sunrpc/clnt_tcp.c: Likewise.
75606         * sunrpc/clnt_udp.c: Likewise.
75607         * sunrpc/clnt_unix.c: Likewise.
75608         * sunrpc/openchild.c: Likewise.
75609         * sunrpc/svc_simple.c: Likewise.
75610         * sunrpc/svc_tcp.c: Likewise.
75611         * sunrpc/svc_udp.c: Likewise.
75612         * sunrpc/svc_unix.c: Likewise.
75613         * sunrpc/xdr.c: Likewise.
75614         * sunrpc/xdr_array.c: Likewise.
75615         * sunrpc/xdr_rec.c: Likewise.
75616         * sunrpc/xdr_ref.c: Likewise.
75617         * sunrpc/xdr_stdio.c: Likewise.
75619 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75621         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75623 2011-07-03  Andreas Jaeger  <aj@suse.de>
75625         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75626         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75627         regenerate with gen-libm-tests.pl.
75629 2010-05-12  Petr Baudis  <pasky@suse.cz>
75631         [BZ #11589]
75632         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75633         around j0() zero points by switching to j1().
75634         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75635         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75637         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75639 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75641         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75642         instead of 0.
75643         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75644         instead of 0.
75645         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75646         Patch in part by Pavel Roskin <proski@gnu.org>.
75648         [BZ #13138]
75649         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75650         realloc.
75651         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75652         Free memory block if necessary.
75654         [BZ #12847]
75655         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75656         be NULL.  Don't lock in this case.
75658 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75660         * elf/elf.h (ELFOSABI_GNU): New macro.
75661         (ELFOSABI_LINUX): Define to that.
75663 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75665         * string/strncat.c (strncat): Undef the symbol in case it has been
75666         defined in bits/string.h.
75668 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75670         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75672         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75673         link map.
75675 2011-08-17  Andreas Jaeger  <aj@suse.de>
75677         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75679 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75680             Ian Lance Taylor  <iant@google.com>
75682         * math/libm-test.inc (lround_test): New testcase.
75683         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75685 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75687         * Makefile: Remove support for automatic cvs check-ins.
75688         * Makerules: Likewise.
75689         * config.make.in: Likewise.
75690         * configure.in: Likewise.
75691         * intl/Makefile: Likewise.
75692         * locale/Makefile: Likewise.
75693         * po/Makefile: Likewise.
75694         * posix/Makefile: Likewise.
75695         * sysdeps/gnu/Makefile: Likewise.
75696         * sysdeps/mach/hurd/Makefile: Likewise.
75697         * sysdeps/sparc/sparc32/Makefile: Likewise.
75699         [BZ #13118]
75700         * posix/Makefile (bug-regex32-ENV): Define.
75701         Patch by John Stanley <jpsinthemix@verizon.net>.
75703         * misc/Makefile (headers): Add bits/select2.h.
75704         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75705         * misc/bits/select2.h: New file.
75706         * include/bits/select2.h: New file.
75707         * debug/Makefile (routines): Add fdelt_chk.
75708         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75709         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75710         FD_ISSET.
75711         * debug/fdelt_chk.c: New file.
75713         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75714         * wcsmbs/test-wmemcmp.c: Likewise.
75715         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75716         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75718 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75720         * string/Makefile (strop-tests): Add memcmp.
75721         * string/test-wmemcmp.c: New file.
75722         * string/test-memcmp.c: Add wmemcmp support.
75724 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75726         [BZ #13153]
75727         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75728         2011-07-19 change.
75730         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75731         garbage value in a __mach_port_mod_refs call in the cases of the
75732         task-self and thread-self ports.
75734 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75736         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75738 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75740         * elf/dl-load.c (lose): Check for non-null L.
75742 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75744         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75746         * elf/dl-libc.c (dlerror_run): Pass back error code from
75747         dl_catch_error.
75749         [BZ #13123]
75750         * elf/dl-load.c (lose): Free l_origin if it is valid.
75752         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75753         names.
75754         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75755         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75757         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75758         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75759         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75761 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75763         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75764         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75765         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75766         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75767         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75768         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75769         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75770         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75771         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75772         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75774 2011-08-15  Alan Modra  <amodra@gmail.com>
75776         [BZ #13092]
75777         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75778         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75779         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75780         ppc_mcount to static-only-routines.
75781         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75782         __mcount_internal.
75783         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75784         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75786 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75788         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75789         for finite and infinity parameters.
75791 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75793         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75794         and add nop instructions for throughput optimization.
75795         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75797 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75799         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75800         aligned copy for power7 with vector-scalar instructions.
75801         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75803 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75806         AVX check.
75808 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75810         [BZ #13144]
75811         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75812         last change.
75814 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75816         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75817         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75818         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75819         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75820         clock_gettime.
75822 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75824         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75825         Forgot to demangle the pointer.
75827         * sysdeps/i386/sysdep.h: Define atom_text_section.
75828         * sysdeps/x86_64/sysdep.h: Likewise.
75829         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75830         section with atom_text_section.
75831         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75832         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75833         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75834         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75835         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75837         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75838         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75839         already be defined.  Change to take two parameters and don't assign
75840         result to variable.  Adjust all users.
75841         Define INTERNAL_GETTIME if not already defined.
75842         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75843         call.
75844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75845         HAVE_CLOCK_GETTIME_VSYSCALL.
75846         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75848         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75849         gettimeofday vsyscall, just use time.
75851 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75854         <errno.h>.
75856 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75858         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75859         syscall on x86-64.
75860         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75861         syscall.
75862         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75863         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75864         syscall if possible.
75866 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75868         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75869         e_ident.  Don't pass to find_mapsXX.
75870         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75872 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75875         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75876         * sysdeps/x86_64/multiarch/strchr.S: Update.
75877         Check bit_slow_BSF bit.
75878         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75879         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75880         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75882 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75884         [BZ #13134]
75885         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75886         before glibc 2.15.
75887         (tryshell): Define.
75888         (__spawni): Change last parameter to be flag.  Test
75889         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75890         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75891         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75892         * posix/spawni.c: Likewise.
75893         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75894         * posix/spawnp.c: Likewise.  Change normal version to use
75895         SPAWN_XFLAGS_USE_PATH.
75896         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75897         SPAWN_XFLAGS_TRY_SHELL.
75899         [BZ #13150]
75900         * posix/glob.h: Remove gcc 1.x support.
75902         [BZ #13068]
75903         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75905 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75908         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75909         strrchr-sse2-bsf
75910         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75911         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75912         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75913         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75914         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75915         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75917 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75919         * sysdeps/x86_64/wcscmp.S: New file.
75921         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75922         wcscmp-c wcscmp-sse2
75923         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75924         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75925         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75926         * wcsmbs/wcscmp.c: Allow renaming.
75928 2011-09-05  David S. Miller  <davem@davemloft.net>
75930         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75931         stack slot, rather than the struct return pointer slot.
75932         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75933         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75935         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75937 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75939         * po/ja.po: Update from translation team.
75941         [BZ #13144]
75942         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75943         kernel in 64-bit binaries.
75945 2011-09-01  David S. Miller  <davem@davemloft.net>
75947         * elf/elf.h (HWCAP_SPARC_*): Move to..
75948         * sysdeps/sparc/sysdep.h: this new file and add new values.
75949         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75950         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75951         _DL_HWCAP_COUNT to 24.
75952         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75953         entries.
75954         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75955         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75956         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75958         instead of magic constants.
75959         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75961 2011-08-31  David S. Miller  <davem@davemloft.net>
75963         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75965         Reimplement to do errno handling inline.
75966         (SYSCALL_ERROR_HANDLER): New macro.
75967         (__SYSCALL_STRING): Do not do errno handling in asm.
75968         (__CLONE_SYSCALL_STRING): Delete.
75969         (__INTERNAL_SYSCALL_STRING): Delete.
75970         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75971         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75972         (PSEUDO): Reimplement to do errno handling inline.
75973         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75974         (SYSCALL_ERROR_HANDLER): New macro.
75975         (__SYSCALL_STRING): Do not do errno handling in asm.
75976         (__CLONE_SYSCALL_STRING): Delete.
75977         (__INTERNAL_SYSCALL_STRING): Delete.
75978         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75979         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75980         i386.
75981         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75982         (inline_syscall*): Add 'err' argument.
75983         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75984         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75985         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75986         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75988         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75989         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75991 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75993         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75995 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75997         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75998         directive.
76000 2011-08-24  David S. Miller  <davem@davemloft.net>
76002         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76004 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76006         * elf/Makefile: Add rules to build and run unload8 test.
76007         * elf/unload8.c: New file.
76008         * elf/unload8mod1.c: New file.
76009         * elf/unload8mod1x.c: New file.
76010         * elf/unload8mod2.c: New file.
76011         * elf/unload8mod3.c: New file.
76013         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76014         it wasn't used.
76016 2011-08-23  David S. Miller  <davem@davemloft.net>
76018         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76019         subtract stack bias.
76020         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76021         %sp not %fp in calculations.
76022         (_JMPBUF_UNWINDS_ADJ): Likewise.
76024         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76025         (aio_suspend): Call it to force an exception region around the
76026         AIO_MISC_WAIT() invocation.
76028 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76030         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76031         backslash.
76033 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76035         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76036         protection macro.
76037         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76038         and <dl-machine.h>.
76039         (Elf64_FuncDesc): Remove.
76041 2011-08-22  David S. Miller  <davem@davemloft.net>
76043         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76044         sigaltstack check, add missing cfi directives.
76045         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76046         missing cfi directives, and sigaltstack handling.
76048 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76050         [BZ #11724]
76051         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76052         object is seen twice.
76053         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76055         * elf/Makefile (distribute): Add tst-initorder2.c.
76056         (tests): Add tst-initorder2.
76057         (modules-names): Add tst-initorder2a tst-initorder2b
76058         tst-initorder2c tst-initorder2d.  Add rules to build them.
76059         ($(objpfx)tst-initorder2.out): New rule.
76060         * elf/tst-initorder2.c: New file.
76061         * elf/tst-initorder2.exp: New file.
76063 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76065         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76067         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76068         dependencies back to end of function.
76070         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76071         $(elfobjdir)/ld.so.
76073 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76075         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76076         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76077         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76078         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76079         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76080         of __vdso_gettimeofday.
76081         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76082         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76083         attribute_hidden.
76084         (_libc_vdso_platform_setup): Remove initialization of
76085         __vdso_gettimeofday and __vdso_time.
76087 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76089         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76090         and fgetc_unlocked.
76091         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76092         getc_unlocked.
76094         * elf/dl-open.c (add_to_global): Report additions to the global scope
76095         for LD_DEBUG=scopes.
76096         (dl_open_worker): Also print scope of newly loaded dependencies.
76097         (_dl_show_scope): Indicate if there is no scope.
76099         [BZ #13114]
76100         * stdio-common/Makefile (tests): Add bug24.
76101         * stdio-common/bug24.c: New file.
76103 2011-08-19  Andreas Jaeger  <aj@suse.de>
76105         [BZ #13114]
76106         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76107         non-existant file when using close-on-exec mode.
76109 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76111         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76112         the very first instruction.
76114         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76115         the CFI state in the end.
76116         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76117         inclusion of dl-trampoline.h.
76118         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76120 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76122         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76123         expectations for long double.
76125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76126         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76128 2011-08-14  David S. Miller  <davem@davemloft.net>
76130         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76131         artificual limit depends upon the system page size.
76133 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76135         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76136         * resolv/Makefile: Define CFLAGS-libresolv.
76138 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76140         * nss/makedb.c (compute_tables): Make variables used in nested
76141         function static.
76143 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76145         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76146         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76147         if buffer was too small.
76149         * elf/pldd.c (main): Attach to all threads in the process.
76150         Rewrite /proc handling to use *at functions.
76152 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76154         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76155         specifies first scope to show.
76156         (dl_open_worker): Update callers.  Move printing scope of new
76157         object to before the relocation.
76158         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76159         * sysdeps/generic/ldsodefs.h: Update declaration.
76161         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76162         string for the scope number.
76164 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76166         * nscd/servicescache.c (cache_addserv): Make sure written is always
76167         initialized.
76169 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76171         * sysdeps/i386/i486/bits/atomic.h
76172         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76173         statement expression, so as to suppress "set but not used" warning.
76174         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76176         * string/strncat.c (STRNCAT): Use prototype definition.
76178         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76179         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76180         -Iprograms here.
76181         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76182         (localedef-modules): Add localedef.
76183         (locale-modules): Add locale.
76185         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76186         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76187         to avoid a warning.
76189 2011-08-14  David S. Miller  <davem@davemloft.net>
76191         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76192         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76194 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76196         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76197         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76198         * elf/rtld.c (dl_main): Set l_name of vDSO.
76199         Call _dl_show_scope when DL_DEBUG_SCOPES.
76200         (process_dl_debug): Recognize scopes flag and also set it for all.
76201         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76202         Declare _dl_show_scope.
76204         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76205         (do_dlopen): Pass caller_dlopen to dl_open.
76206         (__libc_dlopen_mode): Initialize caller_dlopen.
76208         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76209         of libc.  Make tolower call locale-independent.  Optimize a bit by
76210         using isdigit instead of isalnum.
76211         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76213 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76215         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76216         was a dependency or dynamically loaded.
76218 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76220         * intl/l10nflist.c: Allow architecture-specific pop function.
76221         * sysdeps/x86_64/l10nflist.c: New file.
76223         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76224         classification.
76226 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76228         * include/dirent.h: Add libc_hidden_proto for scandirat and
76229         scandirat64.  Don't declare __scandirat64.
76230         * dirent/scandirat.c: Add libc_hidden_def.
76231         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76232         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76234 2011-08-10  David S. Miller  <davem@davemloft.net>
76236         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76237         enum.
76238         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76239         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76240         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76242 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76244         * Versions.def [libc]: Add GLIBC_2.15.
76245         * dirent/Makefile (routines): Add scandirat and scandirat64.
76246         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76247         GLIBC_2.15.
76248         * dirent/dirent.h: Declare scandirat and scandirat64.
76249         * dirent/scandirat.c: New file.
76250         * dirent/scandirat64.c: New file.
76251         * sysdeps/wordsize-64/scandirat.c: New file.
76252         * sysdeps/wordsize-64/scandirat64.c: New file.
76253         * dirent/opendir.c: Define opendirat.
76254         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76255         using scandirat.
76256         * dirent/scandir64.c: Adjust for scandir.c change.
76257         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76258         __scandirat64, and __scandir_cancel_handler.
76259         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76260         additional parameter and use openat instead of open (outside of ld.so).
76261         Add new __opendir as wrapper around __opendirat.
76262         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76263         here without requiring old scandirat implementation.
76265 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76267         * dirent/scandir.c (cancel_handler): Renamed to
76268         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76269         defined.  Adjust users.
76270         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76271         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76273 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76275         * string/test-string.h (IMPL): Use __STRING to expand name and then
76276         stringify it.
76278         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76279         of cleanups.
76281 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76283         * string/Makefile: Update.
76284         (strop-tests): Append strncat.
76285         * string/test-wcscmp.c: New file.
76286         New comprehensive test for wcscmp.
76287         * string/test-strcmp.c: Update.
76288         (WIDE): New define.
76290 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76292         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76293         line.
76295 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76298         encoding to ACE if AI_IDN.
76300 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76302         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76303         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76305 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76307         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76308         Fix overflow bug in strncat.
76309         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76311         * string/test-strncat.c: Update.
76312         Add new tests for checking overflow bugs.
76314 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76317         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76318         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76319         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76320         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76321         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76322         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76323         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76324         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76326         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76327         (USE_AS_STRCAT): Define.
76328         Add strcat and strncat support.
76329         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76331 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76333         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76334         __n bigger than INT_MAX+1.
76335         (__strncmp_g): Likewise.
76337 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76339         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76340         * libio/stido.h: Likewise.
76342         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76343         (AF_NFC): Define.
76344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76345         (AF_NFC): Define.
76347         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76348         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76349         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76350         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76351         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76353         [BZ #13021]
76354         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76355         installed.
76357         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76358         typo.
76359         (_dl_x86_64_save_sse): Likewise.
76361 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76364         OSXSAVE.
76365         (_dl_x86_64_save_sse): Likewise.
76367         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76369         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76371 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76374         change.
76375         (_dl_x86_64_save_sse): Use correct AVX check.
76377 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76379         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76380         bug in strncpy/strncat.
76381         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76383 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76385         * string/tester.c (test_strcat): Add tests for different alignments
76386         of source and destination.
76387         (test_strncat): Likewise.
76389 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76391         [BZ #12852]
76392         * posix/glob.c (glob): Check passed in values before using them in
76393         expressions to avoid some overflows.
76394         (glob_in_dir): Likewise.
76396         [BZ #13007]
76397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76398         check for AVX enablement so that we don't crash with old kernels and
76399         new hardware.
76400         * elf/tst-audit4.c: Add same checks here.
76401         * elf/tst-audit6.c: Likewise.
76403         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76405 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76407         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76409 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76411         * po/cs.po: Update from translation team.
76412         * po/bg.po: Likewise.
76414 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76416         * misc/sys/cdefs.h: Add support for const attribute.
76417         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76418         to gnu_dev_{major,minor,makedev} functions.
76420 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76422         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76424 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76426         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76427         strlen results.
76429 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76432         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76433         register in order to avoid conflicts with the soft frame pointer
76434         being held in r11 when necessary.
76435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76436         (INTERNAL_VSYSCALL_NCS): Likewise.
76438 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76440         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76441         * elf/dl-fini.c (_dl_fini): Adjust caller.
76442         * elf/dl-close.c (_dl_close_worker): Likewise.
76443         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76445 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76447         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76448         "aux_cache->nlibs < 0".
76450         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76451         in the reload-count case.
76453 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76456         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76457         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76458         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76459         * sysdeps/x86_64/multiarch/strcat.S: New file.
76460         * sysdeps/x86_64/multiarch/strncat.S: New file.
76461         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76462         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76463         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76464         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76465         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76466         (USE_AS_STRCAT): Define.
76467         Add strcat and strncat support.
76468         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76469         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76470         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76471         * string/strncat.c: Update.
76472         (USE_AS_STRNCAT): Define.
76473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76474         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76475         and i7.
76476         * sysdeps/x86_64/multiarch/init-arch.h
76477         (bit_Prefer_PMINUB_for_stringop): New.
76478         (index_Prefer_PMINUB_for_stringop): Likewise.
76479         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76480         bit_Prefer_PMINUB_for_stringop.
76482 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76484         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76485         buffer64.
76486         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76487         of casting of buffer.
76488         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76489         buffer32 and buffer64.
76490         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76491         writes instead of casting of buffer.
76492         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76493         buffer32.
76494         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76495         casting of buffer.
76497 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76499         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76501 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76503         * nscd/nscd.c (termination_handler): Don't do anything for a database
76504         if it has not yet been initialized.
76506 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76508         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76510 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76512         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76514 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76516         * po/nl.po: Update from translation team.
76517         * po/sv.po: Likewise.
76519 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76521         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76522         now disallowed by GCC.
76524         * configure.in (use-default-link): Default to yes if a test -shared
76525         link meets our qualifications.
76526         * configure: Regenerated.
76528         * config.make.in (output-format): New variable.
76529         * configure.in: Check for ld --print-output-format support.
76530         * configure: Regenerated.
76531         * Makerules ($(common-objpfx)format.lds)
76532         [$(output-format) != unknown]: Just use $(output-format),
76533         instead of the linker-script munging.
76535 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76537         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76538         of $(common-objpfx)shlib.lds.
76539         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76541         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76542         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76544         * configure.in (-z relro check): Adjust test code to add a large
76545         writable data section after it.
76546         * configure: Regenerated.
76548 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76550         * configure.in (-z relro check): Fix test code to make the variable
76551         truly const.
76552         * configure: Regenerated.
76554 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76556         * nscd/nscd.h (struct traced_file): Define.
76557         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76558         elements.  Add traced_files.
76559         (inotify_fd): Declare.
76560         (register_traced_file): Declare.
76561         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76562         (inotify_fd): Export.
76563         (resolv_conf_descr): Remove.
76564         (nscd_init): Move inotify descriptor creation to main.
76565         Don't register files for notification here.
76566         (register_traced_file): New function.
76567         (invalidate_cache): Don't use reset_res to determine whether to call
76568         res_init, go through the list of registered files.
76569         (main_loop_poll): The inotify descriptors are now stored in the
76570         structures for the traced files.
76571         (main_loop_epoll): Likewise.
76572         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76573         to __nss_disable_nscd.
76574         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76575         for a database anymore.  Check the records for all the registered
76576         files instead.
76577         * nss/Makefile (libnss_files-routines): Add files-init.
76578         (libnss_db-routines): Add db-init.
76579         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76580         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76581         * nss/nss_db/db-init.c: New file.
76582         * nss/nss_files/files-init.c: New file.
76583         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76584         __nss_lookup_function.
76585         (__nss_lookup_function): Call nss_load_library.
76586         (nss_load_all_libraries): New function.
76587         (__nss_disable_nscd): Take parameter with callback function for files
76588         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76589         used for the cached services.
76590         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76591         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76592         options for features to all the files in nscd.
76594         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76596 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76598         * csu/elf-init.c (__libc_csu_init): Comment typo.
76600 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76602         * po/pl.po: Update from translation team.
76603         * po/ja.po: Likewise.
76604         * po/ru.po: Likewise.
76605         * po/ko.po: Likewise.
76606         * po/fr.po: Likewise.
76608 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76610         * configure.in (.ctors/.dtors header and trailer check):
76611         Use an empirical test on a built program.
76612         * configure: Regenerated.
76614         * configure.in (-z relro check): Use an empirical test on a built DSO.
76615         Detect, but do not require, on ia64.
76616         * configure: Regenerated.
76618         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76619         Update tests that use readelf to use $READELF instead.
76620         * configure: Regenerated.
76622 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76624         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76625         if the result is not used.
76627 2011-07-05  Andreas Jaeger  <aj@suse.de>
76629         [BZ#9696]
76630         * stdlib/tst-strtod.c: Add testcase.
76632 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76634         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76635         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76636         The latter has a higher limit.  Take additional parameter to pass to
76637         the new function.
76638         (__pathconf): Pass file to __statfs_link_max.
76639         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76640         __statfs_link_max.
76641         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76642         __statfs_link_max.
76644         [BZ #12868]
76645         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76646         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76647         Handle Lustre.
76648         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76649         (__statfs_filesize_max): Likewise.
76650         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76652 2011-07-05  Andreas Jaeger  <aj@suse.de>
76654         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76656 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76658         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76659         `status' variable.
76660         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76661         Likewise.
76663 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76665         * Makefile (strop-tests): Add strncat.
76666         * string/test-strncat.c: New file.
76668 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76670         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76672 2011-06-21  Andreas Jaeger  <aj@suse.de>
76674         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76675         Copy rule from iconvdata/Makefile.
76677 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76679         [BZ #12922]
76680         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76681         but no long options are defined, just return 'W'.
76683 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76685         [BZ #9696]
76686         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76688 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76690         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76691         netgroups to read.
76692         (innetgr): Likewise.
76694 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76696         * config.make.in (install_root): Default to $(DESTDIR).
76698 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76700         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76702 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76704         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76706         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76707         containing directory rather than embedding absolute directory names.
76709         * scripts/check-local-headers.sh: Rewritten using awk.
76710         Match by word, not by line.  Print error messages for matches.
76711         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76713         * Makerules [shlib-lds-flags empty]:
76714         ($(common-objpfx)libc_pic.opts): New target.
76715         ($(common-objpfx)libc_pic.os.clean): New target.
76716         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76718         * config.make.in (OBJCOPY): New variable.
76719         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76720         * configure: Regenerated.
76722         * config.make.in (use-default-link): New variable.
76723         * configure.in (use_default_link): Grok --with-default-link to set it.
76724         * configure: Regenerated.
76725         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76726         (shlib-lds, shlib-lds-flags): Define to empty.
76728         * Makerules (shlib-lds): New variable.
76729         (shlib-lds-flags): New variable.
76730         (build-shlib, build-moduile, build-module-asneeded): Use it.
76731         ($(common-objpfx)libc.so): Use $(shlib-lds).
76732         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76733         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76735         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76736         DT_FLAGS/DT_FLAGS_1 with zero flags.
76738         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76739         linker script munging.
76741 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76743         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76744         as 128-bit value.
76745         * crypt/sha512.c (sha512_process_block): Perform total addition using
76746         128-bit if possible.
76747         (__sha512_finish_ctx): Likewise.
76748         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76749         as 64-bit value.
76750         * crypt/sha256.c (SWAP64): Define.
76751         (sha256_process_block): Perform total addition using 64-bit if
76752         possible.
76753         (__sha256_finish_ctx): Likewise.
76755 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76757         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76759         * nscd/hstcache.c (cache_addhst): Likewise.
76760         * nscd/grpcache.c (cache_addgr): Likewise.
76761         * nscd/aicache.c (addhstaiX): Likewise.
76762         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76764 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76766         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76767         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76768         * nscd/hstcache.c (cache_addhst): Likewise.
76769         * nscd/grpcache.c (cache_addgr): Likewise.
76770         * nscd/aicache.c (addhstaiX): Likewise.
76772 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76774         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76775         domain only when needed.
76777 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76780         is always restored.
76782 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76784         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76785         are re-adding the entry.
76786         * nscd/servicescache.c (cache_addserv): Likewise.
76788 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76790         * sysdeps/generic/dl-irel.h: fix protection against multiple
76791         inclusions.
76792         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76794 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76796         [BZ #12935]
76797         * malloc/memusage.sh: Fix quoting in message.
76798         * debug/xtrace.sh: Likewise.
76800         * configure.in: Remove support for --experimental-malloc option, make
76801         it the default.
76802         * config.make.in: Likewise.
76803         * malloc/Makefile: Likewise.
76805 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76807         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76808         two-byte characters.
76810 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76812         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76813         AC_CACHE_CHECK invocation.
76814         * configure: Regenerated.
76816         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76818 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76820         [BZ #12350]
76821         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76822         bit from old_res_options.
76824         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76826         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76827         value type for setfct.
76829 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76831         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76832         __gettimeofday instead of gettimeofday.
76834 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76836         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76838 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76840         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76842         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76843         info.
76845 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76848         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76849         strcpy-sse2-unaligned strncpy-sse2-unaligned
76850         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76851         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76852         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76853         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76854         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76855         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76856         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76857         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76858         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76859         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76860         (STRCPY): Support SSE2 and SSSE3 versions.
76862 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76864         [BZ #12874]
76865         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76866         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76867         kernels which artificially limit size of requests.
76869 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76872         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76873         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76874         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76875         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76876         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76877         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76878         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76879         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76880         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76881         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76882         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76883         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76884         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76885         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76887         Enable unaligned load optimization for Intel Core i3, i5 and i7
76888         processors.
76889         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76890         Define.
76891         (index_Fast_Unaligned_Load): Define.
76892         (HAS_FAST_UNALIGNED_LOAD): Define.
76894 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76896         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76898 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76900         [BZ #12907]
76901         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76902         until it is clear that the information is realy needed.
76903         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76905 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76909 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76911         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76912         /sys/devices/system/cpu/online if it is usable.
76914         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76915         reading the information from the /proc filesystem to once a second.
76917 2011-06-21  Andreas Jaeger  <aj@suse.de>
76919         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76920         NULL after inclusion of kernel headers.
76922 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76924         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76925         calls to internal_setent.
76927         [BZ #12885]
76928         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76929         addresses using gethostbyname4_r ignore IPv4 addresses.
76931         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76932         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76934         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76936 2011-06-20  David S. Miller  <davem@davemloft.net>
76938         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76939         inclusions.
76940         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76942         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76943         (elf_irel): Use it.
76944         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76945         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76946         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76947         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76948         * sysdeps/x86_64/dl-irel.h: Likewise.
76950         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76951         * elf/dl-sym.c: Likewise.
76953 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76955         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76956         need to dereference resplen2.
76958 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76960         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76962 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76964         * Makeconfig: Define vardbdir and inst_vardbdir.
76965         * nss/Makefile: Add rules to install db-Makefile.
76967         * nss/nss_db/db-XXX.c: Cleanup.
76969         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76970         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76971         GLIBC_PRIVATE.
76972         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76973         * nss/makedb.c: Implement -g option to specify that value strings
76974         are generated and should not be added to table iterated over for
76975         get*ent calls.
76976         * nss/nss_db/db-initgroups.c: New file.
76978         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76979         interface.
76981         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76982         (internal_getgrouplist): Adjust to name change.
76983         Update use_initgroups_entry if this is not the first call.
76984         * nss/databases.def: Add initgroups entry.
76986         * nss/makedb.c (compute_tables): Check result of multiple hash table
76987         sizes to minimize maximum chain length.
76989 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76991         * Versions.def: Add entry for libnss_db.
76992         * shlib-versions: Likewise.
76993         * nss/Makefile: Add rules to build libnss_db.
76994         * nss/Versions: Add libnss_db information.  Organize libnss_files
76995         entries better.
76996         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76997         makedb progra.  Some minor improvements to generate smaller files.
76998         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76999         here from...
77000         * nss/makedb.c: ...here.
77001         Improve database format to be smaller and require less memory at
77002         runtime.
77003         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77004         db anymore.
77005         * nss/nss_db/db-netgrp.c: Likewise.
77006         * nss/nss_db/db-open.c: Likewise.
77007         * nss/nss_files/flies-XXX.x: Adjust comments.
77008         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77009         * nss/nss_files/files-grp.c: Likewise.
77010         * nss/nss_files/files-hosts.c: Likewise.
77011         * nss/nss_files/files-network.c: Likewise.
77012         * nss/nss_files/files-proto.c: Likewise.
77013         * nss/nss_files/files-pwd.c: Likewise.
77014         * nss/nss_files/files-rpc.c: Likewise.
77015         * nss/nss_files/files-service.c: Likewise.
77016         * nss/nss_files/files-sgrp.c: Likewise.
77017         * nss/nss_files/files-spwd.c: Likewise.
77018         * nss/nss_db/db-alias.c: Removed.
77019         * nss/nss_db/dummy-db.h: Removed.
77021 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77023         * nss/makedb.c: Rewritten to not use database library.
77024         * nss/Makefile: Update to build new makedb program.
77026 2011-06-14  Andreas Jaeger  <aj@suse.de>
77028         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77029         memset declaration.
77031 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77034         tmpbuf.
77036 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77038         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77039         * elf/Makefile ($(objpfx)ld.so): Likewise.
77041         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77042         Don't list ld.so twice in dependencies.
77044         * posix/bug-regex31.c: Include <stdlib.h>.
77046         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77048         * nis/nss_compat/compat-spwd.c
77049         (getspent_next_nss_netgr): Remove unused variable.
77050         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77052         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77053         nonmembers" output to use the right array.
77055         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77057         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77059         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77060         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77061         * catgets/gencat.c (read_input_file): Likewise.
77062         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77064         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77065         variable definition inside #if's controlling its use.
77067         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77069         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77071         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77073         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77074         unreachable code.
77076         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77078         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77079         * configure: Regenerated.
77081         * Makerules: Revert last change.
77082         * elf/Makefile: Likewise.
77084 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77086         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77087         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77088         (reloc-link): Likewise.
77090 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77092         * elf/Makefile: Add rules to build pldd.
77093         * elf/pldd.c: New file.
77094         * elf/pldd-xx.c: New file.
77096 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77098         * version.h: Update for 2.15 development version.
77100 2011-06-07  David S. Miller  <davem@davemloft.net>
77102         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77103         ifuncs.
77104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77105         elf_machine_lazy_rel): Likewise.
77106         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77107         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77108         elf_machine_lazy_rel): Likewise.
77109         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77110         dl_hwcap via passed in argument.
77111         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77112         Likewise.
77114 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77116         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77118 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77120         [BZ #12849]
77121         * manual/fdl-1.1.texi: New file, verbatim from:
77122         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77123         * manual/lgpl-2.1.texi: New file, verbatim from:
77124         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77125         * manual/Makefile (licenses): New variable, list those new file names.
77126         (texis): Use it.
77127         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77129         * manual/fdl.texi: File removed.
77130         * manual/lesser.texi: File removed.
77131         * manual/libc.texinfo (Copying, Documentation License):
77132         Use new @include file names, put @appendix directive before @include.
77134 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77136         [BZ #12841]
77137         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77138         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77139         (mq_open): Add __NTH.
77141 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77143         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77144         Assume Intel Core i3/i5/i7 processor if AVX is available.
77146 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77148         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77149         typo.
77151 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77153         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77154         memory.  Use alloca_account.  Fix memory leak when retrying.
77156 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77158         * version.h (RELEASE): Bump for 2.14 release.
77159         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77161         * config.make.in (RANLIB): Remove entry.
77163 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77165         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77166         (libc.pot): Work around missing support for .ksh extension in xgettext.
77168         [BZ #12684]
77169         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77170         if both request failed.
77171         (send_dg): In case of server errors clear resplen or *resplen2.
77173         [BZ #12454]
77174         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77175         when there are multiple maps.
77176         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77177         (_dl_fini): Remove test here.
77179         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77181 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77183         [BZ #12350]
77184         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77185         bit from old_res_options.
77186         (gaih_inet): Likewise.
77188         [BZ #11099]
77189         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77190         as signed.
77192         * resolv/res_init.c (res_setoptions): Make the code more compact.
77194         [BZ #11558]
77195         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77196         set RES_USEVC.
77198         [BZ #11634]
77199         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77201         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77203         [BZ #11781]
77204         * malloc/malloc.h: Declare malloc hook variables as volatile.
77206         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77207         in last patch.
77209         [BZ #11799]
77210         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77211         raise in the comment.
77212         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77213         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77214         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77216 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77218         [BZ #12811]
77219         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77220         grow the buffers more if it already has to be sufficient.
77221         (build_wcs_upper_buffer): Likewise.
77222         * posix/regexec.c (check_matching): Likewise.
77223         (clean_state_log_if_needed): Likewise.
77224         (extend_buffers): Don't enlarge buffers beyond size of the input
77225         buffer.
77226         Patches mostly by Emil Wojak <emil@wojak.eu>.
77227         * posix/bug-regex32.c: New file.
77228         * posix/Makefile (tests): Add bug-regex32.
77230         * locale/findlocale.c (_nl_find_locale): Return right away if
77231         _nl_explode_name failed.
77232         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77234         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77236         * debug/xtrace.sh: Unify messages.
77237         * malloc/memusage.sh: Likewise.
77239         [BZ #12813]
77240         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77241         time symbol from vDSO.  Substitute with vsyscall if not available.
77242         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77243         __vdso_time.
77245         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77246         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77247         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77248         Add sendmmsg and internal_sendmmsg.
77249         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77250         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77251         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77253         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77254         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77255         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77257 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77259         [BZ #12813]
77260         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77261         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77262         available.
77263         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77264         __vdso_getcpu.
77266         [BZ #12814]
77267         * iconvdata/Makefile (tests): Add bug-iconv9.
77268         * iconvdata/bug-iconv9.c: New file.
77270 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77272         [BZ #12814]
77273         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77275 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77277         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77278         (struct user_regs_struct): Change intcs field back to cs.
77280 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77282         * po/ja.po: Update from translation team.
77284 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77286         [BZ #12795]
77287         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77288         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77290 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77292         * stdlib/longlong.h: Update from GCC.
77294 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77296         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77297         parameter name.
77298         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77299         Add parameter name.
77300         (__sysconf): Pass it down.
77302 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77304         [BZ #12671]
77305         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77306         some situations.
77307         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77308         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77309         add in in __libc_use_alloca calls.  Adjust callers.
77310         (glob): Use malloc in some situations.
77312         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77313         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77314         pltexit.
77316 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77318         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77319         and CLOCK_BOOTTIME_ALARM.
77321         [BZ #12782]
77322         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77323         is returned.
77325         * string/_strerror.c (__strerror_r): Print negative errors as signed
77326         numbers.
77328         [BZ #12777]
77329         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77330         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77331         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77333         * configure.in: Fix typo in redirection and correct removal of test
77334         files in two cases.
77336         [BZ #12788]
77337         * locale/setlocale.c (new_composite_name): Fix test to check for
77338         identical name of all categories.
77340         [BZ #12792]
77341         * libio/filedoalloc.c (local_isatty): New function.
77342         (_IO_file_doallocate): Use local_isatty.
77343         * stdio-common/perror.c (perror): In case a new stream is used
77344         forward the stream error.
77345         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77346         error flag.
77348 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77350         [BZ #11884]
77351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77352         alloca.
77353         * include/alloca.h (extend_alloca_account): Define.
77355         [BZ #11857]
77356         * posix/regex.h: Fix comments with documentation of user-accessible
77357         fields after compilation and describe correct free'ing of pattern
77358         after re_compile_pattern.
77359         Patch by Reuben Thomas <rrt@sc3d.org>.
77361 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77363         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77364         and -mno-altivec to prevent the compiler from using Altivec and/or
77365         VSX instructions when the corresponding registers are not available.
77367 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77369         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77371 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77373         * libio/freopen.c (freopen): Use __dup2, not dup2.
77374         * libio/freopen64.c (freopen64): Likewise.
77376 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77378         [BZ #12775]
77379         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77380         * math/Makefile (tests): Add test-powl.
77381         (CFLAGS-test-powl.c): Define.
77382         * math/test-powl.c: New file.
77384 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77386         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77388 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77390         [BZ #11837]
77391         * iconvdata/gb18030.c: Update to GB18020-2005.
77393 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77395         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77396         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77397         Patch by Aharon Robbins <arnold@skeeve.com>.
77399         [BZ #11892]
77400         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77401         on the stack.
77403         [BZ #11895]
77404         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77405         through underflows.
77407         [BZ #12766]
77408         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77409         point to strings before performing equality test for error_one_per_line
77410         mode.
77412         [BZ #11697]
77413         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77415         [BZ #11820]
77416         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77417         (struct user_fpregs_struct): Avoid __uint*_t types.
77419         [BZ #6420]
77420         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77421         symbol info.  Use it instead of calling _dl_addr locally.
77422         (lock_and_info): New function.
77423         (tr_freehook): Call lock_and_info and pass symbol info as additional
77424         parameter to tr_where.
77425         (tr_mallochook): Likewise.
77426         (tr_reallochook): Likewise.
77427         (tr_memalignhook): Likewise.
77429         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77430         used and couldn't be at all thread-safe.
77432 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77434         * libio/freopen.c (freopen): Don't close old file descriptor
77435         before the new one is opened.  Instead dup the new file descriptor
77436         to the old one after the new stream is created.
77437         * libio/freopen64.c (freopen64): Likewise.
77438         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77439         * libio/fileops.c (_IO_new_file_close_it): Handle new
77440         _IO_FLAGS2_NOCLOSE flag.
77441         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77442         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77443         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77444         _IO_FLAGS2_NOCLOSE flag.
77445         * include/unistd.h: Add hidden_proto for dup3.
77446         Define __have_dup3.
77447         * io/dup3.c: Define hidden symbol.
77448         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77450         [BZ #7101]
77451         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77452         when an incomplete long option is used.
77453         * posix/tst-getopt_long1.c: New file.
77454         * posix/Makefile (tests): Add tst-getopt_long1.
77456         [BZ #10138]
77457         * scripts/config.guess: Update from autoconf-2.68.
77458         * scripts/config.sub: Likewise.
77460         [BZ #10157]
77461         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77462         tests into ...
77463         (has_cpuclock): ...this.  New function.
77464         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77465         macro here based on has_cpuclock code.
77467         [BZ #10149]
77468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77469         First byte (not low byte) is now always NUL.
77470         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77473         Use non-cancelable interfaces.
77475         [BZ #9809]
77476         * locale/iso-639.def: Add entry for Sorani.
77478         [BZ #11901]
77479         * include/stdlib.h: Move include protection to the right place.
77480         Define abort_msg_s.  Declare __abort_msg with it.
77481         * stdlib/abort.c (__abort_msg): Adjust type.
77482         * assert/assert.c (__assert_fail_base): New function.  Majority
77483         of code from __assert_fail.  Allocate memory for __abort_msg with
77484         mmap.
77485         (__assert_fail): Now call __assert_fail_base.
77486         * assert/assert-perr.c: Remove bulk of implementation.  Use
77487         __assert_fail_base.
77488         * include/assert.hL Declare __assert_fail_base.
77489         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77490         mmap.
77491         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77493 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77495         [BZ #11952]
77496         [BZ #12453]
77497         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77498         until all modules are registered in the DTV.
77499         * elf/Makefile: Add rules to build and run tst-tls19.
77500         * elf/tst-tls19.c: New file.
77501         * elf/tst-tls19mod1.c: New file.
77502         * elf/tst-tls19mod2.c: New file.
77503         * elf/tst-tls19mod3.c: New file.
77504         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77506         [BZ #12083]
77507         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77508         correctly.
77510         [BZ #12601]
77511         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77512         two-byte sequence errors.
77513         * iconvdata/Makefile (tests): Add bug-iconv8.
77514         * iconvdata/bug-iconv8.c: New file.
77516         [BZ #12626]
77517         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77518         buf2 definition.
77520         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77522         [BZ #12432]
77523         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77524         (dummy_getcfa): New function.
77525         (init): Get _Unwind_GetCFA address, use dummy if not found.
77526         (backtrace_helper): In recursion check, also check whether CFA changes.
77527         (__backtrace): Completely initialize arg.
77529         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77530         storing incomplete byte sequence in state object.  Avoid testing for
77531         guaranteed too small input if we know there is enough data available.
77533 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77535         * Makeconfig (+link-pie): Indent.
77536         * Rules (binaries-pie): Define if $(have-fpie) and
77537         $(build-shared).
77538         (binaries-shared): Also filter out $(binaries-pie).
77539         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77540         * nscd/Makefile (others-pie): Add nscd.
77541         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77542         ($(objpfx)nscd): Remove command override.
77543         * login/Makefile (others-pie): Add pt_chown.
77544         ($(objpfx)pt_chown): Remove command override.
77545         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77546         remove command overrides.
77548 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77550         * libio/tst_putwc.c: Fix error messages.
77552         [BZ #12724]
77553         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77554         currently writing and seek to current position when not.
77555         * libio/Makefile (tests): Add bug-fclose1.
77556         * libio/bug-fclose1.c: New file.
77558 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77560         [BZ #12511]
77561         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77562         don't set DF_1_NODELETE here.
77563         (do_lookup_x): When entering new entry test for copy relocation
77564         and if necessary set DF_1_NODELETE flag.
77565         * elf/tst-unique4.cc: New file.
77566         * elf/tst-unique4.h: New file.
77567         * elf/tst-unique4lib.cc: New file.
77568         * elf/Makefile: Add rules to build and run tst-unique4.
77569         Patch by Piotr Bury <pbury@goahead.com>.
77571 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77573         [BZ #12052]
77574         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77576         [BZ #12625]
77577         * misc/mntent_r.c (addmntent): Flush the stream after the output
77579         [BZ #12393]
77580         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77581         (is_trusted_path_normalize): Skip initial colon.  Append slash
77582         to empty buffer.  Duplicate is_trusted_path code but allow
77583         constructed patch to be prefix.
77584         (is_dst): Allow $ORIGIN followed by /.
77585         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77586         Correct testing of result of is_trusted_path_normalize
77587         (decompose_rpath): Fix warning.
77589 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77591         [BZ #11257]
77592         * grp/initgroups.c (internal_getgrouplist): When we found the service
77593         list through the initgroups entry in nsswitch.conf do not always
77594         continue on a successful lookup.  Don't always use the
77595         __nss_group_database value if it is set.
77596         * nss/nsswitch.conf (initgroups): Change action for successful db
77597         lookup to continue for compatibility.
77599 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77601         [BZ #11532]
77602         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77603         and CP774 modules.
77604         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77605         and CP774 modules.
77606         * iconvdata/tst-tables.sh: Likewise.
77607         * iconvdata/cp770.c: New file.
77608         * iconvdata/cp771.c: New file.
77609         * iconvdata/cp772.c: New file.
77610         * iconvdata/cp773.c: New file.
77611         * iconvdata/cp774.c: New file.
77612         * iconvdata/testdata/CP770: New file.
77613         * iconvdata/testdata/CP770..UTF8: New file.
77614         * iconvdata/testdata/CP771: New file.
77615         * iconvdata/testdata/CP771..UTF8: New file.
77616         * iconvdata/testdata/CP772: New file.
77617         * iconvdata/testdata/CP772..UTF8: New file.
77618         * iconvdata/testdata/CP773: New file.
77619         * iconvdata/testdata/CP773..UTF8: New file.
77620         * iconvdata/testdata/CP774: New file.
77621         * iconvdata/testdata/CP774..UTF8: New file.
77623         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77624         END CHARMAP line.
77625         * iconvdata/gen-8bit-gap.sh: Likewise.
77626         * iconvdata/gen-8bit.sh: Likewise.
77628         * locale/iso-639.def: Add ary entry.
77630         [BZ #11258]
77631         * locale/C-translit.h.in: Add U20A1 transliteration.
77633         [BZ #12178]
77634         * locale/iso-639.def: Add wae entry.
77635         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77637         [BZ #12545]
77638         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77639         for n.
77641         [BZ #12711]
77642         * locale/C-translit.h.in: Add entry for U20B9.
77643         Patch by pravin.d.s@gmail.com.
77645 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77647         [BZ #12713]
77648         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77649         ENAMETOOLONG use generic getcwd.
77650         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77651         in rtld.  Use *stat64.
77652         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77653         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77654         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77655         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77656         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77657         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77658         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77659         __fstatat64 macros.
77660         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77661         * dirent/rewinddir.c: Add libc_hidden_def.
77662         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77663         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77665         * include/dirent.h (__alloc_dir): Add flags parameter.
77666         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77667         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77668         __alloc_dir.
77669         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77670         from fdopendir if O_CLOEXEC is already set.
77672 2011-03-15  Alan Modra  <amodra@gmail.com>
77674         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77675         l_tls_firstbyte_offset non-zero.  Save padding offset in
77676         l_tls_firstbyte_offset for later use.
77677         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77678         freeing static tls block.
77680 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77682         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77683         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77684         being defined by the kernel headers.
77686 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77688         [BZ #12734]
77689         * resolv/resolv.h: Define RES_NOTLDQUERY.
77690         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77691         no-tld-query and set RES_NOTLDQUERY.
77692         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77693         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77694         modern BIND to search name as TLD unless forbidden.
77696 2011-05-07  Petr Baudis  <pasky@suse.cz>
77697             Ulrich Drepper  <drepper@gmail.com>
77699         [BZ #12393]
77700         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77701         (is_trusted_path): ...to here.
77702         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77703         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77704         using is_trusted_path_normalize() in setuid scripts.
77706 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77708         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77709         __BEGIN/__END_DECLS.
77711 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77713         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77714         NSS_STATUS_NOTFOUND if no record was found.
77716 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77718         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77719         (headers-not-in-tirpc): Remove rpc/netdb.h
77720         * resolv/netdb.h: Revert last change.
77722 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77724         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77725         circular dependency between libgcc.a and libc.a.
77727 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77729         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77730         * nis/Makefile: Don't install rpcsvc/*.
77731         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77732         instead of <rpc/types.h>.
77733         (MAXHOSTNAMELEN): Define.
77735 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77737         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77739 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77741         [BZ #12714]
77742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77743         gethostbyname4_r when IPv6 results are possible.
77745 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77747         [BZ #12723]
77748         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77749         _PC_PIPE_BUF handling.
77751 2011-04-30  Bruno Haible  <bruno@clisp.org>
77753         [BZ #12717]
77754         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77755         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77756         to 'int'.
77757         * inet/getnameinfo.c (getnameinfo): Likewise.
77759 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77761         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77762         to groups setting in database lookup.
77763         * nss/nsswitch.conf: Add initgroups entry.
77765 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77767         [BZ #12685]
77768         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77769         mode string.
77770         Patch by Eric Blake <eblake@redhat.com>.
77772 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77774         * sunrpc/Makefile (need-export-routines): Add svc_run.
77775         (routines): Remove svc_run.
77776         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77777         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77778         * sunrpc/svc_run.c (svc_run): Likewise.
77779         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77781 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77783         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77784         problem in reallocation in last patch.
77786 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77788         * sunrpc/Makefile: Move inclusion of Rules.
77790 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77792         * nss/nss_files/files-initgroups.c: New file.
77793         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77794         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77795         _nss_files_initgroups_dyn.
77797 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77799         * elf/elf.h (R_ARM_IRELATIVE): Define.
77801 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77803         * po/ru.po: Update from translation team.
77805 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77807         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77808         dependencies.
77810 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77812         [BZ #12653]
77813         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77814         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77815         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77816         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77819 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77821         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77822         differing bytes.
77823         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77824         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77825         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77827 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77829         [BZ #12420]
77830         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77831         storing it.
77832         * stdlib/bug-getcontext.c: New file.
77833         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77835 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77837         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77838         instructions into .machine "z9-109".
77839         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77840         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77842 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77844         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77845         between environment variables and auxiliary vector.
77847 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77849         * Makefile: Add rules to build linkobj/libc.so.
77850         * include/libc-symbols.h: Define libc_hidden_nolink.
77851         * include/rpc/auth.h: Mark functions which are to be hidden.
77852         * include/rpc/auth_des.h: Likewise.
77853         * include/rpc/auth_unix.h: Likewise.
77854         * include/rpc/clnt.h: Likewise.
77855         * include/rpc/des_crypt.h: Likewise.
77856         * include/rpc/key_prot.h: Likewise.
77857         * include/rpc/pmap_clnt.h: Likewise.
77858         * include/rpc/pmap_prot.h: Likewise.
77859         * include/rpc/pmap_rmt.h: Likewise.
77860         * include/rpc/rpc_msg.h: Likewise.
77861         * include/rpc/svc.h: Likewise.
77862         * include/rpc/svc_auth.h: Likewise.
77863         * include/rpc/xdr.h: Likewise.
77864         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77865         * nss/Makefile: Likewise.
77866         * sunrpc/Makefile: Don't install headers.  Build library with normal
77867         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77868         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77869         for the compat linking library.  Remove use of INTDEF/INTUSE.
77870         * sunrpc/auth_none.c: Likewise.
77871         * sunrpc/auth_unix.c: Likewise.
77872         * sunrpc/authdes_prot.c: Likewise.
77873         * sunrpc/authuxprot.c: Likewise.
77874         * sunrpc/clnt_gen.c: Likewise.
77875         * sunrpc/clnt_perr.c: Likewise.
77876         * sunrpc/clnt_raw.c: Likewise.
77877         * sunrpc/clnt_simp.c: Likewise.
77878         * sunrpc/clnt_tcp.c: Likewise.
77879         * sunrpc/clnt_udp.c: Likewise.
77880         * sunrpc/clnt_unix.c: Likewise.
77881         * sunrpc/des_crypt.c: Likewise.
77882         * sunrpc/des_soft.c: Likewise.
77883         * sunrpc/get_myaddr.c: Likewise.
77884         * sunrpc/key_call.c: Likewise.
77885         * sunrpc/key_prot.c: Likewise.
77886         * sunrpc/netname.c: Likewise.
77887         * sunrpc/pm_getmaps.c: Likewise.
77888         * sunrpc/pm_getport.c: Likewise.
77889         * sunrpc/pmap_clnt.c: Likewise.
77890         * sunrpc/pmap_prot.c: Likewise.
77891         * sunrpc/pmap_prot2.c: Likewise.
77892         * sunrpc/pmap_rmt.c: Likewise.
77893         * sunrpc/publickey.c: Likewise.
77894         * sunrpc/rpc_cmsg.c: Likewise.
77895         * sunrpc/rpc_common.c: Likewise.
77896         * sunrpc/rpc_dtable.c: Likewise.
77897         * sunrpc/rpc_prot.c: Likewise.
77898         * sunrpc/rpc_thread.c: Likewise.
77899         * sunrpc/rtime.c: Likewise.
77900         * sunrpc/svc.c: Likewise.
77901         * sunrpc/svc_auth.c: Likewise.
77902         * sunrpc/svc_authux.c: Likewise.
77903         * sunrpc/svc_raw.c: Likewise.
77904         * sunrpc/svc_run.c: Likewise.
77905         * sunrpc/svc_simple.c: Likewise.
77906         * sunrpc/svc_tcp.c: Likewise.
77907         * sunrpc/svc_udp.c: Likewise.
77908         * sunrpc/svc_unix.c: Likewise.
77909         * sunrpc/svcauth_des.c: Likewise.
77910         * sunrpc/xcrypt.c: Likewise.
77911         * sunrpc/xdr.c: Likewise.
77912         * sunrpc/xdr_array.c: Likewise.
77913         * sunrpc/xdr_float.c: Likewise.
77914         * sunrpc/xdr_intXX_t.c: Likewise.
77915         * sunrpc/xdr_mem.c: Likewise.
77916         * sunrpc/xdr_rec.c: Likewise.
77917         * sunrpc/xdr_ref.c: Likewise.
77918         * sunrpc/xdr_sizeof.c: Likewise.
77919         * sunrpc/xdr_stdio.c: Likewise.
77921 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77923         [BZ #12650]
77924         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77925         * sysdeps/ia64/dl-tls.h: Likewise.
77926         * sysdeps/powerpc/dl-tls.h: Likewise.
77927         * sysdeps/s390/dl-tls.h: Likewise.
77928         * sysdeps/sh/dl-tls.h: Likewise.
77929         * sysdeps/sparc/dl-tls.h: Likewise.
77930         * sysdeps/x86_64/dl-tls.h: Likewise.
77931         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77933 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77935         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77936         rpath element also skip the following colon.
77937         (expand_dynamic_string_token): Add is_path parameter and pass
77938         down to DL_DST_REQUIRED and _dl_dst_substitute.
77939         (decompose_rpath): Call expand_dynamic_string_token with
77940         non-zero is_path.  Ignore empty rpaths.
77941         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77942         with zero is_path.
77944 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77947         Make cancelable.
77949 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77951         [BZ #12655]
77952         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77953         Patch by Filipe David Manana <fdmanana@apache.org>.
77955 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77957         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77958         Maintain aligned stack.
77959         (CHECK_RSP): Remove unused macro.
77961 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77963         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77964         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77966 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77968         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77970         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77972 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77974         [BZ #12518]
77975         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77976         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77977         * sysdeps/x86_64/memmove.c: New file.
77978         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77979         (memcpy): Renamed to ...
77980         (__new_memcpy): This.
77981         (memcpy): Provide GLIBC_2_14 memcpy.
77982         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77983         (memcpy): Provide GLIBC_2_2_5 memcpy.
77985 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77987         [BZ #12631]
77988         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77990 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77992         * misc/syncfs.c: New file.
77993         * misc/Makefile (routines): Add syncfs.
77994         * posix/unistd.h: Declare syncfs.
77995         * sysdeps/unix/syscalls.list: Add syncfs.
77997 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77999         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78000         open_by_handle_at.
78001         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78002         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78003         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78004         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78006         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78007         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78009 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78011         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78012         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78013         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78015         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78017         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78019         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78020         sync_file_range.c with -fexceptions.
78021         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78022         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78023         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78024         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78025         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78026         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78027         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78028         sync_file_range as cancellation point
78029         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78030         now a wrapper around __call_sync_file_range with cancellation handling.
78031         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78032         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78033         function name to __call_sync_file_range.
78034         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78035         Add call_sync_file_range.
78037 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78040         bits/timex.h.
78042 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78044         * iconv/iconv.h: Fix typo in comment.
78045         * io/fcntl.h: Likewise.
78046         * libio/stdio.h: Likewise.
78047         * posix/spawn.h: Likewise.
78048         * posix/unistd.h: Likewise.
78049         * stdlib/stdlib.h: Likewise.
78050         * time/time.h: Likewise.
78051         * wcsmbs/wchar.h: Likewise.
78053         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78054         open_by_handle): Add.
78055         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78056         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78057         Augment a few comments.
78058         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78059         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78060         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78062         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78063         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78064         open_by_handle.
78066         * io/fcntl.h (AT_EMPTY_PATH): Define.
78068 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78070         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78071         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78072         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78073         to...
78074         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78075         * Versions.def: Add GLIBC_2.14.
78076         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78077         Export.
78079 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78081         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78082         round counter.
78083         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78085 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78087         [BZ #12597]
78088         * string/test-strncmp.c (do_page_test): New function.
78089         (check2): Likewise.
78090         (test_main): Call check2.
78091         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78093 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78095         [BZ #12587]
78096         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78097         Handle cache information in CPU leaf 4.
78098         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78100 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78102         [BZ #12583]
78103         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78104         character representation.
78105         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78107 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78109         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78110         END(__isnan) to END(__isnanf) to match function entry point/label
78111         EALIGN(__isnanf,...).
78113 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78115         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78117 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78119         [BZ #12510]
78120         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78121         copy from the symbol referenced in the relocation to initialize the
78122         used variable.
78123         Patch by Piotr Bury <pbury@goahead.com>.
78124         * elf/Makefile: Add rules to build and tst-unique3.
78125         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78126         * elf/tst-unique3.cc: New file.
78127         * elf/tst-unique3.h: New file.
78128         * elf/tst-unique3lib.cc: New file.
78129         * elf/tst-unique3lib2.cc: New file.
78131         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78133 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78135         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78136         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78137         to _start.
78139 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78141         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78142         to-be-loaded object along a path to loader is ld.so.
78144 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78145             Ulrich Drepper  <drepper@gmail.com>
78147         * sysdeps/x86_64/memset.S: After aligning destination, code
78148         branches to different locations depending on the value of
78149         misalignment, when multiarch is enabled. Fix this.
78151 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78153         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78154         Set _x86_64_preferred_memory_instruction for AMD processsors.
78155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78156         Set bit_Prefer_SSE_for_memop for AMD processors.
78158 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78160         * libio/fmemopen.c (fmemopen): Optimize a bit.
78162 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78164         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78166 2011-03-03  Roland McGrath  <roland@redhat.com>
78168         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78170 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78172         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78173         __bzero_ultra1 instead of __memset_ultra1.
78175 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78176             Ulrich Drepper  <drepper@gmail.com>
78178         [BZ #12509]
78179         * include/link.h (struct link_map): Add l_orig_initfini.
78180         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78181         returning unsuccessfully.
78182         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78183         close of a file loaded at startup, restore the original l_initfini
78184         list.
78185         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78186         list, store the pointer.
78187         * elf/Makefile ($(objpfx)noload-mem): New rule.
78188         (noload-ENV): Define.
78189         (tests): Add $(objpfx)noload-mem.
78190         * elf/noload.c: Include <memcheck.h>.
78191         (main): Call mtrace.  Close all opened handles.
78193 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78195         [BZ #12454]
78196         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78197         dependencies are missing.
78199 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78201         Fix __if_freereq crash: Unlike the generic version which uses free,
78202         Hurd needs munmap.
78203         * sysdeps/mach/hurd/ifreq.h: New file.
78205 2011-01-27  Petr Baudis  <pasky@suse.cz>
78206             Ulrich Drepper  <drepper@gmail.com>
78208         [BZ 12445]#
78209         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78210         to extend_alloca().
78211         * stdio-common/bug23.c: New file.
78212         * stdio-common/Makefile (tests): Add bug23.
78214 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78215             Ulrich Drepper  <drepper@gmail.com>
78217         [BZ #12489]
78218         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78219         before performing relro protection.  At old place add assertion
78220         to make sure nothing changed.
78222 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78223             Glauber de Oliveira Costa  <glommer@gmail.com>
78225         * elf/elf.h: Add new ARM TLS relocs.
78227 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78230         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78231         cast from r3.
78232         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78233         'tests' variable.
78234         * sysdeps/wordsize-64/tst-writev.c: New file.
78236 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78238         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78239         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78240         insns in _dl_start to prevent a TOC reference before relocs are
78241         resolved.
78243 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78245         [BZ #12469]
78246         * Makeconfig: Remove RANLIB definition.
78247         * Makerules: Don't use RANLIB.
78248         * aclocal.m4: Remove ranlib test.
78249         * configure.in: No need to check for ranlib.
78250         * elf/rtld-Rules: Don't use RANLIB.
78252 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78254         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78255         protection macro.
78256         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78257         inclusion protection macro.
78259         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78260         SIGRTMIN and SIGRTMAX and print information in that case only when
78261         SIGRTMIN is defined.
78263 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78265         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78266         arginfo fn returning -1.
78268         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78269         and thousands string is zero terminated.
78271 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78273         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78274         sysdeps/unix/sysv/linux/bits/socket.h.
78276 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78278         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78279         (__CPU_COUNT): Remove old macros.
78280         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78281         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78282         (__CPU_ALLOC, __CPU_FREE): Add macros.
78283         (__sched_cpualloc, __sched_cpufree): Add declarations.
78285 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78287         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78288         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78289         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78290         (readdhstai): Return value of addhstaiX call.
78291         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78292         (addgrbyX): Return value returned by cache_addgr.
78293         (readdgrbyname): Return value returned by addgrbyX.
78294         (readdgrbygid): Likewise.
78295         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78296         (addpwbyX): Return value returned by cache_addpw.
78297         (readdpwbyname): Return value returned by addhstbyX.
78298         (readdpwbyuid): Likewise.
78299         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78300         (addservbyX): Return value returned by cache_addserv.
78301         (readdservbyname): Return value returned by addservbyX:
78302         (readdservbyport): Likewise.
78303         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78304         (addhstbyX): Return value returned by cache_addhst.
78305         (readdhstbyname): Return value returned by addhstbyX.
78306         (readdhstbyaddr): Likewise.
78307         (readdhstbynamev6): Likewise.
78308         (readdhstbyaddrv6): Likewise.
78309         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78310         (readdinitgroups): Return value returned by addinitgroupsX.
78311         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78312         (prune_cache): Keep track of timeout value of re-added entries.
78313         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78314         * nscd/nscd.h: Adjust prototypes of readd* functions.
78316 2011-02-04  Roland McGrath  <roland@redhat.com>
78318         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78319         (nis_stats): Likewise.
78320         * nis/nis_modify.c (nis_modify): Likewise.
78321         * nis/nis_remove.c (nis_remove): Likewise.
78322         * nis/nis_add.c (nis_add): Likewise.
78324         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78326         * posix/fnmatch_loop.c: Add some consts.
78328         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78330 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78332         [BZ #12460]
78333         * config.make.in (config-cflags-novzeroupper): Define.
78334         * configure.in: Substitute libc_cv_cc_novzeroupper.
78335         * elf/Makefile (AVX-CFLAGS): Define.
78336         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78337         (CFLAGS-tst-auditmod4a.c): Likewise.
78338         (CFLAGS-tst-auditmod4b.c): Likewise.
78339         (CFLAGS-tst-auditmod6b.c): Likewise.
78340         (CFLAGS-tst-auditmod6c.c): Likewise.
78341         (CFLAGS-tst-auditmod7b.c): Likewise.
78342         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78344 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78346         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78347         function to the callback.
78348         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78350 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78352         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78353         of errno.
78355 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78357         [BZ #11724]
78358         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78359         of constructors.
78360         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78361         of destructors.
78362         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78364         [BZ #11724]
78365         * elf/Makefile: Add rules to build and run new test.
78366         * elf/tst-initorder.c: New file.
78367         * elf/tst-initorder.exp: New file.
78368         * elf/tst-initordera1.c: New file.
78369         * elf/tst-initordera2.c: New file.
78370         * elf/tst-initordera3.c: New file.
78371         * elf/tst-initordera4.c: New file.
78372         * elf/tst-initorderb1.c: New file.
78373         * elf/tst-initorderb2.c: New file.
78374         * elf/tst-order-a1.c: New file.
78375         * elf/tst-order-a2.c: New file.
78376         * elf/tst-order-a3.c: New file.
78377         * elf/tst-order-a4.c: New file.
78378         * elf/tst-order-b1.c: New file.
78379         * elf/tst-order-b2.c: New file.
78380         * elf/tst-order-main.c: New file.
78381         New test case by George Gensure <werkt0@gmail.com>.
78383 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78386         decoding ACE if AI_CANONIDN.
78388 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78390         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78392 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78394         * version.h (RELEASE): Bump for 2.13 release.
78395         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78397         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78399         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78400         MADV_NOHUGEPAGE.
78401         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78402         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78403         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78404         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78405         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78406         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78408         * posix/getconf.c: Update copyright year.
78409         * catgets/gencat.c: Likewise.
78410         * csu/version.c: Likewise.
78411         * debug/catchsegv.sh: Likewise.
78412         * debug/xtrace.sh: Likewise.
78413         * elf/ldconfig.c: Likewise.
78414         * elf/ldd.bash.in: Likewise.
78415         * elf/sprof.c (print_version): Likewise.
78416         * iconv/iconv_prog.c: Likewise.
78417         * iconv/iconvconfig.c: Likewise.
78418         * locale/programs/locale.c: Likewise.
78419         * locale/programs/localedef.c: Likewise.
78420         * malloc/memusage.sh: Likewise.
78421         * malloc/mtrace.pl: Likewise.
78422         * nscd/nscd.c (print_version): Likewise.
78423         * nss/getent.c: Likewise.
78425         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78426         PF_CAIF, and PF_ALG.
78427         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78429 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78431         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78432         (modules-names): Use them.
78433         (ifunc-test-modules, ifunc-pie-tests): Define.
78434         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78435         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78436         (test-extras): Likewise.
78437         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78438         $(compile-command.c).
78439         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78440         (all-built-dso): Define.
78441         (check-textrel.out, check-execstack.out): Depend on it.
78443         * configure.in: Don't override --enable-multi-arch.
78445 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78447         [BZ #6812]
78448         * nscd/hstcache.c (tryagain): Define.
78449         (cache_addhst): Return tryagain not notfound for temporary errors.
78450         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78451         failed.
78453 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78455         [BZ #10563]
78456         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78457         to make the syscall.
78458         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78460         [BZ #12378]
78461         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78462         and fall back to matching as normal character if the string ends before
78463         the matching ']' is found.  This is what POSIX requires.
78464         * posix/testfnm.c: Adjust test result.
78465         * posix/globtest.sh: Adjust test result.  Add new test.
78466         * posix/tst-fnmatch.input: Likewise.
78467         * posix/tst-fnmatch2.c: Add new test.
78469 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78471         * elf/Makefile (check-execstack): Revert last change.  Depend on
78472         check-execstack.h.
78473         (check-execstack.h): New target.
78474         (generated): Add check-execstack.h.
78475         * elf/check-execstack.c: Include "check-execstack.h".
78476         (main): Revert last change.
78477         (handle_file): Return zero if GNU_STACK is absent and
78478         DEFAULT_STACK_PERMS doesn't include PF_X.
78480 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78482         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78483         in child fails because the descriptor is already closed.
78484         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78485         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78486         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78488         [BZ #12397]
78489         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78490         syscall.
78492         [BZ #10484]
78493         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78494         temporary buffer used to handle multi lookups locally.
78495         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78497 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78499         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78500         loader is ld.so.
78502 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78504         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78505         alignment for SSE2.
78507 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78509         [BZ #12394]
78510         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78511         characters.  When rounding increased number of integer digits recompute
78512         number of groups.
78513         * stdio-common/tst-grouping.c: New file.
78514         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78516 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78518         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78519         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78521         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78522         void.
78523         * bits/select.h: Likewise.
78525 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78527         * po/ja.po: Update from translation team.
78529 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78531         [BZ #11155]
78532         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78533         implementation just like for lxstat, fxstatat, et al.
78535 2010-12-27  Jim Meyering  <meyering@redhat.com>
78537         [BZ #12348]
78538         * posix/regexec.c (build_trtable): Return failure indication upon
78539         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78541 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78543         [BZ #12201]
78544         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78545         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78546         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78547         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78549         [BZ #12207]
78550         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78552         [BZ #12204]
78553         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78554         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78556 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78558         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78559         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78560         script has SORT_BY_INIT_PRIORITY.
78561         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78562         NO_CTORS_DTORS_SECTIONS is defined.
78563         * elf/soinit.c: Likewise.
78564         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78565         NO_CTORS_DTORS_SECTIONS is defined.
78566         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78567         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78568         * sysdeps/sh/init-first.c: Likewise.
78569         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78571 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78573         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78574         always use the slow path.
78576 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78578         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78579         similar rule which adds the sysdep directories to the header search in
78580         order to pick up the correct platform stackinfo.h.
78581         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78582         perform test if it is, otherwise return successfully without testing.
78583         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78584         DEFAULT_STACK_PERMS define in stackinfo.h.
78585         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78586         defined in stackinfo.h.
78587         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78588         DEFAULT_STACK_PERMS defined in stackinfo.h.
78589         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78590         * sysdeps/ia64/stackinfo.h: Likewise.
78591         * sysdeps/s390/stackinfo.h: Likewise.
78592         * sysdeps/sh/stackinfo.h: Likewise.
78593         * sysdeps/sparc/stackinfo.h: Likewise.
78594         * sysdeps/x86_64/stackinfo.h: Likewise.
78595         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78596         PF_X for powerpc64.  Retain PF_X for powerpc32.
78598 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78600         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78601         accurately.
78602         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78603         GETDENTS_64BIT_ALIGNED.
78605 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78607         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78609 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78611         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78612         _GNU_SOURCE.
78614         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78615         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78616         Remove __restrict.
78617         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78618         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78620 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78622         [BZ #11655]
78623         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78624         are initialized.
78626 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78628         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78630 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78632         * po/it.po: Update from translation team.
78634 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78636         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78637         unused codes.
78639 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78641         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78643 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78645         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78646         specially.
78647         (gaih_getanswer_slice): Likewise.
78649 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78653 2010-05-31  Petr Baudis  <pasky@suse.cz>
78655         [BZ #11149]
78656         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78657         silently even in the chroot mode.
78659 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78661         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78662         last patch a bit.  Pretty printing
78664 2010-05-31  Petr Baudis <pasky@suse.cz>
78666         [BZ #10085]
78667         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78668         initialization of skip_initgroups_dyn.
78670 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78672         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78673         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78675 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78677         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78679 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78681         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78682         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78683         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78684         ($(objpfx)tst-fnmatch-mem): New rule.
78685         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78686         * posix/tst-fnmatch.c (main): Call mtrace.
78688 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78691         Support Intel processor model 6 and model 0x2c.
78693 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78695         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78696           signed comparison.
78698 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78700         [BZ #12205]
78701         * string/test-strncasecmp.c (check_result): New function.
78702         (do_one_test): Use it.
78703         (check1): New function.
78704         (test_main): Use it.
78705         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78706         Support strcasecmp and strncasecmp.
78708 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78710         [BZ #12194]
78711         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78712         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78714 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78716         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78717         IFUNC support.
78718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78719         memset-x86-64.
78720         * sysdeps/x86_64/multiarch/bzero.S: New file.
78721         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78722         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78723         * sysdeps/x86_64/multiarch/memset.S: New file.
78724         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78726         Set bit_Prefer_SSE_for_memop for Intel processors.
78727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78728         Define.
78729         (index_Prefer_SSE_for_memop): Define.
78730         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78732 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78734         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78735         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78737 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78739         [BZ #12191]
78740         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78741         (__x86_64_raw_data_cache_size_half): Likewise.
78742         (__x86_64_raw_shared_cache_size): Likewise.
78743         (__x86_64_raw_shared_cache_size_half): Likewise.
78745         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78746         (__x86_64_raw_data_cache_size_half): Likewise.
78747         (__x86_64_raw_shared_cache_size): Likewise.
78748         (__x86_64_raw_shared_cache_size_half): Likewise.
78749         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78750         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78751         and __x86_64_raw_shared_cache_size_half.  Round
78752         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78753         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78754         to multiple of 256 bytes.
78756 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78758         [BZ #12167]
78759         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78760         of inacessible symlinks.  Verify result of symlink before returning it.
78761         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78762         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78764 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78766         * math/math.h (isinf): Fix typo in comment.
78768 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78770         * po/da.po: Update from translation team.
78772 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78774         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78775         is added to the list.
78777 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78778             Ulrich Drepper  <drepper@gmail.com>
78780         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78781         the global list here.  Move code to...
78782         (_dl_add_to_namespace_list): ...here.  New function.
78783         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78784         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78785         * elf/dl-load.c (lose): Don't remove the element from the list.
78786         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78787         (_dl_map_object): Likewise.
78789 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78791         [BZ #12159]
78792         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78793         into all bytes of SSE register.
78794         Patch by Richard Li <richardpku@gmail.com>.
78796 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78798         [BZ #12140]
78799         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78800         perturbing.
78802 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78804         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78805         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78806         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78807         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78809         submachine.
78810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78812 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78814         * include/dlfcn.h (__RTLD_SECURE): Define.
78815         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78816         mode & __RTLD_SECURE instead.
78817         (open_path): Rename preloaded parameter to secure.
78818         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78819         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78820         * elf/dl-deps.c (openaux): Likewise.
78821         * elf/rtld.c (struct map_args): Remove is_preloaded.
78822         (map_doit): Don't use it.
78823         (dl_main): Likewise.
78824         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78825         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78827 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78829         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78830         (sysd-rules-targets): Remove duplicates.
78831         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78832         rtld-%.$o dependency.
78834 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78836         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78837         _dl_map_object do it.
78839 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78841         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78842         fast fma builtins, define the macros in the C99 standard.
78843         (FP_FAST_FMAF): Likewise.
78844         (FP_FAST_FMAL): Likewise.
78845         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78847         * bits/mathdef.h: Update copyright year.
78848         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78850 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78852         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78853         builtins, define the macros in the C99 standard.
78854         (FP_FAST_FMAF): Likewise.
78855         (FP_FAST_FMAL): Likewise.
78856         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78857         multiply/add.
78858         (FP_FAST_FMAF): Likewise.
78860 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78862         [BZ #3268]
78863         * math/libm-test.inc (fma_test): Some new testcases.
78864         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78865         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78866         y and infinite z.  Do multiplication by C already in long double.
78867         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78869         y and infinite z.  Do bitwise or of inexact bit into u.d.
78870         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78871         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78872         * sysdeps/i386/fpu/s_fma.S: Removed.
78873         * sysdeps/i386/fpu/s_fmal.S: Removed.
78875 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78877         [BZ #3268]
78878         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78880         computation is not scheduled after fetestexcept.  Fix value
78881         of minimum denormal long double.
78883 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78885         [BZ #3268]
78886         * math/libm-test.inc (fma_test): Add some more tests.
78887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78888         correctly.
78890 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78892         * scripts/data/localplt-s390-linux-gnu.data: New file.
78893         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78895 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78897         [BZ #3268]
78898         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78899         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78900         instead of dbl-64.
78901         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78902         inlines.
78903         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78905         if one of x and y is very large and the other is subnormal.
78906         * sysdeps/s390/fpu/s_fmaf.c: New file.
78907         * sysdeps/s390/fpu/s_fma.c: New file.
78908         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78909         * sysdeps/powerpc/fpu/s_fma.S: New file.
78910         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78911         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78912         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78914 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78916         [BZ #3268]
78917         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78918         fma tests.
78919         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78920         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78921         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78922         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78923         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78924         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78925         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78927 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78929         [BZ #12078]
78930         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78931         * posix/bug-regex31.input: Add test case.
78933 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78935         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78936         * posix/bug-regex31.input: New file.
78938         [BZ #12078]
78939         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78940         (parse_sub_exp): Fix last change, use postorder.
78942         * posix/bug-regex31.c: New file.
78943         * posix/Makefile: Add rules to build and run bug-regex31.
78945         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78947         [BZ #12078]
78948         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78950         [BZ #12108]
78951         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78952         to have entries in sys_siglist.
78954         [BZ #12093]
78955         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78956         be NULL.
78958 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78960         [BZ #3268]
78961         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78962         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78963         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78964         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78965         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78966         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78967         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78968         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78969         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78970         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78971         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78972         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78973         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78974         * math/ftestexcept.c (fetestexcept): Likewise.
78975         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78976         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78977         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78978         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78979         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78980         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78981         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78983 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78985         [BZ #12107]
78986         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78987         newline.
78989 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78991         * string/bug-strstr1.c: New file.
78992         * string/Makefile: Add rules to build and run bug-strstr1.
78994 2010-10-05  Eric Blake  <eblake@redhat.com>
78996         [BZ #12092]
78997         * string/str-two-way.h (two_way_long_needle): Always clear memory
78998         when skipping input due to the shift table.
79000 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79002         [BZ #12005]
79003         * malloc/mcheck.c: Handle large requests.
79005         [BZ #12077]
79006         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79007         for strncmp and strncasecmp.
79008         * string/stratcliff.c: Add tests for strcmp and strncmp.
79009         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79011 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79013         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79014         __set_fpscr.
79016 2010-09-30  Andreas Jaeger  <aj@suse.de>
79018         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79019         (CGROUP_SUPER_MAGIC): Define.
79020         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79021         Handle btrfs and cgroup file systems.
79022         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79023         Likewise.
79025 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79027         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79028         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79030 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79032         [BZ #12067]
79033         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79034         trying to locate the ELF header.
79036 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79038         [BZ #11611]
79039         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79040         Mask out sign-bit copies when constructing f_fsid.
79042 2010-09-24  Petr Baudis <pasky@suse.cz>
79044         * debug/stack_chk_fail_local.c: Add missing licence exception.
79045         * debug/warning-nop.c: Likewise.
79047 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79049         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79050         implementing getdents64 using getdents syscall, set d_type if
79051         __ASSUME_GETDENTS32_D_TYPE.
79053 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79055         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79056         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79058 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79060         [BZ #12037]
79061         * posix/unistd.h: Undo change of feature selection for ftruncate from
79062         2010-01-11.
79064 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79066         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79067         detection.
79069 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79071         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79072         fanotify_mark.
79073         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79075 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79077         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79078         variables after CHECK_SP call.
79079         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79081 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79082             Ulrich Drepper  <drepper@redhat.com>
79084         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79085         re-relocationg ld.so.
79086         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79087         _dl_init_paths call.
79088         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79089         here anymore.
79091 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79093         * resolv/res_init.c (__res_vinit): Count the default server we added.
79095 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79096             Ulrich Drepper  <drepper@redhat.com>
79098         [BZ #11968]
79099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79100         (____longjmp_chk): Use %ebx for saving value across system call.
79101         Add unwind info.
79103 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79105         * manual/Makefile: Don't mix pattern rules with normal rules.
79107 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79109         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79110         operation.
79111         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79112         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79113         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79114         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79116         Likewise.
79118 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79120         [BZ #11979]
79121         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79122         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79124 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79126         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79127         * sysdeps/x86_64/addmul_1.S: Likewise.
79128         * sysdeps/x86_64/lshift.S: Likewise.
79129         * sysdeps/x86_64/mul_1.S: Likewise.
79130         * sysdeps/x86_64/rshift.S: Likewise.
79131         * sysdeps/x86_64/sub_n.S: Likewise.
79132         * sysdeps/x86_64/submul_1.S: Likewise.
79134 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79136         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79137         Define __sched_param instead of SCHED_* and sched_param when
79138         <bits/sched.h> is included with __need_schedparam defined.
79139         * bits/sched.h [__need_schedparam]
79140         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79141         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79142         (__defined_schedparam): Define to 1.
79143         (__sched_param): New structure, identical to sched_param.
79144         (__need_schedparam): Undefine.
79146 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79148         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79149         (epoll_create1): Declare.
79151         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79153 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79155         [BZ #7066]
79156         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79157         shifting retval into place.
79159 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79161         * nis/rpcsvc/nis.h: Update copyright notice.
79162         * nis/rpcsvc/nis.x: Likewise.
79163         * nis/rpcsvc/nis_callback.h: Likewise.
79164         * nis/rpcsvc/nis_callback.x: Likewise.
79165         * nis/rpcsvc/nis_object.x: Likewise.
79166         * nis/rpcsvc/nis_tags.h: Likewise.
79167         * nis/rpcsvc/yp.h: Likewise.
79168         * nis/rpcsvc/yp.x: Likewise.
79169         * nis/rpcsvc/ypupd.h: Likewise.
79170         * nis/yp_xdr.c: Likewise.
79171         * nis/ypupdate_xdr.c: Likewise.
79173         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79174         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79175         (pmap_getport): Use __libc_rpc_getport.
79176         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79177         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79178         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79180 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79183         fanotify_mark.
79185 2010-08-27  Roland McGrath  <roland@redhat.com>
79187         * sysdeps/i386/i686/multiarch/Makefile
79188         (CFLAGS-varshift.c): New variable.
79190 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79192         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79193         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79195         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79197         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79199 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79201         * sysdeps/x86_64/strlen.S: Unroll the loop.
79202         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79203         strlen-sse2 strlen-sse2-bsf.
79204         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79205         __strlen_no_bsf if bit_Slow_BSF is set.
79206         (__strlen_sse42): Removed.
79207         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79208         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79210 2010-08-25  Roland McGrath  <roland@redhat.com>
79212         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79213         * sysdeps/x86_64/multiarch/varshift.c: New file.
79214         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79215         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79216         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79217         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79219 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79222         strlen-sse2 strlen-sse2-bsf.
79223         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79224         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79225         (__strlen_sse2): Removed.
79226         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79227         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79229         bit_Slow_BSF for Atom.
79230         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79231         (index_Slow_BSF): Define.
79232         (HAS_SLOW_BSF): Define.
79234 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79236         [BZ #10851]
79237         * resolv/res_init.c (__res_vinit): When no server address at all
79238         is given default to loopback.
79240 2010-08-24  Roland McGrath  <roland@redhat.com>
79242         * configure.in: Remove config-name.h generation.
79243         * configure: Regenerated.
79244         * config-name.in: File removed.
79245         * scripts/config-uname.sh: New file.
79246         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79247         ($(objdir)config-name.h): New target.
79249         * sunrpc/rpc_parse.h: Avoid nested comment.
79251 2010-08-24  Richard Henderson  <rth@redhat.com>
79252             Ulrich Drepper  <drepper@redhat.com>
79253             H.J. Lu  <hongjiu.lu@intel.com>
79255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79257         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79258         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79259         _mm_alignr_epi8 with _mm_loadu_si128.
79260         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79261         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79262         (__m128i_shift_right): Removed.
79263         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79264         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79265         * sysdeps/x86_64/multiarch/varshift.h: New file.
79266         * sysdeps/x86_64/multiarch/varshift.S: New file.
79268 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79270         * configure.in: Move assembler checks to before sysdep dir checking.
79272 2010-08-20  Petr Baudis  <pasky@suse.cz>
79274         * LICENSES: Sync the sunrpc license.
79276 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79278         * sunrpc/auth_des.c: Update copyright notice once again.
79279         * sunrpc/auth_none.c: Likewise.
79280         * sunrpc/auth_unix.c: Likewise.
79281         * sunrpc/authdes_prot.c: Likewise.
79282         * sunrpc/authuxprot.c: Likewise.
79283         * sunrpc/bindrsvprt.c: Likewise.
79284         * sunrpc/clnt_gen.c: Likewise.
79285         * sunrpc/clnt_perr.c: Likewise.
79286         * sunrpc/clnt_raw.c: Likewise.
79287         * sunrpc/clnt_simp.c: Likewise.
79288         * sunrpc/clnt_tcp.c: Likewise.
79289         * sunrpc/clnt_udp.c: Likewise.
79290         * sunrpc/clnt_unix.c: Likewise.
79291         * sunrpc/des_crypt.c: Likewise.
79292         * sunrpc/des_soft.c: Likewise.
79293         * sunrpc/get_myaddr.c: Likewise.
79294         * sunrpc/getrpcport.c: Likewise.
79295         * sunrpc/key_call.c: Likewise.
79296         * sunrpc/key_prot.c: Likewise.
79297         * sunrpc/openchild.c: Likewise.
79298         * sunrpc/pm_getmaps.c: Likewise.
79299         * sunrpc/pm_getport.c: Likewise.
79300         * sunrpc/pmap_clnt.c: Likewise.
79301         * sunrpc/pmap_prot.c: Likewise.
79302         * sunrpc/pmap_prot2.c: Likewise.
79303         * sunrpc/pmap_rmt.c: Likewise.
79304         * sunrpc/rpc/auth.h: Likewise.
79305         * sunrpc/rpc/auth_unix.h: Likewise.
79306         * sunrpc/rpc/clnt.h: Likewise.
79307         * sunrpc/rpc/des_crypt.h: Likewise.
79308         * sunrpc/rpc/key_prot.h: Likewise.
79309         * sunrpc/rpc/netdb.h: Likewise.
79310         * sunrpc/rpc/pmap_clnt.h: Likewise.
79311         * sunrpc/rpc/pmap_prot.h: Likewise.
79312         * sunrpc/rpc/pmap_rmt.h: Likewise.
79313         * sunrpc/rpc/rpc.h: Likewise.
79314         * sunrpc/rpc/rpc_des.h: Likewise.
79315         * sunrpc/rpc/rpc_msg.h: Likewise.
79316         * sunrpc/rpc/svc.h: Likewise.
79317         * sunrpc/rpc/svc_auth.h: Likewise.
79318         * sunrpc/rpc/types.h: Likewise.
79319         * sunrpc/rpc/xdr.h: Likewise.
79320         * sunrpc/rpc_clntout.c: Likewise.
79321         * sunrpc/rpc_cmsg.c: Likewise.
79322         * sunrpc/rpc_common.c: Likewise.
79323         * sunrpc/rpc_cout.c: Likewise.
79324         * sunrpc/rpc_dtable.c: Likewise.
79325         * sunrpc/rpc_hout.c: Likewise.
79326         * sunrpc/rpc_main.c: Likewise.
79327         * sunrpc/rpc_parse.c: Likewise.
79328         * sunrpc/rpc_parse.h: Likewise.
79329         * sunrpc/rpc_prot.c: Likewise.
79330         * sunrpc/rpc_sample.c: Likewise.
79331         * sunrpc/rpc_scan.c: Likewise.
79332         * sunrpc/rpc_scan.h: Likewise.
79333         * sunrpc/rpc_svcout.c: Likewise.
79334         * sunrpc/rpc_tblout.c: Likewise.
79335         * sunrpc/rpc_util.c: Likewise.
79336         * sunrpc/rpc_util.h: Likewise.
79337         * sunrpc/rpcinfo.c: Likewise.
79338         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79339         * sunrpc/rpcsvc/key_prot.x: Likewise.
79340         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79341         * sunrpc/rpcsvc/mount.x: Likewise.
79342         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79343         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79344         * sunrpc/rpcsvc/rex.x: Likewise.
79345         * sunrpc/rpcsvc/rstat.x: Likewise.
79346         * sunrpc/rpcsvc/rusers.x: Likewise.
79347         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79348         * sunrpc/rpcsvc/spray.x: Likewise.
79349         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79350         * sunrpc/rtime.c: Likewise.
79351         * sunrpc/svc.c: Likewise.
79352         * sunrpc/svc_auth.c: Likewise.
79353         * sunrpc/svc_authux.c: Likewise.
79354         * sunrpc/svc_raw.c: Likewise.
79355         * sunrpc/svc_run.c: Likewise.
79356         * sunrpc/svc_simple.c: Likewise.
79357         * sunrpc/svc_tcp.c: Likewise.
79358         * sunrpc/svc_udp.c: Likewise.
79359         * sunrpc/svc_unix.c: Likewise.
79360         * sunrpc/svcauth_des.c: Likewise.
79361         * sunrpc/xcrypt.c: Likewise.
79362         * sunrpc/xdr.c: Likewise.
79363         * sunrpc/xdr_array.c: Likewise.
79364         * sunrpc/xdr_float.c: Likewise.
79365         * sunrpc/xdr_mem.c: Likewise.
79366         * sunrpc/xdr_rec.c: Likewise.
79367         * sunrpc/xdr_ref.c: Likewise.
79368         * sunrpc/xdr_sizeof.c: Likewise.
79369         * sunrpc/xdr_stdio.c: Likewise.
79371         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79372         handling.
79374 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79376         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79378 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79380         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79381         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79382         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79383         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79384         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79385         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79386         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79387         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79388         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79389         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79390         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79391         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79392         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79393         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79395 2010-07-26  Anton Blanchard  <anton@samba.org>
79397         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79398         * malloc/arena.c (heap_trim): Likewise.
79400 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79402         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79403         here.  Not...
79404         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79405         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79407 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79409         * sysdeps/i386/elf/Makefile: New file.
79411 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79413         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79414         from fanotify_init.
79415         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79416         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79418 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79420         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79421         of strncasecmp_l.
79422         * sysdeps/multiarch/strcmp.S: Likewise.
79424 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79426         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79427         strncase_l-nonascii.
79428         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79429         Add strncase_l-ssse3.
79430         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79431         * sysdeps/x86_64/strcmp.S: Likewise.
79432         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79433         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79434         * sysdeps/x86_64/strncase.S: New file.
79435         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79436         * sysdeps/x86_64/strncase_l.S: New file.
79437         * string/Makefile (strop-tests): Add strncasecmp.
79438         * string/test-strncasecmp.c: New file.
79440         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79441         warning.
79443         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79444         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79446 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79448         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79450 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79452         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79453         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79454         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79456 2010-05-01  Alan Modra  <amodra@gmail.com>
79458         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79459         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79460         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79461         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79462         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79463         tidying.  Don't tail-call __sigjmp_save for static lib.
79464         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79465         save location.
79466         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79467         (CALL_MCOUNT): Add eh info, and nop after bl.
79468         (TAIL_CALL_SYSCALL_ERROR): New macro.
79469         (PSEUDO_RET): Use it.
79470         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79471         Correct save location of integer regs and cr.
79472         (_dl_profile_resolve): Correct cr save location.  Delete nops
79473         after bl when SHARED.  Reduce cfi size a little by better
79474         placement of cfi directives.
79475         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79476         make a stack frame.  Instead use parm save area as a temp.
79477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79478         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79480         Don't make a stack frame for parent, use parm save area.
79481         Increase child stack frame to 112 bytes.  Don't save unused reg,
79482         and adjust reg usage.  Set up cfi on error recovery and
79483         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79485         (__makecontext): Add dummy nop after jump to exit.
79486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79487         Use correct parm save area and cr save, reduce stack frame.
79488         Correct cfi for possible PSEUDO_RET frame setup.
79489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79490         Branch to local label emitted by PSEUDO_RET rather than
79491         __syscall_error.
79493 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79495         [BZ #11904]
79496         * locale/programs/locale.c (print_assignment): New function.
79497         (show_locale_vars): Use it.
79499 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79501         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79502         field.
79503         (struct statfs64): Likewise.
79504         (_STATFS_F_FLAGS): Define.
79505         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79507         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79508         (ST_VALID): Define locally.
79509         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79510         __statvfs_getflags, use the provided value.
79511         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79512         __ASSUME_STATFS_F_FLAGS.
79514         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79516         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79517         Add sys/fanotify.h.
79518         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79519         fanotify_mask for GLIBC_2.13.
79520         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79521         fanotify_init and fanotify_mark.
79522         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79523         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79525         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79526         Add prlimit.
79527         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79528         prlimit64 for GLIBC_2.13.
79529         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79530         prlimit64.
79531         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79532         syscall.
79533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79534         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79535         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79536         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79537         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79538         add prlimit alias.
79539         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79541         [BZ #11903]
79542         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79543         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79545         * nss/Makefile: Add rules to build and run tst-nss-test1.
79546         * shlib-versions: Add entry for libnss_test1.
79547         * nss/nss_test1.c: New file.
79548         * nss/tst-nss-test1.c: New file.
79550         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79551         (__nss_configure_lookup): Set appropriate entry in
79552         __nss_configure_lookup to true.
79553         * nss/nsswitch.h: Define enum with indeces of databases in
79554         databases and __nss_database_custom arrays.  Declare
79555         __nss_database_custom.
79556         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79557         to avoid using nscd when custom rules are installed.
79558         * nss/getXXbyYY_r.c: Likewise.
79559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79561         * nss/nss_files/files-parse.c: Whitespace fixes.
79563 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79565         [BZ #11883]
79566         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79567         * posix/fnmatch_loop.c: Likewise.
79569 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79571         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79572         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79573         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79574         * Versions.def [GLIBC_2.13]: Add.
79576 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79578         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79579         Also fail if tpwd after pwuid call is NULL.
79581 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79583         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79584         when converting to ms.
79586 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79588         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79589         EOPNOTSUPP errors with ENOTTY.
79590         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79591         EOPNOTSUPP errors with ENOTTY.
79593 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79595         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79596         Add strcasecmp_l-ssse3.
79597         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79598         strcasecmp.
79599         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79600         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79601         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79603 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79605         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79607         * string/Makefile (strop-tests): Add strcasecmp.
79608         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79609         strcasecmp_l-nonascii.
79610         (gen-as-const-headers): Add locale-defines.sym.
79611         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79612         * sysdeps/x86_64/strcasecmp.S: New file.
79613         * sysdeps/x86_64/strcasecmp_l.S: New file.
79614         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79615         * sysdeps/x86_64/locale-defines.sym: New file.
79616         * string/test-strcasecmp.c: New file.
79618         * string/test-strcasestr.c: Test both ends of the range of characters.
79619         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79621 2010-07-29  Roland McGrath  <roland@redhat.com>
79623         [BZ #11856]
79624         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79626 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79628         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79629         for ld.so.
79631 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79633         * manual/memory.texi (Malloc Tunable Parameters): Document
79634         M_PERTURB.
79636 2010-07-26  Roland McGrath  <roland@redhat.com>
79638         [BZ #11840]
79639         * configure.in (-fgnu89-inline check): Set and substitute
79640         gnu89_inline, not libc_cv_gnu89_inline.
79641         * configure: Regenerated.
79642         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79644 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79646         * string/test-strnlen.c: New file.
79647         * string/Makefile (strop-tests): Add strnlen.
79648         * string/tester.c (test_strnlen): Add a few more test cases.
79649         * string/tst-strlen.c: Better error reporting.
79651         * sysdeps/x86_64/strnlen.S: New file.
79653 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79655         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79656         lower-latency instructions.
79658 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79660         * string/test-strcasestr.c: New file.
79661         * string/test-strstr.c: New file.
79662         * string/Makefile (strop-tests): Add strstr and strcasestr.
79663         * string/str-two-way.h: Don't undefine MAX.
79664         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79666 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79668         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79669         strcasestr-nonascii.
79670         (CFLAGS-strcasestr-nonascii.c): Define.
79671         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79672         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79673         Remove unused attribute.
79675 2010-07-20  Roland McGrath  <roland@redhat.com>
79677         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79678         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79679         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79680         like LD_HWCAP_MASK can disable hwcaps.
79682 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79684         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79686 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79688         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79689         call in strcasestr.
79690         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79691         __strcasestr_sse42_nonascii.
79692         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79693         strcasestr-nonascii.c.
79694         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79696 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79698         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79699         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79700         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79701         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79703 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79705         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79706         fcntl.
79708 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79710         [BZ #11577]
79711         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79712         dl_signal_cerror.
79714 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79716         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79717         _PC_PIPE_BUF using F_GETPIPE_SZ.
79719 2010-07-05  Roland McGrath  <roland@redhat.com>
79721         * manual/arith.texi (Rounding Functions): Fix rint description
79722         implicit in round description.
79724 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79726         * elf/Makefile: Fix linking for a few tests to make recent linker
79727         happy.
79729 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79731         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79732         $(common-objpfx)libc_nonshared.a.
79734 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79736         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79737         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79738         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79739         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79740         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79741         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79742         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79743         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79758         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79759         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79760         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79761         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79762         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79763         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79764         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79765         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79766         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79767         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79768         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79769         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79785 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79787         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79788         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79789         * string/memmove.c (memmove): Renamed to ...
79790         (MEMMOVE): ...this.  Default to memmove.
79791         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79792         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79793         (END_CHK): Define.
79794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79795         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79796         mempcpy-ssse3-back memmove-ssse3-back.
79797         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79798         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79799         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79800         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79801         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79802         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79803         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79804         * sysdeps/x86_64/multiarch/memmove.c: New file.
79805         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79806         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79807         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79808         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79809         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79810         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79811         Define.
79812         (index_Fast_Copy_Backward): Define.
79813         (HAS_ARCH_FEATURE): Define.
79814         (HAS_FAST_REP_STRING): Define.
79815         (HAS_FAST_COPY_BACKWARD): Define.
79817 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79819         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79820         Restore proper fallback handling.
79822 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79824         [BZ #11701]
79825         * posix/group_member.c (__group_member): Correct checking loop.
79827         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79828         OOM in getpwuid_r correctly.  Return error number when the caller
79829         should return, otherwise -1.
79830         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79831         call returning > 0 value.
79832         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79834 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79836         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79837         libc_nonshared.a from targets in modules-names.
79839 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79841         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79842         requires it.
79844 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79846         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79847         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79848         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79849         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79851 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79853         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79855 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79857         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79858         and F_GETPIPE_SZ.
79859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79860         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79863         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79864         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79866 2010-06-14  Roland McGrath  <roland@redhat.com>
79868         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79870 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79872         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79873         __REDIRECT followed by __THROW.
79874         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79875         * posix/getopt.h (getopt): Likewise.
79877 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79879         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79880         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79881         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79882         in AT_FLAGS.
79883         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79884         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79886 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79888         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79890 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79892         [BZ #11640]
79893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79894         Properly check family and model.
79896 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79898         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79900 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79902         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79904 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79906         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79907         symbol reference.
79909 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79911         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79912         symbol reference.
79914 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79916         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79917         and internal_recvmmsg.
79918         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79919         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79920         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79921         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79923         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79924         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79925         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79927 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79929         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79931 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79933         POWER7 optimizations.
79934         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79935         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79937 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79939         * version.h: Update for 2.13 development version.
79941 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79943         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79944         exceptions.  Return 0.
79946 2010-05-07  Roland McGrath  <roland@redhat.com>
79948         * elf/ldconfig.c (main): Add a const.
79950 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79952         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79953         (args_options): Add no-idn option.
79954         (ahosts_keys_int): Add idn_flags to ai_flags.
79955         (parse_option): Handle 'i' option to clear idn_flags.
79957         * malloc/malloc.c (_int_free): Possible race in the most recently
79958         added check.  Only act on the data if no current modification
79959         happened.
79961 See ChangeLog.17 for earlier changes.